Toon integration for Boxx has been working fine for me for a long time, but I recently reinstalled HA on a new raspberrypi and new sdcard and restored from a snapshot and the the access_token was invalid. I can login to the toon developer website and can see the keys there just fine. When I remove and re-enable the integration, it makes me to do the oauth procedure (redirecting to external website). I can select eneco, but that site gives me “OKTA” and “Access denied”, and when I select Engie Electrabel, I get redirected to an Engie themed page in the quby.com domain, that asks me to “login with my boxx mobile app credentials”. To setup my boxx mobile app, I just use the same credentials as for the engie website, but those credentials don’t work here. I can click on “forgot your details”, which takes you to a page where you can link your email to your box, using the id of the boxx display, but that just tells me that my email is already tied to a “boxx”.
Is the integration broken or is there something I can do/clear to make this working again ?
2021-06-05 18:52:22 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry MEESKESLAAN, PIMPERZELE for toon
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 293, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/toon/__init__.py", line 96, in async_setup_entry
await coordinator.toon.activate_agreement(
File "/usr/local/lib/python3.8/site-packages/toonapi/toon.py", line 155, in activate_agreement
await self.agreements()
File "/usr/local/lib/python3.8/site-packages/toonapi/toon.py", line 176, in agreements
agreements = await self._request(
File "/usr/local/lib/python3.8/site-packages/backoff/_async.py", line 133, in retry
ret = await target(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/backoff/_async.py", line 133, in retry
ret = await target(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/toonapi/toon.py", line 135, in _request
raise ToonError(response.status, json.loads(contents.decode("utf8")))
toonapi.exceptions.ToonError: (401, {'fault': {'faultstring': 'Invalid Access Token', 'detail': {'errorcode': 'keymanagement.service.invalid_access_token'}}})
I have the same issue. after I upgraded tot version 2021.6.2 I had issues with some integrations. So I went back to the snapshot. However, Since installing the snapshot, i’m not longer able to connect to my boxx. I’m totally sure my password is correct, but the engie page gives an error on user and PW.
I changed nothing, but integration is not able to access toon API. I think this is an issue at the side of engie… I’ll contact engie tomorrow. If they can check/fix something, I’ll let you know…
Hi @multia , I contacted the support team of Enige. I explained the issue, and referred to Toon and HA…
I did not expect that they would immediately have a ready-made answer. (I don’t think there are that many Engie-clients which are using HA.) To be honest, I’d rather have thought they’d hear it thunder in cologne .
The first feedback: They have forwarded my question/issue to the development team of Boxx. This afternoon, I asked for an update. The agent told me, that the IT-team is investigating the problem.
I don’t know how far Engie will go with the support on this. But, as they did not instantly close the ticket and forwarded the question to the backend/development team, I’m cofident to get an substantiated answer.
Let’s hope they can do something. Do you know of others with a similar problem?
According to the respons of the Engie helpdesk, the guys from the boxx-development team, does not support for the Toon API.
I have sent an email to the guys from Toon. Lets hope they can assist.
I’ll keep you informed.
Integral reply of engie helpdesk:
Dag Karel, we kregen antwoord van de boxx ontwikkelaars dat zij Toon API niet ondersteunen. Ik heb de vraag gesteld aan onze product owner van boxx welke info ik aan jou kan bezorgen. Ik hou je op de hoogte.