Open AhilusUA opened 1 month ago
And here is the configuration of the sensor itself, also if necessary/would be useful:
command_line:
- sensor:
name: yasno_group_6
command: "sed -n $(date +%u)p yasno_schedule_group_6.txt | cut -d' ' -f $(expr $(date +%H) + 1)"
I have a file in which each line is a day of the week, and each column is an hour of the day, and based on this file, a sensor is made that sends the value for each hour to the graph and everything works as it should, but the graph is only up to the present time. How can I loop the graph (given that the file contains future states) so that I can scroll forward?
This is what the graph configuration looks like:
and here is the file with the graph (if suddenly necessary/useful):
Perhaps this can be implemented and I just haven’t found how, in which case I’ll be glad for advice.