Greetings all,
I will post this here, because I couldn´t find documentation on my "problem".
The solution came with some trial-and-error.
First my setup and problem.
I have an instance of Home Assistant running in a VM on Proxmox. I wanted to connect a Zwave, ZigBee and DSMR (dutch smart meter) to that HA instance. The tricky part is, the DSMR is in my meter cupboard.
Because this meter cupboard is in a fairly central place, I wanted to place the Zwave and ZigBee antenna there as well.
I decided that via MQTT all three could send there date to HA. A Pi zero 2 W with a POE HAT is ideal for this use-case.
After configuring the unit I noticed there was a problem. The unit kept losing connection after a couple of hours.
The " aha..." moment.
If I pinged the unit it would stay connected. There were no other messages in the logs so eventually I figured it had to be related to the ethernet port.
I read that the WiFi on the pi's could lose connectivity through power saving mode. So perhaps the ethernet port does the same.
I did a search and lo and behold, the port has EEE funcitionality enabled bij default.
After disabling the eee the unit stayed online:The solution.
Past the 24h online mark, I decided to make the change permanent. (Persistent after reboot)
One needs to excecute the ethtool after the boot process. This is done via.
If this file doesn't exist on your system create it with or just use .
Then use your favorite text/code editor and paste or add the folowing lines.
paste:add:and this concludes my small, yet annoying quest for network connectivity.
Thank you for reading this and I hope some of you can use this.
Cheers!
I will post this here, because I couldn´t find documentation on my "problem".
The solution came with some trial-and-error.
First my setup and problem.
I have an instance of Home Assistant running in a VM on Proxmox. I wanted to connect a Zwave, ZigBee and DSMR (dutch smart meter) to that HA instance. The tricky part is, the DSMR is in my meter cupboard.
Because this meter cupboard is in a fairly central place, I wanted to place the Zwave and ZigBee antenna there as well.
I decided that via MQTT all three could send there date to HA. A Pi zero 2 W with a POE HAT is ideal for this use-case.
After configuring the unit I noticed there was a problem. The unit kept losing connection after a couple of hours.
The " aha..." moment.
If I pinged the unit it would stay connected. There were no other messages in the logs so eventually I figured it had to be related to the ethernet port.
I read that the WiFi on the pi's could lose connectivity through power saving mode. So perhaps the ethernet port does the same.
I did a search and lo and behold, the port has EEE funcitionality enabled bij default.
After disabling the eee the unit stayed online:
Code:
sudo ethtool --set-eee eth0 eee off Past the 24h online mark, I decided to make the change permanent. (Persistent after reboot)
One needs to excecute the ethtool after the boot process. This is done via
Code:
/etc/rc.localIf this file doesn't exist on your system create it with
Code:
sudo finger /etc/rc.localCode:
sudo vim /etc/rc.localThen use your favorite text/code editor and paste or add the folowing lines.
paste:
Code:
#!/bin/sh -e## rc.local## Disabling EEE on eth0 for the poe hat. If this isn't done the Pi Zero 2W will lose connectivity.ethtool --set-eee eth0 eee offCode:
ethtool --set-eee eth0 eee off Thank you for reading this and I hope some of you can use this.
Cheers!
Statistics: Posted by MrMark79 — Tue Feb 17, 2026 10:48 am