I have a router made by Gl-inet. Their routers run a modified version of OpenWRT. As part of their modification they have a very full featured API, everything from client lists to VPN status. It even accepts POSTS to change many states.
- VPN control (OVPN, WG, ShadowSocks)
- LTE Modem control incl SMS
- Client lists
- Firewall and port forwarding
- Public IP
- BLE controller
I am thinking about developing an integration for these routers. However I’m not sure where to start. One could certainly use it for presence detection as a start.
What class of device would it be? Local polling? Or best to build several separate integrations for the different functions?
There is no python library for the API - should I start there?
Can anyone point me in the direction of an integration that has done something similar so I can know where to start?
Edit: I have now made a first draft that does device tracking only.