[ST Edge] Web Requestor: a driver to issue local POST and GET HTTP requests

I don’t see any other issue with the format itself. The 200 code means the device accepted the command and there were no errors.

Have you tried this same thing from a browser to see if it works?

I don’t believe so, but there is a LifX Edge driver that allows control of the bulbs locally and you can just create the scenes in SmartThings.

Could I use this driver to implement support for my Daikin mini split that uses HTTP REST commands?
https://community.smartthings.com/t/release-daikin-wifi-split-system-v1-4-1/113676/180

Yes, you could probably use it if their API is straight-forward. That will work OK for for issuing basic static commands. You can’t get the original driver author to port it to Edge?

Ah so it’s more for static commands? Gotcha.

There hasn’t been any developpement in the past 4 years and @bendews hasn’t been active here since Nov 2019, it was during the ST classic days.

Do you have a link for this LifX Edge driver? I can’t seem to find it via search.

You should be able to find it in this thread.

2 Likes

Thank you! Not sure how I missed that!

@TAustin This is an exact use case I was looking for as well. Display the response from the Web Requestor in another device. I was racking my brain on how to accomplish this without using the API but I think you are right since Rules won’t let you use variables nor set a value to the value of another device. Would be an awesome use case for another driver though where a device uses the web requestor behind the scenes to set the value of that device. Not sure that’s possible though…

@TAustin I have a NodeMCU (ESP8266) with various inputs and outputs. I can control the outputs and also poll it to get the status of inputs, but is there a listener that can respond to messages when an input changes?

When you say a “listener”, are you thinking of a SmartThings device that could receive data from the device?

There are lots of ways to set something like that up. If you have coding skills, there is a SmartThings SDK that would allow your device to integrate directly with SmartThings via their direct connect interface. But that relies on an active internet connection. If you want something that operates strictly locally, there are various other things you can do.

Direct message me with more info on what you want to do, since this is a bit outside the scope of this web requestor topic.

Im using ‘Generic HTTP Device V1’ groovy script to control Esp8266s running some code I found online. It uses GET to flick a switch on or off in the ESPs web server, which controls a server attached to my blinds.

Will this be able to replace that? Sorry if this is a silly question, Im lucky to get the above working as I’m not that technical. Would be great to continue using my blinds this way, as I assume the groovy DTH will cease atbthe end of the year.

Many thanks.

K.

Yes you can use this driver to do the same thing except it will execute locally.