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 switch and "toets" is a touch sensor connected to the esp8266.)
on schak3#switch do
if [schak3#switch]=1
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?
SOLVED Domoticz does not repond on Publish action from Espeasy
Moderator: leecollings
-
- Posts: 12
- Joined: Sunday 05 June 2016 21:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
SOLVED Domoticz does not repond on Publish action from Espeasy
Last edited by renevandenbroek on Friday 16 August 2019 22:55, edited 1 time in total.
-
- Posts: 12
- Joined: Sunday 05 June 2016 21:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz does not repond on Publish action from EspeasySOLVED
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest