Hi all
I have been struggling with setting up the best way to store an array of energy measurements during a run of my washing machine.
The idea is that I monitor the current consumption of energy via a smart plug each minute. I want to store those values so I can use them in a Machine Learning environment to predict the remaining time that the washing machine needs to run. That way I can show this in Lovelace so I don’t need to go to the attic to check.
My first attempt was using an input_text helper. The problem here is that it has a limit of 255 characters. Since I store the energy each minute, this is not sufficient.
Also tried updating a sensor value where I took the current value and added the new one. There the same issue occurs that the number of characters is not sufficient (also 255).
Next step I tried was the File Integration from Home Assistant. I set up a log file where - when the washing machine is active - each minute an updated value is stored. This will work for manually training the ML setup, but off course I prefer an automated way.
Can anyone guide me into the right direction?
1 post - 1 participant