From 8e7881954bc149a8ceb81230835ad0b8ffc4e7c6 Mon Sep 17 00:00:00 2001 From: Andrew Fiddian-Green Date: Sun, 4 Feb 2024 10:06:27 +0000 Subject: [PATCH] [growatt] Suggest addon to be installed (#16319) * [growatt] Suggest addon * [growatt] fix read me formatting errors --------- Signed-off-by: Andrew Fiddian-Green Signed-off-by: Ciprian Pascu --- bundles/org.openhab.binding.growatt/README.md | 6 +++--- .../src/main/resources/OH-INF/addon/addon.xml | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.binding.growatt/README.md b/bundles/org.openhab.binding.growatt/README.md index e960d787437..ab3d5e7fed7 100644 --- a/bundles/org.openhab.binding.growatt/README.md +++ b/bundles/org.openhab.binding.growatt/README.md @@ -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`. +-1) ***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` - **must** be ***non-***'null'. +-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` - **must** 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: diff --git a/bundles/org.openhab.binding.growatt/src/main/resources/OH-INF/addon/addon.xml b/bundles/org.openhab.binding.growatt/src/main/resources/OH-INF/addon/addon.xml index 2c52b5e92ac..74e21ebcbf1 100644 --- a/bundles/org.openhab.binding.growatt/src/main/resources/OH-INF/addon/addon.xml +++ b/bundles/org.openhab.binding.growatt/src/main/resources/OH-INF/addon/addon.xml @@ -8,4 +8,16 @@ This is the binding for Growatt solar inverters. hybrid + + + process + + + commandLine + .*grott\.py.* + + + + +