• 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
I installed a new piSheduler
Do you have something piPrefs.py file type?
./piDiscover.py
Code:
root@osmc:/home/pi/piSchedule7# ./piDiscover.py                                 piDiscover pilight ['192.168.1.150', 5001, '7.0', '']
root@osmc:/home/pi/piSchedule7#
./piSchedule.py
Code:
root@osmc:/home/pi/piSchedule7# ./piSchedule.py
Terminated
service piSchedule status
Code:
root@osmc:/home/pi/piSchedule7# service piSchedule status
* piSchedule.service - LSB: Start|Stop service for piSchedule
   Loaded: loaded (/etc/init.d/piSchedule)
   Active: active (exited) since Fri 2015-12-04 08:14:57 CET; 4s ago
  Process: 3856 ExecStop=/etc/init.d/piSchedule stop (code=exited, status=0/SUCC                                                                                        ESS)
  Process: 5259 ExecStart=/etc/init.d/piSchedule start (code=exited, status=0/SU                                                                                        CCESS)

Dec 04 08:14:57 osmc piSchedule[5259]: Starting system piSchedule daemon:.
Dec 04 08:14:57 osmc piSchedule[5259]: /home/pi/piSchedule7/piSchedule.py i...g.
Dec 04 08:14:57 osmc sudo[5265]: root : TTY=unknown ; PWD=/ ; USER=root ; C...py
Dec 04 08:14:57 osmc sudo[5265]: pam_unix(sudo:session): session opened for...0)
Dec 04 08:14:57 osmc piSchedule[5259]: Traceback (most recent call last):
Dec 04 08:14:57 osmc piSchedule[5259]: File "/home/pi/piSchedule7/piPrefs.p...in
Dec 04 08:14:57 osmc piSchedule[5259]: if fprefs['port'] == "":
Dec 04 08:14:57 osmc piSchedule[5259]: TypeError: list indices must be inte...tr
Hint: Some lines were ellipsized, use -l to show in full.
root@osmc:/home/pi/piSchedule7# service piSchedule status
* piSchedule.service - LSB: Start|Stop service for piSchedule
   Loaded: loaded (/etc/init.d/piSchedule)
   Active: active (exited) since Fri 2015-12-04 08:14:57 CET; 57s ago
  Process: 3856 ExecStop=/etc/init.d/piSchedule stop (code=exited, status=0/SUCCESS)
  Process: 5259 ExecStart=/etc/init.d/piSchedule start (code=exited, status=0/SUCCESS)

Dec 04 08:14:57 osmc piSchedule[5259]: Starting system piSchedule daemon:.
Dec 04 08:14:57 osmc piSchedule[5259]: /home/pi/piSchedule7/piSchedule.py is running.
Dec 04 08:14:57 osmc sudo[5265]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/home/pi/piSchedule7/piPrefs.py
Dec 04 08:14:57 osmc sudo[5265]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 04 08:14:57 osmc piSchedule[5259]: Traceback (most recent call last):
Dec 04 08:14:57 osmc piSchedule[5259]: File "/home/pi/piSchedule7/piPrefs.py", line 58, in main
Dec 04 08:14:57 osmc piSchedule[5259]: if fprefs['port'] == "":
Dec 04 08:14:57 osmc piSchedule[5259]: TypeError: list indices must be integers, not str
root@osmc:/home/pi/piSchedule7#

What is wrong?
Is there something I make up a file piPrefs.py?
 
Reply
  


Messages In This Thread
RE: piScheduler -- A pilight extension for the daily switch plan - by kniazio - 12-04-2015, 08:17 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,378 Yesterday, 02:08 PM
Last Post: Michelebup
  Does piSchedule work with pilight 8.1.1-nightly Peter S 0 2,110 06-29-2018, 07:57 PM
Last Post: Peter S
  pilight-console - an LCD / keypad interface for pilight frenchie71 3 1,915 11-21-2017, 11:15 PM
Last Post: curlymo
Wink PHP class using pilight socket connection Dan 0 1,828 11-03-2016, 11:41 AM
Last Post: Dan
  Controlling a RGB Led Strip over pilight mightyuhu 2 2,907 08-06-2016, 09:10 PM
Last Post: JohannK
  HomeBridge with pilight on raspbian Jurre 10 14,006 04-06-2016, 07:45 AM
Last Post: tomtom
  pilight voice commands kniazio 11 7,309 01-29-2016, 07:51 PM
Last Post: sral
  Python Ping pilight detect mobilephone Cryptomaster 0 2,509 01-10-2016, 04:17 PM
Last Post: Cryptomaster
  pilight config editor ktams 16 9,849 01-06-2016, 02:42 PM
Last Post: ktams
  command processing between pilight and openhab royhofman1989 3 3,309 07-13-2015, 11:26 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)