]> git.basschouten.com Git - openhab-addons.git/commitdiff
[growatt] Suggest addon to be installed (#16319)
authorAndrew Fiddian-Green <software@whitebear.ch>
Sun, 4 Feb 2024 10:06:27 +0000 (10:06 +0000)
committerGitHub <noreply@github.com>
Sun, 4 Feb 2024 10:06:27 +0000 (11:06 +0100)
* [growatt] Suggest addon
* [growatt] fix read me formatting errors

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
bundles/org.openhab.binding.growatt/README.md
bundles/org.openhab.binding.growatt/src/main/resources/OH-INF/addon/addon.xml

index e960d787437c8ae4cfc7a6ea21ea98bace406f23..ab3d5e7fed79a41090ba6ad31419423be408984a 100644 (file)
@@ -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:
 
index 2c52b5e92ac0e1b2b08abed488fe0a8fc69f9acd..74e21ebcbf1926e8d77659d10a2c2be3960b6af7 100644 (file)
@@ -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>