Local API create a local API server on your Homey.
You can create Endpoints to the app simply by adding a flow card and use it to start a new flow or communicate a variable state in the JSON response.
The Response is always a JSON object.
- Install the app
- Set up the app in the settings page and restart it
- Create a new flow with the Local API app: remember to add the trigger card
- Personalize the flow as you like
- End the flow with at least one of the following cards:
- Respond with ... (remember to add the JSON response)
- Respond with 200
- Save the flow and test it with a browser. The URL is
http://homey-ip:<PORT>/endpoint-name
Don't use this app to expose your Homey to the internet. Its use is intended for local network only.
- Add Port personalization in settings
- Add CORS support
- Add JSON validation
- Add more methods (PUT, OPTIONS)
- Add more translations (You can contribute! Write me a message)
- ... (please suggest)
-
App Icon:
Stephan Photo from Pixabay -
Background Image:
Pete Linforth Photo from Pixabay -
spkesDE:
German translation
If you like this app, please consider a donation to support the development of this app and help me to purchase the new Homey Pro.