How set this up alarm

I have ordered a pair of these, Infrared alarm for a test setup
What I want to do is to trigger Nodered to send a http request to a Foscam PTZ camera to move to a preset position pointing and the window where the infrared alarm is triggered. Then XEOMA will take care of recording.

How would you set this up in NODERED: I am quite new to nodered so please not to complicated. I have all the http requests for the camera. Foscam is one of the few manufacturers that publish them

Regards
Anders Yuran

To make it very simple… just connect the state change node (assuming you will have your ir sensors connected to HomeAssistant) to the http request node.

1 Like

Sometimes it is simpler than you imagine. Will have a go when they arrive from China

Thanks a lot

Anders