Page 1 of 1

Domoticz + ESPEasy + MQTT +SSR + button problem

Posted: Friday 01 May 2020 17:00
by lukamati
My configuration is Domoticz + ESPEasy + MQTT.
I'm using a virtual switch to ON/OFF an SSR(relay) attached to ESPEASY (using MQTT protocol).

And it works like a charm! I can ON/OFF SSR by using Domoticz switch.

Then I added a physical button to ESPEasy and it can ON/OFF virtual button in Domoticz (using MQTT), but it doesn't work.

So clicking the physical switch Domoticz changes state properly but it doesn't take effect on SSR.
When I click in Domoticz virtual switch everything works well - SSR goes on/off.

How to resolve this problem? (configuration/scripting)?

best regards
Lukas

Re: Domoticz + ESPEasy + MQTT +SSR + button problem

Posted: Friday 01 May 2020 17:52
by FireWizard
Hi,

@lukamati

I think, you should have a look at: https://www.domoticz.com/forum/viewtopi ... hilit=mqtt

Screenshot_MQTT loop.png
Screenshot_MQTT loop.png (29.8 KiB) Viewed 239 times

Best regards