Hi all:
I'm working on finally getting my Home Assistant set up to control the switchover from day to night profiles on my IPC-T5442T-ZE via CGI. The camera is running firmware V2.820.15OG001.0.R (Build Date: 2021-07-06).
Digest authentication over HTTPS is working correctly (curl -k --digest), and I can query parameters like VideoInMode[0].Mode. However, attempts to switch profiles or force day/night behavior via CGI consistently return "Error! Bad Request!".
Here’s a summary of what I’ve tried:
Thanks for any guidance you can provide. If this is working fine for you, please also let me know because then perhaps I've just made a silly mistake.
I'm working on finally getting my Home Assistant set up to control the switchover from day to night profiles on my IPC-T5442T-ZE via CGI. The camera is running firmware V2.820.15OG001.0.R (Build Date: 2021-07-06).
Digest authentication over HTTPS is working correctly (curl -k --digest), and I can query parameters like VideoInMode[0].Mode. However, attempts to switch profiles or force day/night behavior via CGI consistently return "Error! Bad Request!".
Here’s a summary of what I’ve tried:
- VideoInMode[0].Mode=1 and =2 work (Night and Auto), but =0 fails with "Bad Request!"
- DayNightMode[0]=Color, B/W, and Auto all return "Error"
- switchProfile.cgi?profileName=day, night, general → "Error"
- switchProfile.cgi?profileId=0, 1, 2 → "Error"
- configManager.cgi?action=setConfig&Profile[0]=... → "Error"
- getConfig&name=All confirms profiles exist: "day", "night", "general"
- Profile management modes in UI include: General, Full Time, Schedule, Day/Night
Thanks for any guidance you can provide. If this is working fine for you, please also let me know because then perhaps I've just made a silly mistake.