Hi, all!
I am embarking on an exciting HA adventure where I am building a physical, digital and (hopefully) virtual showroom demoing how a hybrid energy power plant works.
I have physical miniature copies of solar, wind and hydro power plants where I am, through ESP32s and sensors, reading out either voltage changes or flow rates live into HA. This works great, and I have so far been able to create a POC/MVP where we can see both the physical changes in the system as well as the digital twins represented by live plots in HA!
I use smart bulbs for variable illuminance to the solar panels, smart fans to blow variable air into the wind turbine and remotely controlled valves and pumps in my DYI hydro power plant to provide variable water flow in different parts of my «water course».
However, I want to run short-lived automated demos where I ideally can program a 24 times X seconds (i.e. 10 seconds) schedule that will mimic an entire day of operation in 4-5 minutes.
Based on this schedule for my controls (smart light bulb level, smart fan speed, valve opening/closing, pump active/deactive) the system would react accordingly.
The caveat compared to just standard scheduling is that I would like the 24 X second scheduling points to start based on manual input, not on a preset time, based on when I want to run demos live for my audience (students, researches and so on).
An additional bonus would be to have some kind of dashboard where these schedule points could be set by said audience, and then triggered with i.e. the press of a button.
Does anyone have a suggestion on where to start?
I know about the schedule integration (which by the way when I press «Schedule» helpers it doesn’t react).
As well as the scheduling component (and Lovelace card) which I use myself for simple triggering of some switches based on pre-set times;
But I don’t think they are sufficient for my needs, i.e. not knowing the time-stamps prior to starting the schedule.
In my research I have also stumbled upon Schedy;
https://hass-apps.readthedocs.io/en/stable/apps/schedy/index.html
Which looks even more advanced, and has something called «Dynamic Expressions»;
https://hass-apps.readthedocs.io/en/stable/apps/schedy/schedules/expressions/index.html
But this then starts to go above my head, and I am not sure if I need to go that deep…?
Hoping to hear from you guys, and thanks for a great community!