metriful / sensor

Sensor by Metriful | Indoor environment monitoring | Documentation and code samples
https://www.sensor.metriful.com
MIT License
107 stars 36 forks source link

Home assistant keeps 'kinda'crashing when using the ardiuno script(on ESP8266) for HA #23

Closed modular1 closed 3 years ago

modular1 commented 3 years ago

I was wondering if this is a known problem, but as soon as my ESP8266 sends the data to HA seems to Crash i can only see the home screen which is not updated anymore and navigating to other sections results in a 'Error while loading page'. When i look in the console tab i see a 500 error. When i reboot HA(raspberry) it works untill it receives the next update from the sensor. When reboot the PI i see the sensors listed in the entete overview so the data is received, but it seems with every update of data HA stops working.

my config is: Raspberry 3(2gig) and 4(4gig) (tried both) HA 32 and 64 bit (tried both)

Any idea what cause this or or people reconize this?

metriful commented 3 years ago

Hi. This problem has not been reported by anyone else.

Which version of Home Assistant are you using?

Please check that the token you put in the ESP8266 code is correct. Also try removing any symbols from the SENSOR_NAME parameter.

Do you have any automations that use the data? If yes, try disabling/deleting them.

Is the WiFi network created by the Raspberry Pi, or another device? Try using another network, e.g. a phone hotspot, to see if it is a network problem.

modular1 commented 3 years ago

Okay i moved my setup into kubernets and now problem seems solved. No idea wat the problem was. Sorry for the time