wifi-presence
wifi-presence copied to clipboard
Presence detection on OpenWrt routers using connect/disconnect events of WiFi clients. Events are published to MQTT with Home Assistant integration.
Hello there I get this error in the logs when I start wifi-presence: daemon.err wifi-presence[6693]: Error: unable to connect to hostapd control socket "/var/run/hostapd/wlan0": ping error: read error from "PING"...
Hi Adam, Thanks for this great integration! However, my WiFi SSID begins with UTF-8 character and then ASCII one, like `ω=2πf`. In this case, `status` from `hostapd_cli` gives something below,...
Hi Adam, I've noticed that `wifi-presence` does not start cleanly on boot for me. I suspect the issue is that `hostapd` hasn't started yet, and there are no control sockets...
This fixes https://github.com/awilliams/wifi-presence/issues/20 `wpad-*-wolfssl` still exists, but it's not installed by default anymore. In https://github.com/openwrt/openwrt/commit/2630e5063df0240eb0d05cd6e953b2bd412e3215, the default changed to `wpad-basic-mbedtls`. It sounds like that might be a better choice, so...
I'm seeing the following error when I try to build an image with this package installed: > * check_data_file_clashes: Package wpad-basic-mbedtls wants to install file /build/openwrt-imagebuilder-23.05.2-mediatek-mt7622.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/usr/sbin/wpad > But that file...
Have you considered adding support for MQTTS? It feels pretty pointless to me to have my routers sending usernames and passwords unencrytped to my MQTT broker. Thanks for the awesome...
Fixes the issue where HA complains that > MQTT entity name starts with the device name in your config Before, the entity was named: `$device_name $ap_name`. Now, it's named: `$device_mac...
@awilliams Thanks for your work, I like your project. I integrated it with my Openhab. Now I can detect myself at home or my wife. Also, it would be helpful...
A breaking change was [introduced in Home Assistant 2023.8](https://github.com/home-assistant/core/pull/95159) involving naming of MQTT entities. The following warning is logged by Home Assistant: ``` 2023-08-03 10:52:24.376 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity...
When I tried to install this tool as explained in https://github.com/awilliams/wifi-presence#opkg it installed a very old version (0.1.1), while the latest one is 0.3.0. For now I can manually install...