luci-app-wifihistory: add WiFi station history tracking#8293
luci-app-wifihistory: add WiFi station history tracking#8293systemcrash merged 1 commit intoopenwrt:masterfrom
Conversation
1b870ed to
bec11f2
Compare
applications/luci-app-wifihistory/root/usr/libexec/rpcd/luci.wifihistory
Outdated
Show resolved
Hide resolved
feckert
left a comment
There was a problem hiding this comment.
Wouldn't it perhaps make sense to rewrite the service in ucode? That would be more efficient, since this is a service.
applications/luci-app-wifihistory/root/etc/uci-defaults/40_luci-app-wifihistory
Outdated
Show resolved
Hide resolved
applications/luci-app-wifihistory/root/usr/libexec/rpcd/luci.wifihistory
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1d4768f to
9d80cb3
Compare
|
Thanks for rewriting this in ucode 👍
|
9d80cb3 to
26aff09
Compare
Alright, done. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
CI/CD for |
applications/luci-app-wifihistory/htdocs/luci-static/resources/view/status/wifihistory.js
Outdated
Show resolved
Hide resolved
applications/luci-app-wifihistory/htdocs/luci-static/resources/view/status/wifihistory.js
Outdated
Show resolved
Hide resolved
applications/luci-app-wifihistory/htdocs/luci-static/resources/view/status/wifihistory.js
Outdated
Show resolved
Hide resolved
26aff09 to
da635cd
Compare
Hopefully, CI/CD for |
feckert
left a comment
There was a problem hiding this comment.
LGTM We're almost done. Please take another look at my review comments.
Thanks for your work 👍
applications/luci-app-wifihistory/htdocs/luci-static/resources/view/status/wifihistory.js
Show resolved
Hide resolved
applications/luci-app-wifihistory/htdocs/luci-static/resources/view/status/wifihistory.js
Show resolved
Hide resolved
applications/luci-app-wifihistory/root/usr/share/rpcd/acl.d/luci-app-wifihistory.json
Show resolved
Hide resolved
da635cd to
af12501
Compare
Alright, thank you. |
All review comments addressed. Thanks for the thorough review. |
applications/luci-app-wifihistory/root/usr/share/rpcd/acl.d/luci-app-wifihistory.json
Outdated
Show resolved
Hide resolved
applications/luci-app-wifihistory/root/usr/share/rpcd/acl.d/luci-app-wifihistory.json
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
af12501 to
c4fdb6c
Compare
|
@feckert , you're right, the file access is handled through the rpcd ucode plugin, so direct file ACL entries aren't needed. I have removed both. |
This comment has been minimized.
This comment has been minimized.
Add a new application that tracks WiFi associated stations over time and displays history of connected devices. A ucode service polls iwinfo assoclist and persists station data to a JSON file. The LuCI view shows connected/disconnected status, MAC, hostname, signal, and timestamps. Closes: openwrt#8109 Signed-off-by: Deborah Olaboye <deboraholaboye@gmail.com>
c4fdb6c to
60e5dc8
Compare
This comment has been minimized.
This comment has been minimized.
|
Merged. Thanks @DeborahOlaboye ! |
Signed-off-by: <my@email.address>row (viagit commit --signoff)<package name>: titlefirst line subject for packagesPKG_VERSIONin the MakefileDescription
Add a new
luci-app-wifihistorypackage that tracks WiFi associated stations over time, addressing the lack of persistent station history in OpenWrt.Currently
iwinfo assoclistonly returns live data once a client disconnects, it disappears. This package solves that by:iwinfo assoclistvia ubus every 30 secondsluci-rpc getHostHints/var/lib/wifihistory/history.jsonThe LuCI view at Status > Station History displays a table with:
Similar to AVM FritzBox's "not connected stations" feature.