-
-
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
[solarwatt] Initial contribution for solarwatt energy manager #10091
Conversation
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/solarwatt-energymanager-binding/116620/1 |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/solarwatt-new-binding-for-solarwatt-energy-manager/116452/1 |
bundles/org.openhab.binding.solarwatt/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
...g.solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/SolarwattConfiguration.java
Outdated
Show resolved
Hide resolved
....solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/SolarwattHandlerFactory.java
Outdated
Show resolved
Hide resolved
...ing.solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/domain/dto/DeviceDTO.java
Outdated
Show resolved
Hide resolved
...ng.solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/domain/model/GridFlow.java
Outdated
Show resolved
Hide resolved
...ng.solarwatt/src/main/java/org/openhab/binding/solarwatt/internal/domain/model/Location.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
.../java/org/openhab/binding/solarwatt/internal/discovery/SolarwattDevicesDiscoveryService.java
Outdated
Show resolved
Hide resolved
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 your contribution! I reviewed your code and here is my feedback.
...c/main/java/org/openhab/binding/solarwatt/internal/channel/SolarwattChannelTypeProvider.java
Outdated
Show resolved
Hide resolved
...att/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerConnector.java
Outdated
Show resolved
Hide resolved
...arwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/SimpleDeviceHandler.java
Show resolved
Hide resolved
bundles/org.openhab.binding.solarwatt/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.solarwatt/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
...att/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerConnector.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...arwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/SimpleDeviceHandler.java
Outdated
Show resolved
Hide resolved
...arwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/SimpleDeviceHandler.java
Outdated
Show resolved
Hide resolved
...arwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/SimpleDeviceHandler.java
Outdated
Show resolved
Hide resolved
…ustom tracking of child handlers, fix wrong calculation of the "direct consumed" values. Signed-off-by: Sven Carstens <s.carstens@gmx.de>
…tations. Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
…gStatus.OFFLINE Signed-off-by: Sven Carstens <s.carstens@gmx.de>
…e status. Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Are you finished incorporating all review findings? |
Hi, everything should be fixed and marked as resolved on github. |
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.
There are some checkstyle warnings left. You could take a look at target/code-analysis/report.html
.
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Show resolved
Hide resolved
bundles/org.openhab.binding.solarwatt/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.solarwatt/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
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.
Here is the output of mvn clean install
:
[INFO] --- sat-plugin:0.11.1:report (sat-all) @ org.openhab.binding.solarwatt ---
[INFO] Individual report appended to summary report.
[ERROR] Code Analysis Tool has found:
1 error(s)!
7 warning(s)
3 info(s)
[ERROR] .binding.solarwatt\README.md:[1]
Datei endet nicht mit einem Zeilenumbruch.
[WARNING] .binding.solarwatt\README.md:[33]
Missing an empty line after the Markdown header (#).
[WARNING] org.openhab.binding.solarwatt.internal.channel.SolarwattChannelTypeProvider.java:[28]
Stern-Importe der Form '.*' sollten vermieden werden - org.openhab.core.thing.type.*.
[WARNING] org.openhab.binding.solarwatt.internal.discovery.SolarwattDevicesDiscoveryService.java:[24]
Stern-Importe der Form '.*' sollten vermieden werden - org.openhab.binding.solarwatt.internal.domain.model.*.
[WARNING] org.openhab.binding.solarwatt.internal.domain.dto.DeviceDTO.java:[26]
Stern-Importe der Form '.*' sollten vermieden werden - com.google.gson.*.
[WARNING] org.openhab.binding.solarwatt.internal.factory.EnergyManagerDevicesFactory.java:[20]
Stern-Importe der Form '.*' sollten vermieden werden - org.openhab.binding.solarwatt.internal.domain.model.*.
[WARNING] org.openhab.binding.solarwatt.internal.handler.EnergyManagerHandler.java:[18]
Stern-Importe der Form '.*' sollten vermieden werden - java.time.*.
[WARNING] org.openhab.binding.solarwatt.internal.handler.SimpleDeviceHandler.java:[30]
Stern-Importe der Form '.*' sollten vermieden werden - org.openhab.core.thing.*.
bundles/org.openhab.binding.solarwatt/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.solarwatt/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Show resolved
Hide resolved
...rwatt/src/main/java/org/openhab/binding/solarwatt/internal/handler/EnergyManagerHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
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.
LGTM
Now, you could add your binding's logo to the openHAB website. See https://next.openhab.org/docs/developer/bindings/#add-your-binding-s-logo-to-the-openhab-website
…b#10091) * [ADD] First version which was tested with my local setup. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Signed-off-by: Sven Carstens <sven.carstens@aoe.com> * [ADD] Refactoring, add calculated value for direct self consumption and prepare for more. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [ADD] Add chanel description to README and make some channels advanced. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove wrong colon in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Put colon at the right place in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Fix spelling of PVPlant in constants and things. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Separate channelName from energy manager tagName. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Reduce loglevels and fix findings from code-analysis. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary Nullable and NotNull annotations. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change wrong ItemType for power items in README Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change modeConverter to Switch Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove stateDevice from items as it is represented by the device status. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and move things config to separate config.xml Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove all trace/debug logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Use real channel timestamp as the refresh trigger. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Co-authored-by: Sven Carstens <sven.carstens@aoe.com>
…b#10091) * [ADD] First version which was tested with my local setup. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Signed-off-by: Sven Carstens <sven.carstens@aoe.com> * [ADD] Refactoring, add calculated value for direct self consumption and prepare for more. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [ADD] Add chanel description to README and make some channels advanced. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove wrong colon in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Put colon at the right place in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Fix spelling of PVPlant in constants and things. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Separate channelName from energy manager tagName. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Reduce loglevels and fix findings from code-analysis. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary Nullable and NotNull annotations. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change wrong ItemType for power items in README Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change modeConverter to Switch Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove stateDevice from items as it is represented by the device status. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and move things config to separate config.xml Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove all trace/debug logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Use real channel timestamp as the refresh trigger. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Co-authored-by: Sven Carstens <sven.carstens@aoe.com> Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
…b#10091) * [ADD] First version which was tested with my local setup. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Signed-off-by: Sven Carstens <sven.carstens@aoe.com> * [ADD] Refactoring, add calculated value for direct self consumption and prepare for more. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [ADD] Add chanel description to README and make some channels advanced. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove wrong colon in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Put colon at the right place in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Fix spelling of PVPlant in constants and things. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Separate channelName from energy manager tagName. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Reduce loglevels and fix findings from code-analysis. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary Nullable and NotNull annotations. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change wrong ItemType for power items in README Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change modeConverter to Switch Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove stateDevice from items as it is represented by the device status. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and move things config to separate config.xml Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove all trace/debug logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Use real channel timestamp as the refresh trigger. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Co-authored-by: Sven Carstens <sven.carstens@aoe.com> Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
…b#10091) * [ADD] First version which was tested with my local setup. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Signed-off-by: Sven Carstens <sven.carstens@aoe.com> * [ADD] Refactoring, add calculated value for direct self consumption and prepare for more. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [ADD] Add chanel description to README and make some channels advanced. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove wrong colon in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Put colon at the right place in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Fix spelling of PVPlant in constants and things. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Separate channelName from energy manager tagName. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Reduce loglevels and fix findings from code-analysis. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary Nullable and NotNull annotations. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change wrong ItemType for power items in README Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change modeConverter to Switch Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove stateDevice from items as it is represented by the device status. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and move things config to separate config.xml Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove all trace/debug logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Use real channel timestamp as the refresh trigger. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Co-authored-by: Sven Carstens <sven.carstens@aoe.com> Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
…b#10091) * [ADD] First version which was tested with my local setup. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Signed-off-by: Sven Carstens <sven.carstens@aoe.com> * [ADD] Refactoring, add calculated value for direct self consumption and prepare for more. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [ADD] Add chanel description to README and make some channels advanced. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove wrong colon in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Put colon at the right place in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Fix spelling of PVPlant in constants and things. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Separate channelName from energy manager tagName. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Reduce loglevels and fix findings from code-analysis. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary Nullable and NotNull annotations. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change wrong ItemType for power items in README Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change modeConverter to Switch Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove stateDevice from items as it is represented by the device status. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and move things config to separate config.xml Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove all trace/debug logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Use real channel timestamp as the refresh trigger. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Co-authored-by: Sven Carstens <sven.carstens@aoe.com>
…b#10091) * [ADD] First version which was tested with my local setup. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Signed-off-by: Sven Carstens <sven.carstens@aoe.com> * [ADD] Refactoring, add calculated value for direct self consumption and prepare for more. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [ADD] Add chanel description to README and make some channels advanced. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove wrong colon in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Put colon at the right place in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Fix spelling of PVPlant in constants and things. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Separate channelName from energy manager tagName. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Reduce loglevels and fix findings from code-analysis. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary Nullable and NotNull annotations. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change wrong ItemType for power items in README Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change modeConverter to Switch Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove stateDevice from items as it is represented by the device status. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and move things config to separate config.xml Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove all trace/debug logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Use real channel timestamp as the refresh trigger. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Co-authored-by: Sven Carstens <sven.carstens@aoe.com>
…b#10091) * [ADD] First version which was tested with my local setup. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Signed-off-by: Sven Carstens <sven.carstens@aoe.com> * [ADD] Refactoring, add calculated value for direct self consumption and prepare for more. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [ADD] Add chanel description to README and make some channels advanced. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove wrong colon in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Put colon at the right place in channel types. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Fix spelling of PVPlant in constants and things. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Separate channelName from energy manager tagName. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Reduce loglevels and fix findings from code-analysis. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary Nullable and NotNull annotations. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change wrong ItemType for power items in README Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Change modeConverter to Switch Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Remove stateDevice from items as it is represented by the device status. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove unnecessary logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Allow child things to be configured by hand with a guid. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and move things config to separate config.xml Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Improve README and remove all trace/debug logging. Signed-off-by: Sven Carstens <s.carstens@gmx.de> * [MOD] Use real channel timestamp as the refresh trigger. Signed-off-by: Sven Carstens <s.carstens@gmx.de> Co-authored-by: Sven Carstens <sven.carstens@aoe.com>
Binding to query a solarwatt energy manager and read the values of all attached devices.
All supported values and devices were discovered while playing with my own energy manager.
No write support yet, as it seems to have limited use.
The implementation off the energy manager device itself seems to be based on work from Kiwigrid. As there seems to be no public documentation about any of the devices
everything covered in this binding is based on guesswork and estimates.
Therefore I would love to get feedback from other owners and especially their configured devices.