• 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
@segalion - Today 10:49 AM

First of all .. if you tend to use piSchedule, please make sure you don't use the pilight dev version. You should get:

pi@raspberrypi ~/piSchedule75 $ sudo pilight-daemon -V
pilight-daemon version v7.0

Next you can test pilight switching with a string like this:

Use 'off' or 'on' and you should be able to switch.

See also my last post: Yesterday, 11:31 PM
You need to get a ssdp connection which is shown after successful start of pilight v.7.0 and piSchedule v.7.5

I have switched to nightbuild

sudo pilight-daemon -V
pilight-daemon version v7.0-142-gd2b181e

and problems remains the same: the actions are not executed on pilight

I have switched to nightybuild version

sudo pilight-daemon -V
pilight-daemon version v7.0-142-gd2b181e

And problems remain the same:

on log I can see:

#1616 12:40:15 - piSchedule fire_pilight #169 url{"action":"control","code":{"device":"web                cam_on","state":"on"}}

but the generic_switch device is not set "on" on pilight.
Seems there are some more porblem with updatings this forum.

Please note --once more --
piSchedule needs pilight STANDARD, not development/nightly!!!

And with nightly my posted 'send' string will NOT work ... that's because the control cmds have been changed!
Thanks gneandr

Now Im using  pilight-daemon version v7.0-142-gd2b181e

supossed to be in stable repository.

Im using raspberry pi1 with jessy raspbian.

piSchedule web works fine, and even read the pilight devices. I can configure schedule events and are well executed in time (as you can see in log), but the problem is that the action is not executed in the pilight

I have configured loglevel 6, but dont appear anything about any problem

I suppose the problem is with web pilight api, but I cant discover the error.

Please any clue is wellcomed.

Hei!!!! I finally make it work

I was in trouble with pilight versions, and I was allways with nighty build version.

No I can see:
sudo /usr/local/sbin/pilight-daemon -V
pilight-daemon version v7.0

and seems tha piShedule works fine.

Thanks, for this great piece of software!!!!

Now my only not working is timeline:

Error: 500 Internal Server Error
Sorry, the requested URL '' caused an error:
Internal Server Error
but its no so important for me.
Ok, good you have finally got the right pieces Wink

With the error 500 etc I'm very interested to understand that. Can you please send the log files to me (directly gneandr at web dot de).

You find them in ../piSchedule75/logs, like this:

Quote:-rw-r--r-- 1 root root 20395 Jul  5 01:03 piInfo.log
-rw-r--r-- 1 root root 44056 Jul  5 01:03 piSystem.log
-rw-r--r-- 1 root root 49896 Jul  5 01:03 piInfo.log.1
-rw-r--r-- 1 root root 49992 Jul  4 00:57 piInfo.log.2
-rw-r--r-- 1 root root 49935 Jul  4 00:57 piSystem.log.1
-rw-r--r-- 1 root root 49821 Jul  2 19:52 piSystem.log.2

Logs sended.

Thanks for all.
The ssdp connection failure has been the problem all the time. See my entry on 18/5. With your answer on 24/5 you suggest to install some tools to solve it, which I did but does not resolve it. 

pilight is running just fine. The pilight gui on my tablet connects to pilight server through ssdp just fine also. Switching on/off lights with the gui works fine too.

So, the problem is not pilight. It must be something in the piSchedule setup/config I guess.

Browsing all the posts I think your setup has a general problem which I don't understand at the moment. As asked the other poster also, please send your current log files directly to me (details above with Today 01:35 PM posting), I hope to get an idea what's going on from that.

Log excerpts of time of error have been sent to you directly.
Please see the piSchedule Forum for some updates

-- pilight/ssdp handling
-- sunrise/sunset :60 sec error (System error 500)
-- piSystem log file

Move over to

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

Forum Jump:

Browsing: 1 Guest(s)