This object is in archive! 

Using HTTP Request to set Virtual Sensor/Switch?

TorM shared this question 4 years ago
Need Answer

Hi,


I want to send a HTTP Request from a rule, to set the state of a virtual switch or sensor. How do I find out the URL to put in the HTTP Request? (I read in the forum that it can be found in Device Manager, but I cannot find it)

Comments (1)

photo
1

Device Manager > Virtual > [Choose your virtual switch] > expand it to the lower item in the tree > click on the gear on the right, related to the lower item in the tree.

Here you will find the url you have to call. Obviously you have to add true or false if you want to switch on or off your virtual switch.