antonreche / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

Task scheduling #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Give ability to schedule tasks:
  * Macro
  * GPIO trigger
  * GPIO pulse
  * PWM output

Only macro scheduling is required as everything can be done in python macros.

REST mapping is easy : /schedule/$date/$RESTURI
/schedule/2013-01-11-23-59/GPIO/0/value/1
/schedule/*-*-*-*-*-0/macros/myMacro

Add Javascript functions to hide REST calls

Add schedule saving 

Original issue reported on code.google.com by tro...@trouch.com on 10 Jan 2013 at 11:10

GoogleCodeExporter commented 9 years ago
Any thoughts on how long before you are able to develop the task scheduler?  It 
would be brilliant for controlling devices against 7 day 24hr cycle, or even 
better against a full diary type of scheduler (any min/hour/day of 
week/month/year - examples: process control, heating control, etc.

regards

stan woods

Original comment by stan.g.w...@gmail.com on 29 Mar 2013 at 12:09

GoogleCodeExporter commented 9 years ago
This feature was kept aside to get more I/O possibilities with 0.6 release.
Priority for upcoming dev is not fixed yet.
For this issue I have to see if there is an interest to wait for issue 9 and 
issue 40

Original comment by tro...@trouch.com on 29 Mar 2013 at 8:33

GoogleCodeExporter commented 9 years ago
Many thanks - look forward to further developments
regards
Stan woods

Original comment by stan.g.w...@gmail.com on 12 Apr 2013 at 6:31

GoogleCodeExporter commented 9 years ago
I would also be a great fan of a real task scheduler.
SOOO many possibilities...
keep op the good work well done!!!

Original comment by jonasvuy...@gmail.com on 30 May 2013 at 5:44

GoogleCodeExporter commented 9 years ago
This would be such an awesome feature for an already awesome application.

Original comment by joecur...@gmail.com on 26 Jun 2014 at 2:38

GoogleCodeExporter commented 9 years ago
I have been trying to get scheduling working and I basically just resorted to a 
custom-done python script. It's the ugliest implementation ever, but it works. 
I would LOVE to see this in the new update as well. Would make WebIOPi perfect. 

Original comment by dylan...@gmail.com on 21 Jan 2015 at 11:18

GoogleCodeExporter commented 9 years ago
Has anyone tried with apscheduler? I got it working from webiopi and it served 
me well so I would recommend you to take a look on it. You can setup cron 
"style" jobs and also periodic "interval" jobs from your python code, delete 
jobs, reschedule jobs, group jobs in pools...

Original comment by ismael.a...@gmail.com on 29 May 2015 at 2:35