meltaxa / solariot

Leverage your IoT enabled Solar PV Inverter to stream your solar energy usage data to a real time dashboard.
https://solariot.live
MIT License
201 stars 69 forks source link

ERROR:pymodbus.client.sync:Connection to (IP ADDRESS, 502) failed: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond #43

Closed bdog720 closed 2 years ago

bdog720 commented 3 years ago

model = "sungrow-sg5kd" timeout = 60 scan_interval = 60

I've tried multiple time outs (60 is the most I've tried)

It is strange because if I restart the script it works every time

michael-robbins commented 3 years ago
inverter_ip = "my.magical.host.name"
inverter_port = 502

slave = 0x01
model = "sungrow-sg5kd"
timeout = 10
scan_interval = 300

And it's working fine for me? Latest docker image/etc

Looking back at the last 24 hours of logs there's no random errors/etc, seems to have been working while the inverters online (it turns off overnight and there's disconnect errors/etc)

meltaxa commented 2 years ago

Try the latest code which addresses a pymodbus version issue.