Set light's status – mistake in BODY when try it
in the API “set light status” function, when you select “TRY IT” in the BODY request you find:
If try with this you receive a 400 error 21, the correct body for K4003C module is:
value accepted is ON or OFF. The same info is in “set light status” definition.
Is the level appliable for some device?
Do you want to use this API to manage a lamp plugged on a electrical outlet ?
In this case, the “POST Set plug’s status” must be used.
If you want to manage the light variation with a light switch, in this case the “POST Set light’s status” must be used
Hoping it will help you,
Have a good day,
Leslie – Community Manager
You must be logged in to reply to this topic.