Closed gmlupatelli closed 2 years ago
I did some debugging with a new device that I just configured using ESPHome, and now I can't even make it work for the first time. Unless I am doing something wrong with its configuration (I never used ESPHome and MQTT), now MQTT autodiscover isn't working at all.
I got an ESP8299 and installed ESPHome in it and configure it to use MQTT. First I made sure that I got everything working with the API, and then I changed it to use MQTT.
Here is the ESP home configuration:
esphome:
name: temp-device
platform: ESP8266
board: esp01_1m
# Enable logging
logger:
level: DEBUG
# Enable Home Assistant API
# api:
# Enable MQTT
mqtt:
broker: homeassistant
ota:
password: "xxxxxxxxxxxxxxxxxxxxxxxxxx"
wifi:
ssid: "Skynet"
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Temp-Device Fallback Hotspot"
password: "xxxxxxxxxxxxxxxxxxx"
captive_portal:
# Device Configuration
light:
- platform: binary
name: "Onboard LED"
output: light_output
output:
- id: light_output
platform: gpio
pin: GPIO2
inverted: true
However I can't see the device in MQTT Explorer or in Home assistant.
Mosquito Broker Log
1631630727: mosquitto version 1.6.12 starting
1631630727: |-- *** auth-plug: startup
[10:45:28] INFO: Successfully send discovery information to Home Assistant.
1631630727: Config loaded from /etc/mosquitto/mosquitto.conf.
1631630727: Loading plugin: /usr/share/mosquitto/auth-plug.so
1631630727: ├── Username/password checking enabled.
1631630727: ├── TLS-PSK checking enabled.
1631630727: └── Extended authentication not enabled.
1631630727: Opening ipv4 listen socket on port 1883.
1631630727: Opening ipv6 listen socket on port 1883.
1631630727: Opening websockets listen socket on port 1884.
1631630728: Opening ipv4 listen socket on port 8883.
1631630728: Opening ipv6 listen socket on port 8883.
1631630728: Opening websockets listen socket on port 8884.
1631630728: Warning: Mosquitto should not be run as root/administrator.
1631630728: mosquitto version 1.6.12 running
1631630728: New connection from 127.0.0.1 on port 1883.
1631630728: Socket error on client <unknown>, disconnecting.
1631630728: New connection from 172.30.32.1 on port 1883.
1631630728: New client connected from 172.30.32.1 as 0lbm8Tw6mfdrjZC5JBy79w (p2, c1, k60, u'homeassistant').
[10:45:29] INFO: Successfully send service information to the Supervisor.
1631630728: New connection from 192.168.86.45 on port 1883.
{"result": "ok", "data": {}}1631630728: New client connected from 192.168.86.45 as mqtt-explorer-36d9a907 (p2, c1, k60, u'mqttuser').
1631630735: New connection from 192.168.86.202 on port 1883.
1631630735: New client connected from 192.168.86.202 as 3vnd5l2wjZWpHDqDN67hUY (p1, c1, k60).
1631630826: New connection from 172.30.32.2 on port 1883.
1631630826: Socket error on client <unknown>, disconnecting.
1631630946: New connection from 172.30.32.2 on port 1883.
1631630946: Socket error on client <unknown>, disconnecting.
1631631066: New connection from 172.30.32.2 on port 1883.
1631631066: Socket error on client <unknown>, disconnecting.
1631631186: New connection from 172.30.32.2 on port 1883.
1631631186: Socket error on client <unknown>, disconnecting.
1631631306: New connection from 172.30.32.2 on port 1883.
1631631306: Socket error on client <unknown>, disconnecting.
1631631426: New connection from 172.30.32.2 on port 1883.
1631631426: Socket error on client <unknown>, disconnecting.
1631631546: New connection from 172.30.32.2 on port 1883.
1631631546: Socket error on client <unknown>, disconnecting.
1631631614: New connection from 192.168.86.54 on port 1883.
1631631614: New client connected from 192.168.86.54 as temp-device-c45bbe485d5e (p2, c1, k15).
1631631666: New connection from 172.30.32.2 on port 1883.
1631631666: Socket error on client <unknown>, disconnecting.
1631631786: New connection from 172.30.32.2 on port 1883.
1631631786: Socket error on client <unknown>, disconnecting.
1631631906: New connection from 172.30.32.2 on port 1883.
1631631906: Socket error on client <unknown>, disconnecting.
1631632026: New connection from 172.30.32.2 on port 1883.
1631632026: Socket error on client <unknown>, disconnecting.
1631632146: New connection from 172.30.32.2 on port 1883.
1631632146: Socket error on client <unknown>, disconnecting.
1631632266: New connection from 172.30.32.2 on port 1883.
1631632266: Socket error on client <unknown>, disconnecting.
1631632386: New connection from 172.30.32.2 on port 1883.
1631632386: Socket error on client <unknown>, disconnecting.
1631632410: New connection from 172.30.32.1 on port 1883.
1631632410: New client connected from 172.30.32.1 as auto-0CDACE3B-400F-C10E-5C56-8DB4D45E5680 (p2, c1, k60).
1631632424: New connection from 192.168.86.54 on port 1883.
1631632424: Client temp-device-c45bbe485d5e already connected, closing old connection.
1631632424: New client connected from 192.168.86.54 as temp-device-c45bbe485d5e (p2, c1, k15).
1631632486: Socket error on client auto-0CDACE3B-400F-C10E-5C56-8DB4D45E5680, disconnecting.
1631632495: New connection from 172.30.32.1 on port 1883.
1631632495: New client connected from 172.30.32.1 as auto-149016AF-D2E2-08C2-4AB7-DA37B4214AD5 (p2, c1, k60).
1631632506: New connection from 172.30.32.2 on port 1883.
1631632506: Socket error on client <unknown>, disconnecting.
1631632528: Saving in-memory database to /data/mosquitto.db.
1631632626: New connection from 172.30.32.2 on port 1883.
1631632626: Socket error on client <unknown>, disconnecting.
1631632746: New connection from 172.30.32.2 on port 1883.
1631632746: Socket error on client <unknown>, disconnecting.
1631632866: New connection from 172.30.32.2 on port 1883.
1631632866: Socket error on client <unknown>, disconnecting.
1631632986: New connection from 172.30.32.2 on port 1883.
1631632986: Socket error on client <unknown>, disconnecting.
1631633064: New connection from 192.168.86.54 on port 1883.
1631633064: Client temp-device-c45bbe485d5e already connected, closing old connection.
1631633064: New client connected from 192.168.86.54 as temp-device-c45bbe485d5e (p2, c1, k15).
1631633106: New connection from 172.30.32.2 on port 1883.
1631633106: Socket error on client <unknown>, disconnecting.
1631633226: New connection from 172.30.32.2 on port 1883.
1631633226: Socket error on client <unknown>, disconnecting.
1631633346: New connection from 172.30.32.2 on port 1883.
1631633346: Socket error on client <unknown>, disconnecting.
1631633459: Client mqtt-explorer-36d9a907 has exceeded timeout, disconnecting.
1631633466: New connection from 172.30.32.2 on port 1883.
1631633466: Socket error on client <unknown>, disconnecting.
1631633483: Socket error on client auto-149016AF-D2E2-08C2-4AB7-DA37B4214AD5, disconnecting.
1631633586: New connection from 172.30.32.2 on port 1883.
1631633586: Socket error on client <unknown>, disconnecting.
1631633706: New connection from 172.30.32.2 on port 1883.
1631633706: Socket error on client <unknown>, disconnecting.
1631633826: New connection from 172.30.32.2 on port 1883.
1631633826: Socket error on client <unknown>, disconnecting.
1631633946: New connection from 172.30.32.2 on port 1883.
1631633946: Socket error on client <unknown>, disconnecting.
1631634066: New connection from 172.30.32.2 on port 1883.
1631634066: Socket error on client <unknown>, disconnecting.
1631634186: New connection from 172.30.32.2 on port 1883.
1631634186: Socket error on client <unknown>, disconnecting.
1631634306: New connection from 172.30.32.2 on port 1883.
192.168.86.54 is the client device IP
Client Device Log
INFO Reading configuration /config/esphome/temp-device.yaml...
INFO Starting log output from temp-device/debug
INFO Connected to MQTT broker!
Core Log
2021-09-14 10:27:22 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-14 10:27:22 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-14 10:27:22 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-14 10:27:22 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
2021-09-14 10:27:22 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-14 10:27:22 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-14 10:27:22 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-14 10:27:22 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
2021-09-14 10:27:23 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-14 10:27:23 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-14 10:27:23 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-14 10:27:23 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
2021-09-14 10:27:23 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-14 10:27:23 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-14 10:27:23 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-14 10:27:23 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
2021-09-14 10:27:23 DEBUG (MainThread) [homeassistant.components.mqtt] Transmitting message on homeassistant/status: 'online', mid: 4
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.all_hs210_extra_nudge] Integration - HS210 "Extra Nudge" Upstairs Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_kitchen_hallway] Integration - HS210 "Extra Nudge" Kitchen Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_front_door_hallway] Integration - HS210 "Extra Nudge" Front Door Hallway: Already running
2021-09-14 10:27:36 WARNING (MainThread) [homeassistant.components.automation.integration_hs210_extra_nudge_basement_hallway] Integration - HS210 "Extra Nudge" Basement Hallway: Already running
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
2021-09-14 10:31:13 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
TypeError: stop_scanning() takes 1 positional argument but 2 were given
2021-09-14 10:31:15 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /homeassistant/restart request Server disconnected
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[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] done.
[services.d] starting services
[services.d] done.
2021-09-14 10:31:28 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration var which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-09-14 10:31:28 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-09-14 10:31:28 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration govee_ble_hci which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-09-14 10:31:28 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-09-14 10:31:28 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration googlewifi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-09-14 10:31:28 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration govee which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-09-14 10:31:37 INFO (Thread-3) [homeassistant.components.mqtt] Connected to MQTT server core-mosquitto:1883 (0)
2021-09-14 10:31:42 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2021-09-14 10:31:42 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2021-09-14 10:31:43 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/config, mid: 1
2021-09-14 10:31:43 ERROR (MainThread) [snitun.client.client_peer] Challenge/Response error with SniTun server
2021-09-14 10:31:43 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server
2021-09-14 10:31:45 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.
2021-09-14 10:31:45 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/+/config, mid: 2
2021-09-14 10:31:47 WARNING (MainThread) [homeassistant.setup] Setup of webostv is taking over 10 seconds.
2021-09-14 10:31:47 ERROR (SyncWorker_7) [custom_components.govee_ble_hci.sensor] Error during Bluetooth LE scan: Attribute hass is None for <Entity Bedroom Enviroment temp: 23.06>
2021-09-14 10:31:48 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to tasmota/discovery/#, mid: 3
2021-09-14 10:31:51 WARNING (MainThread) [custom_components.govee] API is back online.
2021-09-14 10:31:53 WARNING (MainThread) [zigpy.zcl] Unknown cluster 57344
2021-09-14 10:31:53 WARNING (MainThread) [zigpy.zcl] Unknown cluster 57345
2021-09-14 10:31:53 WARNING (MainThread) [zigpy.zcl] Unknown cluster 57344
2021-09-14 10:31:53 WARNING (MainThread) [zigpy.zcl] Unknown cluster 57345
2021-09-14 10:31:55 WARNING (MainThread) [homeassistant.components.camera] Setup of camera platform environment_canada is taking over 10 seconds.
2021-09-14 10:32:18 DEBUG (MainThread) [homeassistant.components.mqtt] Transmitting message on homeassistant/status: 'online', mid: 4
2021-09-14 10:33:09 INFO (Thread-113) [homeassistant.components.mqtt] Connected to MQTT server core-mosquitto:1883 (0)
2021-09-14 10:33:09 DEBUG (MainThread) [homeassistant.components.mqtt] Unsubscribing from homeassistant/+/+/config, mid: 1
2021-09-14 10:33:09 DEBUG (MainThread) [homeassistant.components.mqtt] Unsubscribing from homeassistant/+/+/+/config, mid: 2
2021-09-14 10:33:09 DEBUG (MainThread) [homeassistant.components.mqtt] Unsubscribing from tasmota/discovery/#, mid: 3
2021-09-14 10:33:09 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/config, mid: 4
2021-09-14 10:33:09 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/+/config, mid: 5
2021-09-14 10:33:09 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/+/config, mid: 6
2021-09-14 10:33:09 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/config, mid: 7
2021-09-14 10:33:09 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to tasmota/discovery/#, mid: 8
2021-09-14 10:33:11 DEBUG (MainThread) [homeassistant.components.mqtt] Transmitting message on homeassistant/status: 'online', mid: 9
2021-09-14 10:45:20 WARNING (Thread-113) [homeassistant.components.mqtt] Disconnected from MQTT server core-mosquitto:1883 (1)
2021-09-14 10:45:28 INFO (Thread-113) [homeassistant.components.mqtt] Connected to MQTT server core-mosquitto:1883 (0)
2021-09-14 10:45:28 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/+/config, mid: 10
2021-09-14 10:45:28 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/config, mid: 11
2021-09-14 10:45:28 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to tasmota/discovery/#, mid: 12
2021-09-14 10:45:30 DEBUG (MainThread) [homeassistant.components.mqtt] Transmitting message on homeassistant/status: 'online', mid: 13
2021-09-14 10:58:31 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for temp-device (192.168.86.54): Timeout while connecting to ('192.168.86.54', 6053)
This log includes the test device reflash transition from API to MQTT configuration
I set up a fresh server in a new Raspberry PI and was able to better debug the issue I am having and as it doesn't have anything to do with autodiscovery I will close this bug and create a new one.
The problem
MQTT integration just autodiscover new devices one time, for any client device. If client devices get rebooted all its entities will be unavailable forever.
This first happened when I update to core-2021.9.1. I had one ESP8266 led strip that was running FASTLedand and used MQTT to integrate with Home Assistant. It used to work flawlessly but after the update, the device and its entities became unavailable and never come back, no matter home many times I rebooted it, so I thought it was a client software issue and migrated it to ESPHome, and installed MQTT as I had no use for it.
After a few days I was working in integrating my 3D Printer with Home Assistant and one of the plugins that I am using just exposes itself via MQTT, so I installed the MQQT client in my Octoprint installation and reinstalled Mosquito Broker and MQTT Integration, using all the defaults.
Just after the installation, everything worked fine and I managed to get all the exposed Octoprint entities autodiscovered in Home Assistant, however, after I rebooted Octoprint (I just rebooted it without changing anything in it, I actually sent the wrong MQTT command that shutdown Octoprint while trying to just shut down the printer PSU), the related Home Assistant entities never became available again.
What I did to try to fix this issue: First I tried removing the MQTT Integration, rebooting Home Assistant, removing Mosquito Broker Add-On, rebooting Home Assistant again, and reinstalling everything again, but nothing changed.
Second I tried to reconfigure the Home Assistant Integration using a different user and password. I used a user that I created called mqttuser, however, nothing changed, even after restarting the server. Then I tried making this user a an administrator and once again restarting home assistant, however, nothing changed.
Last I tried adding my user to the Mosquito Broker configuration, see bellow, and nothing change, even after restarting Home Assistant.
Environment
System Health
Home Assistant Community Store
GitHub API | ok -- | -- Github API Calls Remaining | 4921 Installed Version | 1.15.2 Stage | running Available Repositories | 881 Installed Repositories | 12Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | October 9, 2021, 8:00 PM relayer_connected | true remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | true can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 6.3 -- | -- update_channel | stable supervisor_version | supervisor-2021.09.0 docker_version | 20.10.7 disk_total | 58.0 GB disk_used | 8.7 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | File editor (5.3.3), Terminal & SSH (9.1.3), Samba share (9.5.1), Network UPS Tools (0.8.0), Z-Wave JS (0.1.40), Check Home Assistant configuration (3.8.0), Home Assistant Google Drive Backup (0.105.1), ESPHome (2021.8.2), AirCast (3.1.1), Mosquitto broker (6.0.1)Lovelace
dashboards | 1 -- | -- resources | 7 views | 4 mode | storageSpotify
api_endpoint_reachable | ok -- | --Problem-relevant configuration
Current Mosquito Broker Configuration:
Alternative Mosquito Broker Configuration that I tried:
Current MQTT Integration configuration:
![image](https://user-images.githubusercontent.com/40525606/133162349-071a02b9-ad9e-4d68-8f78-4458d96b4b5d.png)
Alternative MQTT Integration configuration that I tried with the alternative Mosquito Broker Configuration:
The second screen configuration remained the same as the above.
Traceback/Error logs
Mosquito Broker Log
MQTT Explorer This is the whole output of MQTT Explorer
[Update] For some reason when I turned MQTT logging on ad restarted the server, now I get the octoprint client device in MQTT Explorer
The MQTT client device IP is 192.168.86.202 (octoprint) appears in MQTT Explorer but not in Home Assistant.![image](https://user-images.githubusercontent.com/40525606/133162806-869a1215-417a-4089-9be4-4bcf3279d44a.png)
Supervisor logs:
Expand full log:
``` 21-09-14 08:01:17 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-09-14 08:01:17 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-09-14 08:01:17 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-09-14 08:01:17 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-09-14 08:01:17 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete 21-09-14 08:04:16 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-09-14 08:34:16 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-09-14 08:43:52 INFO (MainThread) [supervisor.host.info] Updating local host information 21-09-14 08:43:53 INFO (MainThread) [supervisor.host.services] Updating service information 21-09-14 08:43:53 INFO (MainThread) [supervisor.host.network] Updating local network information 21-09-14 08:43:56 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information 21-09-14 08:43:56 INFO (MainThread) [supervisor.host.manager] Host information reload completed 21-09-14 09:01:08 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup 21-09-14 09:01:08 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup 21-09-14 09:01:17 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-09-14 09:01:17 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-09-14 09:01:17 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN 21-09-14 09:01:17 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE 21-09-14 09:01:17 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR 21-09-14 09:01:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-09-14 09:01:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-09-14 09:01:18 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-09-14 09:01:18 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-09-14 09:01:18 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-09-14 09:01:18 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-09-14 09:01:18 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete 21-09-14 09:03:03 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json 21-09-14 09:04:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-09-14 09:34:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-09-14 10:01:10 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup 21-09-14 10:01:10 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.check] System checks complete 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 21-09-14 10:01:18 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete 21-09-14 10:03:28 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository 21-09-14 10:03:28 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository 21-09-14 10:03:28 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository 21-09-14 10:03:29 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of AdGuard Home 21-09-14 10:03:29 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of ESPHome 21-09-14 10:03:29 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot' is deprecated, 'backup' should be used instead. Please report this to the maintainer of UniFi Controller 21-09-14 10:03:30 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of AdGuard Home 21-09-14 10:03:30 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot_exclude' is deprecated, 'backup_exclude' should be used instead. Please report this to the maintainer of ESPHome 21-09-14 10:03:30 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'snapshot' is deprecated, 'backup' should be used instead. Please report this to the maintainer of UniFi Controller 21-09-14 10:03:30 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 0 new - 0 remove 21-09-14 10:03:30 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 0 new - 0 remove 21-09-14 10:04:18 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-09-14 10:26:16 INFO (SyncWorker_3) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi4-64-homeassistant 21-09-14 10:26:27 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready 21-09-14 10:26:36 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-09-14 10:26:36 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-09-14 10:27:22 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance 21-09-14 10:28:34 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqttuser' 21-09-14 10:28:35 INFO (MainThread) [supervisor.auth] Successful login for 'mqttuser' 21-09-14 10:31:10 INFO (SyncWorker_6) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi4-64-homeassistant 21-09-14 10:31:22 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready 21-09-14 10:31:31 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 21-09-14 10:31:31 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 21-09-14 10:32:21 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance 21-09-14 10:34:18 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token ```Core Log with the logger set to
homeassistant.components.mqtt: debug
Expand full log:
``` 2021-09-14 10:31:28 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration var which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-09-14 10:31:28 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-09-14 10:31:28 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration govee_ble_hci which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-09-14 10:31:28 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-09-14 10:31:28 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration googlewifi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-09-14 10:31:28 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration govee which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-09-14 10:31:37 INFO (Thread-3) [homeassistant.components.mqtt] Connected to MQTT server core-mosquitto:1883 (0) 2021-09-14 10:31:42 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds. 2021-09-14 10:31:42 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds. 2021-09-14 10:31:43 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/config, mid: 1 2021-09-14 10:31:43 ERROR (MainThread) [snitun.client.client_peer] Challenge/Response error with SniTun server 2021-09-14 10:31:43 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server 2021-09-14 10:31:45 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds. 2021-09-14 10:31:45 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to homeassistant/+/+/+/config, mid: 2 2021-09-14 10:31:47 WARNING (MainThread) [homeassistant.setup] Setup of webostv is taking over 10 seconds. 2021-09-14 10:31:47 ERROR (SyncWorker_7) [custom_components.govee_ble_hci.sensor] Error during Bluetooth LE scan: Attribute hass is None forAdditional information
Host Log:
If there is anything else more I can provide, let me know. But explains how I get it like I was 5 years old.....lol.