Itsyhome exposes a local HTTP webhook server (default port 8423) and a URL scheme (itsyhome://).
Prerequisites: Itsyhome Pro, webhook server enabled in Settings → Webhooks.
All control and query happens via curl http://localhost:8423/.
Room/Device format or just DeviceName%20 in URLs{"success": true} or JSON data{"error": "..."} with HTTP 4xxcurl http://localhost:8423/list/devices to find exact namescurl http://localhost:8423/info/# Status
curl http://localhost:8423/status
# List
curl http://localhost:8423/list/rooms
curl http://localhost:8423/list/devices
curl http://localhost:8423/list/devices/Kitchen
# Query
curl http://localhost:8423/info/Office/Spotlights
# Control
curl http://localhost:8423/toggle/Office/Spotlights
curl http://localhost:8423/on/Kitchen/Light
curl http://localhost:8423/brightness/50/Bedroom/Lamp
curl http://localhost:8423/scene/Goodnight
For the full endpoint list, all control actions, and URL scheme reference: see references/api.md.
共 1 个版本