Skons / hassio-addons

7 stars 4 forks source link

Sensors keep going into a "restored" status #25

Closed Wxam closed 2 years ago

Wxam commented 2 years ago

Hey,

Every time I reboot my HA the sensors keep going into a restored status and don't come out of it anymore. I've tried many different things, reboot the add-on reboot HA, restart MQTT but nothing works. Here is some information: image

Add-on version: 2022.2.27.1 You are running the latest version of this add-on. System: Home Assistant OS 7.4 (amd64 / qemux86-64) Home Assistant Core: 2022.3.4 Home Assistant Supervisor: 2022.03.3

The log from the Gas Addon

[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... Log level is set to INFO [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [09:15:47] INFO: Log_level: info [09:15:47] INFO: mqtt_host: core-mosquitto [09:15:47] INFO: mqtt_port: 1883 [09:15:47] INFO: Starting dutch gas prices... [2022-03-14 09:15:48] INFO : DGP initialized, launching client [2022-03-14 09:15:48] INFO : Connecting mqtt [2022-03-14 09:15:48] INFO : Connected with result code 0

And the log from the Mosquito Broker

[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] mosquitto.sh: executing... [09:14:54] INFO: SSL is not enabled [cont-init.d] mosquitto.sh: exited 0. [cont-init.d] nginx.sh: executing... [cont-init.d] nginx.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [09:14:54] INFO: Starting NGINX for authentication handling... [09:14:54] INFO: Starting mosquitto MQTT broker... 1647245694: mosquitto version 1.6.12 starting 1647245694: |-- *** auth-plug: startup [09:14:55] INFO: Successfully send discovery information to Home Assistant. [09:14:55] INFO: Successfully send service information to the Supervisor. 1647245694: Config loaded from /etc/mosquitto/mosquitto.conf. 1647245694: Loading plugin: /usr/share/mosquitto/auth-plug.so 1647245694: ├── Username/password checking enabled. 1647245694: ├── TLS-PSK checking enabled. 1647245694: └── Extended authentication not enabled. 1647245694: Opening ipv4 listen socket on port 1883. 1647245694: Opening ipv6 listen socket on port 1883. 1647245694: Opening websockets listen socket on port 1884. 1647245694: Warning: Mosquitto should not be run as root/administrator. 1647245694: mosquitto version 1.6.12 running 1647245694: New connection from 127.0.0.1 on port 1883. 1647245694: Socket error on client , disconnecting. 1647245696: New connection from 172.30.32.1 on port 1883. 1647245696: New client connected from 172.30.32.1 as 2IkAjgcfOXPohSQE6rPL1d (p2, c1, k60, u'homeassistant'). 1647245707: New connection from 172.30.33.8 on port 1883. 1647245708: Socket error on client , disconnecting.

Hope you can help me out fix this issue once and for all.