Generic HTTP / webhooks
Where to find the details
For Domoticz, eedomus, Node-RED, ioBroker, scripts… Define devices from your phone (QR page): for each command (on, off, toggle, open, close, stop, press, position, brightness) a method and a path. {value} is replaced by the position or brightness. Optional state call + JSON path (e.g. result.0.Level).
[
{
"id": "lampe-salon",
"name": "Lampe salon",
"kind": "LIGHT",
"commands": {
"on": { "path": "/json.htm?type=command¶m=switchlight&idx=12&switchcmd=On" },
"off": { "path": "/json.htm?type=command¶m=switchlight&idx=12&switchcmd=Off" }
},
"state": { "path": "/json.htm?type=command¶m=getdevices&rid=12" },
"statePath": "result.0.Status"
}
]What to enter
| Type | Generic HTTP / webhooks |
|---|---|
| Address | http://192.168.1.50:8080 |
| Credential | Optional header, e.g. Authorization and its value |
On the TV
- Systems › Add a system, then choose the type.
- Give it a name, then the full address, with
http://orhttps://and the port. - Enter the requested credential: token or key, or user and password in their two fields.
- Press Test: “Connection OK – N devices found” appears.
- Save. Your devices appear in the Types tab.
If it doesn't work
- The TV and the hub must be on the same network. Guest Wi-Fi often isolates devices.
- Include the port in the address:
http://192.168.1.10:8123. - In strict local mode only private addresses are accepted (192.168.x.x, 10.x.x.x, 172.16 to 31, .local names).
- A token pasted with a space or line break is refused: paste it again cleanly.
- Still stuck? The Troubleshooting page explains the error messages.