Hi,
I need to pick up the messages from the emonth2 from a raspberry pi. I purchased the RFM2Pi which picks up the packets fine. However, I need to also communicate with other devices from energenie so I want to use just one RMF69 device. As the RFM2Pi is not really configurable directly from the PI I am using another RFM69 device from energenie as using two crashes the pi. I assume it crashes because of power. There should be no addressing conflict.
I write my own code to talk directly with the RFM69 so all I need are the settings. However, Iβve tried to reverse engineer the code from emonth2 and jeelib on github but I just cant seem to pick up the emonth message which is rather baffling.
Can someone simply supply the register values of the RFM69 I need to pick up the messages. I assume they are once a minute without a request.
Iβm not quite sure of the frequency. It says 433 but this has to be converted and placed into 3 registers on the rfm69. The rf69_initialize function seems to take four parameters and I canβt get the value of βoffβ so I assumed zero.
setFrequency(freq * 10000000L + band * 2500L * off); where freq is 43. band is 1.
This is my attempt at the settings
[[β0x1β, β0x10β], [β0x2β, β0x0β], [β0x3β, β0x1aβ], [β0x4β, β0xbβ], [β0x5β, β0x5β], [β0x6β, β0xc3β], [β0x7β, β0x6cβ], [β0x8β, β0x4fβ], [β0x9β, β0x0β], [β0xaβ, β0x40β], [β0xbβ, β0x40β], [β0xcβ, β0x2β], [β0xdβ, β0x92β], [β0xeβ, β0xf5β], [β0xfβ, β0x20β], [β0x10β, β0x24β], [β0x11β, β0x7fβ], [β0x12β, β0x9β], [β0x13β, β0xfβ], [β0x14β, β0x40β], [β0x15β, β0xb0β], [β0x16β, β0x7bβ], [β0x17β, β0x9bβ], [β0x18β, β0x8β], [β0x19β, β0x42β], [β0x1aβ, β0x8aβ], [β0x1bβ, β0x40β], [β0x1cβ, β0x80β], [β0x1dβ, β0x6β], [β0x1eβ, β0x10β], [β0x1fβ, β0x0β], [β0x20β, β0x0β], [β0x21β, β0x0β], [β0x22β, β0x0β], [β0x23β, β0x0β], [β0x24β, β0xffβ], [β0x25β, β0x0β], [β0x26β, β0x5β], [β0x27β, β0x90β], [β0x28β, β0x0β], [β0x29β, β0x78β], [β0x2aβ, β0x0β], [β0x2bβ, β0x0β], [β0x2cβ, β0x0β], [β0x2dβ, β0x3β], [β0x2eβ, β0x8fβ], [β0x2fβ, β0x2dβ], [β0x30β, β0xd2β], [β0x31β, β0x0β], [β0x32β, β0x0β], [β0x33β, β0x0β], [β0x34β, β0x0β], [β0x35β, β0x0β], [β0x36β, β0x0β], [β0x37β, β0x8β], [β0x38β, β0x42β], [β0x39β, β0x0β], [β0x3aβ, β0x0β], [β0x3bβ, β0x0β], [β0x3cβ, β0x8fβ], [β0x3dβ, β0x12β], [β0x3eβ, β0x0β], [β0x3fβ, β0x0β], [β0x40β, β0x0β], [β0x41β, β0x0β], [β0x42β, β0x0β], [β0x43β, β0x0β], [β0x44β, β0x0β], [β0x45β, β0x0β], [β0x46β, β0x0β], [β0x47β, β0x0β], [β0x48β, β0x0β], [β0x49β, β0x0β], [β0x4aβ, β0x0β], [β0x4bβ, β0x0β], [β0x4cβ, β0x0β], [β0x4dβ, β0x0β], [β0x4eβ, β0x0β], [β0x4fβ, β0x93β]]
My project is on hold until this is resolved. Iβve used a second RMF69 device from another supplier and this can also communicate with the energenie devices but not emonth2.