Skip to content

Commit

Permalink
[growatt] Suggest addon to be installed (#16319)
Browse files Browse the repository at this point in the history
* [growatt] Suggest addon
* [growatt] fix read me formatting errors

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
  • Loading branch information
andrewfg committed Feb 4, 2024
1 parent ef7e03c commit 8d9fe03
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bundles/org.openhab.binding.growatt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ The meaning of the method parameters is as follows:

Notes:

-1) ***WARNING*** inverters have different program `time segment`'s for each `programMode`.
-<sup>1)</sup> ***WARNING*** inverters have different program `time segment`'s for each `programMode`.
To prevent unexpected results do not overlap the `time segment`'s.

-2) Depending on inverter type and `programMode` certain parameters may accept 'null' values.
The 'mix', 'sph' and 'spa' types set the battery program in a single command, so all parameters - except `enableAcCharging` - <u>**must**</u> be ***non-***'null'.
-<sup>2)</sup> Depending on inverter type and `programMode` certain parameters may accept 'null' values.
The 'mix', 'sph' and 'spa' types set the battery program in a single command, so all parameters - except `enableAcCharging` - <u>**must**</u> be ***non-*** 'null'.
By contrast 'tlx' types set the battery program in up to four partial commands, and you may pass 'null' parameters in order to omit a partial command.
The permission for passing 'null' parameters, and the effect of such 'null' parameters, is shown in detail in the table below:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,16 @@
<description>This is the binding for Growatt solar inverters.</description>
<connection>hybrid</connection>

<discovery-methods>
<discovery-method>
<service-type>process</service-type>
<match-properties>
<match-property>
<name>commandLine</name>
<regex>.*grott\.py.*</regex>
</match-property>
</match-properties>
</discovery-method>
</discovery-methods>

</addon:addon>

0 comments on commit 8d9fe03

Please sign in to comment.