I'm setting up a solar/battery powered wifi cam for my brother-in-law to keep an eye on his kids & dog when they play in the empty lot across the street. I have a Hikvision 2542 wifi cam powered by a ~12V lithium battery pack, with a PIR sensor to turn it on when motion is detected (stays on for ~6 minutes or so unless more motion). The wifi connection allows the cam to be viewed in Bi when it's on. the battery is good for ~4-5 hrs of operation, but the solar panel can really only replenish a couple hour's worth every day, so we can't just run it full time - thus the PIR switch...
Only problem so far is we always miss the first 30 secs or so of action, as it take a while for the cam to boot up, get on the network, and BI to notice it.
I have also got a Sonoff SV (with Tasmota), which is basically a wifi swicth that can also turn the cam on whenever we need it. There's an app that can control the switch, but it also responds to http and/or MQTT commands. The cam draws ~3-4W, but the switch draws substantially less...
I'd like to find some way to have BI send the 'power up signal' to the wifi switch when the camera is being viewed in BI. There is a checkbox in the 'schedule' config page for each cam that 'enables' the cam when it's either full screen on the console or being streamed from the web UI, but I have yet to find a way to send an arbitrary HTTP command via GET URL or MQTT message when the cam becomes active.
Any ideas? I don't want to make this any more complex than it is already, so if there's no simple way, we'll probably just live with missing the leading action... TIA, Paul.
Only problem so far is we always miss the first 30 secs or so of action, as it take a while for the cam to boot up, get on the network, and BI to notice it.
I have also got a Sonoff SV (with Tasmota), which is basically a wifi swicth that can also turn the cam on whenever we need it. There's an app that can control the switch, but it also responds to http and/or MQTT commands. The cam draws ~3-4W, but the switch draws substantially less...
I'd like to find some way to have BI send the 'power up signal' to the wifi switch when the camera is being viewed in BI. There is a checkbox in the 'schedule' config page for each cam that 'enables' the cam when it's either full screen on the console or being streamed from the web UI, but I have yet to find a way to send an arbitrary HTTP command via GET URL or MQTT message when the cam becomes active.

Any ideas? I don't want to make this any more complex than it is already, so if there's no simple way, we'll probably just live with missing the leading action... TIA, Paul.
Last edited: