Spotlight stays always on

Hello all,

INSTAR IN-9420, sometime after upgrading to 4.02, the spotlight on my camera always stays on, even during the day.

I do have spotlight on alarm enabled - but even if I disable it, the white light always stays on.

I use HomeKit if it matters…

Am I missing some new setting?

Thank you

Hello,

the spotlight can be activated through the app and the webUI - maybe also through Homekit. The arrow below shows the spotlight button in the tiles menu of the webUI (if this button does not show click on ? to add it):

The spotlight can also be deactivated by sending duration=0 to with the following CGI command:

  • /param.cgi?cmd=illuminate&duration=0

or sending the payload {"val": "0"} to the following MQTT command topic:

  • alarm/actions/illuminate

Thank you, I was aware of the button - but cgi command is actually very useful

The problem is, when I run this cgi command I get

cmd=„illuminate“;
response=„200“;

and the button in GUI turns yellow (so the command runs successfully) - but the actual light still stays ON.

Is there a log I can access to see what is going on?

The spotlight can now be activated by alarm for a long time (3600s). Maybe it is still on from an alert that happened a while ago? The interval can be set with the lightmode and pirnightmode commands:

  • param.cgi?cmd=getlightmode

  • param.cgi?cmd=getpirnightmode

There are also commands to set a light sensor threshold and a time schedule for the switch into „nightmode“ - could it be that the camera remains in that mode all day?

The problem here seems to be that you also added the camera to HomeKit.

Check within the Home App from Apple if there the White light has been turned on (which i assume).

You can also check the automations within the Home App since i guess that there is an automation that turns the white light on during an alarm event or if someone comes home or leaves home. Probably best to remove this automation.

Let me know if that was the reason and in case there is still any issues.

Sorry, no homekit automations are configured.

Here is the output from http://172.16.1.236/param.cgi?cmd=getlightmode

cmd=„getlightmode“;
mode=„0“;
onalarm=„0“;
interval=„5“;
wlonalarm=„1“;
wlinterval=„11“;
wlmute=„5“;
response=„200“;

and

http://172.16.1.236/param.cgi?cmd=getpirnightmodecmd=„getpirnightmode“;
enable=„0“;
interval=„60“;
wlenable=„0“;
wlinterval=„60“;
response=„200“;

Is there a CGI command to force the ehite light off?

Thank you

I thought sending a 0 to it you have to terminate the white light manually. Sending a 1 to this it should stop after 1 second.
?

Answering my own question: it was the HOMEKIT, another device was added which to HomeKit looked like a regular light - but in fact was controlling the floodlight.

Thank you for everybody who helped - and valuable info on API!

2 „Gefällt mir“

Dieses Thema wurde automatisch 2 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.