Feat: weekly display scheduler (mode/animation per half-hour)#7
Closed
Dcomp-commits wants to merge 1 commit into
Closed
Feat: weekly display scheduler (mode/animation per half-hour)#7Dcomp-commits wants to merge 1 commit into
Dcomp-commits wants to merge 1 commit into
Conversation
Adds a weekly scheduler that overrides the general display settings at configurable half-hour intervals. Users define rules (mode, color, color randomization, animation, speed, brightness range) then paint time slots in a 7-day × 24-hour grid (each hour split in two halves). Implementation: - Page_scheduler.h: EEPROM read/write for 336 half-hour slots (7×48×8B), bulk save endpoint, apply-now endpoint, handleScheduler() called from loop() - Page_index.h: scheduler section with rule editor and interactive grid; click/drag to paint slots; single bulk POST to save entire grid at once - Page_style.css.h: scheduler grid and rule list CSS - global.h: SCHEDULER_EEPROM_BASE (1024) and SCHEDULER_SLOT_SIZE (8) defines - TexTime.ino: EEPROM.begin 1024→4096, include + routes + loop call EEPROM usage: existing config ends at ~778; scheduler starts at 1024, uses 2689 bytes (1 header + 336×8). Total: 3713 / 4096 bytes. ESP8266 supports EEPROM.begin() up to 4096 bytes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced May 17, 2026
Author
|
Remplacé par #9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Weekly Display Scheduler
Adds a configurable weekly scheduler that automatically switches the display mode and animation every half-hour.
Features
handleScheduler()called fromloop()New server routes
/admin/schedulerconfig/admin/schedulerdata/admin/save/schedulerbulk/admin/save/schedulerenabled/admin/scheduler/applyEEPROM changes
EEPROM_SIZEincreased from 1024 to 4096 bytesFiles changed
global.h: added SCHEDULER_EEPROM_BASE, SCHEDULER_SLOT_SIZE, bumped EEPROM_SIZE to 4096TexTime.ino: include Page_scheduler.h, new routes, handleScheduler() in loop()Page_scheduler.h: new file - all scheduler backend (read/write/bulk/apply)Page_index.h: scheduler UI section with grid editor and rule editorPage_style.css.h: scheduler grid and compact editor stylesProgrammateur d'affichage hebdomadaire
Ajoute un programmateur hebdomadaire configurable qui change automatiquement le mode d'affichage et l'animation toutes les demi-heures.
Fonctionnalites
handleScheduler()appele depuisloop()Nouvelles routes serveur
/admin/schedulerconfig/admin/schedulerdata/admin/save/schedulerbulk/admin/save/schedulerenabled/admin/scheduler/applyModifications EEPROM
EEPROM_SIZEaugmente de 1024 a 4096 octetsFichiers modifies
global.h: ajout SCHEDULER_EEPROM_BASE, SCHEDULER_SLOT_SIZE, EEPROM_SIZE passe a 4096TexTime.ino: inclusion Page_scheduler.h, nouvelles routes, handleScheduler() dans loop()Page_scheduler.h: nouveau fichier - toute la logique backend du programmateurPage_index.h: section UI du programmateur avec grille et editeur de reglesPage_style.css.h: styles de la grille et de l'editeur compact