Lighting4 manual Add Switch patch.
Posted: Saturday 14 February 2015 9:40
Hi,
just finished to patch V2.2258 (will merge with latest beta ASAP) for one can manually add a Lighting4 switch in Domoticz (provided he can find the command 24 bits and pulse somehow). Works nicely for something like http://www.aliexpress.com/snapshot/6473215080.html .
In addition to minor changes in frontend and backend, I had to change the LIGHTING4 struct in RFXtrx.h to add a command byte in order for Domoticz to show both on and off switches states, so I'm not sure this will be accepted as-is, but still: reading the forums I'm clearly not alone in needing something like that (with such a 12 channels relay boards, I'll be able to drive all the watering valves in the garden for example).
Now, I don't know how to proceed to submit this more-than-one-liner patch, so if someone is interested, please tell me.
just finished to patch V2.2258 (will merge with latest beta ASAP) for one can manually add a Lighting4 switch in Domoticz (provided he can find the command 24 bits and pulse somehow). Works nicely for something like http://www.aliexpress.com/snapshot/6473215080.html .
In addition to minor changes in frontend and backend, I had to change the LIGHTING4 struct in RFXtrx.h to add a command byte in order for Domoticz to show both on and off switches states, so I'm not sure this will be accepted as-is, but still: reading the forums I'm clearly not alone in needing something like that (with such a 12 channels relay boards, I'll be able to drive all the watering valves in the garden for example).
Now, I don't know how to proceed to submit this more-than-one-liner patch, so if someone is interested, please tell me.