• 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
#91
Tried this evening to run a fresh install, but the raspberry download server failed.
Let's see how it works tomorrow.
Sorry.

Code:
Could not connect to mirrordirector.raspbian.org:80 (5.153.225.207), connection timed out
 
Reply
#92
This morning no more problem to install all sw for piSchedule!

I'm using Raspian 2015-05-05-raspbian-wheezy.zip and have
Code:
pi@rpi1 ~ $ uname -a
Linux rpi1 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l GNU/Linux
Please try again.
Guenter
 
Reply
#93
I found Out that is was missing python.h.

So i installed python (again)
Now iT works great, thank you!

Is it possible to adjust the main time? It says i'm living in Castricum.
That seems to be right the differnce is about 10 km.

But the time shows 1 hour to early.

Thank you!
 
Reply
#94
Good to hear it's working!

About the time, Castricum is a town in NL, so it should be the same as my local time (located near to Düsseldorf).
Wikipedia says:
Quote:beispielsweise entspricht UTC+1 der mitteleuropäischen Zeit (MEZ) und UTC+2 der Mitteleuropäischen Sommerzeit (MESZ)
so how is it about Sommer/Winter time setting at NL?
Also what is the RPI time setting?
Please check those two points.

Of interest should be also the piSchedule Forum which I'm starting right now for the next update of piSchedule (Focus of it is more web/gui handling, not too much on functionality). Please see the following post about correcting the auto start setting of piSchedule:
Forum post about Autostart
Also you could do a piSchedule update to ensure the autostart works correctly.
 
Reply
#95
Rpi time was wrong. Angel

Everything is working perfect now!

Thank you for everything!
 
Reply
#96
I installed "piSchedule" on OSMC.
My version is 7.0 pilight
The installation is successful.
Patch /home/pi/piSchedule7
How do I open the page "piScheduler"
My address is 192.168.1.150:5001 local pilight
Where can I find "piScheduler"?
 
Reply
#97
Because I'm not sure which piSchedule version you use, I recommend to make an updated as described on the Installation page.
That installation update terminates with some instructions, please find
Code:
*** Start 'piSchedule' using
   sudo service piSchedule start
That cmd will start piSchedule and prompt to you the necessary server:port/piSchedule you need to enter to your browser.

Hope it helps.
Guenter
 
Reply
#98
This is the answer to sudo service piSchedule status
Code:
root@osmc:~# sudo service piSchedule status
* piSchedule.service - LSB: Start|Stop service for piSchedule
   Loaded: loaded (/etc/init.d/piSchedule)
   Active: active (exited) since Fri 2015-11-27 05:58:32 CET; 2s ago
  Process: 8571 ExecStop=/etc/init.d/piSchedule stop (code=exited, status=0/SUCCESS)
  Process: 8595 ExecStart=/etc/init.d/piSchedule start (code=exited, status=0/SUCCESS)

Nov 27 05:58:32 osmc piSchedule[8595]: Starting system piSchedule daemon:.
Nov 27 05:58:32 osmc piSchedule[8595]: /home/pi/piSchedule7/piSchedule.py is running.
Nov 27 05:58:32 osmc sudo[8601]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/home/pi/piSchedule7/piPrefs.py
Nov 27 05:58:32 osmc sudo[8601]: pam_unix(sudo:session): session opened for user root by (uid=0)
Nov 27 05:58:32 osmc piSchedule[8595]: Traceback (most recent call last):
Nov 27 05:58:32 osmc piSchedule[8595]: File "/home/pi/piSchedule7/piPrefs.py", line 58, in main
Nov 27 05:58:32 osmc piSchedule[8595]: if fprefs['port'] == "":
Nov 27 05:58:32 osmc piSchedule[8595]: TypeError: list indices must be integers, not str
http://192.168.1.150:5001/piSchedule - Page Not Found
My piSchedule.prefs.json is empty
Code:
[]
 
Reply
#99
@kniazio
I'm sorry, first my last posting wasn't correct.
With your previous post you had: 192.168.1.150:5001 for pilight.
Normally the port you get for pilight should be with increment by 4 for piSchedule, so it's 192.168.1.150:5005 for "your" piSchedule. No additional chars!
(You should have checked with
sudo chmod 755 piDiscover.py
sudo ./piDiscover.py

to have correct server:port)

If 192.168.1.150:5005 doesn't start-up because you get an error as mentioned (eg. with if fprefs['port'] == "":, please go to the RPI console/ssh and use
Code:
pi@rpi1 ~/piSchedule7 $ sudo ./piSchedule.py
renew Schedule  next Switch Time   2015-11-28 00:10:00
Bottle v0.12.9 server starting up (using WSGIRefServer())...
Listening on http://192.168.178.80:5005/
Hit Ctrl-C to quit.
If that starts (with your server:port), interrupt with Cntrl-C and use sudo service Schedule start again

Guenter
 
Reply
piDiscover.py chmod 755
./piDiscover.py
Code:
root@osmc:/home/pi/piSchedule7# ./piDiscover.py
Traceback (most recent call last):
  File "./piDiscover.py", line 11, in <module>
    import piLog
  File "/home/pi/piSchedule7/piLog.py", line 14, in <module>
    from bottle import request, response
ImportError: No module named bottle
 
Reply
  


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

Forum Jump:


Browsing: 1 Guest(s)