• 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
#1
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

Scooter
 
Reply
#2
Just make rules dependent on generic_switch and you already sort of described.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-control TML 13 643 05-27-2020, 07:51 AM
Last Post: curlymo
  Config migration from pilight 7 .0 to 8.1.3 "Rules" Nonaamee 4 1,334 11-17-2018, 08:35 PM
Last Post: Nonaamee
  error pilightsend, recieve and control hansipi 2 741 11-04-2018, 03:46 PM
Last Post: hansipi
  ["SOLVED"] Not able to control intertechno ITR-1500 Kambaramba 12 2,532 10-03-2018, 05:52 PM
Last Post: curlymo
Sad pilight 8 Rules no running NormBot 3 1,087 08-10-2018, 08:32 AM
Last Post: curlymo
Rainbow Trying to control RF Celling FAN bennyboy 0 568 06-23-2018, 05:49 PM
Last Post: bennyboy
  Configuration example with program and ACTION to control MPD tomk 0 780 09-12-2017, 07:02 PM
Last Post: tomk
Bug I need help with the time rules muscat 3 1,616 12-29-2016, 07:38 PM
Last Post: muscat
  One Device Multiple Rules ColdScythe 1 1,034 11-07-2016, 07:07 PM
Last Post: curlymo
  pilight-receive with intertechno ITZ-500 remote control Pik 3 2,748 08-22-2016, 09:16 AM
Last Post: Pik

Forum Jump:


Browsing: 1 Guest(s)