I found the ESPEasy tool that lets you hack a SONOFF device replacing the original firmware with a version that can be controlled with simple web commands. my goal is to send a simple command like:
http://192.168.1.100/control?cmd=Event,TurnOn to the reprogrammed SONOFF device to turn on a power socket.
The controller works perfectly when I open a browser and type the command. Now I am looking for a way to send that command as part of the show start up sequence in Vixen 3. I did find a program called curl.exe that does the job when I run it from CMD in Windows 10. [curl.exe http://192.168.1.100....} The problem is that when I launch that command as part of the Vixen startup script I get an error message to the effect that curl is a restricted(?) command.
Can anyone suggest a program that will do this or a better approach?
Thanks,
Dave
In display setup, add an RDS controller. Give it one output. Configure the controller to use HTTP, and set up the URL to work with your device. This is a string with a partial replacement. You'll probably want it to look something like http://192.168.1.100/{text} the "{text}" part is the part that gets substituted in with the effects in the timeline. The rest of the string stays the same all the time.
Then in your sequence, use the RDS effect when you want your thing to trigger. Give the effect the parameter you need to send to your device in the text field.
jchuchla wrote:In display setup, add an RDS controller. Give it one output. Configure the controller to use HTTP, and set up the URL to work with your device. This is a string with a partial replacement. You'll probably want it to look something like http://192.168.1.100/{text} the "{text}" part is the part that gets substituted in with the effects in the timeline. The rest of the string stays the same all the time.Then in your sequence, use the RDS effect when you want your thing to trigger. Give the effect the parameter you need to send to your device in the text field.
I'll give it a shot!
Sent from my XT1650 using Tapatalk
On and I forgot to mention. You need to create an element and patch it to that controller output. You put the RDS effect on that element.
This command works from any browser: http://192.168.1.199/control?/cmd=event,TurnOn
I added an RDS control in Vixen with this configuration:
I add a single item and patch it to the control.
I entered TurnOn in the Macro Value(text) box and click Send to test the control. "Data Sent" appears in the corner of the box, but the device does not turn on.
Am I overlooking something obvious?
