So it seems that the WiFi to the inverter has been dropping out recently and it's become an annoyance.
First step is to get some monitoring in Home Assistant - basic ping ('is it on the network') stuff.
In config*.yaml:
# Ping sensor for Givenergy WiFi monitoring
binary_sensor:
- platform: ping
host: 192.168.1.201 #Your inverter fixed IP here
name: "Givenergy WiFi"
count: 5
scan_interval: 60 #Choose what you want for this and the scan count
HACS frontend: add "Uptime Card", which can go into a dashboard. It's configured in yaml like so:
type: custom:uptime-card
entity: binary_sensor.givenergy_wifi
icon: mdi:raspberry-pi
name: Givenergy WiFi
hours_to_show: 1
status_adaptive_color: true
color:
icon: grey
show:
footer: false
alias: {}
bar: {}
update_interval: 60
Choose your own names and values for update interval.
Learnings? So far the WiFi connection has been flaky, as suspected... Improvements have been made by (a) moving router channel to somewhere quieter; (b) getting adjacent radio devices like Zigbee and other 2.4Ghz WiFi out of the way; (c) reducing the router channel bandwidth from Auto (20/40MHz) to 20Mhz only.
Also - the Givenergy dongle doesn't seem to like a router restart (at least for my Billion router) so maybe keep restarts to periods when you can keep an eye on things.
Hopefully this helps somebody.