29.02.2024, 20:39
In the end, I want to charge my home battery at time x and decharge my home battery at time y. And, I want to be able to change x en y easily using the visualization, so that my husband (who knows nothing from the LM) can change the hours. Because the use of the battery depends on the seasons, sun, energy consumption,... Also the amount that the battery had to charge, is a variable. The purpose is to load the battery during night and to use the stored power during day, when the electricity is more expensive.
I already know to manipulate the battery and I already have a script that starts loading the battery at 10 o'clock and start recharging it at 6 o'clock in the morning. Now, I'm trying to write a script to change the 10 o'clock and the 6 o'clock. But, during programming and to make the problem a bit easier, I've made a group adress which changes from 0 to 1, at 10 0'clock and changes from 1 to 0 at 6 o'clock. This is just a setup to test my script I'm trying to write. I've divided the big problem in a lot of little steps.
I already know to manipulate the battery and I already have a script that starts loading the battery at 10 o'clock and start recharging it at 6 o'clock in the morning. Now, I'm trying to write a script to change the 10 o'clock and the 6 o'clock. But, during programming and to make the problem a bit easier, I've made a group adress which changes from 0 to 1, at 10 0'clock and changes from 1 to 0 at 6 o'clock. This is just a setup to test my script I'm trying to write. I've divided the big problem in a lot of little steps.