• 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
piScheduler -- A pilight extension for the daily switch plan
The intention for this project is to define a "switch" plan for the different locations/devices. I need to have lamps/devices switched based on such a plan which should randomly vary and can also follow sunrise/sunset time.

The project is in an early state, so any feedback is very welcomed. Also please note the implementation is using python .. and it's my very first python project
(I'm surprise about the broad utility base which should make the project an easy go .. most hopefully).

Head over to
and let me know ..

Please notice that the next pilight release will contain event rules which already making good progress.

Also, pimatic has already really good support for event rules but you need additional software on top of pilight.
(05-01-2014, 06:04 AM)curlymo Wrote: Please notice that the next pilight release will contain event rules which already making good progress.
Where to find details?
In the future of pilight and pimatic topic.
(05-01-2014, 12:15 PM)curlymo Wrote: In the future of pilight and pimatic topic.

Sorry to call back on this, but also scanning both pilight and pimatic .. I can't see/find any details you mentioned. Please post --at least -- a link to "the future of pilight".
I would like to cross check with my implementation so far.


(Will add an installation intruction for my 'piSchedule' later today)

Updated piScheduler on GitHub

README.md with example and installation details
Good work!
Updated on GitHub for schedule plan with text/'INI' format instead of JSON.
This offers easier editing. Also using JSON with direct switching the order of the switch events may not be parsed as the occurrence in the JSON file (off maybe issued before on).

After upgrading to pilight 5.0 Have problems with sending control commands like this:

The settings.json changed to:
    "log-level": 5,
    "pid-file": "/var/run/pilight.pid",
    "config-file": "/home/pi/pilight_config/config.json",
    "hardware-file": "/etc/pilight/hardware.json",
    "log-file": "/var/log/pilight.log",
    "send-repeats": 10,
    "receive-repeats": 1,
    "webserver-enable": 1,
    "webserver-root": "/usr/local/share/pilight/",
    "webserver-port": 5001,
    "webserver-authentication": [ "admin", "admin" ],
    "webserver-cache": 1,
    "webserver-user": "root",
    "whitelist": "",
    "update-check": 1,
    "firmware-update": 0
Working with "pilight webgui" isn't a problem, so the config.json/hardware.json are OK, all GUI elements do their job, the switches work as expected.

Sending a cmd as shown above opens an 'Authentication Required" dialog asking for uname/pw. Also entering the right values, it repeats asking. /var/log/pilight.log doesn't give any info. Firefoy console also no output.

How is the trick? to work as it was with version 3.0?


Possibly Related Threads...
Thread Author Replies Views Last Post
  HomeBridge with pilight on raspbian Jurre 12 21,687 10-12-2021, 11:08 PM
Last Post: DesmondOrask
  Connect pilight to your hue bridge hannemann 4 5,636 10-26-2020, 02:08 PM
Last Post: Michelebup
  Does piSchedule work with pilight 8.1.1-nightly Peter S 0 2,813 06-29-2018, 07:57 PM
Last Post: Peter S
  pilight-console - an LCD / keypad interface for pilight frenchie71 3 3,669 11-21-2017, 11:15 PM
Last Post: curlymo
Wink PHP class using pilight socket connection Dan 0 2,634 11-03-2016, 11:41 AM
Last Post: Dan
  Controlling a RGB Led Strip over pilight mightyuhu 2 4,092 08-06-2016, 09:10 PM
Last Post: JohannK
  pilight voice commands kniazio 11 11,159 01-29-2016, 07:51 PM
Last Post: sral
  Python Ping pilight detect mobilephone Cryptomaster 0 3,427 01-10-2016, 04:17 PM
Last Post: Cryptomaster
  pilight config editor ktams 16 15,235 01-06-2016, 02:42 PM
Last Post: ktams
  command processing between pilight and openhab royhofman1989 3 4,460 07-13-2015, 11:26 AM
Last Post: curlymo

Forum Jump:

Browsing: 1 Guest(s)