Hello…
I have direct Modbus connection with land cable
The connection seems to be very stable.
And I gave full functionality with sensors… And energy too (no battery)
But… Sometimes… Without any regularity…
It shows unavailable…
And I can’t understand why…
My HA log has this error…
Can anyone understand it?
And help me to solve it?
Regards…
Logger: homeassistant.components.modbus.modbus
Source: components/modbus/modbus.py:250
Integration: Modbus (documentation, issues)
First occurred: 23 de setembro de 2021 23:57:54 (15 occurrences)
Last logged: 21:20:03
Pymodbus: Solar: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)
Pymodbus: Solar: Exception Response(131, 3, SlaveFailure)
my modbus code
modbus:
- name: Solar
type: tcp
close_comm_on_error: false
host: 192.168.1.76
port: 502
delay: 2
timeout: 15
sensors:
- name: Solar SunPower
slave: 1
address: 32080
unit_of_measurement: W
data_type: int32
count: 2
scale: 1
precision: 0
scan_interval: 1
- name: Solar GridPower
slave: 1
address: 37113
unit_of_measurement: W
data_type: int32
count: 2
scale: 1
precision: 0
scan_interval: 1
- name: Solar Inversor Temperatura
slave: 1
address: 32087
unit_of_measurement: ºC
data_type: int
count: 1
scale: 0.1
precision: 0
scan_interval: 60
- name: Solar Produção do Dia
slave: 1
address: 32114
unit_of_measurement: kWh
data_type: uint32
count: 2
scale: 0.01
precision: 2
scan_interval: 60
- name: Solar Produção Total
slave: 1
address: 32106
unit_of_measurement: kWh
data_type: uint32
count: 2
scale: 0.01
precision: 2
scan_interval: 120
- name: Solar Grid_OUT Total
slave: 1
address: 37119
unit_of_measurement: kWh
data_type: int32
count: 2
scale: 0.01
precision: 2
scan_interval: 120
- name: Solar Grid_IN Total
slave: 1
address: 37121
unit_of_measurement: kWh
data_type: uint32
count: 2
scale: 0.01
precision: 2
scan_interval: 120
Hi guys,
I am new here, Have been playing around with this super awesome integration for a couple day.
May i ask how can i create a sensor for inverter startup and shutdown time with the full format like
Inverter startup time: “2021-09-26T23:16:02+00:00” and add +7hour due to GMT+7 time to
“2021-09-27T06:16:02+00:00” and sorry for my bad English.
P.S. Thanks a lot for you guys hard work! It’s pretty amazing what has been done so far!
Does anyone have a similar reading case, it disrupts my monthly and annual readings, but not the total. It turns out that the error comes from pv_string_01_voltage
I’m also getting wrong readings, that’s why I stopped using smart dongle and I’m connecting again to internal wifi AP. With internal AP I had never got any wrong readings.
In a my old configuration I had similar issue on an utility meter sensor based to template. This happened at HA restart.
I am not an expert but maybe it could be caused to the temporary unavailablity values of some sensor included into the template.
I don’t know why, but for a few days I can’t connect to the dongle anymore.
I do a “ncmli device wifi” and it shows me SUN2000-HV20C0028779 for some time. Then it wifi AP disappears, and maybe reappear.
When I try to connect “nmcli d wifi connect SUN2000-HV20C0028779 password xxx” it gives me “Error: Connection activation failed: (53) The Wi-Fi network could not be found.” or after 1 minute or so “Error: Connection activation failed: (7) Secrets were required, but not provided.”
Any idea what’s going wrong here? It was working fine for the last 2 month since I got it. Dongle fw version seems to have auto-updated to v123
hi from yesterday have a 2 strings of panels .in data I receive for any string power in A and Voltage for string .how is easiest way to calculculate sensor which show kwh or wh for string in that moment .like to see in real time separate for every string