SOLVED Domoticz not responding on Publish action

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
renevdb
Normal user
Posts: 2
Joined: 13 Aug 2019, 17:35

SOLVED Domoticz not responding on Publish action

#1 Post by renevdb » 13 Aug 2019, 21:28

I have a ESP8266-01 (512Kb) running espeasy build 148. In rules I send de state of the switch in the following way.
("schak3" is the relais and "toets" is a touch sensor connected to the esp8266.)
on schak3#switch do
if [schak3#switch]=1
is closed
gpio,1,0
else
gpio,1,1
endif
endon
on toets#switch do
if [toets#switch]=1
gpio,0,0
Publish /schak3/GPIO,0,0
else
gpio,0,1
Publish /schak3/GPIO,0,1
endif
endonn


Via Domoticz I can contol the switch. With the touch sensor connected to Gpio3 I can do that too.
I expect Domoticz to update the state of the switch after I touched the sensor but that does not happen. (actually it did happen for a short period with long delays of more than 3 seconds)
Any ideas what is causing the problem?
Last edited by renevdb on 16 Aug 2019, 13:37, edited 1 time in total.

renevdb
Normal user
Posts: 2
Joined: 13 Aug 2019, 17:35

Re: Domoticz not responding on Publish action SOLVED

#2 Post by renevdb » 14 Aug 2019, 20:30

SOLVED
I started using Domoticz without password. That worked. Later I added user and password for domoticz and it stopped working. I have to add user and password in "config"espeasy.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 40 guests