• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Eventing intervalls via webgui
Hi evrybody,

I recently came across pilight and I am amazed by the simplicity of this mighty tool. I'm kind off new to everything about Raspberry Pi and home automation, but I already managed to get a decent setup in pilight.

But right now I am wondering if there is any function to define values for rules like certain timepoints other than directly in the config.json.
For example as input via the webgui.

To make my question a bit more understandable look at the rules below.

 "rule_ventilation_on": {
                        "rule": "IF time.hour == 10 AND (ventilation.state IS off) THEN switch DEVICE ventilation TO on",
                        "active": 1
                "rule_ventilation_off": {
                        "rule": "IF time.hour == 22 AND (ventilation.state IS on) THEN switch DEVICE ventilation TO off",

Those rules do the thing pretty well. But if I want to change the timepoints for on and off (10 and 22 o'clock in this example) I always have to do it in the config.json

I now just want to know, if there's a way to implement a field for

"ventilation off at XX o'clock"
"ventilation on at XX o'clock"

in the webgui....

I hope you people understand and are able to help.

Thank you
Take a look at this post:
Better look at this one:

The link above is outdated (was for pilight6)
Terrarium:  RPi Model B Rev 2 / pilight 8.1.2 / stretch
Aquarium: RPi Model B Plus Rev 1.2 / pilight 8.0.6 / jessie
Ah I guess I see what you did there... You used those "generic_dimmers" for the task I asked for. Thats genius. That would've probably never come to my mind.
Thank you!

Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight eventing rules terrar 94 43,999 02-18-2016, 10:21 PM
Last Post: brombeerwilli
  Howto: easy eventing via crontab (incl. scheduling of sun/device/time dependencies) hasselh 0 1,536 11-13-2015, 09:43 AM
Last Post: hasselh
  webGUI works, eventing doesn't... Anton13 1 1,566 09-07-2015, 09:17 PM
Last Post: wimd
  Get eventing to work on client wslotboom 5 2,477 05-08-2015, 07:31 PM
Last Post: curlymo
  pilight eventing - sunset/sunrise/time Niek 14 11,812 04-27-2015, 05:20 PM
Last Post: troccolo
Smile pilight eventing - randomization questor 8 4,926 01-29-2015, 04:21 PM
Last Post: Niek

Forum Jump:

Browsing: 1 Guest(s)