Open richt00 opened 1 year ago
I've submitted pull request #151 to add it to the models list.
Thank you for your help! Rich
On Friday, September 22, 2023 at 09:12:54 PM EDT, Mihai Siia ***@***.***> wrote:
I've submitted pull request #151 to add it to the models list.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
So I added this change you posted, and it has allowed me to now use the CamerasClient to a certain extent. I can now list my devices, but cannot take any actions (turn_on, turn_off, etc.). Is there another configuration file that needs to be modified in order to use the api for actions? Thanks!
On Fri, Sep 22, 2023 at 9:12 PM, Mihai @.***> wrote:
I've submitted pull request #151 to add it to the models list.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hey @richt00, if you're willing to send me some debugging information, I can try to get this working. Without an OG cam myself, I'm flying a bit blind.
Please enable debug logging by adding wyze_sdk.set_stream_logger('wyze_sdk', level=logging.DEBUG)
to your python script and then running a few of the commands you are trying.
I have attached the debug logs for the following commands: wyze_sdk.api.devices.cameras.CamerasClient(token=client['access_token']).list() debug_list_devices.txtoutput_list_devices.txt wyze_sdk.api.devices.cameras.CamerasClient(token=client['access_token']).turn_off(device_mac='GW_GC1_D03F2771A1BB',device_model='GW_GC1') debug_turn_off.txtoutput_turn_off.txt Looks like the debug_list_devices.txt will have what you need based on the last line in the debug. Please let me know if you need anything else. Thanks for the help!
On Friday, January 5, 2024 at 09:54:40 AM EST, Shaun Tarves ***@***.***> wrote:
Hey @richt00, if you're willing to send me some debugging information, I can try to get this working. Without an OG cam myself, I'm flying a bit blind.
Please enable debug logging by adding wyze_sdk.set_stream_logger('wyze_sdk', level=logging.DEBUG) to your python script and then running a few of the commands you are trying.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
2024-01-05 11:10:43,721 [DEBUG] wyze_sdk.service.base: merging request-specific headers into session headers 2024-01-05 11:10:43,723 [DEBUG] wyze_sdk.service.base: unmodified prepared request 2024-01-05 11:10:43,723 [DEBUG] wyze_sdk.service.base: <PreparedRequest [POST]> 2024-01-05 11:10:43,723 [INFO] wyze_sdk.service.base: requesting POST to https://api.wyzecam.com/app/v2/home_page/get_object_list 2024-01-05 11:10:43,723 [DEBUG] wyze_sdk.service.base: headers: {'User-Agent': 'okhttp/4.7.2', 'Accept-Encoding': 'gzip', 'Accept': '/', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '478'} 2024-01-05 11:10:43,723 [DEBUG] wyze_sdk.service.base: body: b'{"sv":"c417b62d72ee44b8776IYGbdca183e77","access_token":"lvtx.LhhUY77rttvH9Qaa0PUnP29/Y91tJJUEwa7W9Oa/V6pCXnIPo5EkIfGGRookYFXus6l3CaDjMYFaBN6oW3XdEGs+G2jg4HcQxNzV0rFTVysF9FQ34LOIBgh3djbDtsk1X1TDr172nt8uEQHoftfqo/PqC+PdKUJJsJoU3n1Ef9ccn/ajinLIJwdoIyR3wWo9WcR84A==","app_name":"com.hualai","app_ver":"com.hualai___2.19.14","app_version":"2.19.14","phone_id":"754c002b-4adb-4b60-b316-3530cbbe7855","phone_system_type":"2","sc":"a626948714654991afd3c0dbd7cdb901","ts":1704471043721}' 2024-01-05 11:10:43,724 [DEBUG] wyze_sdk.service.base: settings: {'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} 2024-01-05 11:10:44,456 [DEBUG] wyze_sdk.service.wyze_response: Received the following response - status: 200 headers: {"Date": "Fri, 05 Jan 2024 16:10:44 GMT", "Content-Type": "application/json; charset=utf-8", "Content-Length": "1813", "Connection": "keep-alive", "X-RateLimit-Remaining": "299", "X-RateLimit-Reset-By": "Fri Jan 05 16:14:33 GMT 2024", "Cache-Control": "no-cache", "Pragma": "no-cache", "Expires": "-1", "Server": "Microsoft-IIS/8.5", "Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Cache-Control, Accept, authorization, content-type", "Access-Control-Allow-Methods": "POST,GET,OPTIONS", "Access-Control-Allow-Origin": "*", "X-AspNet-Version": "4.0.30319", "X-Powered-By": "ASP.NET"} body: {"ts": 1704471044380, "code": "1", "msg": "", "data": {"device_group_list": [], "device_list": [{"mac": "GW_GC1_D03F2771A1BB", "first_activation_ts": 1682812589000, "first_binding_ts": 1682812589000, "enr": "1dbb72218acc4df5", "nickname": "EllaCam", "timezone_name": "America/New_York", "product_model": "GW_GC1", "product_model_logo_url": "", "product_type": "Camera", "hardware_ver": "6.5.1", "firmware_ver": "1.0.71", "user_role": 1, "binding_user_nickname": "my_user_name", "conn_state": 1, "conn_state_ts": 1704012202000, "push_switch": 1, "device_params": {"p2p_id": "GW_GC1_D03F2771A1BB", "p2p_type": 0, "ssid": "", "ip": "", "public_ip": "111.111.111.111", "power_switch": 1, "temperature": "0", "humidity": "0", "temp_humi_room_type": 1, "comfort_standard_level": 2, "is_temperature_humidity": "0", "records_event_switch": 1, "motion_alarm_switch": 1, "audio_alarm_switch": 1, "smoke_alarm_switch": 1, "co_alarm_switch": 1, "electricity": "", "battery_charging_status": "", "power_source": "0", "is_link_toy_car": 0, "power_saving_mode_switch": 0, "camera_thumbnails": {"thumbnails_url": "https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0", "thumbnails_ts": 1704469384572}, "dtls": 0, "main_device_dtls": 0, "device_setting_channel": 0, "dongle_switch": 0, "dongle_product_model": "", "ai_notification_v2": 0, "accessory_switch": 0, "spotlight_status": 0}, "is_in_auto": 0, "event_master_switch": 1, "parent_device_mac": "", "parent_device_enr": "", "binding_ts": 1692384892000, "timezone_gmt_offset": -5.0}], "device_sort_list": []}} 2024-01-05 11:10:44,456 [DEBUG] wyze_sdk.service.wyze_response: response code: 1 2024-01-05 11:10:44,463 [DEBUG] wyze_sdk.models.devices.base: extracting property P3 from dict {'mac': 'GW_GC1_D03F2771A1BB', 'first_activation_ts': 1682812589000, 'first_binding_ts': 1682812589000, 'enr': '1dbb72218acc4df5', 'nickname': 'EllaCam', 'timezone_name': 'America/New_York', 'product_model': 'GW_GC1', 'product_model_logo_url': '', 'product_type': 'Camera', 'hardware_ver': '6.5.1', 'firmware_ver': '1.0.71', 'user_role': 1, 'binding_user_nickname': 'my_user_name', 'conn_state': 1, 'conn_state_ts': 1704012202000, 'push_switch': 1, 'device_params': {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temperature': '0', 'humidity': '0', 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0}, 'is_in_auto': 0, 'event_master_switch': 1, 'parent_device_mac': '', 'parent_device_enr': '', 'binding_ts': 1692384892000, 'timezone_gmt_offset': -5.0} 2024-01-05 11:10:44,464 [DEBUG] wyze_sdk.models.devices.base: key: mac, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,464 [DEBUG] wyze_sdk.models.devices.base: key: first_activation_ts, value: 1682812589000 2024-01-05 11:10:44,464 [DEBUG] wyze_sdk.models.devices.base: key: first_binding_ts, value: 1682812589000 2024-01-05 11:10:44,465 [DEBUG] wyze_sdk.models.devices.base: key: enr, value: 1dbb72218acc4df5 2024-01-05 11:10:44,465 [DEBUG] wyze_sdk.models.devices.base: key: nickname, value: EllaCam 2024-01-05 11:10:44,465 [DEBUG] wyze_sdk.models.devices.base: key: timezone_name, value: America/New_York 2024-01-05 11:10:44,466 [DEBUG] wyze_sdk.models.devices.base: key: product_model, value: GW_GC1 2024-01-05 11:10:44,466 [DEBUG] wyze_sdk.models.devices.base: key: product_model_logo_url, value: 2024-01-05 11:10:44,466 [DEBUG] wyze_sdk.models.devices.base: key: product_type, value: Camera 2024-01-05 11:10:44,466 [DEBUG] wyze_sdk.models.devices.base: key: hardware_ver, value: 6.5.1 2024-01-05 11:10:44,467 [DEBUG] wyze_sdk.models.devices.base: key: firmware_ver, value: 1.0.71 2024-01-05 11:10:44,467 [DEBUG] wyze_sdk.models.devices.base: key: user_role, value: 1 2024-01-05 11:10:44,467 [DEBUG] wyze_sdk.models.devices.base: key: binding_user_nickname, value: my_user_name 2024-01-05 11:10:44,468 [DEBUG] wyze_sdk.models.devices.base: key: conn_state, value: 1 2024-01-05 11:10:44,468 [DEBUG] wyze_sdk.models.devices.base: key: conn_state_ts, value: 1704012202000 2024-01-05 11:10:44,468 [DEBUG] wyze_sdk.models.devices.base: key: push_switch, value: 1 2024-01-05 11:10:44,469 [DEBUG] wyze_sdk.models.devices.base: key: device_params, value: {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temperature': '0', 'humidity': '0', 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,469 [DEBUG] wyze_sdk.models.devices.base: key: is_in_auto, value: 0 2024-01-05 11:10:44,469 [DEBUG] wyze_sdk.models.devices.base: key: event_master_switch, value: 1 2024-01-05 11:10:44,469 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_mac, value: 2024-01-05 11:10:44,470 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_enr, value: 2024-01-05 11:10:44,470 [DEBUG] wyze_sdk.models.devices.base: key: binding_ts, value: 1692384892000 2024-01-05 11:10:44,470 [DEBUG] wyze_sdk.models.devices.base: key: timezone_gmt_offset, value: -5.0 2024-01-05 11:10:44,471 [DEBUG] wyze_sdk.models.devices.base: found non-empty device_params 2024-01-05 11:10:44,471 [DEBUG] wyze_sdk.models.devices.base: extracting property P3 from dict {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temperature': '0', 'humidity': '0', 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,471 [DEBUG] wyze_sdk.models.devices.base: key: p2p_id, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,472 [DEBUG] wyze_sdk.models.devices.base: key: p2p_type, value: 0 2024-01-05 11:10:44,472 [DEBUG] wyze_sdk.models.devices.base: key: public_ip, value: 111.111.111.111 2024-01-05 11:10:44,472 [DEBUG] wyze_sdk.models.devices.base: key: power_switch, value: 1 2024-01-05 11:10:44,472 [DEBUG] wyze_sdk.models.devices.base: key: temperature, value: 0 2024-01-05 11:10:44,473 [DEBUG] wyze_sdk.models.devices.base: key: humidity, value: 0 2024-01-05 11:10:44,473 [DEBUG] wyze_sdk.models.devices.base: key: temp_humi_room_type, value: 1 2024-01-05 11:10:44,473 [DEBUG] wyze_sdk.models.devices.base: key: comfort_standard_level, value: 2 2024-01-05 11:10:44,474 [DEBUG] wyze_sdk.models.devices.base: key: is_temperature_humidity, value: 0 2024-01-05 11:10:44,474 [DEBUG] wyze_sdk.models.devices.base: key: records_event_switch, value: 1 2024-01-05 11:10:44,474 [DEBUG] wyze_sdk.models.devices.base: key: motion_alarm_switch, value: 1 2024-01-05 11:10:44,474 [DEBUG] wyze_sdk.models.devices.base: key: audio_alarm_switch, value: 1 2024-01-05 11:10:44,475 [DEBUG] wyze_sdk.models.devices.base: key: smoke_alarm_switch, value: 1 2024-01-05 11:10:44,475 [DEBUG] wyze_sdk.models.devices.base: key: co_alarm_switch, value: 1 2024-01-05 11:10:44,475 [DEBUG] wyze_sdk.models.devices.base: key: electricity, value: 2024-01-05 11:10:44,476 [DEBUG] wyze_sdk.models.devices.base: key: battery_charging_status, value: 2024-01-05 11:10:44,476 [DEBUG] wyze_sdk.models.devices.base: key: power_source, value: 0 2024-01-05 11:10:44,476 [DEBUG] wyze_sdk.models.devices.base: key: is_link_toy_car, value: 0 2024-01-05 11:10:44,476 [DEBUG] wyze_sdk.models.devices.base: key: power_saving_mode_switch, value: 0 2024-01-05 11:10:44,477 [DEBUG] wyze_sdk.models.devices.base: key: camera_thumbnails, value: {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572} 2024-01-05 11:10:44,477 [DEBUG] wyze_sdk.models.devices.base: key: dtls, value: 0 2024-01-05 11:10:44,477 [DEBUG] wyze_sdk.models.devices.base: key: main_device_dtls, value: 0 2024-01-05 11:10:44,478 [DEBUG] wyze_sdk.models.devices.base: key: device_setting_channel, value: 0 2024-01-05 11:10:44,478 [DEBUG] wyze_sdk.models.devices.base: key: dongle_switch, value: 0 2024-01-05 11:10:44,478 [DEBUG] wyze_sdk.models.devices.base: key: dongle_product_model, value: 2024-01-05 11:10:44,478 [DEBUG] wyze_sdk.models.devices.base: key: ai_notification_v2, value: 0 2024-01-05 11:10:44,479 [DEBUG] wyze_sdk.models.devices.base: key: accessory_switch, value: 0 2024-01-05 11:10:44,479 [DEBUG] wyze_sdk.models.devices.base: key: spotlight_status, value: 0 2024-01-05 11:10:44,480 [DEBUG] wyze_sdk.models.devices.base: extracting property electricity from dict {'mac': 'GW_GC1_D03F2771A1BB', 'first_activation_ts': 1682812589000, 'first_binding_ts': 1682812589000, 'enr': '1dbb72218acc4df5', 'nickname': 'EllaCam', 'timezone_name': 'America/New_York', 'product_model': 'GW_GC1', 'product_model_logo_url': '', 'product_type': 'Camera', 'hardware_ver': '6.5.1', 'firmware_ver': '1.0.71', 'user_role': 1, 'binding_user_nickname': 'my_user_name', 'conn_state': 1, 'conn_state_ts': 1704012202000, 'push_switch': 1, 'device_params': {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0}, 'is_in_auto': 0, 'event_master_switch': 1, 'parent_device_mac': '', 'parent_device_enr': '', 'binding_ts': 1692384892000, 'timezone_gmt_offset': -5.0} 2024-01-05 11:10:44,480 [DEBUG] wyze_sdk.models.devices.base: key: mac, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,480 [DEBUG] wyze_sdk.models.devices.base: key: first_activation_ts, value: 1682812589000 2024-01-05 11:10:44,481 [DEBUG] wyze_sdk.models.devices.base: key: first_binding_ts, value: 1682812589000 2024-01-05 11:10:44,481 [DEBUG] wyze_sdk.models.devices.base: key: enr, value: 1dbb72218acc4df5 2024-01-05 11:10:44,481 [DEBUG] wyze_sdk.models.devices.base: key: nickname, value: EllaCam 2024-01-05 11:10:44,481 [DEBUG] wyze_sdk.models.devices.base: key: timezone_name, value: America/New_York 2024-01-05 11:10:44,482 [DEBUG] wyze_sdk.models.devices.base: key: product_model, value: GW_GC1 2024-01-05 11:10:44,482 [DEBUG] wyze_sdk.models.devices.base: key: product_model_logo_url, value: 2024-01-05 11:10:44,482 [DEBUG] wyze_sdk.models.devices.base: key: product_type, value: Camera 2024-01-05 11:10:44,483 [DEBUG] wyze_sdk.models.devices.base: key: hardware_ver, value: 6.5.1 2024-01-05 11:10:44,483 [DEBUG] wyze_sdk.models.devices.base: key: firmware_ver, value: 1.0.71 2024-01-05 11:10:44,483 [DEBUG] wyze_sdk.models.devices.base: key: user_role, value: 1 2024-01-05 11:10:44,483 [DEBUG] wyze_sdk.models.devices.base: key: binding_user_nickname, value: my_user_name 2024-01-05 11:10:44,484 [DEBUG] wyze_sdk.models.devices.base: key: conn_state, value: 1 2024-01-05 11:10:44,484 [DEBUG] wyze_sdk.models.devices.base: key: conn_state_ts, value: 1704012202000 2024-01-05 11:10:44,484 [DEBUG] wyze_sdk.models.devices.base: key: push_switch, value: 1 2024-01-05 11:10:44,485 [DEBUG] wyze_sdk.models.devices.base: key: device_params, value: {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,485 [DEBUG] wyze_sdk.models.devices.base: key: is_in_auto, value: 0 2024-01-05 11:10:44,485 [DEBUG] wyze_sdk.models.devices.base: key: event_master_switch, value: 1 2024-01-05 11:10:44,485 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_mac, value: 2024-01-05 11:10:44,486 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_enr, value: 2024-01-05 11:10:44,486 [DEBUG] wyze_sdk.models.devices.base: key: binding_ts, value: 1692384892000 2024-01-05 11:10:44,486 [DEBUG] wyze_sdk.models.devices.base: key: timezone_gmt_offset, value: -5.0 2024-01-05 11:10:44,487 [DEBUG] wyze_sdk.models.devices.base: found non-empty device_params 2024-01-05 11:10:44,487 [DEBUG] wyze_sdk.models.devices.base: extracting property electricity from dict {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,487 [DEBUG] wyze_sdk.models.devices.base: key: p2p_id, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,488 [DEBUG] wyze_sdk.models.devices.base: key: p2p_type, value: 0 2024-01-05 11:10:44,488 [DEBUG] wyze_sdk.models.devices.base: key: public_ip, value: 111.111.111.111 2024-01-05 11:10:44,488 [DEBUG] wyze_sdk.models.devices.base: key: power_switch, value: 1 2024-01-05 11:10:44,488 [DEBUG] wyze_sdk.models.devices.base: key: temp_humi_room_type, value: 1 2024-01-05 11:10:44,489 [DEBUG] wyze_sdk.models.devices.base: key: comfort_standard_level, value: 2 2024-01-05 11:10:44,489 [DEBUG] wyze_sdk.models.devices.base: key: is_temperature_humidity, value: 0 2024-01-05 11:10:44,489 [DEBUG] wyze_sdk.models.devices.base: key: records_event_switch, value: 1 2024-01-05 11:10:44,490 [DEBUG] wyze_sdk.models.devices.base: key: motion_alarm_switch, value: 1 2024-01-05 11:10:44,490 [DEBUG] wyze_sdk.models.devices.base: key: audio_alarm_switch, value: 1 2024-01-05 11:10:44,490 [DEBUG] wyze_sdk.models.devices.base: key: smoke_alarm_switch, value: 1 2024-01-05 11:10:44,490 [DEBUG] wyze_sdk.models.devices.base: key: co_alarm_switch, value: 1 2024-01-05 11:10:44,491 [DEBUG] wyze_sdk.models.devices.base: key: electricity, value: 2024-01-05 11:10:44,491 [DEBUG] wyze_sdk.models.devices.base: returning new DeviceProp with value 2024-01-05 11:10:44,491 [DEBUG] wyze_sdk.models.devices.base: extracting property audio_alarm_switch from dict {'mac': 'GW_GC1_D03F2771A1BB', 'first_activation_ts': 1682812589000, 'first_binding_ts': 1682812589000, 'enr': '1dbb72218acc4df5', 'nickname': 'EllaCam', 'timezone_name': 'America/New_York', 'product_model': 'GW_GC1', 'product_model_logo_url': '', 'product_type': 'Camera', 'hardware_ver': '6.5.1', 'firmware_ver': '1.0.71', 'user_role': 1, 'binding_user_nickname': 'my_user_name', 'conn_state': 1, 'conn_state_ts': 1704012202000, 'push_switch': 1, 'device_params': {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0}, 'is_in_auto': 0, 'event_master_switch': 1, 'parent_device_mac': '', 'parent_device_enr': '', 'binding_ts': 1692384892000, 'timezone_gmt_offset': -5.0} 2024-01-05 11:10:44,492 [DEBUG] wyze_sdk.models.devices.base: key: mac, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,492 [DEBUG] wyze_sdk.models.devices.base: key: first_activation_ts, value: 1682812589000 2024-01-05 11:10:44,492 [DEBUG] wyze_sdk.models.devices.base: key: first_binding_ts, value: 1682812589000 2024-01-05 11:10:44,493 [DEBUG] wyze_sdk.models.devices.base: key: enr, value: 1dbb72218acc4df5 2024-01-05 11:10:44,493 [DEBUG] wyze_sdk.models.devices.base: key: nickname, value: EllaCam 2024-01-05 11:10:44,493 [DEBUG] wyze_sdk.models.devices.base: key: timezone_name, value: America/New_York 2024-01-05 11:10:44,493 [DEBUG] wyze_sdk.models.devices.base: key: product_model, value: GW_GC1 2024-01-05 11:10:44,494 [DEBUG] wyze_sdk.models.devices.base: key: product_model_logo_url, value: 2024-01-05 11:10:44,494 [DEBUG] wyze_sdk.models.devices.base: key: product_type, value: Camera 2024-01-05 11:10:44,494 [DEBUG] wyze_sdk.models.devices.base: key: hardware_ver, value: 6.5.1 2024-01-05 11:10:44,495 [DEBUG] wyze_sdk.models.devices.base: key: firmware_ver, value: 1.0.71 2024-01-05 11:10:44,495 [DEBUG] wyze_sdk.models.devices.base: key: user_role, value: 1 2024-01-05 11:10:44,495 [DEBUG] wyze_sdk.models.devices.base: key: binding_user_nickname, value: my_user_name 2024-01-05 11:10:44,496 [DEBUG] wyze_sdk.models.devices.base: key: conn_state, value: 1 2024-01-05 11:10:44,496 [DEBUG] wyze_sdk.models.devices.base: key: conn_state_ts, value: 1704012202000 2024-01-05 11:10:44,496 [DEBUG] wyze_sdk.models.devices.base: key: push_switch, value: 1 2024-01-05 11:10:44,497 [DEBUG] wyze_sdk.models.devices.base: key: device_params, value: {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,497 [DEBUG] wyze_sdk.models.devices.base: key: is_in_auto, value: 0 2024-01-05 11:10:44,497 [DEBUG] wyze_sdk.models.devices.base: key: event_master_switch, value: 1 2024-01-05 11:10:44,497 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_mac, value: 2024-01-05 11:10:44,498 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_enr, value: 2024-01-05 11:10:44,498 [DEBUG] wyze_sdk.models.devices.base: key: binding_ts, value: 1692384892000 2024-01-05 11:10:44,498 [DEBUG] wyze_sdk.models.devices.base: key: timezone_gmt_offset, value: -5.0 2024-01-05 11:10:44,499 [DEBUG] wyze_sdk.models.devices.base: found non-empty device_params 2024-01-05 11:10:44,499 [DEBUG] wyze_sdk.models.devices.base: extracting property audio_alarm_switch from dict {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,499 [DEBUG] wyze_sdk.models.devices.base: key: p2p_id, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,500 [DEBUG] wyze_sdk.models.devices.base: key: p2p_type, value: 0 2024-01-05 11:10:44,500 [DEBUG] wyze_sdk.models.devices.base: key: public_ip, value: 111.111.111.111 2024-01-05 11:10:44,500 [DEBUG] wyze_sdk.models.devices.base: key: power_switch, value: 1 2024-01-05 11:10:44,500 [DEBUG] wyze_sdk.models.devices.base: key: temp_humi_room_type, value: 1 2024-01-05 11:10:44,501 [DEBUG] wyze_sdk.models.devices.base: key: comfort_standard_level, value: 2 2024-01-05 11:10:44,501 [DEBUG] wyze_sdk.models.devices.base: key: is_temperature_humidity, value: 0 2024-01-05 11:10:44,501 [DEBUG] wyze_sdk.models.devices.base: key: records_event_switch, value: 1 2024-01-05 11:10:44,502 [DEBUG] wyze_sdk.models.devices.base: key: motion_alarm_switch, value: 1 2024-01-05 11:10:44,502 [DEBUG] wyze_sdk.models.devices.base: key: audio_alarm_switch, value: 1 2024-01-05 11:10:44,502 [DEBUG] wyze_sdk.models.devices.base: returning new DeviceProp with value 1 2024-01-05 11:10:44,503 [DEBUG] wyze_sdk.models.devices.base: extracting property co_alarm_switch from dict {'mac': 'GW_GC1_D03F2771A1BB', 'first_activation_ts': 1682812589000, 'first_binding_ts': 1682812589000, 'enr': '1dbb72218acc4df5', 'nickname': 'EllaCam', 'timezone_name': 'America/New_York', 'product_model': 'GW_GC1', 'product_model_logo_url': '', 'product_type': 'Camera', 'hardware_ver': '6.5.1', 'firmware_ver': '1.0.71', 'user_role': 1, 'binding_user_nickname': 'my_user_name', 'conn_state': 1, 'conn_state_ts': 1704012202000, 'push_switch': 1, 'device_params': {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0}, 'is_in_auto': 0, 'event_master_switch': 1, 'parent_device_mac': '', 'parent_device_enr': '', 'binding_ts': 1692384892000, 'timezone_gmt_offset': -5.0} 2024-01-05 11:10:44,503 [DEBUG] wyze_sdk.models.devices.base: key: mac, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,503 [DEBUG] wyze_sdk.models.devices.base: key: first_activation_ts, value: 1682812589000 2024-01-05 11:10:44,504 [DEBUG] wyze_sdk.models.devices.base: key: first_binding_ts, value: 1682812589000 2024-01-05 11:10:44,504 [DEBUG] wyze_sdk.models.devices.base: key: enr, value: 1dbb72218acc4df5 2024-01-05 11:10:44,504 [DEBUG] wyze_sdk.models.devices.base: key: nickname, value: EllaCam 2024-01-05 11:10:44,505 [DEBUG] wyze_sdk.models.devices.base: key: timezone_name, value: America/New_York 2024-01-05 11:10:44,505 [DEBUG] wyze_sdk.models.devices.base: key: product_model, value: GW_GC1 2024-01-05 11:10:44,505 [DEBUG] wyze_sdk.models.devices.base: key: product_model_logo_url, value: 2024-01-05 11:10:44,505 [DEBUG] wyze_sdk.models.devices.base: key: product_type, value: Camera 2024-01-05 11:10:44,506 [DEBUG] wyze_sdk.models.devices.base: key: hardware_ver, value: 6.5.1 2024-01-05 11:10:44,506 [DEBUG] wyze_sdk.models.devices.base: key: firmware_ver, value: 1.0.71 2024-01-05 11:10:44,506 [DEBUG] wyze_sdk.models.devices.base: key: user_role, value: 1 2024-01-05 11:10:44,507 [DEBUG] wyze_sdk.models.devices.base: key: binding_user_nickname, value: my_user_name 2024-01-05 11:10:44,507 [DEBUG] wyze_sdk.models.devices.base: key: conn_state, value: 1 2024-01-05 11:10:44,507 [DEBUG] wyze_sdk.models.devices.base: key: conn_state_ts, value: 1704012202000 2024-01-05 11:10:44,507 [DEBUG] wyze_sdk.models.devices.base: key: push_switch, value: 1 2024-01-05 11:10:44,508 [DEBUG] wyze_sdk.models.devices.base: key: device_params, value: {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,508 [DEBUG] wyze_sdk.models.devices.base: key: is_in_auto, value: 0 2024-01-05 11:10:44,508 [DEBUG] wyze_sdk.models.devices.base: key: event_master_switch, value: 1 2024-01-05 11:10:44,509 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_mac, value: 2024-01-05 11:10:44,509 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_enr, value: 2024-01-05 11:10:44,509 [DEBUG] wyze_sdk.models.devices.base: key: binding_ts, value: 1692384892000 2024-01-05 11:10:44,510 [DEBUG] wyze_sdk.models.devices.base: key: timezone_gmt_offset, value: -5.0 2024-01-05 11:10:44,510 [DEBUG] wyze_sdk.models.devices.base: found non-empty device_params 2024-01-05 11:10:44,510 [DEBUG] wyze_sdk.models.devices.base: extracting property co_alarm_switch from dict {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,511 [DEBUG] wyze_sdk.models.devices.base: key: p2p_id, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,511 [DEBUG] wyze_sdk.models.devices.base: key: p2p_type, value: 0 2024-01-05 11:10:44,511 [DEBUG] wyze_sdk.models.devices.base: key: public_ip, value: 111.111.111.111 2024-01-05 11:10:44,511 [DEBUG] wyze_sdk.models.devices.base: key: power_switch, value: 1 2024-01-05 11:10:44,512 [DEBUG] wyze_sdk.models.devices.base: key: temp_humi_room_type, value: 1 2024-01-05 11:10:44,512 [DEBUG] wyze_sdk.models.devices.base: key: comfort_standard_level, value: 2 2024-01-05 11:10:44,512 [DEBUG] wyze_sdk.models.devices.base: key: is_temperature_humidity, value: 0 2024-01-05 11:10:44,513 [DEBUG] wyze_sdk.models.devices.base: key: records_event_switch, value: 1 2024-01-05 11:10:44,513 [DEBUG] wyze_sdk.models.devices.base: key: motion_alarm_switch, value: 1 2024-01-05 11:10:44,513 [DEBUG] wyze_sdk.models.devices.base: key: audio_alarm_switch, value: 1 2024-01-05 11:10:44,513 [DEBUG] wyze_sdk.models.devices.base: key: smoke_alarm_switch, value: 1 2024-01-05 11:10:44,514 [DEBUG] wyze_sdk.models.devices.base: key: co_alarm_switch, value: 1 2024-01-05 11:10:44,514 [DEBUG] wyze_sdk.models.devices.base: returning new DeviceProp with value 1 2024-01-05 11:10:44,515 [DEBUG] wyze_sdk.models.devices.base: extracting property motion_alarm_switch from dict {'mac': 'GW_GC1_D03F2771A1BB', 'first_activation_ts': 1682812589000, 'first_binding_ts': 1682812589000, 'enr': '1dbb72218acc4df5', 'nickname': 'EllaCam', 'timezone_name': 'America/New_York', 'product_model': 'GW_GC1', 'product_model_logo_url': '', 'product_type': 'Camera', 'hardware_ver': '6.5.1', 'firmware_ver': '1.0.71', 'user_role': 1, 'binding_user_nickname': 'my_user_name', 'conn_state': 1, 'conn_state_ts': 1704012202000, 'push_switch': 1, 'device_params': {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0}, 'is_in_auto': 0, 'event_master_switch': 1, 'parent_device_mac': '', 'parent_device_enr': '', 'binding_ts': 1692384892000, 'timezone_gmt_offset': -5.0} 2024-01-05 11:10:44,515 [DEBUG] wyze_sdk.models.devices.base: key: mac, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,515 [DEBUG] wyze_sdk.models.devices.base: key: first_activation_ts, value: 1682812589000 2024-01-05 11:10:44,516 [DEBUG] wyze_sdk.models.devices.base: key: first_binding_ts, value: 1682812589000 2024-01-05 11:10:44,516 [DEBUG] wyze_sdk.models.devices.base: key: enr, value: 1dbb72218acc4df5 2024-01-05 11:10:44,516 [DEBUG] wyze_sdk.models.devices.base: key: nickname, value: EllaCam 2024-01-05 11:10:44,516 [DEBUG] wyze_sdk.models.devices.base: key: timezone_name, value: America/New_York 2024-01-05 11:10:44,517 [DEBUG] wyze_sdk.models.devices.base: key: product_model, value: GW_GC1 2024-01-05 11:10:44,517 [DEBUG] wyze_sdk.models.devices.base: key: product_model_logo_url, value: 2024-01-05 11:10:44,517 [DEBUG] wyze_sdk.models.devices.base: key: product_type, value: Camera 2024-01-05 11:10:44,517 [DEBUG] wyze_sdk.models.devices.base: key: hardware_ver, value: 6.5.1 2024-01-05 11:10:44,518 [DEBUG] wyze_sdk.models.devices.base: key: firmware_ver, value: 1.0.71 2024-01-05 11:10:44,518 [DEBUG] wyze_sdk.models.devices.base: key: user_role, value: 1 2024-01-05 11:10:44,518 [DEBUG] wyze_sdk.models.devices.base: key: binding_user_nickname, value: my_user_name 2024-01-05 11:10:44,519 [DEBUG] wyze_sdk.models.devices.base: key: conn_state, value: 1 2024-01-05 11:10:44,519 [DEBUG] wyze_sdk.models.devices.base: key: conn_state_ts, value: 1704012202000 2024-01-05 11:10:44,519 [DEBUG] wyze_sdk.models.devices.base: key: push_switch, value: 1 2024-01-05 11:10:44,520 [DEBUG] wyze_sdk.models.devices.base: key: device_params, value: {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,520 [DEBUG] wyze_sdk.models.devices.base: key: is_in_auto, value: 0 2024-01-05 11:10:44,520 [DEBUG] wyze_sdk.models.devices.base: key: event_master_switch, value: 1 2024-01-05 11:10:44,520 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_mac, value: 2024-01-05 11:10:44,521 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_enr, value: 2024-01-05 11:10:44,521 [DEBUG] wyze_sdk.models.devices.base: key: binding_ts, value: 1692384892000 2024-01-05 11:10:44,521 [DEBUG] wyze_sdk.models.devices.base: key: timezone_gmt_offset, value: -5.0 2024-01-05 11:10:44,522 [DEBUG] wyze_sdk.models.devices.base: found non-empty device_params 2024-01-05 11:10:44,522 [DEBUG] wyze_sdk.models.devices.base: extracting property motion_alarm_switch from dict {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,522 [DEBUG] wyze_sdk.models.devices.base: key: p2p_id, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,522 [DEBUG] wyze_sdk.models.devices.base: key: p2p_type, value: 0 2024-01-05 11:10:44,522 [DEBUG] wyze_sdk.models.devices.base: key: public_ip, value: 111.111.111.111 2024-01-05 11:10:44,522 [DEBUG] wyze_sdk.models.devices.base: key: power_switch, value: 1 2024-01-05 11:10:44,523 [DEBUG] wyze_sdk.models.devices.base: key: temp_humi_room_type, value: 1 2024-01-05 11:10:44,523 [DEBUG] wyze_sdk.models.devices.base: key: comfort_standard_level, value: 2 2024-01-05 11:10:44,523 [DEBUG] wyze_sdk.models.devices.base: key: is_temperature_humidity, value: 0 2024-01-05 11:10:44,523 [DEBUG] wyze_sdk.models.devices.base: key: records_event_switch, value: 1 2024-01-05 11:10:44,523 [DEBUG] wyze_sdk.models.devices.base: key: motion_alarm_switch, value: 1 2024-01-05 11:10:44,523 [DEBUG] wyze_sdk.models.devices.base: returning new DeviceProp with value 1 2024-01-05 11:10:44,523 [DEBUG] wyze_sdk.models.devices.base: extracting property smoke_alarm_switch from dict {'mac': 'GW_GC1_D03F2771A1BB', 'first_activation_ts': 1682812589000, 'first_binding_ts': 1682812589000, 'enr': '1dbb72218acc4df5', 'nickname': 'EllaCam', 'timezone_name': 'America/New_York', 'product_model': 'GW_GC1', 'product_model_logo_url': '', 'product_type': 'Camera', 'hardware_ver': '6.5.1', 'firmware_ver': '1.0.71', 'user_role': 1, 'binding_user_nickname': 'my_user_name', 'conn_state': 1, 'conn_state_ts': 1704012202000, 'push_switch': 1, 'device_params': {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0}, 'is_in_auto': 0, 'event_master_switch': 1, 'parent_device_mac': '', 'parent_device_enr': '', 'binding_ts': 1692384892000, 'timezone_gmt_offset': -5.0} 2024-01-05 11:10:44,523 [DEBUG] wyze_sdk.models.devices.base: key: mac, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: first_activation_ts, value: 1682812589000 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: first_binding_ts, value: 1682812589000 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: enr, value: 1dbb72218acc4df5 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: nickname, value: EllaCam 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: timezone_name, value: America/New_York 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: product_model, value: GW_GC1 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: product_model_logo_url, value: 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: product_type, value: Camera 2024-01-05 11:10:44,524 [DEBUG] wyze_sdk.models.devices.base: key: hardware_ver, value: 6.5.1 2024-01-05 11:10:44,525 [DEBUG] wyze_sdk.models.devices.base: key: firmware_ver, value: 1.0.71 2024-01-05 11:10:44,525 [DEBUG] wyze_sdk.models.devices.base: key: user_role, value: 1 2024-01-05 11:10:44,525 [DEBUG] wyze_sdk.models.devices.base: key: binding_user_nickname, value: my_user_name 2024-01-05 11:10:44,525 [DEBUG] wyze_sdk.models.devices.base: key: conn_state, value: 1 2024-01-05 11:10:44,525 [DEBUG] wyze_sdk.models.devices.base: key: conn_state_ts, value: 1704012202000 2024-01-05 11:10:44,525 [DEBUG] wyze_sdk.models.devices.base: key: push_switch, value: 1 2024-01-05 11:10:44,525 [DEBUG] wyze_sdk.models.devices.base: key: device_params, value: {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,525 [DEBUG] wyze_sdk.models.devices.base: key: is_in_auto, value: 0 2024-01-05 11:10:44,526 [DEBUG] wyze_sdk.models.devices.base: key: event_master_switch, value: 1 2024-01-05 11:10:44,526 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_mac, value: 2024-01-05 11:10:44,526 [DEBUG] wyze_sdk.models.devices.base: key: parent_device_enr, value: 2024-01-05 11:10:44,526 [DEBUG] wyze_sdk.models.devices.base: key: binding_ts, value: 1692384892000 2024-01-05 11:10:44,526 [DEBUG] wyze_sdk.models.devices.base: key: timezone_gmt_offset, value: -5.0 2024-01-05 11:10:44,526 [DEBUG] wyze_sdk.models.devices.base: found non-empty device_params 2024-01-05 11:10:44,526 [DEBUG] wyze_sdk.models.devices.base: extracting property smoke_alarm_switch from dict {'p2p_id': 'GW_GC1_D03F2771A1BB', 'p2p_type': 0, 'public_ip': '111.111.111.111', 'power_switch': 1, 'temp_humi_room_type': 1, 'comfort_standard_level': 2, 'is_temperature_humidity': '0', 'records_event_switch': 1, 'motion_alarm_switch': 1, 'audio_alarm_switch': 1, 'smoke_alarm_switch': 1, 'co_alarm_switch': 1, 'electricity': '', 'battery_charging_status': '', 'power_source': '0', 'is_link_toy_car': 0, 'power_saving_mode_switch': 0, 'camera_thumbnails': {'thumbnails_url': 'https://camera-usw2.s3.us-west-2.amazonaws.com/GW_GC1_D03F2771A1BB/2024-01-05/GWGC1D03F2771A1BB021704469384_1704469384572_2_1_0/541c1dabd62b46a7aac4ae33b89e5c02_-1.jpg?X-Amz-Expires=1200&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARI6RHJJNGTF3O3GP/20240105/us-west-2/s3/aws4_request&X-Amz-Date=20240105T161044Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ed3b19b475f8f2e4042dc1e1fe7f5c0dad6b6deca94f9jj34ase87ceaadb1da0', 'thumbnails_ts': 1704469384572}, 'dtls': 0, 'main_device_dtls': 0, 'device_setting_channel': 0, 'dongle_switch': 0, 'dongle_product_model': '', 'ai_notification_v2': 0, 'accessory_switch': 0, 'spotlight_status': 0} 2024-01-05 11:10:44,526 [DEBUG] wyze_sdk.models.devices.base: key: p2p_id, value: GW_GC1_D03F2771A1BB 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: p2p_type, value: 0 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: public_ip, value: 111.111.111.111 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: power_switch, value: 1 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: temp_humi_room_type, value: 1 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: comfort_standard_level, value: 2 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: is_temperature_humidity, value: 0 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: records_event_switch, value: 1 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: motion_alarm_switch, value: 1 2024-01-05 11:10:44,527 [DEBUG] wyze_sdk.models.devices.base: key: audio_alarm_switch, value: 1 2024-01-05 11:10:44,528 [DEBUG] wyze_sdk.models.devices.base: key: smoke_alarm_switch, value: 1 2024-01-05 11:10:44,528 [DEBUG] wyze_sdk.models.devices.base: returning new DeviceProp with value 1 2024-01-05 11:10:44,528 [DEBUG] wyze_sdk.models: !!! Camera's constructor args (mac, first_activation_ts, first_binding_ts, enr, nickname, timezone_name, product_model, product_model_logo_url, hardware_ver, firmware_ver, user_role, binding_user_nickname, conn_state, conn_state_ts, push_switch, device_params, is_in_auto, event_master_switch, parent_device_mac, parent_device_enr, binding_ts, timezone_gmt_offset) were ignored. If they should be supported by this library, report this issue to the project https://github.com/shauntarves/wyze-sdk/issues
2024-01-05 11:11:02,264 [DEBUG] wyze_sdk.service.base: merging request-specific headers into session headers 2024-01-05 11:11:02,265 [DEBUG] wyze_sdk.service.base: unmodified prepared request 2024-01-05 11:11:02,265 [DEBUG] wyze_sdk.service.base: <PreparedRequest [POST]> 2024-01-05 11:11:02,266 [INFO] wyze_sdk.service.base: requesting POST to https://api.wyzecam.com/app/v2/auto/run_action 2024-01-05 11:11:02,266 [DEBUG] wyze_sdk.service.base: headers: {'User-Agent': 'okhttp/4.7.2', 'Accept-Encoding': 'gzip', 'Accept': '/', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '582'} 2024-01-05 11:11:02,266 [DEBUG] wyze_sdk.service.base: body: b'{"instance_id":"GW_GC1_D03F2771A1BB","action_key":"power_off","provider_key":"GW_GC1","sv":"011a6b42d80a4f32b4cc24bb721c9c96","action_params":{},"access_token":"lvtx.PMYdwdr/wk9w2F4SBYTNoj82ixgFrkidLA56OkRTyI/h4iRfsSW+72BIAKGGPPedR445qwA6O7Bo2eoWOxHfdPJPWkgDDlKHrghPFziHfO38678LLJdGAgpJl/1hPRygcD1KIqq3TFEVt158CwJx/xyL4s5Lru22jGTufB03ggdSmKed0gyynb/GEm1RTHiw87QrA==","app_name":"com.hualai","app_ver":"com.hualai___2.19.14","app_version":"2.19.14","phone_id":"b2d444f6-bc7e-4eb3-9105-fcc4ece77f73","phone_system_type":"2","sc":"a626948714654991afd3c0dbd7cdb901","ts":1704471062264}' 2024-01-05 11:11:02,267 [DEBUG] wyze_sdk.service.base: settings: {'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} 2024-01-05 11:11:02,859 [DEBUG] wyze_sdk.service.wyze_response: Received the following response - status: 200 headers: {"Date": "Fri, 05 Jan 2024 16:11:02 GMT", "Content-Type": "application/json; charset=utf-8", "Content-Length": "120", "Connection": "keep-alive", "Cache-Control": "no-cache", "Pragma": "no-cache", "Expires": "-1", "Server": "Microsoft-IIS/8.5", "Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Cache-Control, Accept, authorization, content-type", "Access-Control-Allow-Methods": "POST,GET,OPTIONS", "Access-Control-Allow-Origin": "*", "X-AspNet-Version": "4.0.30319", "X-Powered-By": "ASP.NET"} body: {"ts": 1704471062732, "code": "1", "msg": "", "data": {"session_id": "", "custom_string": null, "action_session_id": "", "result": 3}} 2024-01-05 11:11:02,860 [DEBUG] wyze_sdk.service.wyze_response: response code: 1
[<wyze_sdk.Camera: {'enr': '1dbb72218acc4df5', 'humidity': '0', 'mac': 'GW_GC1_D03F2771A1BB', 'nickname': 'EllaCam', 'push_switch': 1, 'temperature': '0', 'type': 'Camera'}>]
{'ts': 1704475883638, 'code': '1', 'msg': '', 'data': {'session_id': '', 'custom_string': None, 'action_session_id': '', 'result': 3}}
Hi All,
I am also hoping that I can use this to work with my WyzeCam OG. Please do let me know if there is any additional information I can provide!
@richt00 @ConnorKneeland,
Everything seems reasonable enough in this output, though I've never seen result: 3
like is shown in the last line {'ts': 1704475883638, 'code': '1', 'msg': '', 'data': {'session_id': '', 'custom_string': None, 'action_session_id': '', 'result': 3}}
.
There's a little too much noise in what you pasted for me to be sure which lines correspond to which command(s).
Can we try this: Try the "turn off" action with and without debug enabled and paste the output here directly (don't upload a text file or try to attach to an email to respond)? And then do the same for the "restart" action
Turn Off - No Debug: {'ts': 1705952788027, 'code': '1', 'msg': '', 'data': {'session_id': '', 'custom_string': None, 'action_session_id': '', 'result': 3}}
Turn Off - Debug Enabled: 2024-01-22 14:37:53,581 [DEBUG] wyze_sdk.service.base: merging request-specific headers into session headers 2024-01-22 14:37:53,584 [DEBUG] wyze_sdk.service.base: unmodified prepared request 2024-01-22 14:37:53,585 [DEBUG] wyze_sdk.service.base: <PreparedRequest [POST]> 2024-01-22 14:37:53,585 [INFO] wyze_sdk.service.base: requesting POST to https://api.wyzecam.com/app/v2/auto/run_action 2024-01-22 14:37:53,586 [DEBUG] wyze_sdk.service.base: headers: {'User-Agent': 'okhttp/4.7.2', 'Accept-Encoding': 'gzip', 'Accept': '/', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '582'} 2024-01-22 14:37:53,586 [DEBUG] wyze_sdk.service.base: body: b'{"instance_id":"GW_GC1_D03F2771A1BB","action_key":"power_off","provider_key":"GW_GC1","sv":"011a6b42d80a4f32b4cc24bb721c9c96","action_params":{},"access_token":"lvtx.CcCOykxdmrTkN5Q7tsH9dpGV0ZiHzzLKyJmMQ+tJo+ssQFNK/y3l5i16wViTxw/jQivM4VWkwAct/92vgcrgvUfJF3h9FTvfTKxZEUVa34gsb0Xk5gCdWmUqt6qvgK/9Z5HMYoeSBUaUQqgiJnLZgcTBHH4J1yrWeHUvoID+I7f4RFWiGWxttwN4kKFaju5kWBBHMw==","app_name":"com.hualai","app_ver":"com.hualai___2.19.14","app_version":"2.19.14","phone_id":"6c54e530-522d-4612-8df4-5dceba069d61","phone_system_type":"2","sc":"a626948714654991afd3c0dbd7cdb901","ts":1705952273581}' 2024-01-22 14:37:53,588 [DEBUG] wyze_sdk.service.base: settings: {'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} 2024-01-22 14:37:54,192 [DEBUG] wyze_sdk.service.wyze_response: Received the following response - status: 200 headers: {"Date": "Mon, 22 Jan 2024 19:37:54 GMT", "Content-Type": "application/json; charset=utf-8", "Content-Length": "120", "Connection": "keep-alive", "Cache-Control": "no-cache", "Pragma": "no-cache", "Expires": "-1", "Server": "Microsoft-IIS/8.5", "Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Cache-Control, Accept, authorization, content-type", "Access-Control-Allow-Methods": "POST,GET,OPTIONS", "Access-Control-Allow-Origin": "*", "X-AspNet-Version": "4.0.30319", "X-Powered-By": "ASP.NET"} body: {"ts": 1705952274174, "code": "1", "msg": "", "data": {"session_id": "", "custom_string": null, "action_session_id": "", "result": 3}} 2024-01-22 14:37:54,192 [DEBUG] wyze_sdk.service.wyze_response: response code: 1
Restart - No Debug: {'ts': 1705958141248, 'code': '1', 'msg': '', 'data': {'session_id': '', 'custom_string': None, 'action_session_id': '', 'result': 3}}
Restart - Debug Enabled: 2024-01-22 16:12:54,488 [DEBUG] wyze_sdk.service.base: merging request-specific headers into session headers 2024-01-22 16:12:54,489 [DEBUG] wyze_sdk.service.base: unmodified prepared request 2024-01-22 16:12:54,489 [DEBUG] wyze_sdk.service.base: <PreparedRequest [POST]> 2024-01-22 16:12:54,490 [INFO] wyze_sdk.service.base: requesting POST to https://api.wyzecam.com/app/v2/auto/run_action 2024-01-22 16:12:54,490 [DEBUG] wyze_sdk.service.base: headers: {'User-Agent': 'okhttp/4.7.2', 'Accept-Encoding': 'gzip', 'Accept': '/', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '580'} 2024-01-22 16:12:54,490 [DEBUG] wyze_sdk.service.base: body: b'{"instance_id":"GW_GC1_D03F2771A1BB","action_key":"restart","provider_key":"GW_GC1","sv":"011a6b42d80a4f32b4cc24bb721c9c96","action_params":{},"access_token":"lvtx./xRMjbvFFheDHi8wB0hO4JYU9kGyAXxN35V6ZpTg+HSQZW4VcMHdp6xVqkbH56DUdmiLnJ/v8cp3jsJFRLCs0F+CwQtn08sn/bX9eWdBMTlAdK//Pv13OLxffK2gt/Tz7qx/6Bq7u7zNzqwSzqueIap4+CEWUnwkX7MITHdiNWP5em7MEU2V9r6MjhqCP8RXK6Qqgw==","app_name":"com.hualai","app_ver":"com.hualai___2.19.14","app_version":"2.19.14","phone_id":"255d3fc3-a2d6-4a07-8b6a-e5dcfb6b3d27","phone_system_type":"2","sc":"a626948714654991afd3c0dbd7cdb901","ts":1705957974488}' 2024-01-22 16:12:54,491 [DEBUG] wyze_sdk.service.base: settings: {'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} 2024-01-22 16:12:55,083 [DEBUG] wyze_sdk.service.wyze_response: Received the following response - status: 200 headers: {"Date": "Mon, 22 Jan 2024 21:12:55 GMT", "Content-Type": "application/json; charset=utf-8", "Content-Length": "120", "Connection": "keep-alive", "Cache-Control": "no-cache", "Pragma": "no-cache", "Expires": "-1", "Server": "Microsoft-IIS/8.5", "Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Cache-Control, Accept, authorization, content-type", "Access-Control-Allow-Methods": "POST,GET,OPTIONS", "Access-Control-Allow-Origin": "*", "X-AspNet-Version": "4.0.30319", "X-Powered-By": "ASP.NET"} body: {"ts": 1705957975003, "code": "1", "msg": "", "data": {"session_id": "", "custom_string": null, "action_session_id": "", "result": 3}} 2024-01-22 16:12:55,083 [DEBUG] wyze_sdk.service.wyze_response: response code: 1
The list_devices command was very verbose when I turned on debug, but the last line was this: !!! Camera's constructor args (mac, first_activation_ts, first_binding_ts, enr, nickname, timezone_name, product_model, product_model_logo_url, hardware_ver, firmware_ver, user_role, binding_user_nickname, conn_state, conn_state_ts, push_switch, device_params, is_in_auto, event_master_switch, parent_device_mac, parent_device_enr, binding_ts, timezone_gmt_offset) were ignored. If they should be supported by this library, report this issue to the project https://github.com/shauntarves/wyze-sdk/issues
Could this be the issue?
That is just a disclaimer and not an error.
I have been working on the streaming part of the OG cams, and am close to a solution that I will be able to share. It is kinda hacked together however so it will absolutely be a YMMV.
@mcduffman just seeing this update but super interested. I started a project to enable video streaming from Gwell IotVideo based Wyze cameras which include the OG Cam, Video Doorbell Pro and maybe others. I am wondering what your approach has been and if you have a repo you can link to? My project is here: Cryze
Hope we can work together on this and support pushing this forward!
I'm trying to do some basic functions with my WyzeCam OG (turn on, turn off) using the SDK. The Web Client works just fine (I can list my OG using wyze_sdk.api.Client().devices_list()), but when I try to use the CamerasClient (wyze_sdk.api.Client().cameras.list()), I get nothing. I'm assuming that there is no support for the OG yet?