Hi I’m a beginner developer. I have a question.
My backend server is a Java based spring boot server.
I’m trying to call home api, but the official api document only has examples of node.js or javascript.
Is it possible to call homey api from spring boot to java in rest api or is it possible only by opening socket.io to communicate?
The WebAPI (http based REST API) is primary used for “official” access via Athom cloud. Therefore you need client ID/secret to use the API including oAuth authorization.
But…HomeyPro23 has a local API key generator for “local” API access to Homey itself (not via Athom cloud).
If this is what you need, then you can use the http endpoints to call your Homey via LAN.
Use the local API key as Bearer token.