openhab-addons
openhab-addons copied to clipboard
[iotawatt] Initial contribution
This PR adds a new binding for IoTaWatt, an open source power measuring device. The first version aims to get feedback from the community and provide initial, basic functionality to measure power consumption.
Limitations of this version:
- No authentication support
- Support of IoTaWatt's
Input
channels with select values
Short discussion about the topic: Forum thread IoTaWatt
Any kinds of feedback is welcome, thank you.
This pull request has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/iotawatt/153849/3
Many thanks @lsiepel for reviewing my PR by the way.
2. thing-types. I see several power/energy rel;ated channels that have diffent quantitytypes declared compare to others bindings that have the same channels. Please double check.
When I implemented the types, I was also not sure which ones to use. I had a look at the Shelly binding because I use it and it has quite a lot of types. Which one did you compare it to? What do you feel should it be changed to? I hope we can get them right.
@lsiepel I have issues with %unit%
and mentioned it on your comment, but unfortunately is it hidden now.
Do you have a clue why it's not working, at least on my set up?
@lsiepel I have issues with
%unit%
and mentioned it on your comment, but unfortunately is it hidden now. Do you have a clue why it's not working, at least on my set up?
Hmm maybe try %% as unit. i have to search, but percentages have a different handling since a while. You can also check some otherbinding setting a percentage value.
Thanks for your hints @lsiepel and @jlaur. It was not an issue of the channel-type definition but only of the item definition in the readme where the dimension was missing. Now it works like a charm.
Thanks for your contribution. LGTM. Let me know once you think this binding is tested enough to merge.
Many thanks for your review and good inputs @lsiepel. I tested it on a test setup but haven't yet installed an IoTaWatt on my switchboard because I need an electrician for that. I will have it installed in the coming weeks, set it up to monitor the whole house and integrate it into my rules. Should I find bugs at that stage I'll submit bug fixes.
Now, you could add your binding's logo to the openHAB website. ` See https://www.openhab.org/docs/developer/addons/#add-your-add-on-s-logo-to-the-openhab-website
Please also see the updated documentation here - SVG is now preferred: https://next.openhab.org/docs/developer/addons/#add-your-add-on-s-logo-to-the-openhab-website-and-the-ui
Thanks for the hint @lsiepel, I added it here https://github.com/openhab/openhab-docs/pull/2309