I would like to implement a dashboard for monitoring device states based on elapsed time.
This sounds strange, but actually it's about my fish tank.
The filter contains of several materials, each of them lasts for particular time and has to be replaced afterwards. Since you can hardly measure filter material condition with a sensor, I want to make predictions based on time lapsed since I deployed the filter. There is an ESP32 with pH probe and water level sensor, where some data could be stored on (like the date of deployment).
I could achieve that with Thingsboard by creating custom HTML widgets and copy-pasting LOTS of code every time, but this does not seem to be the right way to me. My approach requires a framework or dashboard, where I can create reusable custom definitions (e.g. "sponge filter - life span 2 weeks", "carbon filter - life span 10 weeks", ph probe also needs to be replaced every year) and some kind of a rule engine for measuring elapsed time.
Anyone knows something like this?
It has not necessarily to be a plug&play solution, any extendable js or PHP framework would do the job, too. ( I'm PHP developer and this should be part of my "diving deeper into IoT" learning project. )
Proper terminology for those functionalities, that I could type into Google
and other ideas for achieving this are also welcome.