-
Notifications
You must be signed in to change notification settings - Fork 22
graphlist
A simple line graph, will overlay and create a ledger if more than one log is supplied.
Shows the quantity of similar values for hourly or daily averages.
Bar chart showing the minimum daily value in blue and the maximum in red.
Line graph of each day's values overlaid in a different colour, useful for spotting trends and deviations.
With only the daily average shown;
A line graph overlaid on the day-night graphic which shows either sunset-sunrise or lamp on / lamp off
To set the light period to be between 7:00 and 22:00
use_time=lamp
light_on_time_hour=7
light_on_time_min=0
light_off_time_hour=22
light_off_time_min=00
To display use the daily sunset and sunrise times based on global location;
use_time=sun
latitude=51.50
longitude=0.12
Default location is London, UK. To change this you can look up your own latitude and longitude.
For location based sunset/sunrise times this uses the python module suntime which can be installed using;
pip3 install suntime
or using the gui install dialogue.
Adds the sum of all prior values to each data point.
(graphing temp like this makes no sense but I didn't have anything that does)
Each day is given it's own colour to help see daily patterns.
Graphs that show use the extremely low, low, high, extremely high values.
The count of value readings that are outside the ideal window.
The percentage of values in each threshold window.
The values split into hour bins and coloured based on threshold values
Must have exactly two logs loaded, gives each their own axis. Useful for comparing trends.
Must have exactly two logs loaded, finds the closest data points and compares the values.
When logs are recording with different durations between values this is will visible in the 'Time Difference Between closest log value' section. The following graph shows ambient air temperature recorded with a BME280 every 1 min compared with the CPU temperature recorded every 15 min.
(Currently you might need to have the more fine grained dataset as the first one loaded)
calculates the time difference between log entries, useful for check for intermittent sensors.
the difference in values between each log entry
This is not a very good graph, it needs reworking but it can be useful in select situations.
It attempts to detect the positive and negative movements in the value and mark the change of the value per hour, the value change per period of change, and the duration of the period of change.
Changed the log_window_size option will help tune results depending on the log size and granularity required.
A bar graph using pictures, this takes an image (pic_to_use=flower.png) and divides it into three sections repeating or stretching the middle section to fill the bar. These are set with top_cut_location and bottom_cut_location which are the amount of pixels down from the top.
use_val_set= day average
day min
day max
day range
last
middle_method = repeat
stretch
Draws a bar on a supplied image, when animated can be overlaid onto a video to provide a graphical display.
Set an image with an area to be replaced by the value display bar
pic_to_use=thermometer.png
Located the maximum size of the value bar
bar_bottom_x=62
bar_bottom_y=350
bar_height=334
bar_width=87
The value labels on the image can be set using the 'Y axis Minimum' and 'Y axis Maximum' settings.