How to create rules in Domoticz Web UI Topic is solved
Moderators: leecollings, remb0
-
- 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
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!
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!
- 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
Start with blockly for simple things.
Continue with scripts in lua, shell, php etc for advanced stuff.
Continue with scripts in lua, shell, php etc for advanced stuff.
-
- 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
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.
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.
- 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
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
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"
"We always done this way"
-
- 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
> 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
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
-
- 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
maby this screenshot can help you?


raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
- 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
In English: Setup -> More Options -> Events
-
- 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
If you install the Aurora theme you gain the ability to import and export your blockly's
-
- Posts: 77
- Joined: Sunday 06 September 2015 11:58
- Target OS: Linux
- Domoticz version:
- Contact:
Re: How to create rules in Domoticz Web UI
Have a look in the wiki. It has a very good entry on blockly.
https://www.domoticz.com/wiki/Blockly
https://www.domoticz.com/wiki/Blockly
Who is online
Users browsing this forum: No registered users and 1 guest