INSTAR Deutschland GmbHINSTAR Deutschland GmbH

INSTAR MQTT Alarmserver Interval



Q: After I changed completely to MQTT, I switched off the HTTP alarm server on my 9008. This had the consequence that the cool-down interval was deactivated. As a result I am getting tens of MQTT alarm messages per alarm event. I think the option to set the rest interval would also be useful for MQTT.

A: Since you usually receive the MQTT alarm server in a Smarthome and define your own actions there, we decided to set the interval as small as possible (1s). So it is intended that you can define your own cool-down interval for the actions in the Smarthome.

You can also adjust the interval of the MQTT alarm server directly on the camera. You can read out the current status on your camera with the following CGI Command :

/param.cgi?cmd=getmdalarm&-aname=server3

The default settings are there:

var md_server3_switch="on"; var md_server3_interval="1";

If you now want to set the interval to, for example, 5 seconds you can do this with this command:

/param.cgi?cmd=setmdalarm&-aname=server3&-switch=on&-interval=5

You get an OK from the camera and the value should now look like this:

var md_server3_switch="on"; var md_server3_interval="5";