plewin / tp-link-modem-router

Goodies for TP-Link modem routers
GNU General Public License v3.0
82 stars 17 forks source link

Prometheus endpoint progress #17

Open retrojon opened 2 years ago

retrojon commented 2 years ago

Hi there. Currently using the api-bridge application through Docker - works well!

I tried /monitoring/metrics and the result is WIP. It would be interesting to have this feature to telemetry and log/chart values (4G stats, toggle guest wifi.)

Is any work being planned for this and/or can you supply some pointers where in the code I would start in to add this?

Thanks

plewin commented 2 years ago

Hey, it was planned but unfortunately I don't have a working router anymore so I can find no motivation to work on this. Any development is cancelled/halted.

Implementing telemetry is a lot of work because it requires finding all the controllers to call and how to call them.

I just checked github with some controller names I knew and turns out it seems there is 1 project that seems to have identified the right calls to make so maybe check it out or reach them ? https://github.com/hercule115/TPLink-Archer/blob/main/archer.py

Best regards,