Writing status of switch without changing it

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
Abbadon
Posts: 40
Joined: Thursday 01 October 2015 8:25
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland, Wrocław
Contact:

Writing status of switch without changing it

Post 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.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Writing status of switch without changing it

Post by Egregius »

Why not use a relay that has an input for the switch? Like a Qubino or Fibaro?
Abbadon
Posts: 40
Joined: Thursday 01 October 2015 8:25
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland, Wrocław
Contact:

Re: Writing status of switch without changing it

Post 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
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Writing status of switch without changing it

Post 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.
vilpih
Posts: 17
Joined: Friday 13 November 2015 23:14
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3586
Contact:

Re: Writing status of switch without changing it

Post by vilpih »

2. There is also Aeon Labs Heavy duty switch which can handle 40A.

Skickat från min D6603 via Tapatalk
Abbadon
Posts: 40
Joined: Thursday 01 October 2015 8:25
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland, Wrocław
Contact:

Re: Writing status of switch without changing it

Post 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?
malarcy
Posts: 50
Joined: Sunday 15 November 2015 13:36
Target OS: Linux
Domoticz version:
Contact:

Re: Writing status of switch without changing it

Post 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".
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest