Thanks @mcx I'll give this a try! So I will need a 2nd preset to change the resolution besides the existing one that changes the image? And a >4Mpix.xml for changing back to 4mp at day? The string you show for night.bat can be another line added to the existing bat file? Sorry for so many questions.
For day you need 1 preset and 1 bat file which includes strings curl -T...image/channels/1 and curl -T ...4Mpix.xml...streaming/channels/1 and for night you need 2nd preset and 2nd bat file which includes strings curl -T...image/channels/1 and curl -T ...2Mpix.xml...streaming/channels/1 for night.
I have noticed that if I change to 4MP the whole view is not shown in Blue Iris. Restarting the camera or BI does not help, I've had to manually rebuild the cam in BI to get the correct view, but it just affects the live view, it records the entire view correctly. I'm running v4.2.8.5 so maybe that has been fixed on newer versions.
I noticed same but I did not restart camera or BI, only right click restart on selected camera and it shown correctly. that's why I added new "restart" events.
I'm running v4.3.6.1...you sholud try.