jfarmer08 / homebridge-wyze-smart-home

Wyze Smart Home plugin for Homebridge.
MIT License
93 stars 14 forks source link

ERROR Performing request: https://wyze-sirius-service.wyzecam.com/plugin/sirius/get_iot_prop #218

Closed iamvidoq closed 4 months ago

iamvidoq commented 4 months ago

I'm getting this error every minute now after doing the steps that helped people towards the end of issue #216. I reset my wyze api before doing that. Previously I had been getting the error in #216 every minute.

[13/02/2024, 10:19:59] [Wyze] Performing request: https://wyze-sirius-service.wyzecam.com/plugin/sirius/get_iot_prop [13/02/2024, 10:19:59] [Wyze] API response GetIotProp: {"code":1,"current":1,"data":{"did":"LD_SS1_7C78B20B5F18","is_online_send":false,"is_sub_device":false,"is_update_shadow":false,"model":"LD_SS1","parent_did":null,"parent_model":null,"props":{"single_press_type":1,"iot_state":"connected","switch-power":false},"shadow_name":null},"hash":"1","instance_id":"a07d126fbbba423eb27ea4f4be04ce12","isShowToast":0,"message":"Success","toastMsg":null,"total":1,"version":1}

I'm running v0.5.42

jfarmer08 commented 4 months ago

I output above does not show any errors

iamvidoq commented 4 months ago

Maybe error is the wrong word for me to use? Either way it does this every minute starting after reboots.

[13/02/2024, 10:57:42] [homebridge-wyze-smart-home] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info. [13/02/2024, 10:57:42] [Wyze] Performing request: https://wyze-sirius-service.wyzecam.com/plugin/sirius/get_iot_prop [13/02/2024, 10:57:43] [Wyze] API response GetIotProp: {"code":1,"current":1,"data":{"did":"LD_SS1_7C78B20B5F18","is_online_send":false,"is_sub_device":false,"is_update_shadow":false,"model":"LD_SS1","parent_did":null,"parent_model":null,"props":{"single_press_type":1,"iot_state":"connected","switch-power":false},"shadow_name":null},"hash":"1","instance_id":"2cffd2f8c36441adb410e7c45db0921d","isShowToast":0,"message":"Success","toastMsg":null,"total":1,"version":1}

jfarmer08 commented 4 months ago

Can you try version https://github.com/jfarmer08/homebridge-wyze-smart-home/releases/tag/v0.5.43

iamvidoq commented 4 months ago

Still happening

[13/02/2024, 11:51:08] [homebridge-wyze-smart-home] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info. [13/02/2024, 11:51:08] [Wyze] Performing request: https://wyze-sirius-service.wyzecam.com/plugin/sirius/get_iot_prop [13/02/2024, 11:51:09] [Wyze] API response GetIotProp: {"code":1,"current":1,"data":{"did":"LD_SS1_7C78B20B5F18","is_online_send":false,"is_sub_device":false,"is_update_shadow":false,"model":"LD_SS1","parent_did":null,"parent_model":null,"props":{"single_press_type":1,"iot_state":"connected","switch-power":true},"shadow_name":null},"hash":"1","instance_id":"951b1ff9bfd047e39e0e67eede120c02","isShowToast":0,"message":"Success","toastMsg":null,"total":1,"version":1}

jfarmer08 commented 4 months ago

Try clearing the cache in home bridge

Thanks Allen :)

On Tue, Feb 13, 2024 at 10:52 AM iamvidoq @.***> wrote:

Still happening

[13/02/2024, 11:51:08] [homebridge-wyze-smart-home] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info. [13/02/2024, 11:51:08] [Wyze] Performing request: https://wyze-sirius-service.wyzecam.com/plugin/sirius/get_iot_prop [13/02/2024, 11:51:09] [Wyze] API response GetIotProp: {"code":1,"current":1,"data":{"did":"LD_SS1_7C78B20B5F18","is_online_send":false,"is_sub_device":false,"is_update_shadow":false,"model":"LD_SS1","parent_did":null,"parent_model":null,"props":{"single_press_type":1,"iot_state":"connected","switch-power":true},"shadow_name":null},"hash":"1","instance_id":"951b1ff9bfd047e39e0e67eede120c02","isShowToast":0,"message":"Success","toastMsg":null,"total":1,"version":1}

— Reply to this email directly, view it on GitHub https://github.com/jfarmer08/homebridge-wyze-smart-home/issues/218#issuecomment-1941996862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKHFB3DPWXTWTOLWNMK6QLYTOK35AVCNFSM6AAAAABDGWNE72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRHE4TMOBWGI . You are receiving this because you commented.Message ID: @.***>

iamvidoq commented 4 months ago

Clear cached accessories?

jfarmer08 commented 4 months ago

hopefully this helps https://github.com/jfarmer08/homebridge-wyze-smart-home/releases/tag/v0.5.44

iamvidoq commented 4 months ago

unfortunately no. i cleared cached accessories before running the update. however...i remembered that when i was getting the #216 error i had turned API logging on. Turning that off and the message no longer appears. Just this one remains.

[13/02/2024, 15:05:36] [homebridge-wyze-smart-home] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.

blachole commented 4 months ago

This is happening as well to my homebridge since I just rebooted it. I'm on v5.37. It doesn't seem to affect the devices, just throwing the error in the console.

carTloyal123 commented 4 months ago

@iamvidoq is this resolved or are there still issues?

iamvidoq commented 4 months ago

Resolved for me.

carTloyal123 commented 4 months ago

@iamvidoq awesome, thank you for the update here