Matter over WiFi devices stop being controllable - need to disable wlan0 power saving I think

Hi All,
Most of my devices are zigbee and work perfectly. I have a few Matter over WiFi devices. They stay connected to the dedicated access point I have set up for that network. The Pi 5 I'm using HAOS on drops off that network. wlan0 has power saving on. I want to disable power saving. I found how to do it but I can't persist my nmcli commands. The filesystem is read only so i can't make the NetworkManager config file.

I'm logged into the console with the login command, I've also tried the openssh admin on 22222 thing with the addon for HAOS COnfigurator. No luck.

I know others have run into this issue. Isn't there a simple way to disable power savings on HAOS for the WiFi NIC. I can configure the IP address, gateway, etc. would be sweet to have a checkbox for power savings on/off.

If anyone's got it working I would appreciate your help.
Thanks!

PS: This works for the current boot, but when the PI reboots, this setting is lost
nmcli connection modify "" 802-11-wireless.powersave 2

I replace with the UUID of the connection. Then I can check with nmcli connection show and I can see power save is now 2 (disabled).

I just can't get that to persist through reboots.

Src: Google Search

I figured it out. You can't edit the filesystem directly.
You must use this command to persist changes:

nmcli connection edit "YOUR_CONNECTION_NAME"
set 802-11-wireless.powersave 2
save persistent
quit

It is likely that you will run into other problems running your HA Server on WIFI. Most people here suggest that only an Ethernet hard wire be used to make sure the connection is always maintained.

If you (in the future) have problems that you ask someone for help with, be sure to mention that you are on WIFI with the server to speed thing up troubleshooting (for instance).

Thanks for taking the time to reply.

I am not running my HA server on WiFi.

The server runs on the LAN NIC. This is connected to our home LAN which our PCs and other human interface devices run on.

The WiFi NIC on the PI is a WiFi client on to a dedicated AP which I use for the Matter WiFi network. I'm isolating the Matter WiFi devices because they have no need to have access to our home LAN, our PCs, tablets, server (not HA OS), etc. I don't want them to be used as attack vectors to our home network, if that makes sense.

My PI's WiFi NIC is a client of the dedicated AP I set up for the Matter WiFi network, just like all the WiFi Matter IoT devices are.

Even with power saving disabled, I see the WiFi NIC goes down on the PI after a few hours. This is quite unusual. The NIC should not be dropping off the WiFi network after a few hours.

If I reboot the PI it is up and I can control the Matter WiFi devices.

I'm finding other people with this issue online and looking at what some may have done.

Thanks!

1 Like