Search found 4 matches

by nexustlc
Friday 21 April 2017 11:55
Forum: ESP8266
Topic: MQTT Switch - Acknowledge?
Replies: 18
Views: 8282

Re: MQTT Switch - Acknowledge?

Hi moullas,
thank you so much for your reply!

I've written code myself, so I can set LWT but in this way I will know only if the switch is "online/offline" but I will not have a feedback from the switch, it's right?
by nexustlc
Monday 20 February 2017 9:58
Forum: ESP8266
Topic: MQTT Switch - Acknowledge?
Replies: 18
Views: 8282

Re: MQTT Switch - Acknowledge?

SweetPants Thank you so much! ;) So it's not easy...bad news...I will try to implement it but I don't know if I've success. About timeout, I don't think to implement a timeout but a check in command and state; if I switch in UI I will send a command to relay but I'll wait a status update from relay ...
by nexustlc
Saturday 18 February 2017 12:56
Forum: ESP8266
Topic: MQTT Switch - Acknowledge?
Replies: 18
Views: 8282

Re: MQTT Switch - Acknowledge?

Hello Stevanovich, Hello SweetPants, thank you so much for your support! ;) Maybe I failed to explain my problem... My Switch works well, I'm able to connect to MQTT publish/subscribe topic and to read Switch status. What I mean is different, try to follow me: 1) Unplug switch, so it is not powered ...
by nexustlc
Friday 17 February 2017 14:13
Forum: ESP8266
Topic: MQTT Switch - Acknowledge?
Replies: 18
Views: 8282

MQTT Switch - Acknowledge?

Hello Guys, I'm using last stable Domoticz Release with a Mosquitto Broker, so I'm using Virtual Sensors with "MQTT Client Gateway with LAN interface" as Hardware. I've a fully working MQTT Switch, I'm able to switch on/off clearly; what I need to obtain is a feedback on the real switch status in ...