• 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
#1
Wink 
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
https://github.com/neandr/piScheduler
and let me know ..

Guenter
 
Reply
#2
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.
 
Reply
#3
(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?
 
Reply
#4
In the future of pilight and pimatic topic.
 
Reply
#5
(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.

Thanks

(Will add an installation intruction for my 'piSchedule' later today)
 
Reply
#6
http://forum.pilight.org/Forum-Open

http://pimatic.org/
 
Reply
#7
Updated piScheduler on GitHub

README.md with example and installation details
 
Reply
#8
Good work!
 
Reply
#9
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).

https://github.com/neandr/piScheduler
 
Reply
#10
After upgrading to pilight 5.0 Have problems with sending control commands like this:
Code:
http://192.168.178.1:5001/send?{%22message%22:%22send%22,%22code%22:{%22location%22:%22Aussen%22,%22device%22:%22Haustuer%22,%22state%22:%22on%22}}

The settings.json changed to:
Code:
{
    "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?

Guenter
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Does piSchedule work with pilight 8.1.1-nightly Peter S 0 1,559 06-29-2018, 07:57 PM
Last Post: Peter S
  pilight-console - an LCD / keypad interface for pilight frenchie71 3 1,333 11-21-2017, 11:15 PM
Last Post: curlymo
  Connect pilight to your hue bridge hannemann 3 2,660 01-03-2017, 11:26 PM
Last Post: hannemann
Wink PHP class using pilight socket connection Dan 0 1,493 11-03-2016, 11:41 AM
Last Post: Dan
  Controlling a RGB Led Strip over pilight mightyuhu 2 2,419 08-06-2016, 09:10 PM
Last Post: JohannK
  HomeBridge with pilight on raspbian Jurre 10 11,494 04-06-2016, 07:45 AM
Last Post: tomtom
  pilight voice commands kniazio 11 5,735 01-29-2016, 07:51 PM
Last Post: sral
  Python Ping pilight detect mobilephone Cryptomaster 0 2,164 01-10-2016, 04:17 PM
Last Post: Cryptomaster
  pilight config editor ktams 16 7,950 01-06-2016, 02:42 PM
Last Post: ktams
  command processing between pilight and openhab royhofman1989 3 2,834 07-13-2015, 11:26 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)