dcmeglio / hubitat-packagemanager

BSD 3-Clause "New" or "Revised" License
150 stars 56 forks source link

Suggestion: Use JSON from /device/drivers #54

Closed markus-li closed 4 years ago

markus-li commented 4 years ago

Instead of parsing html, why not use the JSON available at "/device/drivers"? Unfortunately there is no such API for Apps as far as I know.

dcmeglio commented 4 years ago

I guess because I didn't know it existed. What page calls that API endpoint?

markus-li commented 4 years ago

It's loaded when opening a device page. I would assume for the driver selection list.