-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[deconz] Support thing type ZHAfire (e.g. Heiman smoke sensor) #6298
Comments
Yes, it should be possible. The integration is not that difficult. You can have a look into https://github.com/openhab/openhab2-addons/pull/5071 to get an idea of how it is working. Will you give it a try? Do not hesitate to ask if you are facing any issues. |
Actually, I'm facing problems. I did some changes (just like for the vibration sensor), put the jar to the addons folder and started openhab. The new sensor however doesn't work. The stated error is "org.openhab.binding.deconz.internal.handler.DeconzBridgeHandler cannot be cast to org.openhab.binding.deconz.internal.handler.DeconzBridgeHandler". Do you have a good idea where I should look at? |
Just a guess: Did you uninstall the original binding before putting the modified version into your |
I had that guess, too. I had to do some more things like installing some perquisites. |
Couldn't sleep - so I did some testing. Maybe you have another good hint. |
That is a known issue (see e.g. https://github.com/openhab/openhab2-addons/issues/6362 or https://community.openhab.org/t/deconz-no-value-battery-level-change/84585/3). |
Environment
According to deCONZ Plugin Help all sensors are supported, including smoke/fire sensors.
The sensor is also listed by the REST query:
Do you think you can integrate it into the binding in the near future?
I'd try it myself if my guess was not that it shouldn't be too much lines of code. My overhead of getting back into JAVA, setting up a development environment and learning how OpenHAB does its things might be quite big compared to the expected count of lines.
Best regards and thanks, Matthias
The text was updated successfully, but these errors were encountered: