Maker API needs to include more device data

A few years ago there was a post that requested a way to include device Type in the Maker API.

I would really like this as well, and also include Network ID and Zigbee ID. That old post has evidently just been on the bottom of the circular file for some time. Hopefully this might re-energize the idea?

You can retrieve this by this unofficial API that is utilized when you click Devices in the navigator to populate the devices table. It contains what you are looking for and I use it in NodeRed to collect device attributes:
hub-ip/hub2/devicesList

3 Likes

Great, Thanks!
EDIT: Spoke too soon. That works fine from the url of my browser. Put it in a javascript fetch() in my webserver page and the terrifying CORS error comes up! Isn't there something that can be done in the Hubitat server to allow for cross origins in the same local network?

EDIT #2: Very interesting that some fetch() commands work without CORS errors and others don't. So this url fails:
http://192.168.1.137/hub2/devicesList

Whereas this url works fine with no CORS error!
http://192.168.1.137/apps/api/16/devices?access_token=xxxxxx

Since they both call the Hubitat webserver, what's the difference???