Skip to content

Commit

Permalink
[enphase] Review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
  • Loading branch information
Hilbrand committed Jan 26, 2021
1 parent 7a2f122 commit d814d2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bundles/org.openhab.binding.enphase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ There are channel groups for `production` and `consumption` data.
The `consumption` data is only available if the gateway reports this.
A example of a production channel name is: `production#wattsNow`.

| channel | type | description |
|--------------------|---------------|------------------------|
| wattHoursToday | Number:Energy | Watt Hours Today |
| wattHoursSevenDays | Number:Energy | Watt Hours Last 7 Days |
| wattHoursLifetime | Number:Energy | Watt Hours Lifetime |
| wattsNow | Number:Power | Watts Now |
| channel | type | description |
|--------------------|---------------|---------------------------------------|
| wattHoursToday | Number:Energy | Watt hours produced today |
| wattHoursSevenDays | Number:Energy | Watt hours produced the last 7 days |
| wattHoursLifetime | Number:Energy | Watt hours produced over the lifetime |
| wattsNow | Number:Power | Latest watts produced |

The `inverter` thing has the following channels:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public void initialize() {
configuration = getConfigAs(EnvoyConfiguration.class);
if (!EnphaseBindingConstants.isValidSerial(configuration.serialNumber)) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "Serial Number is not valid");
return;
}
if (configuration.hostname.isEmpty()) {
updateStatus(ThingStatus.ONLINE, ThingStatusDetail.CONFIGURATION_PENDING,
Expand Down

0 comments on commit d814d2f

Please sign in to comment.