Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


peejayw

1913 posts

Uber Geek
+1 received by user: 123


#293212 6-Jan-2022 14:15
Send private message

I have been running a BME280/D1-mini for temperature, pressure and humidity in Home Assistant and its been working well.

 

Last week when I was away HA reported that the 3 sensors were unavailable.

 

Now that I am back home I checked ESPHome but it says the unit is online.

 

I have rebooted everything after re-installing the ESP software but no joy.

 

What else can I try to get it working again?

 

Thanks.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic
eonsim
403 posts

Ultimate Geek
+1 received by user: 192

Trusted

  #2844657 6-Jan-2022 20:58
Send private message

Have you updated ESPhome to the latest version and recompiled the firmware and uploaded it to the ESP? I assume your using the HA api rather than mqtt or something else to communicate?

 

Might be worth checking to see if it's added re-added it's self and the sensors are now something like sensor.old_sensor_id_2.

 

 

 

You've connected to it with the ESPhome log tool and watched to see what it's doing and if it's giving any error messages when trying to send data, and checked the HA log to see if your getting any errors about ESPhome?




peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #2844699 7-Jan-2022 07:33
Send private message

ESPHome is up to date and I have recompiled and uploaded to the esp. There is only one instance of each sensor. The ESPHome log is an arcane mystery to me but its all green so I hope that means all is good.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


eonsim
403 posts

Ultimate Geek
+1 received by user: 192

Trusted

  #2844823 7-Jan-2022 14:25
Send private message

Might help to post the log here, after leaving it to run for long enough that it should have sent a couple of reports to Home Assistant. Also have a look in the home assistant log to see what's happening from it's end.




hairy1
3352 posts

Uber Geek
+1 received by user: 644

ID Verified
Trusted
Lifetime subscriber

  #2844824 7-Jan-2022 14:27
Send private message

You may have to re-add the device in the Integration tab. Find the IP address of the device then go to Configuration - Integrations and add new integration then choose Esphome and enter the IP address.




My views (except when I am looking out their windows) are not those of my employer.


peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #2844827 7-Jan-2022 14:31
Send private message

Thanks, this is the log...

 

2022-01-07 13:15:39,558 INFO 304 GET /devices (0.0.0.0) 6.38ms 2022-01-07 13:15:45,564 INFO 304 GET /devices (0.0.0.0) 6.11ms 2022-01-07 13:15:51,570 INFO 304 GET /devices (0.0.0.0) 5.22ms 2022-01-07 13:15:57,558 INFO 304 GET /devices (0.0.0.0) 6.07ms 2022-01-07 13:16:03,594 INFO 304 GET /devices (0.0.0.0) 6.12ms 2022-01-07 13:16:09,561 INFO 304 GET /devices (0.0.0.0) 5.97ms 2022-01-07 13:16:15,541 INFO 304 GET /devices (0.0.0.0) 6.57ms 2022-01-07 13:16:21,541 INFO 304 GET /devices (0.0.0.0) 6.08ms 2022-01-07 13:16:27,549 INFO 304 GET /devices (0.0.0.0) 6.08ms 2022-01-07 13:16:33,567 INFO 304 GET /devices (0.0.0.0) 5.83ms 2022-01-07 13:16:39,653 INFO 304 GET /devices (0.0.0.0) 6.93ms 2022-01-07 13:16:45,573 INFO 304 GET /devices (0.0.0.0) 6.47ms 2022-01-07 13:16:50,449 INFO 304 GET / (0.0.0.0) 4.57ms 2022-01-07 13:16:50,504 INFO 200 GET /static/fonts/material-icons/material-icons.css?hash=ead4c276 (0.0.0.0) 5.79ms 2022-01-07 13:16:50,521 INFO 200 GET /static/css/vendor/materialize/materialize.min.css?hash=ec1df3ba (0.0.0.0) 8.39ms 2022-01-07 13:16:50,559 INFO 200 GET /static/css/esphome-2.css?hash=c233b1a8 (0.0.0.0) 6.06ms 2022-01-07 13:16:50,574 INFO 200 GET /static/js/vendor/jquery-ui/jquery-ui.min.js?hash=cab3392d (0.0.0.0) 9.09ms 2022-01-07 13:16:50,586 INFO 200 GET /static/js/vendor/jquery/jquery.min.js?hash=12108007 (0.0.0.0) 7.16ms 2022-01-07 13:16:50,608 INFO 200 GET /static/js/vendor/jquery-validate/jquery.validate.min.js?hash=aad785d4 (0.0.0.0) 6.05ms 2022-01-07 13:16:50,622 INFO 200 GET /static/js/vendor/materialize/materialize.min.js?hash=4be20daf (0.0.0.0) 8.77ms 2022-01-07 13:16:50,741 INFO 200 GET /static/js/esphome/index-6b4dee4b.js (0.0.0.0) 11.01ms 2022-01-07 13:16:50,745 INFO 200 GET /static/js/vendor/ace/ace.js?hash=65322f49 (0.0.0.0) 33.95ms 2022-01-07 13:16:50,924 INFO 200 GET /static/js/vendor/ace/theme-dreamweaver.js (0.0.0.0) 6.50ms 2022-01-07 13:16:50,933 INFO 200 GET /static/js/vendor/ace/mode-yaml.js (0.0.0.0) 4.65ms 2022-01-07 13:16:50,951 INFO 304 GET /devices (0.0.0.0) 4.75ms 2022-01-07 13:16:50,960 INFO 200 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2 (0.0.0.0) 3.96ms 2022-01-07 13:16:50,969 INFO 101 GET /ace (0.0.0.0) 2.34ms 2022-01-07 13:16:50,972 INFO Running command 'esphome --dashboard -q vscode --ace /config/esphome' 2022-01-07 13:16:55,943 INFO 304 GET /devices (0.0.0.0) 6.65ms 2022-01-07 13:17:00,944 INFO 304 GET /devices (0.0.0.0) 6.64ms 2022-01-07 13:17:01,000 INFO 200 GET /static/js/esphome/c.a398e2a2.js (0.0.0.0) 9.40ms 2022-01-07 13:17:01,076 INFO 200 GET /static/js/esphome/c.ac1fcdb2.js (0.0.0.0) 6.93ms 2022-01-07 13:17:01,091 INFO 200 GET /static/js/esphome/c.644ce6a3.js (0.0.0.0) 7.20ms 2022-01-07 13:17:01,174 INFO 101 GET /validate (0.0.0.0) 4.79ms 2022-01-07 13:17:01,179 INFO Running command 'esphome --dashboard config /config/esphome/temperature-pressure-humidity.yaml' 2022-01-07 13:17:01,799 INFO Process exited with return code 0 2022-01-07 13:17:05,952 INFO 304 GET /devices (0.0.0.0) 6.64ms 2022-01-07 13:17:10,962 INFO 304 GET /devices (0.0.0.0) 6.31ms 2022-01-07 13:17:15,961 INFO 304 GET /devices (0.0.0.0) 6.35ms





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #2844833 7-Jan-2022 14:41
Send private message

Thanks for the help everyone, I removed the device and re-added it and it came back up, very happy chappy.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.