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

BUG: unable to save config after Camera Specific Options has been made blank #1389

Open
Deach01 opened this issue Nov 20, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Deach01
Copy link
Contributor

Deach01 commented Nov 20, 2024

Describe the bug

If a camera specific option has been previously defined, for example

  • CAM_NAME: my-cam
    SUBSTREAM: True
    Then this is saved with a restart
    Then remove this so the Camera Specific Option box is empty
    Save results in:
    Failed to save add-on configuration, Invalid list for option 'CAM_OPTIONS' in Docker Wyze Bridge (7094bb28_docker_wyze_bridge). Got {'ENABLE_AUDIO': False, 'ON_DEMAND': True, 'WB_AUTH': False, 'MOTION_API': True, 'MQTT': True, 'CAM_OPTIONS': {}, 'WYZE_EMAIL': 'REDACTED', 'WYZE_PASSWORD': 'REDACTED', 'API_ID': 'REDACTED', 'API_KEY': 'REDACTED', 'NET_MODE': 'LAN', 'IMG_TYPE': 'jpg', 'LLHLS': True, 'FRESH_DATA': False}

Workaround is to just leave a valid line in the box.

  • CAM_NAME: my-cam
    Allows the save

if nothing has ever been saved as a Camera Specific Option, I.e. a fresh install, it saves with the box being empty.

Affected Bridge Version

DOCKER-WYZE-BRIDGE v2.10.3 AARCH64

Bridge type

Home Assistant

Affected Camera(s)

Any

Affected Camera Firmware

Any

docker-compose or config (if applicable)

No response

@Deach01 Deach01 added the bug Something isn't working label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant