• 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
Control Rules by Web GUI
Good morning from Austria,

is there a way to control rules through the web interface?
for example:

Rule X is executed when switch Y is active
If switch Y is not active, rule X does not take effect.

What is the problem? I want to manually switch between different rule-systems.
So far I've made a workaround with a manually started script which stopped the pilight sercive, swaped config.json and then started pilight again (with other rules in config.json).

thanks for your help again

Just make rules dependent on generic_switch and you already sort of described.
Ah, so there is another book to look forward to? I currently have the Beasteary, Adventuria Alminac, Tavern guide, and core rules. What other books should I be looking out for?

Possibly Related Threads...
Thread Author Replies Views Last Post
  Hardware Switch and pilight-send/-control iTommix 3 549 02-14-2021, 09:25 PM
Last Post: iTommix
  pilight-control TML 13 3,040 05-27-2020, 07:51 AM
Last Post: curlymo
  Config migration from pilight 7 .0 to 8.1.3 "Rules" Nonaamee 4 2,062 11-17-2018, 08:35 PM
Last Post: Nonaamee
  error pilightsend, recieve and control hansipi 2 1,230 11-04-2018, 03:46 PM
Last Post: hansipi
  ["SOLVED"] Not able to control intertechno ITR-1500 Kambaramba 12 4,046 10-03-2018, 05:52 PM
Last Post: curlymo
Sad pilight 8 Rules no running NormBot 3 1,633 08-10-2018, 08:32 AM
Last Post: curlymo
Rainbow Trying to control RF Celling FAN bennyboy 0 897 06-23-2018, 05:49 PM
Last Post: bennyboy
  Configuration example with program and ACTION to control MPD tomk 0 1,081 09-12-2017, 07:02 PM
Last Post: tomk
Bug I need help with the time rules muscat 3 2,163 12-29-2016, 07:38 PM
Last Post: muscat
  One Device Multiple Rules ColdScythe 1 1,425 11-07-2016, 07:07 PM
Last Post: curlymo

Forum Jump:

Browsing: 1 Guest(s)