Tried to control my Ngenic thermostat from Homey. I think this works:
-
Install https://homey.app/en-us/app/com.internet/HTTP-request-flow-cards/
-
Setup a flow with the PUT JSON (A40) card with the following parameters
Text 1 (url): { “method”: “put”, “protocol”: “https:”, “hostname”: “app.ngenic.se”, “port”: 443, “path”: “/api/v3/tunes/{tune-id}/rooms/{room-id}”, “headers”: {“authorization”: “Bearer your-id”, “content-type”: “application/json”}}
Text 2 (json data): {“targetTemperature”: 20.0}
Replace tune-id, room-id and your-id with the identification info relevant for your installation. A tutorial on how to access these can be found at https://developer.ngenic.se/