I am pretty against having to call something on the internet to get information on a device which lives on my local network. The developers of the wireless tags don’t give any real option otherwise so it’s what works for me.
Everything is pretty instantaneous. As soon as I see the light flash on my PIR motion detector HA is turning my lights on. For things like my temperature updates they don’t immediately show - only when the actual tag contacts the manager to send an update…but I rather that. I don’t see a point in querying a website every 2 minutes when my tags only update every 10 minutes.
Another handy trick I use is to set my phone to a DHCP reservation (in the router) so that it always receives say 192.168.1.80. Using that config your phone will not prompt for a password when on your wifi.
Why not leave it running HTTP and just put a nginx proxy in front for internet facing purposes? I only use a VPN for remote access, so I hadn’t bothered setting up SSL
Any idea how I can stop the following errors, I get separate error for each of my 5 tags?
2017-06-11 17:15:17 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.master_bedroom_temperature fails
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py”, line 222, in async_update_ha_state
yield from self.async_update()
File “/usr/lib/python3.4/asyncio/coroutines.py”, line 141, in coro
res = func(*args, **kw)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/template.py”, line 146, in async_update
self._state = self._template.async_render()
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/template.py”, line 99, in async_render
return self._compiled.render(kwargs).strip()
File “/usr/lib/python3/dist-packages/jinja2/environment.py”, line 969, in render
return self.environment.handle_exception(exc_info, True)
File “/usr/lib/python3/dist-packages/jinja2/environment.py”, line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File “/usr/lib/python3/dist-packages/jinja2/_compat.py”, line 36, in reraise
raise value.with_traceback(tb)
File “”, line 1, in
TypeError: can’t multiply sequence by non-int of type ‘float’