Recently I started wondering why my mobile phone wasn't marked away reliably anymore.
Tue May 7 18:41:03 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue May 7 18:41:03 2019 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated due to inactivity
Tue May 7 18:41:03 2019 user.debug /usr/lib/hass/push_event.sh: push_event wlan0 AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Tue May 7 18:41:03 2019 user.debug /usr/lib/hass/push_event.sh: push_event ignored as device is still online
Tue May 7 18:41:04 2019 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
It seems the is_connected check comes a little too early for the device to be disassociated on the wireless interface already
Recently I started wondering why my mobile phone wasn't marked away reliably anymore.
It seems the
is_connected
check comes a little too early for the device to be disassociated on the wireless interface already