Gawk - combine virtual sol sensor with heart beat
Posted: Thu Feb 06, 2014 5:14 pm
Can anybody help me with gawg?
For displaying sunshine hours in a graph I created a virtual sensor "data9" using the gawk command - awk '{ if ($3 < 120) printf ''0''; else printf ''8460000'' }' - with the sol sensor of my Vantage. But my Vantage provides sol data every 51 sec. For that reason the graph sunshine-hours/day shows values which are too high.
So I want to force meteohub to save the data of the virtual sunshine sensor exactly once a minute.
I created a 2nd virtual sensor "data10" for system data 'heart beat'.
Question:
When I create a 3rd virtual sensor which uses the sunshine-data of virt. sensor "data9", which gawk command do I need to force it to save data once a minute using the heart beat sensor?
For displaying sunshine hours in a graph I created a virtual sensor "data9" using the gawk command - awk '{ if ($3 < 120) printf ''0''; else printf ''8460000'' }' - with the sol sensor of my Vantage. But my Vantage provides sol data every 51 sec. For that reason the graph sunshine-hours/day shows values which are too high.
So I want to force meteohub to save the data of the virtual sunshine sensor exactly once a minute.
I created a 2nd virtual sensor "data10" for system data 'heart beat'.
Question:
When I create a 3rd virtual sensor which uses the sunshine-data of virt. sensor "data9", which gawk command do I need to force it to save data once a minute using the heart beat sensor?