HarvsG / gli4py

A python wrapper for the GL-inet firmware version 4 API
GNU General Public License v3.0
0 stars 1 forks source link

API RPC discussions #1

Open HarvsG opened 3 days ago

HarvsG commented 3 days ago

See https://github.com/HarvsG/gli_py/issues/1

HarvsG commented 3 days ago

@Trolann

Moving the discussion here as this is the most up to date repo

I'd be interested in working together to develop a library and integration with a view to merging into HA core.

I see your point about having a minimal python library that enumerates Vs a hard coded one. Although I think the HA core team prefers the heavy lifting to be done on the library side especially basic error handling and retries etc.

Hardware testing wise I have a Beryl and a convexa.

I'd be happy to give you write access to this repo, but I understand if you'd prefer to fork

Also OpenWRT, which GL inet is based uses a JSON RPC API https://documenter.getpostman.com/view/14290/SzKPUgEo so it's important to check we're not just duplicating https://www.home-assistant.io/integrations/luci/

HarvsG commented 3 days ago

Here is the internet archive of the old API documentation which gives quite a comprehensive list of endpoints. https://web.archive.org/web/20240121142533/https://dev.gl-inet.com/router-4.x-api/