Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 2.8.2 - Error when saving configuration #1169

Open
delzear opened this issue May 2, 2024 · 19 comments
Open

Version 2.8.2 - Error when saving configuration #1169

delzear opened this issue May 2, 2024 · 19 comments

Comments

@delzear
Copy link

delzear commented May 2, 2024

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.

@poiromaniax
Copy link

poiromaniax commented May 2, 2024

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': []}

mrlt8 added a commit that referenced this issue May 2, 2024
@mrlt8
Copy link
Owner

mrlt8 commented May 2, 2024

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

@poiromaniax
Copy link

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

Still not working for me

@mrlt8
Copy link
Owner

mrlt8 commented May 2, 2024

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

@poiromaniax
Copy link

@mrlt8 nothing

mrlt8 added a commit that referenced this issue May 2, 2024
@mrlt8
Copy link
Owner

mrlt8 commented May 2, 2024

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

@delzear
Copy link
Author

delzear commented May 2, 2024

Works great! Thanks!

@baseer216
Copy link

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

@cevans3505
Copy link

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

@farrc4780
Copy link

Same issue here as well.

@dcw88
Copy link

dcw88 commented May 2, 2024

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.

@felafel
Copy link

felafel commented May 2, 2024

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.

@TheRealWaldo
Copy link

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.

@farrc4780
Copy link

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

@delzear
Copy link
Author

delzear commented May 2, 2024

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

@baseer216
Copy link

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

@cevans3505
Copy link

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.

@felafel
Copy link

felafel commented May 2, 2024

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

@delzear delzear changed the title Verssion 2.8.2 - Error when saving configuration Version 2.8.2 - Error when saving configuration May 2, 2024
@mrlt8
Copy link
Owner

mrlt8 commented May 2, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants