Switch status invertable
Posted: Sunday 29 January 2017 23:38
Hi Domoticz forum,
Last month, I have added the KAKu "Mini Build-in transmitter" AWMT-230 to my Domoticz system to detect the status of the lightswitch in our bathroom. (In order to switch on the air-ventilation). They are initially designed to be swithed parallel to the lightswitch. When you look at the voltage then, the transmitter is sending light-on, when the voltage parallel on the lightswitch is 0 V. When the lightswitch is open, lights out, the voltage parallel over the switch is about 200 VAC.
But, there is a problem. This transmitter is drawing some 20 mA rest current, when the lightswitch is open, the LED lightbulb will not dimm completely anymore because of the transmitter that is parallel to the lightswitch. I have solved this problem, by putting the transmitter, via an extra 0 - wire in parallel to the lightbulb. The rest current is no problem anymore. The only problem is that domoticz is telling now that the light status is on, while in reality the light in the bathroom is out. And reversed of course. I have adapted the lua script for the reversed situation.
Therefore my feature request: Make an extra switchtype "off-on" selectable in the switchtype list, that is working reversed. In domoticz it is possible to present the real light status then. I know it is trivial, but maybe it is not so very hard to implement in a new version.
Thanks!
regards, Sef
Last month, I have added the KAKu "Mini Build-in transmitter" AWMT-230 to my Domoticz system to detect the status of the lightswitch in our bathroom. (In order to switch on the air-ventilation). They are initially designed to be swithed parallel to the lightswitch. When you look at the voltage then, the transmitter is sending light-on, when the voltage parallel on the lightswitch is 0 V. When the lightswitch is open, lights out, the voltage parallel over the switch is about 200 VAC.
But, there is a problem. This transmitter is drawing some 20 mA rest current, when the lightswitch is open, the LED lightbulb will not dimm completely anymore because of the transmitter that is parallel to the lightswitch. I have solved this problem, by putting the transmitter, via an extra 0 - wire in parallel to the lightbulb. The rest current is no problem anymore. The only problem is that domoticz is telling now that the light status is on, while in reality the light in the bathroom is out. And reversed of course. I have adapted the lua script for the reversed situation.
Therefore my feature request: Make an extra switchtype "off-on" selectable in the switchtype list, that is working reversed. In domoticz it is possible to present the real light status then. I know it is trivial, but maybe it is not so very hard to implement in a new version.
Thanks!
regards, Sef