whaleygeek / pyenergenie

A python interface to the Energenie line of products
MIT License
82 stars 51 forks source link

Test support with other adaptors #7

Closed whaleygeek closed 8 years ago

whaleygeek commented 8 years ago

Make sure that the code works with the monitor-only devices

whaleygeek commented 8 years ago

Still need to get a monitor plug from Energenie, but this has been seen working on the House Monitor (which is a monitor only device) successfully.

whaleygeek commented 8 years ago

I've tested this with the HOUSE MONITOR device (current clamp that goes around your incoming mains feed) and it works fine. Tweaked the code a little so that the extra data fields make it into the logged CSV file.

I still have to write the learn-mode code for control-only devices, and to get hold of a monitor-only device to test against.

whaleygeek commented 8 years ago

Testing with Legacy (green button) OOK devices is going well. The legacy.py will soon be built on top of the new more robust C driver which will improve switching probability. You can test this C driver in isolation by going into the drv folder, using ./build_rpi then sudo ./radio_test and it will repeatedly toggle switch 1.

whaleygeek commented 8 years ago

This is related to #41 and #42 as well

whaleygeek commented 8 years ago

I have tested with the legacy green button devices, and their hand controller, and all tests have passed. I will close this issue when the long-tx branch merges to master.

whaleygeek commented 8 years ago

Tested, long-tx branch merged, closing