How to send simple HTTP command

Mario P

n3wb
Joined
Nov 14, 2019
Messages
26
Reaction score
6
Location
New Mexico, USA
I'm trying to trigger an event in my Control4 automation platform based on camera event.
I got things setup on the Control4's end to listen to a simple: , and when testing thru a browser, it works fine.
1693133229538.png

How do I configure the Web Request or MQTT to send a simple command? I tried this, but it doesn't work:
1693133322527.png
 

Mario P

n3wb
Joined
Nov 14, 2019
Messages
26
Reaction score
6
Location
New Mexico, USA
To hopefully clarify. I'm trying to fire a command based on Face Detection when I enter the room.
I created the SMS event as well, and it works fine.
1693133629988.png

1693133682194.png
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,894
Reaction score
39,318
Location
Alabama
I'm trying to trigger an event in my Control4 automation platform based on camera event.
I got things setup on the Control4's end to listen to a simple: , and when testing thru a browser, it works fine.
View attachment 170902

How do I configure the Web Request or MQTT to send a simple command? I tried this, but it doesn't work:
View attachment 170903
Have you tried putting the entire URL, including the payload of "Dining", all on one line for the HTTP?
IOW, try "10.0.0.210:56671/Dining" where you now have only "10.0.0.210:56671/" and remove "Dining" from the "Post/payload" window.
 

Mario P

n3wb
Joined
Nov 14, 2019
Messages
26
Reaction score
6
Location
New Mexico, USA
Have you tried putting the entire URL, including the payload of "Dining", all on one line for the HTTP?
IOW, try "10.0.0.210:56671/Dining" where you now have only "10.0.0.210:56671/" and remove "Dining" from the "Post/payload" window.
Note to self. Do NOT post stupid questions at 4 a.m., just because you've been up for 20 hours, excited to get this BI working! :)
Thanks TonyR. That did it.
Somehow I thought that I needed to have something in the payload window.
 
Top