Closed RowdyMuncher closed 1 year ago
Message that will be displayed on users' first issue
I have reported this issue as well. Seems to be related specifically to the in-wall switches.
I have noticed that both of my Pan Cam v1 on/off switches from the plugin are always "off" even if the camera is turned on in the Wyze app. @RowdyMuncher Do you have any Wyze Pan cams?
All other camera switches from the plugin are working properly. Maybe this is the cause of the warning message?
Noticing the same issue on 0.5.26 -- Pan Cam v3 on/off switch is always "off" even if camera is turned on. I also have a regular Wyze Cam v3 which does not have this issue with the switch. I have no in-wall switches.
Noticing the same issue on 0.5.26 -- Pan Cam v3 on/off switch is always "off" even if camera is turned on. I also have a regular Wyze Cam v3 which does not have this issue with the switch. I have no in-wall switches.
See my last comment on an issue I created. You can fix this manually by editing a .js file. Alternatively there appears to be a pending pull request that has removed the filter on the cameras which will also fix the error.
Issue: https://github.com/jfarmer08/homebridge-wyze-smart-home/issues/87
Pull Request: https://github.com/jfarmer08/homebridge-wyze-smart-home/pull/96
I have a similar issue on mine recently after having my parents share their camera with me.
6/12/2023, 1:36:03 PMWyze Smart Home BridgeERROR[Wyze Smart Home Bridge 07B4@Wrigley Cam@@On] characteristic value expected boolean and received undefined
any idea how I can clear this up as It is taking up all the space in my logs.
I dont plan on removing this check, since not all Cams work the same way.
Can more camera models like WYZECP1_JEF (Pan Cam v1) be added so they are usable by the plugin without having to manually edit the .js file?
Yes if they are confirmed working I will add them.
At the very least I know WYZECP1_JEF works with this plugin.
Yes if they are confirmed working I will add them.
I’m using docker-wyze-bridge for RTSP video. The list of cameras marked as supported at https://github.com/mrlt8/docker-wyze-bridge should give you an idea of the ones you should be able to control the power/privacy on, as wyze-bridge does power control as well.
I can personally confirm HL_PAN3 works if that model is added.
I get this error every minute now. Is there a fix?
[7/11/2023, 4:27:20 PM] [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. [7/11/2023, 4:28:20 PM] [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. [7/11/2023, 4:29:21 PM] [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. [7/11/2023, 4:30:22 PM] [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. [7/11/2023, 4:31:23 PM] [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. [7/11/2023, 4:32:24 PM] [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.
I get this error every minute now. Is there a fix?
[7/11/2023, 4:27:20 PM] [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. [7/11/2023, 4:28:20 PM] [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. [7/11/2023, 4:29:21 PM] [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. [7/11/2023, 4:30:22 PM] [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. [7/11/2023, 4:31:23 PM] [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. [7/11/2023, 4:32:24 PM] [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.
What camera(s) do you have? It likely needs added to the WyzeAccessory.js file.
One Pan Cam v2 and five v2 cams.
HL_PAN2 needs to be added to WyzeAccessory.js, lines 169/170. You can manually edit this file on your install to see if it removes the error and the cams can be powered on/off. If so, then jfarmer08 can edit the source code to include this camera.
Sorry is there a simple way to find that file to edit?
On Tue, Jul 11, 2023 at 5:29 PM anderfrank @.***> wrote:
HL_PAN2 needs to be added to WyzeAccessory.js, lines 169/170
— Reply to this email directly, view it on GitHub https://github.com/jfarmer08/homebridge-wyze-smart-home/issues/92#issuecomment-1631536958, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA2ZMVZSCMG3QIQD4ULNDK3XPXAVFANCNFSM6AAAAAAWW5FXJQ . You are receiving this because you commented.Message ID: @.***>
What do you have Homebridge installed on?
My imac
You would need to find the plugin path for Homebridge (should be on the main page, bottom left). then go there and look for thehomebridge-wyze-smart-home plugin and go in there and find /src/accessories/WyzeAccessory.js. Open and edit this file, then save and restart homebridge.
Yeah i've looked there /Users/"myuser"/.homebridge but there isn't a plugin directory there.
just search in Finder for the file name, I would think it would eventually find it.
That doesn't come up with anything. This is really strange!
Maybe search from the root of your drive? Sorry I can't be of more help, I am running Homebridge in Docker.
You want to send me a copy of the cache Acc then I can take a look at what hardware you have and maybe identify the issue.
Thanks @jfarmer08 ...i have the plugin disabled right now so will fire it up again and do that when I have time this weekend.
You want to send me a copy of the cache Acc then I can take a look at what hardware you have and maybe identify the issue.
Where would I find it? Is it IdentifierCache or cachedAccessories or something else?
@iamvidoq cachedAccessories will be where homebridge is installed.
ON a MAC /Users/"myuser"/.homebridge
@jfarmer08
Does the Pan 2 work like the Pan3 in respect to Onoff?
As far as I understand the Pan v2 is exactly like the Pan v1 except it has the better night time camera sensor. I would expect it to function the same with the on/off feature the plugin provides.
I made an update that should help with this.
Oh wow thank you!
It seems to be working! No more errors.
Thank you so much! Now I can actually read my logs without them being spammed by this previous message.
@anderfrank For the new release for you, There is now a Enum.js file. I have added all the cameras, and comment out the ones that dont work currently. If we find more that do, then we can uncomment them.
@anderfrank For the new release for you, There is now a Enum.js file. I have added all the cameras, and comment out the ones that dont work currently. If we find more that do, then we can uncomment them.
Love it, thank you!
Describe Your Problem: I have installed your plugin after setting up my wyze account username and password and 2fa the plugin starts but an error is shown. I am not sure why this is happening or how to fix it.
[08/04/2023, 06:36:24] [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.
Logs:
[08/04/2023, 06:37:08] Homebridge v2.0.0-beta.0 (HAP v1.0.0-beta.5) (Homebridge 0955) is running on port 51980. [08/04/2023, 06:37:10] [Wyze] Launched child bridge with PID 6255 [08/04/2023, 06:37:11] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome' [08/04/2023, 06:37:11] [Wyze] Loaded homebridge-wyze-smart-home v0.5.26 child bridge successfully [08/04/2023, 06:37:11] Loaded 5 cached accessories from cachedAccessories.0EF4323DBD81. [08/04/2023, 06:37:11] Homebridge v2.0.0-beta.0 (HAP v1.0.0-beta.5) (Wyze) is running on port 52743. [08/04/2023, 06:37:11] [Ring] Found the following locations: [08/04/2023, 06:37:11] [Ring] locationId: r1r0m1-26624-0 - xxxxxxxxx [08/04/2023, 06:37:12] [Ring] Configuring 1 cameras and 3 devices for location "Gold Coast home" - locationId: r1r0m1-26624-0 [08/04/2023, 06:37:12] [Ring] Configured camera ee295bc5-43ee-4ce9-b891-afcd6168a979 doorbell_scallop_lite Front Door [08/04/2023, 06:37:12] [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. [08/04/2023, 06:37:12] [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. [08/04/2023, 06:37:12] [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. [08/04/2023, 06:37:13] [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. [08/04/2023, 06:37:13] [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. [08/04/2023, 06:37:13] Front Door 07F1 is running on port 37707. [08/04/2023, 06:37:13] Please add [Front Door 07F1] manually in Home app. Setup Code: 898-08-123 [08/04/2023, 06:38:14] [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. [08/04/2023, 06:38:14] [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. [08/04/2023, 06:38:14] [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. [08/04/2023, 06:38:14] [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. [08/04/2023, 06:38:14] [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. [08/04/2023, 06:39:15] [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. [08/04/2023, 06:39:15] [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. [08/04/2023, 06:39:15] [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. [08/04/2023, 06:39:15] [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. [08/04/2023, 06:39:15] [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.
Plugin Config:
{ "name": "Wyze", "username": "efraim@emailaddress.com.au", "password": "xxxxxxxx!", "refreshInterval": 60000, "entryExitDelay": 30, "mfaCode": "xxxxxx", "showAdvancedOptions": false, "excludeMacAddress": false, "excludedeviceType": false, "_bridge": { "username": "0E:F4:32:3D:BD:81", "port": 52743 }, "platform": "WyzeSmartHome" }
Screenshots:
Environment: