I read allot of discussions but there seems to be no one that has my kind of problem or there is no clear answer to me what to do. so here it is:
I use the Goodwe inverter intergration. All seemed to be working after installation but the next day the sensor was not available. (SEMS is still working fine) I started to look at it a few days trying things. What i found out was that the service is back after connecting with the solarGo app. I dont even have to login but only the attempt will do the trick.
i read about yaml changes but there is no code for this. The codes i found to put there didnt do anything. Most are the because of the polling, i dont think thats my problem anyway.
The question now is what do i have to do that it is working in HA without everytime having to activate it.
Hi, I can confirm the problem. I sniffed the packet SolarGO is sending, which causes the data to re-appear in Home-Assistant.
It seems as if running echo "WIFIKIT-214028-READ"|nc -b -u -w1 255.255.255.255 48899 will resolve the issue, so I am adding a shell-command to HA:
and add an automation to trigger this when the sensor value becomes unavaibable:
alias: Reconnect Goodwe on lost connection
description: ""
triggers:
- entity_id: sensor.house_consumption
to: unavailable
trigger: state
- entity_id: sensor.house_consumption
to: unknown
trigger: state
conditions: []
actions:
- action: shell_command.trigger_goodwe
metadata: {}
data: {}
mode: single
I just created the automation, so it is not tested yet
Did this work? I have the same issue. GoodWe disconnects daily from HASS and if I login to the SolarGo app it reconnects. Just wondering before I deploy your fix