Skip to content

6leonardo/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scheduler

easy 24x7 js widget scheduler all with a simple flask app to load and save db, the db is a 7x(24*4) matrix with the scheduled values and a array with the scheduled values.

in index.html a simple html and js control to schedule temps may be to use with arduino.

examples

scheduler1=new Sliders("sc1",[["lightgray","spento"],["#ff0000","18°"],["#00ff00","20°"],["#0000ff","22°"]],["Lunedì","Martedì","Mercoledì","Giovedi","Venderdi","Sabato","Domenica"],1);
scheduler2=new Sliders("sc2",[["lightgray","spento"],["#ffff00","16°"],["#00ffff","17°"]],["Lun-Ven","Sab-Dom"],4);
scheduler3=new Sliders("sc3",[["lightgray","spento"],["#ff0000","18°"],["#00ff00","20°"],["#0000ff","22°"],["#000000","24°"]],["Lun-Ven","Sab-Dom"],2);

$("#save1").on("click",()=>scheduler1.save());
$("#save2").on("click",()=>scheduler2.save());
$("#save3").on("click",()=>scheduler3.save());

it's possible to change the legend labels clicking over the labels and writing, on save the scheduler timesheet also the labels are saved.

image info

you can also try the page /recipes inside this page you can edit different scheduler recipes and save the recipe and chose one recipe to run

About

javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors