How to create rules in Domoticz Web UI Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
antares
Posts: 48
Joined: Saturday 24 September 2016 9:25
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Germany
Contact:

How to create rules in Domoticz Web UI

Post by antares »

Hello,

though I'm new to the area of home automation, I am amazed what a great work has been done by the community. I managed to install Domoticz on a Raspberry Pi and to add some Z-Wave devices like temperature and motion sensors and wall plugs, and Danfoss living connect. So far so good...

Now, unfortunately, I haven't yet managed in Domoticz to figure out how I can configure some rule like "if the room temperature is below 22 degrees, turn on heating" or "if door is opened and it is dark (light sensor), turn on the lights". I tried to play around with scenes, but I was not able to get other stuff created like "at sunset turn on the lights". Unfortunately, I was also not able to find out more by searching the forum or Google (provided, I might not have used the right keywords and missed it).

Could somebody please help me to figure out, how I can create rules like the above using the Domoticz web UI, such that the home gets really "smart"?

Thanks a lot in advance!
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: How to create rules in Domoticz Web UI

Post by Egregius »

Start with blockly for simple things.
Continue with scripts in lua, shell, php etc for advanced stuff.
antares
Posts: 48
Joined: Saturday 24 September 2016 9:25
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Germany
Contact:

Re: How to create rules in Domoticz Web UI

Post by antares »

Hi!

Thanks. I read about it, but I didn't find yet where to configure it... aaaah -- it's not under the "main" menu but under the settings -> more settings. I didn't see that.

Are those event rules directly activated then or do I need to activate them from somewhere else as well?

Thanks a lot! I feel like I was blind.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: How to create rules in Domoticz Web UI

Post by emme »

you can shoose between different method:

ALL - the script/blocky runs and at the end restarts immediately
DEVICE - the script runs when ANY configured device changes its state. Your script should handle the device needed
SECURITY - script is activated when a security device changes its state
TIME - runs once a minute
The most dangerous phrase in any language is:
"We always done this way"
rowanbradley
Posts: 21
Joined: Wednesday 07 March 2018 20:28
Target OS: Windows
Domoticz version: 3.9025
Location: Newmarket, Suffolk, UK
Contact:

Re: How to create rules in Domoticz Web UI

Post by rowanbradley »

> aaaah -- it's not under the "main" menu but under the settings -> more settings. I didn't see that.

I don't understand this. As far as I can see, Domoticz doesn't have a Settings menu. It has Setup, but under Setup there is no More Settings (or More Setup) sub-menu. Can someone please explain to me how I set things up to take a temperature measurement every 5 minutes?

Thank you - Rowan
snellejellep
Posts: 241
Joined: Tuesday 16 May 2017 13:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Neterlands
Contact:

Re: How to create rules in Domoticz Web UI

Post by snellejellep »

maby this screenshot can help you?
Image
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: How to create rules in Domoticz Web UI

Post by Egregius »

In English: Setup -> More Options -> Events
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: How to create rules in Domoticz Web UI

Post by blauwebuis »

If you install the Aurora theme you gain the ability to import and export your blockly's
cogliostrio
Posts: 77
Joined: Sunday 06 September 2015 11:58
Target OS: Linux
Domoticz version:
Contact:

Re: How to create rules in Domoticz Web UI

Post by cogliostrio »

Have a look in the wiki. It has a very good entry on blockly.
https://www.domoticz.com/wiki/Blockly
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest