I try to use ESP easy wit home Assistant , but i cannot get it working
but still nothing at Mqtt, al logging i have this
632324: WD : Uptime 11 ConnectFailures 0 FreeMem 17432 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
662325: WD : Uptime 11 ConnectFailures 0 FreeMem 20856 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
662989: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
663569: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
692324: WD : Uptime 12 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
722324: WD : Uptime 12 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
722993: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
723573: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
752325: WD : Uptime 13 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
782325: WD : Uptime 13 ConnectFailures 0 FreeMem 20624 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
783000: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
783577: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
812325: WD : Uptime 14 ConnectFailures 0 FreeMem 20576 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
842324: WD : Uptime 14 ConnectFailures 0 FreeMem 20544 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
843002: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
843582: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
872324: WD : Uptime 15 ConnectFailures 0 FreeMem 20544 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
902325: WD : Uptime 15 ConnectFailures 0 FreeMem 20544 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
903007: DS : Temperature: 0.9 (28-aa-20-91-4b-14-01-62 [DS18B20])
i works with Domoticz , but not with HA
does somboday know what these failures mean en what settnig is still wrong?
error
Moderators: grovkillen, Stuntteam, TD-er
Re: error
I can't see the first screenshot, maybe because it has the same filename "Naamloos" ?
In the logs I don't see any error.
Just to make sure as it is not part of the screenshot.
You do have the controller enabled?
And it is also selected in the tasks you want to send to HA?
You mention Domoticz MQTT. Make sure you only have a single MQTT controller active as we currently don't support 2 active MQTT controllers.
I do see the topics you're subscribing to and publishing to do have a leading slash.
Make sure your HA setup also requires a leading slash in the topics.
It is a bit 'strange' to have a leading slash in MQTT topics as it means its first level is one with no name (""), so it is better to not start with a slash.
It will still work though, as long as all clients connecting to the broker use the same topic structure.
In the logs I don't see any error.
Just to make sure as it is not part of the screenshot.
You do have the controller enabled?
And it is also selected in the tasks you want to send to HA?
You mention Domoticz MQTT. Make sure you only have a single MQTT controller active as we currently don't support 2 active MQTT controllers.
I do see the topics you're subscribing to and publishing to do have a leading slash.
Make sure your HA setup also requires a leading slash in the topics.
It is a bit 'strange' to have a leading slash in MQTT topics as it means its first level is one with no name (""), so it is better to not start with a slash.
It will still work though, as long as all clients connecting to the broker use the same topic structure.
Re: error
It is not really an error , sorry for the unclear note. but it is the message what is not clear at the logging: ConnectFailures 0 FreeMem
29522325: WD : Uptime 492 ConnectFailures 0 FreeMem 20184 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
i updated to the lates espeasy firmware : ESP_Easy_mega_20210114_dev_ESP8266_4M1M in my nodeNCU v2
I used it for some years ayt domoticz. all date is send with idx 2xtemperature sensors and 1x lux sensor
and at MQTT explorer i see at topic domoticz/in
{"idx":231,"RSSI":8,"nvalue":0,"svalue":"37.6"}
{"idx":212,"RSSI":8,"nvalue":0,"svalue":"9.1"}
{"idx":231,"RSSI":8,"nvalue":0,"svalue":"37.6"}
also Domoticz is reading the values . it is working
But now i want to switch to HA..
and yes i disabled teh domottixz MQTT controller and enabled the openHAB MQTT controller
but when i check with MQTT explorer, i see no message anymore appear
only at topic home/nodeMCU v2/status/LWT = connected
i changed:
Controller Subscribe: home/%sysname%/# (instead of /%sysname%/#)
Controller Publish: home/%sysname%/%tskname%/%valname% (instead of /%sysname%/%tskname%/%valname%)
when i check logging i see 2 temperature sensor,(DS18B20) but where is the third sensor (lux sensor) that one is connected to i2C Analog input - ADS1115
32324: WD : Uptime 11 ConnectFailures 0 FreeMem 17432 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
662325: WD : Uptime 11 ConnectFailures 0 FreeMem 20856 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
662989: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
663569: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
692324: WD : Uptime 12 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
722324: WD : Uptime 12 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
722993: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
723573: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
752325: WD : Uptime 13 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
782325: WD : Uptime 13 ConnectFailures 0 FreeMem 20624 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
783000: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
783577: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
29522325: WD : Uptime 492 ConnectFailures 0 FreeMem 20184 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
i updated to the lates espeasy firmware : ESP_Easy_mega_20210114_dev_ESP8266_4M1M in my nodeNCU v2
I used it for some years ayt domoticz. all date is send with idx 2xtemperature sensors and 1x lux sensor
and at MQTT explorer i see at topic domoticz/in
{"idx":231,"RSSI":8,"nvalue":0,"svalue":"37.6"}
{"idx":212,"RSSI":8,"nvalue":0,"svalue":"9.1"}
{"idx":231,"RSSI":8,"nvalue":0,"svalue":"37.6"}
also Domoticz is reading the values . it is working
But now i want to switch to HA..
and yes i disabled teh domottixz MQTT controller and enabled the openHAB MQTT controller
but when i check with MQTT explorer, i see no message anymore appear
only at topic home/nodeMCU v2/status/LWT = connected
i changed:
Controller Subscribe: home/%sysname%/# (instead of /%sysname%/#)
Controller Publish: home/%sysname%/%tskname%/%valname% (instead of /%sysname%/%tskname%/%valname%)
when i check logging i see 2 temperature sensor,(DS18B20) but where is the third sensor (lux sensor) that one is connected to i2C Analog input - ADS1115
32324: WD : Uptime 11 ConnectFailures 0 FreeMem 17432 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
662325: WD : Uptime 11 ConnectFailures 0 FreeMem 20856 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
662989: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
663569: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
692324: WD : Uptime 12 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
722324: WD : Uptime 12 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
722993: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
723573: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
752325: WD : Uptime 13 ConnectFailures 0 FreeMem 20672 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
782325: WD : Uptime 13 ConnectFailures 0 FreeMem 20624 WiFiStatus 3 ESPeasy internal wifi status: Conn. IP Init
783000: DS : Temperature: 1.0 (28-aa-20-91-4b-14-01-62 [DS18B20])
783577: DS : Temperature: 11.1 (28-aa-b5-62-40-14-01-3f [DS18B20])
Re: error
That's not an error, but the WatchDog (WD) reporting its status.
You should read it from left to right
Uptime 492
ConnectFailures 0
FreeMem 20184
WiFiStatus 3
ESPeasy internal wifi status: Conn. IP Init
You expect temperatures to be sent over MQTT to both Domoticz and HA, well, I think the current limit is that only 1 active MQTT Controller is supported at the same time.
You could try to switch Domoticz to the HTTP controller (most settings should stay the same, except it doesn't communicate over MQTT), so HA is the only MQTT controller.
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 38 guests