QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
351 stars 49 forks source link

Controlling recording status from MQTT #313

Open MatteoGheza opened 3 hours ago

MatteoGheza commented 3 hours ago

Is your feature request related to a problem? Please describe. I’d like to control the continuous recording status of my Reolink camera through MQTT actions, similar to other control functions. Currently, no dedicated MQTT topic exists for toggling recording, which limits automation options.

Describe the solution you'd like

A new MQTT topic could be added to control the recording state directly, allowing users to start and stop recording as needed.

Suggested Control Message /control/recording — Toggles recording status with payload options: "start": Initiates continuous recording "stop": Ends continuous recording Suggested Status Message /status/recording — Returns the current recording status ("on" or "off") in response to the recording toggle or as part of regular status updates.

Adding this control and status feature would allow seamless integration of recording functionality into MQTT-based home automation systems, enabling actions like starting recording based on motion sensors or other triggers.

QuantumEntangledAndy commented 2 hours ago

I take it you mean recording onto the SD card? A lot of the SD card functions haven't been reverse engineered fully yet so this request might take awhile