docker-wyze-bridge icon indicating copy to clipboard operation
docker-wyze-bridge copied to clipboard

Version 2.8.2 - Error when saving configuration

Open delzear opened this issue 1 year ago • 19 comments

Failed to save add-on configuration, invalid value or type (must have a partial ordering). On Home Assistant Add On The error disappears when I remove the API_ID and API_KEY fields but the addon won't start.

delzear avatar May 02 '24 14:05 delzear

Same but I also get the error even when trying to add API creds

Failed to save add-on configuration, Missing required option 'API_ID' in Docker Wyze Bridge (bb28_docker_wyze_bridge). Got {'WYZE_EMAIL': 'REDACTED', 'WYZE_PASSWORD': 'REDACTED', 'API_ID': None, 'API_KEY': None, 'NET_MODE': 'ANY', 'SNAPSHOT': 'Disable', 'MQTT_DTOPIC': 'homeassistant', 'ENABLE_AUDIO': False, 'MOTION_API': False, 'ON_DEMAND': True, 'SUBSTREAM': False, 'CAM_OPTIONS': []}

poiromaniax avatar May 02 '24 14:05 poiromaniax

Thanks for the feedback, can you see if it works now?

mrlt8 avatar May 02 '24 14:05 mrlt8

@mrlt8 Is there supposed to be an update to the addon? Dont see one showing...

Still not working for me

poiromaniax avatar May 02 '24 14:05 poiromaniax

@poiromaniax can you try going to the add-on store and clicking the three dots near the top -> "Check for updates".

mrlt8 avatar May 02 '24 14:05 mrlt8

@mrlt8 nothing

poiromaniax avatar May 02 '24 14:05 poiromaniax

I bumped the version which should trigger an update with the new config.

mrlt8 avatar May 02 '24 15:05 mrlt8

Works great! Thanks!

delzear avatar May 02 '24 15:05 delzear

I'm having the same issue as OP

Failed to save add-on configuration, Missing required option 'API_ID' in Docker Wyze Bridge (7094bb28_docker_wyze_bridge). Got {'WYZE_EMAIL': 'redacted', 'WYZE_PASSWORD': 'redacted!', 'API_ID': None, 'API_KEY': None, 'NET_MODE': 'ANY', 'SNAPSHOT': 'Disable', 'MQTT_DTOPIC': 'homeassistant', 'ENABLE_AUDIO': True, 'MOTION_API': False, 'ON_DEMAND': True, 'SUBSTREAM': False, 'CAM_OPTIONS': []}

I've installed Verssion 2.8.3

baseer216 avatar May 02 '24 16:05 baseer216

Same issue after update. Does not seem to accept saving the configuration if API ID and API key are omitted despite supposedly being optional.

cevans3505 avatar May 02 '24 16:05 cevans3505

Same issue here as well.

farrc4780 avatar May 02 '24 16:05 farrc4780

Same error even with the latest version 2.8.3. It kept saying API_ID is missing from the configuration and Docker Wyze Bridge won't start. I have to revert back to 2.8.1 to get the Docker Wyze Bridge to start again.

dcw88 avatar May 02 '24 17:05 dcw88

I get this when trying to start .... Missing required option 'API_ID' in Docker Wyze Bridge (7094bb28_docker_wyze_bridge).

This has not been working for me for over a year so who knows. It used to refresh manually at times but now I just update hoping it will work.

felafel avatar May 02 '24 17:05 felafel

The same happens here; I updated it to the latest version and still encountered the error.

I'd gladly fill in the ID and Key if there were any documentation on where to obtain them.

TheRealWaldo avatar May 02 '24 17:05 TheRealWaldo

I updated to the new version and it is working for me now

farrc4780 avatar May 02 '24 17:05 farrc4780

The documentation has been tagged to the top of the README.md file for some time.

https://support.wyze.com/hc/en-us/articles/16129834216731-Creating-an-API-Key

delzear avatar May 02 '24 17:05 delzear

The documentation has been tagged to the top of the README.md file for some time.

https://support.wyze.com/hc/en-us/articles/16129834216731-Creating-an-API-Key

THANK YOU!!!!! this resolved my issue

baseer216 avatar May 02 '24 18:05 baseer216

Indeed, creating the API key and including it in the config does resolve the issue, but the issue remains that this is supposed to be an optional value. Either needs to be made mandatory, or properly handling saving the config with no API key present.

cevans3505 avatar May 02 '24 18:05 cevans3505

Putting in the key id and api key worked for me; but I still have cameras that don't refresh (unavailable) unless done manually in the addon UI. Set to 120 on the page but not sure if that means anything outside the page. My floodlight pro is not found but that seems to be expected at this time.

MOTION_API -- any ideas on what this does?

Thanks in advance

felafel avatar May 02 '24 19:05 felafel

@cevans3505 Unfortunately, Wyze switched off the v2 and v3 authentication endpoints #1163 a couple of days ago, and I'm still exploring other authentication methods at this time.

@felafel you can try setting the ON_DEMAND option in the config to False or adjust the SNAPSHOT option if you only need to update the snapshot. And yes, the 120 on the UI only updates the snapshots on the UI. See this page about the MOTION_API https://github.com/mrlt8/docker-wyze-bridge/wiki/Camera-Motion

mrlt8 avatar May 02 '24 21:05 mrlt8