Page 1 of 1

Blocky label HOME and AWAY - trigger differentscenes

Posted: Friday 29 January 2016 11:06
by Eternity
Perhaps I haven't looked good enought, but I seem to miss the following option..

When home I have Domoticz control my lights and blinds according to motion and daylight status et cetera.
This is great...if I am home..
If not at home, I would like to have a complete different event system become active.

In blocky it would be something like:

- do all the following IF someone is home
- forget all the previous stuff, but do THIS is none is home.

I have set up the security panel and can "arm home" and "arm away"; it would be nice if my blocky scripts would all have the option to add a "label", in this case a label with the security panel state.

Or, if blocky could come in two flavours; one to run when security panel is set to "ARM AWAY", and one to run when security panel is "ARMED HOME".

Re: Blocky label HOME and AWAY - trigger differentscenes

Posted: Friday 29 January 2016 16:27
by StanHD
You could add a virtual switch to give "Occupied" / "Non-Occupied" status.
Then check that status with your other Blocklys or scripts where relevant.

Re: Blocky label HOME and AWAY - trigger differentscenes

Posted: Friday 29 January 2016 17:07
by Eternity
Thanks StanHD,

That would be the same as checking the status of the security panel, wouldn't it?
I was looking for an option to avoid that " check"

Thanks for the reply !

Re: Blocky label HOME and AWAY - trigger differentscenes

Posted: Sunday 28 February 2016 21:12
by deennoo
there is a native function for this on domoticz, don't know if can be set by a script or a blocky :

Setting ->param->other->schudel

Two choicie : normal or Holiday

Holiday disable all schudel to all devices.

Re: Blocky label HOME and AWAY - trigger differentscenes

Posted: Thursday 03 March 2016 17:56
by Eternity
Thanks Deennoo,

That is interesting, and meets part of my needs. Right now I delete all my time sensors, same the settings as "vacation. Db" and reload the standard database when home again.

What that option does not allow, is setting different scenes depending on your presence.

For instance, if I am home and my hall sensors indicated a movement, the hall light should be lit. If I am *not* home and the sensor is triggered, a siren should be activated and and email notification send....

Re: Blocky label HOME and AWAY - trigger differentscenes

Posted: Friday 04 March 2016 9:31
by deennoo
I'm thinking of a Statut switch, to reproduce kind of statut you can found on your phone or tablet Using :

- Forget this native holyday option who don't answer my needed too.
- Baak Google Calendar scripts who will drive a Dummy selector switch
- Dummy Selector Switch (Home / Working / Holiday)
- Keep Planning action off to all my planning
- And made some blocky or LUA script depending of time and on the selector switch statut

This way : I just need to write on my google calendar Holyday from x to y, and anything else is automated.

Re: Blocky label HOME and AWAY - trigger differentscenes

Posted: Friday 04 March 2016 21:17
by Eternity
Yes please :-)