To get the token to do auth authenticated, go to https://developer.athom.com/ and login.
After logging in, open up developer console and go to the network tab.
Look for the URL that ends with /sessions/session/me
. Click on it and on the right should appear another panel showing the header response.
Under request headers, look for the key authorization
and what you need is the token starting after Bearer
In v2, the token changed. Used to be just <HASH>
, now it is <UUID>:<UUID>:<HASH>
which makes it much longer.
With that, you can do a call like
curl -H "Authorization: Bearer <TOKEN>" http://<HOMEY_IP>/api/manager/devices/device
And you should get back a list of your devices