Open jmnemonicj opened 1 year ago
Hi, are able to test new version of the binding? Beta support for (https://github.com/StephanJoubert/home_assistant_solarman/blob/main/custom_components/solarman/inverter_definitions/sofar_g3hyd.yaml) is there.
Hi Piotr,
I got issue when trying to install the binding v0.4.0. The binding is installed but couldn't actiavate it. Check my console log below:
openhab> bundle:list 301 START LEVEL 100 , List Threshold: 50 ID │ State │ Lvl │ Version │ Name ────┼───────────┼─────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 301 │ Installed │ 80 │ 0.4.0 │ openHAB Add-ons :: Bundles :: LswLogger Binding openhab> bundle:status 301 Installed openhab> bundle:start 301 Error executing command: Error executing command on bundles: Error starting bundle 301: Could not resolve module: org.openhab.binding.lswlogger [301] Unresolved requirement: Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.component)(version>=1.5.0)(!(version>=2.0.0)))"
My Openhab version is 3.4.4,
and I hope I checked the right budle for osgi version: openhab> bundle:update org.osgi.service.jaxrs openhab> bundle:list 226 START LEVEL 100 , List Threshold: 50 ID │ State │ Lvl │ Version │ Name ────┼────────┼─────┼────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 226 │ Active │ 80 │ 1.0.0.201802012106 │ org.osgi:org.osgi.service.jaxrs
As per last changes I made support for openhab 4.x but lost support for 3.x.
Are you planning to jump to openhab 4? Having support for both main version may be beyond my resources :(
Hi Piotr,
I have tried that one already before but got error when iniciating the thing:
Status:
UNINITIALIZED
HANDLER_INITIALIZING_ERROR
UID segment ’ loadSysActivePower’ contains invalid characters. The last segment of the channel UID must match the pattern ‘[\w-]|[\w-]#[\w-]*’.
I;ve released a patch 0.4.1
I've rewrite a little handling states and scheduling tasks. It turns out that in some cases whole bunch of tasks were cancelling without reason.
Please test following version - https://drive.google.com/file/d/1_jh84I7J4X_cY9aU1RZUHWJ6w2iapyEE/view?usp=drive_link
Please set refresh time to 50 or less.
I have tried the same pair of registers as defined for HYD 5-20KTL-3PH (It seems to be the similar model No.): 0x0404 | 0x0420
My config: Logger: SN 2378293364 Logger Module Version No: LSW3_15_270A_1.68 Extended System Version: V1.1.00.10
Inverter: Sofar HYD 10KTL-3PH-PRO SN: SP2ES110N6Mxxx HW Ver: V001 SW Vice Version: 0000 SW Master Ver 2: 0000 Protocol Version: 1.08 Master SW Version: V100013 Vice SW Version: V10013 Standard main version: 0800 Communication CPU SW Version: V100010
My debug data for registers 0x0404 - 0x0420: 2023-06-06 21:48:40.246 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Debugthing_Debugresponse' changed from A5:01:00:10:47:00:3E:74:E0:C1:8D:00:38:15: to A5:4B:00:10:15:00:3F:74:E0:C1:8D:02:01:1C:8B:21:00:C7:12:00:00:6C:02:5E:64:01:03:38:00:00:00:00:00:00:00:00: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2D:00:00:00:20:00:00:00:00:00:00:00:00:00:00:C9:DF:56:15: 2023-06-06 21:49:25.251 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Debugthing_Debugresponse' changed from A5:4B:00:10:15:00:3F:74:E0:C1:8D:02:01:1C:8B:21:00:C7:12:00:00:6C:02:5E:64:01:03:38:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2D:00:00:00:20:00:00:00:00:00:00:00:00:00:00:C9:DF:56:15: to A5:01:00:10:47:00:40:74:E0:C1:8D:00:3A:15: ... 2023-06-06 21:50:40.263 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Debugthing_Debugresponse' changed from A5:01:00:10:47:00:40:74:E0:C1:8D:00:3A:15: to A5:4B:00:10:15:00:42:74:E0:C1:8D:02:01:95:8B:21:00:3F:13:00:00:6C:02:5E:64:01:03:38:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2D:00:00:00:20:00:00:00:00:00:00:00:00:00:00:C9:DF:4B:15: ... 2023-06-06 21:52:40.276 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Debugthing_Debugresponse' changed from A5:4B:00:10:15:00:42:74:E0:C1:8D:02:01:95:8B:21:00:3F:13:00:00:6C:02:5E:64:01:03:38:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2D:00:00:00:20:00:00:00:00:00:00:00:00:00:00:C9:DF:4B:15: to A5:4B:00:10:15:00:45:74:E0:C1:8D:02:01:0C:8C:21:00:B7:13:00:00:6D:02:5E:64:01:03:38:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2D:00:00:00:20:00:00:00:00:00:00:00:00:00:00:C9:DF:3F:15: 2023-06-06 21:53:40.282 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Debugthing_Debugresponse' changed from A5:4B:00:10:15:00:45:74:E0:C1:8D:02:01:0C:8C:21:00:B7:13:00:00:6D:02:5E:64:01:03:38:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2D:00:00:00:20:00:00:00:00:00:00:00:00:00:00:C9:DF:3F:15: to A5:01:00:10:47:00:46:74:E0:C1:8D:00:40:15: ... 2023-06-06 21:54:40.290 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Debugthing_Debugresponse' changed from A5:01:00:10:47:00:46:74:E0:C1:8D:00:40:15: to A5:4B:00:10:15:00:47:74:E0:C1:8D:02:01:84:8C:21:00:2F:14:00:00:6D:02:5E:64:01:03:38:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:2D:00:00:00:20:00:00:00:00:00:00:00:00:00:00:C9:DF:32:15: