-
-
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
[sungrow] Initial contribution #15130
Conversation
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
efb341b
to
cbee75a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very solid. Just some small comments you might want to look at.
Edit: Also some javadoc are incomplete like the public methods in SungrowInverterRegisters.java lack the parameter and return.
...ungrow/src/main/java/org/openhab/binding/modbus/sungrow/internal/SungrowInverterHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.modbus.sungrow/src/main/resources/OH-INF/i18n/sungrow_de.properties
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.modbus.sungrow/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.modbus.sungrow/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
…king. Added categories and tags for channels. Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
… (instead of floats issues). Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Co-authored-by: Wouter Born <github@maindrain.net> Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Co-authored-by: Wouter Born <github@maindrain.net> Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Thanks for your review @lsiepel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more comments, i also noticed that there are some todo's in the start post. Are they done?
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Yes, battery information is working and documentation is updated. |
@lsiepel Is everything ok now, or do you have any further comments / questions? |
Some comments are marked as resolved, but i don't see any change or comment. Did you push all changes? Can you check all of them and add a comment like 'fxied' or the reason why it is not canged? |
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
Sorry i don't know what happend - maybe some rebase/merging error on my side. sorry for that. |
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for providing this new binding. LGTM
* 0000: Implementation --------- Signed-off-by: Sönke Küper <soenkekueper@gmx.de> Signed-off-by: Leo Siepel <leosiepel@gmail.com> Co-authored-by: Wouter Born <github@maindrain.net> Co-authored-by: Eric Bodden <eric.bodden@upb.de> Co-authored-by: Leo Siepel <leosiepel@gmail.com> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
* 0000: Implementation --------- Signed-off-by: Sönke Küper <soenkekueper@gmx.de> Signed-off-by: Leo Siepel <leosiepel@gmail.com> Co-authored-by: Wouter Born <github@maindrain.net> Co-authored-by: Eric Bodden <eric.bodden@upb.de> Co-authored-by: Leo Siepel <leosiepel@gmail.com>
PR Content
This PR implements a new modbus binding for openHAB, that integrates Sungrow inverters.
With this binding its very easy to monitor the current values for PV production within the smart home system - without the need to worry about modbus registers, types and transformations. It's implemented along the Sungrow specification "Communication Protocol of Residential Hybrid Inverter V1.0.23",
which can be found here: bohdan-s/SunGather#36.
The binding adds a new thing type "sungrow inverter" that uses the default modbus bridges and needs no further configuration.
ToDos
- Check provided values for battery information- complete documentationThis binding was already mentioned within thread https://community.openhab.org/t/sungrow-inverter-binding-or-modbus-config/139360/17.