A Bot through which the Clients of Freewifi.by get the wi-fi connection statistics from their hotspots.
The data is fetched from two remote databases:
radius.radacct
(FreeRADIUS server)wifi_wp_base.wp_proxy_entries
(WordPress SMS-auth plugin)
Then it gets processed, saved to the local Cache
for a quicker subsequent access, and sent to a user in a
formatted .xlsx file:
- Passwordless authentication via deep linking, fail2ban
- Logging of all the incoming and outgoing messages
- Sqlite ORM (Yes, I am aware of sqlalchemy, just wanted to practice:)
- Line charts for the unique hotspot users over the given period
Special thanks for the awesome libraries:
- eternnoir pyTelegramBotAPI
- jmcnamara XlsxWriter
Full list in requirements.txt