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

Ignore Tasmota accessory if already configured #44

Open
mdaskalov opened this issue Apr 28, 2024 · 0 comments
Open

Ignore Tasmota accessory if already configured #44

mdaskalov opened this issue Apr 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mdaskalov
Copy link
Owner

Describe The Bug:
Homebridge fails to start if a tasmota device is configured twice with the same topic and type

Expected behavior:
Check if already configured and ignore if so.

Logs:

[28/04/2024, 12:41:44] [homebridge-tasmota-zbbridge] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside read handler for characteristic: This callback function has already been called by someone else; it can only be called one time.. See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

        {
            "topic": "topic",
            "type": "LIGHT",
            "name": "Light1"
        },
        {
            "topic": "topic",
            "type": "LIGHT",
            "name": "Light2"
        },
@mdaskalov mdaskalov added the bug Something isn't working label Apr 28, 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