Added a test mode to test all 16 patterns of legacy control messages.
Run legacy.py and try numbers 0 to F in learning mode.
In theory you should be able to select 4 different switch addresses
plus an 'all addresses', but I can't get this to work on my 7 plugs,
they all respond as switch number 1 regardless of what code I send
in learning mode.
1 parent 147d2ff commit 0a534e80004ac2bac6053b89b3071b9ca028dcf3
@David Whale David Whale authored on 28 Mar 2016
Showing 2 changed files
View
src/energenie/encoder.py
View
src/legacy.py