Launch HTTP command
 
Notifications
Clear all

Launch HTTP command

11 Posts
4 Users
0 Reactions
11.4 K Views
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago

You're definitely on the right path. Are you sure that's the exact URL that triggers the device. (it looks fishy to me) If you copy and paste that link you posted above into a web browser on the same machine as you're running vixen, does it work?


Reply
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago

I just did a bit of googling on the EasyESP and I think I confirmed the fishy URL issue I hinted at earlier. There's an example URL given as:

http:///control?cmd=event,startwatering

So assuming you have an event called TurnOn, the URL syntax would be:

http://192.168.1.199/control?cmd=event,TurnOn

You had an extra slash after the "?" and before "cmd"

So the URL in the RDS controller would be:

http://192.168.1.199/control?cmd=event,{text}

and sending TurnOn with the test function, or with an effect in a sequence will wrap it with the static part of the URL and send it out as:

http://192.168.1.199/control?cmd=event,TurnOn


Reply
Posts: 191
Topic starter
(@davemck)
Estimable Member
Joined: 10 years ago
jchuchla wrote:You're definitely on the right path. Are you sure that's the exact URL that triggers the device. (it looks fishy to me) If you copy and paste that link you posted above into a web browser on the same machine as you're running vixen, does it work?

After posting the image I spotted a typo - I was using (text) instead of {text} in the RDS field. After correcting that I can trigger on and off from the config screen by entering turnon or turnoff in the macro box. Just tested it in a short test sequence and it worked perfectly! Thanks!

Sent from my XT1650 using Tapatalk


Reply
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago
DaveMcK wrote:After posting the image I spotted a typo - I was using (text) instead of {text} in the RDS field. After correcting that I can trigger on and off from the config screen by entering turnon or turnoff in the macro box. Just tested it in a short test sequence and it worked perfectly! Thanks!

Sent from my XT1650 using Tapatalk

Glad you got it. I never would have seen the difference between parens and braces in the screenshot.

Sent from my iPhone using Tapatalk


Reply
Posts: 50
(@pcpackrat)
Trusted Member
Joined: 11 years ago

I am trying to implement this and have the commands working in Display Setup but when I go to add the RDS effect to a sequence it gives an error:

11/30/2019 08:31:45.797 [Common.Controls.Timeline.Grid] Exception in TimelineGrid.OnPaint() System.NullReferenceException: Object reference not set to an instance of an object.
at Common.Controls.Timeline.Grid._drawInfo(Graphics g)
at Common.Controls.Timeline.Grid.OnPaint(PaintEventArgs e) at Common.Controls.Timeline.Grid._drawInfo(Graphics g)
at Common.Controls.Timeline.Grid.OnPaint(PaintEventArgs e)


Reply
Page 2 / 3
Share: