4 ms·
Right - but if you're bolting on a Raspberry Pi, there's no way for it to know "live usage of WiFi" - only the router knows that
by alistairjcbrown 11y ago
Right - but if you're bolting on a Raspberry Pi, there's no way for it to know "live usage of WiFi" - only the router knows that
- ShinyCyril 11y agoI think the point being, why even use the Raspberry Pi in the first place given that most routers (even a lot of consumer ones) maintain a list of currently connected users.
- alistairjcbrown 11y agoDo many routers make that data easily accessible for automated use? From my experience, it requires work to get at that data.
- ShinyCyril 11y agoIt depends on your definition of easily accessible. For example, on my TP-Link W8961N you can use Python's Requests library, Beautiful Soup and HTTP Basic Auth to retrieve and parse the client list.
- OJFord 11y agoSeeing as how rarely router firmware is upgraded (and even then, surely less likely the UI!) - I think you're pretty safe automating a scrape of the HTML table.
- ozten 11y agoDon't most routers support SNMP? Seems like another good vector for data.