Help with Scene

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}

1 Like

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!

1 Like

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!