OT? want to save web page image automatically

David Fletcher dave at thefletchers.net
Tue Nov 10 08:49:56 UTC 2020


On Mon, 2020-11-09 at 16:40 -0800, Dave Stevens wrote:
> I have a web page that displays a chart of values that change once
> per
> hour. It it uses chart.js under node.js on mint.
> 
> See it here: http://209.145.101.163/24chart.html
> 
> If I right click on the image I have an option (in Firefox) to save
> it
> as a png. That works fine. What I'd like to do is save the image once
> per hour without intervention. Does anyone know a scriptable method?
> 
> TIA
> 
> Dave

Hi Dave,

That looks good. Is it particulate matter you are charting?

One of my "lock-down projects" was to get my outside air temperature
sensor working to my satisfaction, see

https://flightmaker.hopto.org/airtemperature.shtml

I did a little searching and found a nice single supply rail
instrumentation amp that did the trick for me.

I'm simply keeping a log file of my readings in CSV format with UTC
time like this
2020,11,10,07,15,11.0
2020,11,10,07,30,11.2
2020,11,10,07,45,11.1
2020,11,10,08,00,11.2
2020,11,10,08,15,11.4
2020,11,10,08,30,11.5

Would it not be better to just log your data like this so you can run
whatever analysis you like with it any time in the future? Mine is just
a hobby but I might be looking into doing some charting in the future.
I know storage is cheap these days but CSV takes a lot less and is
surely more flexible.

Dave





More information about the ubuntu-users mailing list