WiFi monitoring and improvements

4 comments started 2023-11-05 last 2023-11-06
Home AutomationHome Assistant
X
#1 x5toledo

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.

G
#2 geoffreycoan

x5toledo You could try using powerline adapters to repeat your wifi near to your inverter.

My inverters are in the garage and couldn't "see" my router in my study, despite it being only 1 floor up and 1 room across the hallway at the front of the house. I already had powerline into the lounge downstairs and the inverters could see that pretty reliably.
I did have occasional powerline dropouts where I had to unplug and plug them back in again but they were pretty stable on the same ring main. Less good working across fuseboxes to our extension so I recently changed to a mesh wifi with 3 nodes.

X
#3 x5toledo

My router is less than six feet from the inverter - which makes the radio space somewhat challenging to add a relay! It’s pretty clear from the measurements that signal strength isn’t problematic but the cluttered spectrum certainly is. Having looked at the sensor this morning the changes made are very effective so far - but time will tell.
If there were a replacement dongle with Cat5 or Zigbee it would be an immediate swap out. I know Zigbee shares the same public band but it’s way more resilient in my deployment than WiFi.
WiFi is unnecessarily challenging on energy kit, Myenergi is just the same. The ping sensor was originally to establish why a Zappi kept dropping out, and it turns out that it has WiFi which is bordering on unreliable.
Extenders/boosters will probably be needed for many Givenergy installations as you describe.

G
#4 geoffreycoan

x5toledo yeah, you’d expect it to work reliably over a 6’ distance. Amazing the cluttered 2.4GHz could cause such problems. I just realised I could probably do something similar in my mesh Wi-Fi as I’ve got a Deco integration to HA that publishes statii for devices being connected or not