2022-12-28 14:41:26.554 WARNING (SyncWorker_0) [homeassistant.util.yaml.loader] YAML file /home/homeassistant/.homeassistant/configuration.yaml contains duplicate key “sensor”. Check lines 25 and 33
2022-12-28 14:41:26.560 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-28 14:41:26.561 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration zcsazzurro which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-28 14:41:31.135 WARNING (MainThread) [homeassistant.components.integration.sensor] sensor.power_generating_spent_zcs could not restore last state unknown: [<class ‘decimal.ConversionSyntax’>]
2022-12-28 14:41:45.192 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template("{% set power = state_attr(‘sensor.fotovoltaico’,‘current’)[‘powerGenerating’] | int(0) %} {{ power }}")
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/template.py”, line 422, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: ‘None’ has no attribute ‘energyCharging’
2022-12-28 14:41:45.318 ERROR (MainThread) [homeassistant.helpers.template_entity] TemplateError(‘UndefinedError: ‘None’ has no attribute ‘energyCharging’’) while processing template ‘Template("{% set energy = state_attr(‘sensor.fotovoltaico’,‘total’)[‘energyCharging’] | float(0) %} {{ energy | round(2) }}")’ for attribute ‘_attr_native_value’ in entity ‘sensor.carica_totale’
Write data to the Inverter.
My Idea is to set the inverters power management modes dynamically in dependence to the current prices for energy. E.g. in the middle of the night use power from the grid and in the early morning hours use the battery instead of the grid.
This should be possible with the manual settings in the inverters settings menu. Yet I do not know if it is possible to switch these modes via modbus.
Hook a modbus logger (/writer?) in between an existing connection between the inverter and a logger by ZCS (Connext)? I have both devices, as the Connext is the link between the inverter and the wallbox, so I need a solution that doesn’t interrupt said connection but still works.
It seems like the Inverter is connected to the Connext via these two connectors in a big block of possible connections. At least that’s what I find in the manuals:
Thanks in advance, should anyone be able to help me!
For the first one, it should be matter of analyzing some write registers (you find addresses and descriptions in above-posted sheets) and then doing a little trial-error to check it’s working like intended.
I somewhere read it’s possible to do such a thing, but haven’t had much spare time to test and set it up.
As for the second one, I think your’re gonna have to make the device yourself, since there’s no way of knowing if a message from the inverter is in response to a connext request, or HA. So you’d have to write some caching mechanism at least, to hold connext requests while HYD is talking with HA.
It’s not unfeasible. You could start from an esp8266 and two modbus modules. One should be a master for HYD, the other a slave for connext, and so on…
IDK. It could be, but still I’m concerned about traffic management. From a first look it seems it has collision avoidance rules, but I cannot state how good it is.
this is an italian product tho, not sold in other places afaik, is the rule still valid in this case?
i can add the english translation to the original message, keeping this english only would probably mean a lot of users of this device may skip this thread
You get the same 2 results if you search for hyd 6000-zss. In other words, there’s only one topic in this entire forum that discusses the device you are using. I suggest you have a look at it and, if it doesn’t already contain the answers you need, post your questions there.
i am aware, i’m also in that thread, the problem is that there is this stupid rule here that doesn’t let me reply more than 3 times in a thread because i am a new user, so the only option is to create a new thread
Hi,
Thanks to all the tips read in this thread I’ve almost successfully integrated a ZCS 1PH HYD5000 ZSS HP inverter.
My inverter is connected with an ethernet adapter.
My configuration is the following
I’ve added to the configuration.yaml file the following line:
modbus: !include modbus.yaml
Then I created a new file called modbus.yaml where I pasted the following code:
This configuration most of the time works great except for some random errors in the values returned by the inverter to Home assistant.
I’m not sure that the problem is the inverter or Home Assistant whatever in the middle.
In the log in Home assistant I have the following entries
Pymodbus: Inverter ZCS: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)
11:53:55 – (ERROR) Modbus - message first occurred at 16 April 2023 at 16:44:19 and shows up 1191 times
Connection to (10.0.0.22, 8899) failed: timed out
11:45:52 – (ERROR) components/modbus/modbus.py - message first occurred at 16 April 2023 at 17:30:10 and shows up 98 times
Received 2 bytes, unpack error unpack requires a buffer of 4 bytes
08:47:07 – (ERROR) Modbus - message first occurred at 16 April 2023 at 18:14:19 and shows up 11 times
And here an example of the wrong value obtained by home assistant.