Light switch and IP camera problem

Moderator: leecollings

Post Reply
crillew
Posts: 1
Joined: Wednesday 18 February 2015 23:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Light switch and IP camera problem

Post by crillew »

Hi, I bought a IP camera which on motion trigger a light switch that turn on floodlights in my back yard during the night.
What I would like is to "reset" and after 10 minutes turn the lights off if no motion is detected.
My problem is that if I turn the lights off (manually, I havent started programming yet) it actually triggers a motion in the camera which turn the lights back on.
My guess is that the shifting shadows when the lights goes off causes this.

Soo, I need some help figuring this out :)
What Im thinking is that I need some kind of delayed "block" on the light switch, so that after an OFF action it cant be turned ON for 5 seconds or something like that.
How would you recommend approaching this, can it be done with blockly or do I need to dig into LUA?

BR /Crille
===============================================
Raspberry PI 2B, RFXtrx433E, 1-wire, Nexa, Alexa, Harmony and Domoticz
===============================================
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest