Hi, I recently reinstalled the latest HA Hassbian. Long story short, I tried to upgrade from 0.51 to 0.69, python version issues so I decided to reinstall Hassbian and move my config files over.
Now all my MQTT devices are not working. I did set up the Mosquitto broker with all the same user name and passwords. I am able to ping from Owntracks on my phone and check via subscribing to the topic on putty and was able to see my phone report stats to it but it’s not showing up on HA. Can someone point me in the right direction?
Mon May 21 2018 01:36:54 GMT-0400 (Eastern Daylight Time)
Error setting up platform owntracks
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/__init__.py", line 180, in async_setup_platform
hass, p_config, tracker.async_see, disc_info)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/owntracks.py", line 96, in async_setup_scanner
hass, context.mqtt_topic, async_handle_mqtt_message, 1)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/__init__.py", line 273, in async_subscribe
topic, msg_callback, qos, encoding)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/__init__.py", line 591, in async_subscribe
await self._async_perform_subscription(topic, qos)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/__init__.py", line 626, in _async_perform_subscription
_raise_on_error(result)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/__init__.py", line 712, in _raise_on_error
'Error talking to MQTT: {}'.format(mqtt.error_string(result_code)))
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected.
My sonoff devices are all not showing up either.
Mon May 21 2018 01:36:50 GMT-0400 (Eastern Daylight Time)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 314, in _async_add_entity
await entity.async_added_to_hass()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/switch/mqtt.py", line 114, in async_added_to_hass
self._qos)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/__init__.py", line 273, in async_subscribe
topic, msg_callback, qos, encoding)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/__init__.py", line 591, in async_subscribe
await self._async_perform_subscription(topic, qos)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/__init__.py", line 626, in _async_perform_subscription
_raise_on_error(result)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/__init__.py", line 712, in _raise_on_error
'Error talking to MQTT: {}'.format(mqtt.error_string(result_code)))
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected