mueslo / openwrt_hass_devicetracker

Simple OpenWRT package which forwards device connection changes to a HomeAssistant instance
GNU General Public License v3.0
92 stars 31 forks source link

Consider using the openwrt ubus #1

Closed janLo closed 6 years ago

janLo commented 6 years ago

If Openwrt/Lede is your target you can easily use ubus for querying the associated stations. Getting the assigned leases might also be possible.

See https://github.com/janLo/OpenWRT-Wifi-Clients-POC as an example.

mueslo commented 6 years ago

Already implemented locally, but not ready as a commit yet. But only so far as to run a daemon to ensure hostapd_cli keeps running when APs come up and down. The whole idea was to keep this event driven, not cron-based.