Post by dougstrickland on May 29, 2017 6:55:48 GMT -8
I like sparklines to show trends in data streams easily. I noticed when I turned on sparklines for the temperature panel it didn't work. I figured out that the feed from the SmartPlantPi.py script concatenates the Metric/US C or F to the end of the number so that Freeboard interprets it as a string. I fixed this by modifying the script, then adjusting the sparkline panel to display the units.
On line 315 of SmartPlantPi.py I changed the myMessage code to look like this: