As said before the hub number and deviceId are different things. The hub can controll multiple devices.
request body is what you send
and
response is what the api will return
As said before the hub number and deviceId are different things. The hub can controll multiple devices.
request body is what you send
and
response is what the api will return
enter this in browser to get the information from your hub
http://hoz3.com/restful/support/hubs/{hubId}
Hi just an update thank you very much it works perfectly! It was the controller after resetting it works perfectly! Absolutely stunning job thank you very much for your help!
Would you be able to make another script for me? This time I would like to change the mode.
POST https://hoz3.com/restful/support/hubs/{{hubId}}/controllers/actions/setMode
Request Body
{
ācontrollerIDsā:[{controllerId}],
āmodeā:{mode}
}
Response
{
āerrorCodeā: 0
}
same script just edit this section to reflect the new json
local payload = {"854RT"}
ā edit for mode
local ModeValue = "some value"
local request_body = {controllerIDs = payload, mode = ModeValue}
Sorry for the late reply! Thank you very much great job I really appreciate your help!
Best Home Automation shopping experience. Shop at Ezlo!
Ā© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules