alengwenus / esphome_components

External components for ESPHome
GNU General Public License v3.0
29 stars 9 forks source link

Sensor Data in Homeassistant marked as unavailable most of the time #12

Closed Eico-ccm closed 1 year ago

Eico-ccm commented 1 year ago

Hello,

I just wanted to know if my esp is set up correctly and if not how to fix it.

Currently the Data only shows up in Homeassistant when the smart meter gives out it's information. So there's always a gap in the Data that Homeassistant saves between the information bursts. When not recieving Homeassistant shows the sensor as not available.

But on the contrary the built-in esphome webserver component always shows the last values.

So why are the sensors labeled as unavailable most of the time?

-removed old config; newer one is down the thread

Thank you for your time and this great component.

alengwenus commented 1 year ago

Hi @Eico-ccm,

sorry for the late reply. Could you please try to set the text sensor's format parameter from text to hex?

Eico-ccm commented 1 year ago

Hey,

I just finished my setup. The Esp's Power is no longer a Trip hazard and the connections are soldered.

I made some config changes, the biggest was that i changed the esp-board type but the issue continued at first. Then I let it run overnight and now the issue is gone? So it either needed to run warm or the daily restart of my HASS-Instance fixed it somehow.

Anyway heres my setup for closeness sake. nmcu-esp32-berry-01.yaml.txt

Have a nice Day!