Hello all!
I want to make my first blocky, can someone help me?!
I have a KAKU APIR-2150 motion senor that i want to use to switch on an KAKU socket.
Switch on: before sunrise and after sunset
Time socket switched on: 5 minutes
I also want to switch the socket manual, so when it is switched on manual nothing should happen.
Thanks!
First time Blocky
Moderator: leecollings
-
- Posts: 9
- Joined: Tuesday 03 October 2017 21:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: First time Blocky
So you listed al the conditions that must be met to switch on the socket: manual switch ON, time after Sunset, or before sunrise and motion detected. Did you try putting that in blockly for a start?
NB. Times in domoticz are 'reset' at midnight, so it can never be after sunset and before sunrise at the same time. The time is either before sunset (00:00 - sunrise) or after sunset (sunset - 23:59). You can combine condititions using AND and OR, where AND goes before OR (like * goes before + in math).
NB. Times in domoticz are 'reset' at midnight, so it can never be after sunset and before sunrise at the same time. The time is either before sunset (00:00 - sunrise) or after sunset (sunset - 23:59). You can combine condititions using AND and OR, where AND goes before OR (like * goes before + in math).
Who is online
Users browsing this forum: No registered users and 1 guest