mqtt publish to turn recording on/off per camera?

Pentagano

Getting comfortable
Dec 11, 2020
664
299
Uruguay
Hi,

I am trying to figure out how to post a mqtt message to turn a camera recording on/off possibly from nodered/homeassistant.

Is there a way to publish a topic to switch recording on and off? I have mqtt to receive messages from BI to nodered and do stuff

Thanks
 
Is there a way to publish a topic to switch recording on and off? I have mqtt to receive messages from BI to nodered and do stuff
Yes, look in BI's built-in "Help" under "Administration" => "HTTP Interface" for commands such as below:

/admin?camera=x&manrec=1 or 0 Start or stop manual recording on camera or group x (short
name)



Example: To start recording,
To stop recording,
 
Yes, look in BI's built-in "Help" under "Administration" => "HTTP Interface" for commands such as below:

/admin?camera=x&manrec=1 or 0 Start or stop manual recording on camera or group x (short
name)



Example: To start recording,
To stop recording,
Thanks forgot about the help section.

That works fine but was hoping it would tick the Video Recording option on the Record tab of the camera. Seems to only activate recording for about 8 seconds then turn off on its own.
 
Thanks forgot about the help section.

That works fine but was hoping it would tick the Video Recording option on the Record tab of the camera. Seems to only activate recording for about 8 seconds then turn off on its own.
EDIT: Mine keeps recording for about 20 minutes or until you send a "manrec=0".
 
Last edited:
The manual recording time is a global setting.
Settings > Cameras tab

1734279115374.png

To change this limit programmatically, you can use the JSON cmd sysconfig with the manrecsec parameter.

1734281948071.png
 
Last edited:
  • Like
Reactions: Pentagano and TonyR