Page 1 of 1

Writing status of switch without changing it

Posted: Saturday 28 November 2015 16:45
by Abbadon
Yeah, i know that wired but it will be helpful. Let me explain. In few months I want to modify control of lights or other devices in my house, i want to do that with relays and normal wall switches, but there is a problem, when i turn on light with domoticz on dashboard i can see icon that light is ON, but when i turn off switch on wall there is still info "on" i want to use some kind of detection of current/voltage to know if the light are relay ON for detection ill try to use this: Image with additional transoptor to separate high voltage from avr and detect when light is ON, then i want to 'overwrite' status on domoticz without sending signal of change of status to relay(s).
Diagram will looks like this: Image

So there is a question, its possible to overwrite device status without changing it?

Sorry for my language. its difficult to me to explain that in other language than my native.

Re: Writing status of switch without changing it

Posted: Saturday 28 November 2015 18:03
by Egregius
Why not use a relay that has an input for the switch? Like a Qubino or Fibaro?

Re: Writing status of switch without changing it

Posted: Saturday 28 November 2015 18:06
by Abbadon
1. its expensive
2. Not only lights will be controled like this.
3. i want to have controll even when my domoticz system will have some problems

Re: Writing status of switch without changing it

Posted: Saturday 28 November 2015 19:27
by Egregius
1. True, about €50 each
2. There are relays up to 3500W
3. Thats the point of the switch input, to control them even without domoticz.

Re: Writing status of switch without changing it

Posted: Sunday 29 November 2015 9:33
by vilpih
2. There is also Aeon Labs Heavy duty switch which can handle 40A.

Skickat från min D6603 via Tapatalk

Re: Writing status of switch without changing it

Posted: Sunday 29 November 2015 13:46
by Abbadon
ok, but the n1 is cost of it, 50$ for each relay is cost (for me) more than 500usd which is to big so i have to find some cheap alternative



gizmocuz, Its possible?

Re: Writing status of switch without changing it

Posted: Tuesday 29 December 2015 0:19
by malarcy
the mysensors project (www.mysensors.org) allows for an arduino to have local logic (when I press switch turn relay on and tell domoticz I have done it) - it can also respond to messages from domoticz when required)

True - you MAY find that local switch -> arduino -> relay on -> tell domoticz might result in another ON coming back from domoticz (don't know for sure) but it's only going to try and set the relay that way it's already switched - so not a problem (and you can always locally do "if told to switch on and not already on".