Hi,
Does somebody in Sweden have the verisure integration working? It does not work for me and I suspect that there are no open APIs here.
Does somebody know?
BR Daniel
Hi,
Does somebody in Sweden have the verisure integration working? It does not work for me and I suspect that there are no open APIs here.
Does somebody know?
BR Daniel
I have had it working fine for two years almost, and I can see magnetic states as well as the temp and humidity from all devices that support it.
The smart plug does not work however, I get a JSONDecodeError in the HA-log wen i try to switch it. (just found out, I’m not using HA to switch it, but a rule on mypages on arm/disarm)
Have not tried to arm/disarm in a while (while looking in homeassistant) though, but can try arming home this evening.
Do you get any errors in the log?
What have you put in your configuration.yaml?
Yes, getting this.
2018-09-11 19:17:32 ERROR (MainThread) [homeassistant.setup] Error during setup of component verisure
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/verisure.py", line 69, in setup
if not HUB.login():
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/verisure.py", line 117, in login
self.session.login()
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/verisure/session.py", line 90, in login
self._vid = json.loads(response.text)['cookie']
KeyError: 'cookie'
It’s working now so this can be ignored. It helps if you use the correct username…
Is there a guide to how to get this working in Sweden? I have Verisure but can’t find any guides.