A place users can post their projects. If you have a small project and would like your own dedicated place to post and have others chat about it then this is your spot.

User avatar
By taog
#54621 I'm making an ESP-01 with a PIR act as a remote trigger for Blue Iris. Blue Iris runs a webserver, and if a properly formed URL is received it will trigger an event. For instance, the following URL in any browser will trigger an event:

http://10.10.100.123:81/admin?camera=ip ... gger&pw=on

I'm using the Arduino IDE to write my code and have been working with the ESP8266WiFi library. The problem is that I can't get client.connect to work. This always fails:

IPAddress server(10,10,100,123);
if (client.connect(server, 81)) { Serial.println("connected");
} else {Serial.println("problem connecting on port 81"); }

Problem is that I don't know if the webserver in blue iris is not acting as I expect, or if I have a problem with my ESP-01 code. I think it's me since the URL it works in every browser I've tried. All I want tis to send a specific URL .... I thought it was going to be easy!

Has anyone used an ESP-01 w/PIR as a remote rigger for Blue Iris or have a suggestion on how I can send the URL listed above to a remote server?