Core: MyQ 0.92.1 Not working

Created on 1 May 2019  路  2Comments  路  Source: home-assistant/core

Home Assistant release with the issue:
92.1

Last working Home Assistant release (if known):
91.4

Operating environment (Hass.io/Docker/Windows/etc.):
Hassbian

Component/platform:
https://www.home-assistant.io/components/cover.myq/

Description of problem:
I restarted HA with version 91.4 and MyQ stopped working. I upgraded to 92.1 since I knew MyQ updated their backend recently. Unfortunately the problem didn't go away. I also had to change my MyQ app on my phone as apparently they're migrating to one App for Merlin/Chamberlain/Liftmaster. I don't know if Craftsman is affected as their apps haven't been updated since 2017.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

platform: myq
username: [email protected]
password: XXXX
type: chamberlain

Traceback (if applicable):

2019-05-01 01:25:43 ERROR (MainThread) [homeassistant.components.cover] Error while setting up platform myq
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
    return fut.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/myq/cover.py", line 43, in async_setup_platform
    myq = await login(username, password, brand, websession)
  File "/srv/homeassistant/lib/python3.5/site-packages/pymyq/api.py", line 291, in login
    await api.authenticate(username, password)
  File "/srv/homeassistant/lib/python3.5/site-packages/pymyq/api.py", line 226, in authenticate
    await self._get_security_token()
  File "/srv/homeassistant/lib/python3.5/site-packages/pymyq/api.py", line 242, in _get_security_token
    login_request=True,
  File "/srv/homeassistant/lib/python3.5/site-packages/pymyq/api.py", line 151, in _request
    return await resp.json(content_type=None

Additional information:

From My Email from Chamberlain

Dear myQ庐 User,

We recently relaunched our mobile app and renamed it myQ Garage & Access Control. Our new app now supports all of the Chamberlain庐 and LiftMaster庐 brands with our most comprehensive feature set.

Your current Chamberlain myQ app will be discontinued on June 1, 2019. Please update your phone with the new app and follow these steps to migrate to the new app as soon as possible:
Download the new myQ App for iOS or Android - myQ Garage & Access Control (version 4.126.1)

Open the new app and have your password handy, you may be prompted to enter it one time
Enjoy full functionality and look forward to new services in future updates
Once you have downloaded the new app, you can go ahead and delete the old app. All of your devices and settings will remain intact with the same great features you know and love. If you have questions, please visit our support page.

Thank you,
The myQ Team

Most helpful comment

All 2 comments

myq has stopped working for me as well on 94.1

I think they may have changed something in the API when they added the Amazon Key support.

Here is the error I am getting in the logs.

Error while setting up platform myq
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/myq/cover.py", line 48, in async_setup_platform
    myq = await login(username, password, brand, websession)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 253, in login
    await api.authenticate(username, password)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 188, in authenticate
    await self._get_security_token()
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 204, in _get_security_token
    login_request=True,
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 113, in _request
    return await resp.json(content_type=None)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 1036, in json
    return loads(stripped.decode(encoding))
  File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Was this page helpful?
0 / 5 - 0 ratings

Related issues

kirichkov picture kirichkov  路  3Comments

missedtheapex picture missedtheapex  路  3Comments

MartinHjelmare picture MartinHjelmare  路  3Comments

Konstigt picture Konstigt  路  3Comments

ofuangka picture ofuangka  路  3Comments