Hello,
I am new to the forum and I write for the first time to find a solution together with you for a problem that currently I have not yet solved.
I write because I'm doing the tests of home automation installation domoticz room by room.
I am currently using as hardware configuration ARDUINO WITH TRANSCEIVER NRF24L01 + connected via Mysensors.
I think this is a common problem: I have a switch button and a relay 5v.
I can operate the circuit (turn on the lamp with the button and turn it off with the relay and vice versa etc etc ....). In this case also Domoticz works well, the problem occurs when we have to update the status of the lamp (eg. Relay off I light the bulb from the switch), on domoticz we have no status update.
The problem is fixable side Arduino (ACS712 or 220v diode with photo resistor connected in series), but I can not find a solution for domoticz exploiting Mysensors libraries.
I only managed to maintain a state relays control script by photoresistance, domoticz upgraded status. Unfortunately on 'ARDUINO if I add the relay control function, the system does not work due to the fact that in addition to updating the status of domoticz also updates the status relay (turn off or turn on the lamp).
I ask for a solution, I am confident that it is simple.
Marko Thanks
PS. sorry for my English, I hope you understand me
Enclosed is also the Italian translation
IT
Ciao,
sono nuovo del forum e vi scrivo per la prima volta per trovare una soluzione insieme a voi per un problema che attualmente non ho ancora risolto.
Vi scrivo perché sto facendo delle prove di installazione domotica con domoticz stanza per stanza.
Attualmente sto utilizzando come configurazione hardware ARDUINO CON RICETRASMITTENTE NRF24L01+ collegato tramite Mysensors.
Credo che questo sia un problema comune: ho un pulsante deviatore e un relè da 5v.
Riesco a far funzionare il circuito (accendo la lampada con il pulsante e la spengo con il relay, e viceversa ecc ecc....). In questo caso anche Domoticz funziona bene, il problema si manifesta quando dobbiamo aggiornare lo stato della lampa (es. relay spento io accendo la lampadina dal deviatore), su domoticz non abbiamo l'aggiornamento dello stato.
Il problema lato arduino è risolvibile (acs712 oppure diodo 220v con fotoresistenza collegato in serie), ma non riesco a trovare una soluzione per domoticz sfruttando le librerie Mysensors.
Sono solo riuscito ad effettuare un script di controllo dello stato relay tramite fotoresistenza, domoticz aggiornava lo stato. Purtroppo sull' ARDUINO se aggiungo la funzione controllo relay il sistema non funziona a motivo del fatto che oltre ad aggiornare lo stato su domoticz aggiorna anche lo stato relay (spegne o accende la lampada).
Chiedo una soluzione, confido che sia semplice.
Marko Grazie
MYSENSORS - SEND STATE RELAY DOMOTICZ
Moderator: leecollings
-
- Posts: 2
- Joined: Monday 16 January 2017 14:15
- Target OS: Windows
- Domoticz version:
- Contact:
-
- Posts: 2
- Joined: Monday 16 January 2017 14:15
- Target OS: Windows
- Domoticz version:
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest