• 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
Hello, I was trying piScheduler 7.5 as 7.0 works the web but fails to control pilight devices..., and piScheduler 7.5 fails with:


Code:
pi@rpi1:~/piSchedule75 $ sudo ./piSchedule.py


** piSchedule prefs **


    geo              : ip


    iniFile          : newDaySchedule.ini


    latitude         : 40.4165


    locale           : EN


    location         : Madrid


    longitude        : -3.7026


    news             : dl.dropboxusercontent.com/u/35444930/piSchedule7/news75.txt


    newsDate         :


    piDBox           : dl.dropboxusercontent.com/u/35444930/


    piScheduleDoc    : piSchedule7


    piScheduleHome   : /home/pi/piSchedule75


    pilightExpected  : 7.0


    pilightPort      : 5001


    pilightVersion   : 7.0


    port             : 5005


    server           : 192.168.1.7


    ssdp             : OK


    status           : 0


    sunrise          : 2016-06-22 06:45:09


    sunset           : 2016-06-22 21:48:41


    switchTime       : 0


    version          : 0.7.5


    weekSchedule     : {}





** piSchedule  {server}:{port} 192.168.1.7:5005 >>OK<<


** piSchedule.prefs  status:0


renew Schedule  next Switch Time   2016-06-23 00:00:00


Bottle v0.12.9 server starting up (using WSGIRefServer())...


Listening on http://192.168.1.7:5005/


Hit Ctrl-C to quit.





Exception in thread APScheduler (most likely raised during interpreter shutdown):


Traceback (most recent call last):


 File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner


 File "/usr/lib/python2.7/threading.py", line 763, in run


 File "/usr/local/lib/python2.7/dist-packages/apscheduler/schedulers/blocking.py", line 30, in _main_loop


 File "/usr/local/lib/python2.7/dist-packages/apscheduler/schedulers/base.py", line 918, in _process_jobs


<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'now'


pi@rpi1:~/piSchedule75 $
 
Reply
  


Messages In This Thread
RE: piScheduler -- A pilight extension for the daily switch plan - by segalion - 06-22-2016, 11:48 AM
piSchedule error - by donbucknall - 01-02-2016, 05:30 PM

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

Forum Jump:


Browsing: 3 Guest(s)