Controlling devices via HTTP

I have a device that has an inbuilt http server which allows you to turn things ON/OFF through HTTP: (just an example below)
ON: http://IPADR/device1/on
OFF:http://IPADR/device1/off

Whats the best way to control this? Can i create a virtual button of some sort for this?

You can use webhooks for this. If you like, you can trigger this webhook by a virtual button, yes…

Like this in a Flow:
Clipboarder.2021.02.16-002

2 Likes

omg - thanks for this.