pyenergenie
pyenergenie copied to clipboard
OOK receive
Moved from #49 as I was logged in as the wrong user...
As per #32 I want to write an OOK receiver, so that users without an SDR radio setup can capture the address from an Energenie hand controller. This captured address can then be programmed into the HOUSE_CODE in legacy.py and be used to control sockets as if the hand controller buttons had been pressed.
The unified_radio branch now has a receiver implemented and working with the FSK mode.
Some more work will be required here, for example in OOK receive, the 4 sync bytes need to be programmed, otherwise this OOK receiver will be mis-triggering all the time. But it should be possible to make this work, so that users can 'sniff' the house address from their RF hand controllers.
Just an idea about the OOK receive - if this was implemented, not only could we learn and interact with the RF hand controller, but a Raspberry Pi could be used to simulate any of the existing Energenie devices, greatly simplifying testing (and auto testing)