I believe the command to send to the Blue Iris server is (and is what the function at the end of my code does, but with more details ?required?) I used another example of where they were using an ethernet shield and communicating both ways, but I copied (and modified) the components I thought where relevant to triggering motion on my camera’s when a digital input goes high.
I really don’t understand much depth in what I am trying to do, so the following code could be completely wrong. I should note I am using just a Nodemcu for this task, where I used an arduino/esp8266 combo for my last project. I have seen post around but they are either using the serial trigger, or using IOT, or sending commands/triggers each way which complicates things over what I require… Bonus of doing it this way is I also believe I will also be able to talk to tasker in the same manner (on a separate android box) to turn lights on etc. My application is for a trip wire to make a digital input go high, then send a GET (I think this is what it is but really not so sure about this) request to Blue Iris on my PC that triggers a camera to record.