Relay board and 2 way switching problems...
Posted: Tuesday 30 October 2018 12:32
Hi guys.
At home I have a network of raspberry Pi 3’s running. Numerous as slaves and one as a master which my Siri connects to using homebridge and this works great.
On my slave in the loft I have a large relay board to which I have rewired all my lighting to be 2 way, going to the relay board.
The problem I’m having is I can turn the lights on and off using domotics, and same at the manual switch.
The issue is when I turn the manual switch on, domoticz obviously does not get updated and thinks the lights state is off.
This plays hell as to turn the light off via voice I have to tell Siri to turn it on? Hard to explain.
What is my way around this? I was thinking a light sensor in each room? But then it will be misunderstood when the sun is shining.
Also thought about maybe a voltage detector on each line so it knows when it’s live or not?
Let me know your ideas or if anyone else has come up with a solution.
Many thanks,
Nick.
At home I have a network of raspberry Pi 3’s running. Numerous as slaves and one as a master which my Siri connects to using homebridge and this works great.
On my slave in the loft I have a large relay board to which I have rewired all my lighting to be 2 way, going to the relay board.
The problem I’m having is I can turn the lights on and off using domotics, and same at the manual switch.
The issue is when I turn the manual switch on, domoticz obviously does not get updated and thinks the lights state is off.
This plays hell as to turn the light off via voice I have to tell Siri to turn it on? Hard to explain.
What is my way around this? I was thinking a light sensor in each room? But then it will be misunderstood when the sun is shining.
Also thought about maybe a voltage detector on each line so it knows when it’s live or not?
Let me know your ideas or if anyone else has come up with a solution.
Many thanks,
Nick.