SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
733 stars 112 forks source link

[Bug] Error while setting up * #182

Closed dpackham closed 3 years ago

dpackham commented 3 years ago

Latest CoreOS running on bare metal and installed via HACS. rebooted and checked for updates. also tried the beta code a well. NO yaml only integration install.

<wyzeapy.exceptions.ParameterError: {'ts': 1622315299878, 'code': '1001', 'msg': 'ParameterError', 'data': {}} [15/313] config $
config $ tail -f home-assistant.log | grep -i wyze
2021-05-31 13:17:44 INFO (MainThread) [homeassistant.components.light] Setting up light.wyzeapi
2021-05-31 13:17:44 INFO (MainThread) [homeassistant.components.switch] Setting up switch.wyzeapi
2021-05-31 13:17:44 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.wyzeapi
2021-05-31 13:17:44 INFO (MainThread) [homeassistant.components.lock] Setting up lock.wyzeapi
2021-05-31 13:17:44 INFO (MainThread) [homeassistant.components.scene] Setting up scene.wyzeapi
2021-05-31 13:17:44 INFO (MainThread) [homeassistant.components.climate] Setting up climate.wyzeapi
2021-05-31 13:17:44 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up alarm_control_panel.wyzeapi
2021-05-31 13:17:44 DEBUG (MainThread) [custom_components.wyzeapi.light] Creating new WyzeApi light component
2021-05-31 13:17:44 DEBUG (MainThread) [custom_components.wyzeapi.switch] Creating new WyzeApi light component
2021-05-31 13:17:44 DEBUG (MainThread) [custom_components.wyzeapi.binary_sensor] Creating new WyzeApi binary sensor component
2021-05-31 13:17:44 DEBUG (MainThread) [custom_components.wyzeapi.lock] Creating new WyzeApi lock component
2021-05-31 13:17:44 DEBUG (MainThread) [custom_components.wyzeapi.scene] Creating new WyzeApi group component
2021-05-31 13:17:44 DEBUG (MainThread) [custom_components.wyzeapi.climate] Creating new WyzeApi thermostat component
2021-05-31 13:17:44 DEBUG (MainThread) [custom_components.wyzeapi.alarm_control_panel] Creating new WyzeApi Home Monitoring System component 2021-05-31 13:17:44 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up wyzeapi platform for alarm_control_panel File "/config/custom_components/wyzeapi/alarm_control_panel.py", line 31, in async_setup_entry File "/config/custom_components/wyzeapi/alarm_control_panel.py", line 27, in create_hms_if_exists File "/usr/local/lib/python3.8/site-packages/wyzeapy/client.py", line 223, in has_hms File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 477, in get_hms_id 2021-05-31 13:17:44 ERROR (MainThread) [homeassistant.components.climate] Error while setting up wyzeapi platform for climate File "/config/custom_components/wyzeapi/climate.py", line 51, in async_setup_entry File "/config/custom_components/wyzeapi/climate.py", line 44, in get_thermostats File "/usr/local/lib/python3.8/site-packages/wyzeapy/client.py", line 59, in get_thermostats File "/usr/local/lib/python3.8/site-packages/wyzeapy/client.py", line 71, in get_devices File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 122, in get_object_list File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 90, in check_for_errors wyzeapy.exceptions.ParameterError: {'ts': 1622488664797, 'code': '1001', 'msg': 'ParameterError', 'data': {}} 2021-05-31 13:17:44 ERROR (MainThread) [homeassistant.components.scene] Error while setting up wyzeapi platform for scene File "/config/custom_components/wyzeapi/scene.py", line 34, in async_setup_entry groups = [WyzeGroup(client, group) for group in await hass.async_add_executor_job(get_groups)] File "/config/custom_components/wyzeapi/scene.py", line 28, in get_groups File "/usr/local/lib/python3.8/site-packages/wyzeapy/client.py", line 76, in get_groups File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 166, in get_auto_group_list File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 90, in check_for_errors wyzeapy.exceptions.ParameterError: {'ts': 1622488664752, 'code': '1001', 'msg': 'ParameterError', 'data': {}} 2021-05-31 13:17:44 ERROR (MainThread) [homeassistant.components.light] Error while setting up wyzeapi platform for light File "/config/custom_components/wyzeapi/light.py", line 45, in async_setup_entry lights = [WyzeLight(client, light) for light in await hass.async_add_executor_job(get_bulbs)] File "/config/custom_components/wyzeapi/light.py", line 39, in get_bulbs File "/usr/local/lib/python3.8/site-packages/wyzeapy/client.py", line 65, in get_bulbs File "/usr/local/lib/python3.8/site-packages/wyzeapy/client.py", line 71, in get_devices File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 122, in get_object_list File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 90, in check_for_errors wyzeapy.exceptions.ParameterError: {'ts': 1622488664755, 'code': '1001', 'msg': 'ParameterError', 'data': {}} 2021-05-31 13:17:44 ERROR (MainThread) [homeassistant.components.lock] Error while setting up wyzeapi platform for lock File "/config/custom_components/wyzeapi/lock.py", line 35, in async_setup_entry locks = [WyzeLock(client, lock) for lock in await hass.async_add_executor_job(get_locks)] File "/config/custom_components/wyzeapi/lock.py", line 29, in get_locks File "/usr/local/lib/python3.8/site-packages/wyzeapy/client.py", line 53, in get_locks File "/usr/local/lib/python3.8/site-packages/wyzeapy/client.py", line 71, in get_devices File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 122, in get_object_list File "/usr/local/lib/python3.8/site-packages/wyzeapy/base_client.py", line 90, in check_for_errors wyzeapy.exceptions.ParameterError: {'ts': 1622488664965, 'code': '1001', 'msg': 'ParameterError', 'data': {}} 2021-05-31 13:17:44 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up wyzeapi platform for binary_sensor File "/config/custom_components/wyzeapi/binary_sensor.py", line 36, in async_setup_entry cameras = [WyzeCameraMotion(client, camera) for camera in await hass.async_add_executor_job(get_cameras)] File "/config/custom_components/wyzeapi/binary_sensor.py", line 30, in get_cameras *1 [[tmux]] Mon 05-31 13:25>

zraken commented 3 years ago

I tried installing today and ran into the exact same exception trace. I am running HA core in a docker environment (on a raspberry pi 4) and tried the Wyze install via HACS. My HA version is: 2021.5.5

SecKatie commented 3 years ago

Please check that your login info is correct and that you have 2fa disabled on your accounts