Hi, Progressing nicely getting HA set up and worked through multiple issues with all the help available.
But have an issue that seems to be a roadblock. I have an MQTT broker set up on a cloud virtual server and it appears to be working fine. Multiple different clients and publish and sub with messages flowing fine. Followed the DigitalOcean tutorial even though it uses a different service. So that part seems to be squared away.
Owntracks is set up on my IPhone with a home region and it publishes just fine to the MQTT broker in the owntracks topic.
I added the MQTT broker info to configuration.yaml and it threw no exceptions/errors. Added Owntracks and it started throwing an error in the console as below
2017-07-07 01:47:20 WARNING (Thread-6) [homeassistant.components.emulated_hue] When targetting Google Home, listening port has to be port 80
2017-07-07 01:47:20 ERROR (MainThread) [homeassistant.components.device_tracker] 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 154, 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 314, in async_setup_scanner
hass, LOCATION_TOPIC, async_owntracks_location_update, 1)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/init.py”, line 231, in async_subscribe
yield from hass.data[DATA_MQTT].async_subscribe(topic, qos)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/init.py”, line 525, in async_subscribe
_raise_on_error(result)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/mqtt/init.py”, line 634, in _raise_on_error
‘Error talking to MQTT: {}’.format(mqtt.error_string(result)))
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected.
Not exactly a helpful message since I know that they are able to talk until i set up owntracks. and no known_devices.yaml file either…
After pulling my hair out for a bit, thinking that HA was supposed to automatically create the known_devices.yaml(k_d.yaml for brevity) and yet not seeing it, I created a blank one. Same error. Then I had the wild thought it might be a permissions based issue so I chmod to set k_d.yaml to 666. And Bingo, no more errors in the console, but…
No devices in k_a.yaml either… Thoughts? I can post configuration.yaml if it would be helpful. Thx Chris