Using HomeyPro with Python

Hello! I recently purchased a HomeyPro and I would like to use it with a custom Python script to control the devices connected to it. I noticed that there are web API options available, but I’m not sure where to start. Can you guide me through the steps to use the HomeyPro with the API?

1 Like

Yes you can! An example:

GET /api/manager/devices/device/ HTTP/1.1
Host: 192.168.0.123
Authorization: Bearer <your api key>

Homey web api sdk:

1 Like

Is it only for local connection? Is there any way to use the web API outside the local connection? @diapolon

You can connect by cloud.

https://<cloudid>.connect.athom.com/api/

How to get the cloudID? Can you share the documentation for this cloud API?
Thanks.

You can found your cloud_id at
https://tools.developer.homey.app/tools/system
The guide is the previous