emsesp / EMS-ESP

ESP8266 firmware to read and control EMS and Heatronic compatible equipment such as boilers, thermostats, solar modules, and heat pumps
https://emsesp.github.io/docs
GNU Lesser General Public License v3.0
302 stars 97 forks source link

EMS-ESP Thermostat is not recognized/added to homeassistant lovelace autodiscover #774

Closed bartplessers closed 3 years ago

bartplessers commented 3 years ago

Hi,

Running

The thermostat is discovered with it's according entities by homeassistant: 2021-08-30_14-08-58

However, in the past, this thermostat was automatically added to the lovelace interface of homeassistant. Recently, I reinstalled my instance of homeassistant, and I notice that the thermostat does not show up anymore.

Also, If I add the entities manually to the dashboard, the thermostat seems "unavailable": 2021-08-30_14-16-21

On MQTT Explorer, I see data coming in: 2021-08-30_14-17-53

Question: How can I add the thermostat to my homeassistant dashboard.

kind regards, Bart Plessers

proddy commented 3 years ago

go into MQTTExplorer and see if the Discovery topics are there. Search for hc1. This is what I see:

Screenshot 2021-08-30 202640

Also I'm no longer supporting the ESP8266 so I would strongly recommend swapping it out for an ESP32 and jumping over to v3. You're missing out on a lot of cool new features.

bartplessers commented 3 years ago

Hi @proddy ,

I do have (more or less) the 'sensor' topics: 2021-08-31_1-42-55

but I'm missing the 'climate' topic: 2021-08-31_1-45-25

That's probably the reason why HA does not recognize the thermostat...

Any idea why?

Also I'm no longer supporting the ESP8266 so I would strongly recommend swapping it out for an ESP32 and jumping over to v3. You're missing out on a lot of cool new features.

I will give it a try in the future, but I recently (+/- 1Year ago) bought a BBQkees Gateway Premium II (P2), so If I get this working, it's fine for nox.

grtz B

proddy commented 3 years ago

I'm not sure what is causing this, assuming you hadn't upgrade the firmware or changed the settings (like tx_delay). I would again strongly recommend you buy an ESP32 for 4 euros and swap it out on your Premium II board.

bbqkees commented 3 years ago

What sometimes does help is removing the Gateway from power/ bus completely and then connect it again after 20 seconds. Sometimes rebooting via the web is not enough.

bartplessers commented 3 years ago

@bbqkees : thanx! that did the trick!!! @proddy : swap to ESP32: will do. But first I have to practice my solder skills. It has been a while ago and at least I have to find my soldering iron first... :-)

proddy commented 3 years ago

@bartplessers I'm sure if you send it back to Kees he'll solder it for free :-)

bartplessers commented 3 years ago

Hi @proddy ,

I have saved @bbqkees to solder my ESP32, and finally found some time to do it myself. Things went well and running v3.2.1 now on ESP32 / v3.3.5-1-g85c43024c

thanx for your mental support

grtz B

proddy commented 3 years ago

That's awesome news @bartplessers ! I hope you like all the new features