Concerning the google home bluetooth tracker, does someone know what it can detect and how well does it work? Will it for example detect a phone with bluetooth enable? Or a connected watch with BLE?
The input is just IP of the Home, but how do we know what devices it is going to look for or report on? is it based on your google account or do you need to tell it specific bluetooth MAC addresses?
Just upgraded from 0.81.6 to 0.83.0, and I also changed out device_tracker with asuswrt in configuration.yaml, and commented out the track_new_devices: false, as that is not supported by the asuswrt component. However, I only get errors, using a Asus RT-AC66U with Telnet:
Error during setup of component asuswrt
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
hass, processed_config)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/asuswrt.py", line 57, in async_setup
await api.connection.async_connect()
File "/srv/homeassistant/lib/python3.6/site-packages/aioasuswrt/connection.py", line 100, in async_connect
self._host, self._port)
File "/usr/local/lib/python3.6/asyncio/streams.py", line 75, in open_connection
lambda: protocol, host, port, **kwds)
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 777, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 764, in create_connection
yield from self.sock_connect(sock, address)
File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 451, in sock_connect
return (yield from fut)
File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 481, in _sock_connect_cb
raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.1.1', 22)
I currently use my rpi bluetooth to track when we are home, it would be good if my bedroom G mini could detect when we go to bed and then turn everything off downstairs.
Or am I missing the point of this?
I was using the yale smart alarm but they change their api and I’m hoping someone can fix it
No this is my understanding of it too. I have a few GH in my house so I’m now thinking I can effectively set up room-level presence detection with nothing more than the GH devices.
I had to roll back to 0.82.1 as just hung when I updated. Nothing obvious in the logs, though I suspect maybe Xiaomi devices may have something to do with it as my friend had to do the same and it was erroring on his Xiaomi sensors.
I’ll give it a go again in a bit and see if I can fully debug.
I haven’t gotten the upgrade yet but i’ve had a look at the code. It seems to look for BLE devices similar to the ble_tracker. I assume it will use the known_devices.yaml to specify what to track
Even if it doesn’t work well enough for room-level detection, it would be an ideal way for home presence detection for all of us not using a Raspberry Pi for its Bluetooth.
I also have problems with 0.83
When I restart HA I see some activity in the logs, and the last records are:
Nov 29 14:13:59 raspberrypi3 hass[31567]: 2018-11-29 14:13:59 INFO (Thread-14) [homeassistant.components.device_tracker.fritz] Successfully connected to FRITZ!Box 7560 (UI)
Nov 29 14:13:59 raspberrypi3 hass[31567]: 2018-11-29 14:13:59 INFO (Thread-14) [homeassistant.components.device_tracker.fritz] Scanning
Nov 29 14:14:02 raspberrypi3 hass[31567]: 2018-11-29 14:14:02 INFO (Thread-18) [homeassistant.components.device_tracker.fritz] Scanning
and it stops after this. Before this fritzbox tracker was scanning and leaving the log records periodically, each 5 seconds or so, but not after this update.
I also notice that some part of HA works, because it writes something into InfluxDB - I can see the changing numbers and graphs in Grafana which visualizes InfluxDB data, and it is only possible if HA is alive. But I cannot open HA in my browser.
I was patient enough to comment out sections in configuration.yaml to see what makes HA hang, and I found that OwnTracks is the culprit. This is my configuration:
I got problem with google tts after update to 0.83
Thu Nov 29 2018 20:47:12 GMT+0700 (Indochina Time)
Error executing service <ServiceCall tts.google_say (c:6ed4b19be7494df8970833f467b0c61f): entity_id=['media_player.home_speaker'], message=how are you>
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/core.py", line 1177, in _event_to_service_call
await service_handler.func(service_call)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 137, in async_say_handle
options=options
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 306, in async_get_url
engine, key, message, use_cache, language, options)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/tts/__init__.py", line 318, in async_get_tts_audio
message, language, options)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/tts/google.py", line 83, in async_get_tts_audio
token.calculate_token, part)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 28, in calculate_token
seed = self._get_token_key()
File "/srv/homeassistant/lib/python3.6/site-packages/gtts_token/gtts_token.py", line 57, in _get_token_key
tkk_expr = re.search(".*?(TKK=.*?;)W.*?", line).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Also for lovelace.
## Log Details (ERROR)
Thu Nov 29 2018 20:47:07 GMT+0700 (Indochina Time)
https://192.168.1.60:8123/frontend_latest/app-0fd67575.js:89:305 Uncaught TypeError: Cannot read property 'toUpperCase' of null
## Log Details (ERROR)
Thu Nov 29 2018 20:47:01 GMT+0700 (Indochina Time)
https://192.168.1.60:8123/frontend_latest/app-0fd67575.js:89:305 Uncaught TypeError: Cannot read property 'state' of undefined
Aha, thanks. Had the same issue of HA not showing the web-interface. Commenting out owntracks helped for now. Have to dig into the breaking change for owntracks, but at least HA is up and running again now.
I do use Owntracks and commented that out, but it won’t load the Lovelace fontend (and I can’t figure out how to disable Lovelace to go back to the old UI).
However it’s totally dead for me - starts up then just hangs -still running but nothing in the log - and that’s the chatty journalctl -fu [email protected] log file which stops after a short while.
The database upgrade went quickly and successfully
Downgrading to 0.82 hasn’t helped
(Removed a comment RE: Google Calendar - it’s called Google and doesn’t mention calendar)
Downgrading to 0.81.6 gives me trouble also now. Seems to have something to do with auth token, i have no idea what to do now. This error comes over and over again:
2018-11-29 15:33:07 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1706082512] Unexpected error inside websocket API
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/websocket_api/http.py", line 140, in async_handle
connection = await auth.async_handle(msg)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/websocket_api/auth.py", line 76, in async_handle
msg['access_token'])
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/auth/__init__.py", line 362, in async_validate_access_token
cast(str, unverif_claims.get('iss')))
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/auth/__init__.py", line 325, in async_get_refresh_token
return await self._store.async_get_refresh_token(token_id)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/auth/auth_store.py", line 190, in async_get_refresh_token
await self._async_load()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/auth/auth_store.py", line 247, in _async_load
name=group_dict['name'],
KeyError: 'name'
Do you use owntracks? You have to change your owntracks config. It has moved from device_tracker: to its own component owntracks:. After this change, the web interface became up and running again (for me) after a restart of HA.
Nope, but i use asuswrt, which has become it’s own component as well. It hasn’t been working since 0.81.6. I did move the settings back. Now i’ve upgraded to 0.83.0 again, but i have a failing “device tracker”, despite having the settings as they should (configuration.yaml):
Nov 29 15:02:19 haas hass[4241]: Traceback (most recent call last):
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 390, in start
Nov 29 15:02:19 haas hass[4241]: resp = await self._request_handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py", line 366, in _handle
Nov 29 15:02:19 haas hass[4241]: resp = await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 106, in impl
Nov 29 15:02:19 haas hass[4241]: return await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
Nov 29 15:02:19 haas hass[4241]: return await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
Nov 29 15:02:19 haas hass[4241]: return await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
Nov 29 15:02:19 haas hass[4241]: return await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
Nov 29 15:02:19 haas hass[4241]: return await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
Nov 29 15:02:19 haas hass[4241]: return await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
Nov 29 15:02:19 haas hass[4241]: return await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
Nov 29 15:02:19 haas hass[4241]: return await handler(request)
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py", line 115, in handle
Nov 29 15:02:19 haas hass[4241]: result = await result
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/homeassistant/components/api.py", line 220, in post
Nov 29 15:02:19 haas hass[4241]: if not request['hass_user'].is_admin:
Nov 29 15:02:19 haas hass[4241]: File "/home/pi/homeassistant/lib/python3.5/site-packages/aiohttp/web_request.py", line 201, in __getitem__
Nov 29 15:02:19 haas hass[4241]: return self._state[key]
Nov 29 15:02:19 haas hass[4241]: KeyError: 'hass_user'
Does anyone definitively know if the asuswrt component using SSH works in this release? I don’t want to upgrade if the asuswrt device tracker component is still broken.
And to clarify since the docs are pretty vague -
Do we just need to setup the asuswrt component and that will automatically start tracking devices or do we still need to add the asuswrt device tracker config to the "device_tracker: " section?
Assuming it’s the former then if I have a asuswrt device tracker set up then do I need to remove that config entry?
Same here. I actually forgot I had it enabled since I don’t use it anymore. Everything seemed to come up just fine, but the UI wasn’t loading. There wasn’t anything apparent in the logs at the warn level either. I saw this thread, removed the config, restarted the container, and everything came up as expected.
Anyone here care to explain why we need this “config entry” stuff?
For me it looks like it just makes everything more complicated and less comfortable. I just do not find a way to store my config in a version controll system anymore with this.
So newbies can run through a setup wizard and configure everything - no need for SSH/Samba etc. Supposadly easy to do sensible migrations so OwnTracks changing doesn’t break load of installs
This needs a good solution… I run home assistant as docker container for a reason and i really like a “fallback” when i mess up my config… And i ocassionally do
Short joy, after approx 10 minutes, all devices were apparently away, and also the upload/download sensor seems to fail, spamming my log:
2018-11-29 18:23:28 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.asuswrt_download fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
await self.async_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/asuswrt.py", line 106, in async_update
await super().async_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/asuswrt.py", line 54, in async_update
self._speed = await self._api.async_get_current_transfer_rates()
File "/srv/homeassistant/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 217, in async_get_current_transfer_rates
self._rx_latest = data[0]
IndexError: list index out of range
2018-11-29 18:23:28 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.asuswrt_upload_speed fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
await self.async_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/asuswrt.py", line 88, in async_update
await super().async_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/asuswrt.py", line 54, in async_update
self._speed = await self._api.async_get_current_transfer_rates()
File "/srv/homeassistant/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 217, in async_get_current_transfer_rates
self._rx_latest = data[0]
IndexError: list index out of range
upgraded to 0.83 and now HA will not start. Seeing this in the logs. Any ideas?
2018-11-29 11:48:15 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 390, in start
resp = await self._request_handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 366, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 106, in impl
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 115, in handle
result = await result
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/api.py", line 85, in get
if not request['hass_user'].is_admin:
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_request.py", line 201, in __getitem__
return self._state[key]
KeyError: 'hass_user'
I just saw that someone else had this error too. Looks to be related to users who have systems that are making calls to HA REST using the Legacy Password. My Node-Red connects to HA’s REST API using the Legacy Password. Going to see if I can re-configure Node-Red to use token instead, but also see a fix has been issued in 83.1 (https://github.com/home-assistant/home-assistant/issues/18783)
I added my Google Homes (7 of them) as device trackers, and Home Assistant never finishes starting up. I let it sit for 45 minutes earlier and I could barely navigate the UI, Z wave components get stuck in initializing, other components don’t show up on the front end, etc. Tried restarting a few times with the same problem.
There are no log entries that seem to indicate any issues. When I comment out the Google Home entries, Home Assistant starts up really quick with no issues (other than a few random log errors as others noted such as the group already exists error).
Anyone else having this issue? Will try just adding one of them at a time later today to see if it helps.
back to 0.82.1 getting the same errors and now frontend wont load together with that getting these issues:
$
2018-11-29 18:21:12 WARNING (MainThread) [homeassistant.components.cover.mqtt] Payload is not True or False: 14
2018-11-29 18:21:12 WARNING (MainThread) [homeassistant.components.cover.mqtt] Payload is not True or False: 63
2018-11-29 18:21:30 WARNING (MainThread) [homeassistant.components.cover.mqtt] Payload is not True or False: 14
2018-11-29 18:21:31 WARNING (MainThread) [homeassistant.components.cover.mqtt] Payload is not True or False: 63
2018-11-29 18:22:03 WARNING (MainThread) [homeassistant.components.cover.mqtt] Payload is not True or False: 14
2018-11-29 18:22:03 WARNING (MainThread) [homeassistant.components.cover.mqtt] Payload is not True or False: 63
2018-11-29 18:22:36 WARNING (MainThread) [homeassistant.components.cover.mqtt] Payload is not True or False: 14
2018-11-29 18:22:36 WARNING (MainThread) [homeassistant.components.cover.mqtt] Payload is not True or False: 63
still can load /states without issue. No states in /dev-state seem to be acting up, and everything was working previous to upgrading from 0.82.1
update:
not sure what happened, but when I went from /states to /lovelace it partially loaded. the main page view is blank, but I can click thru my others views without issue. main page does include the custom dark sky card.
and when i comment out the dark sky card it works. something changed with how HA interprets custom cards?
update update: (SOLVED!)
issue was with entity_forecast_low_temp_1: sensor.dark_sky_overnight_low_temperature not starting at 1 in ui_lovelace.yaml.
(also minor change in the dark-sky-weather-card.js to update pressure to mbar)
Anyone else seeing issues with Schlage Z wave locks? Have a BE468 and a BE469. Both respond to local operation of the lock, but if I lock/unlock through Hass, the status never updates. Saw the update in the change log so I’m guessing it has something to do with that PR.
Any update on when an updated version of DenonAVR will be merged into the release? It’s been about 2 month since it got updated (https://github.com/scarface-4711/denonavr ) Would love to use my new receiver
I also have this error with google tts since today, but I’m still on 0.81.6 (HassIO). So I think this error is not related to the new release directly.
Update server is informing the wrong version and crashing hassio installations. I checked the server (https://s3.amazonaws.com/hassio-version/stable.json) and it’s informing 0.82.1 as the latest, even for whom is already on 0.83. So if someone proceed with the suggested upgrade it will corrupt the installation. That just happened to me.