Author Topic: Support of "Leuven" Air Quality scripts  (Read 2393 times)

0 Members and 1 Guest are viewing this topic.

Offline pimohdaimaoh

  • Senior Contributor
  • ****
  • Posts: 253
  • "Be aware to our nature"
    • PIMOHWEATHER
Re: Support of "Leuven" Air Quality scripts
« Reply #50 on: May 20, 2020, 08:12:22 AM »
Hi There,

Before we can start, do you have the user sensor file coming to your /luftdaten/data directory on your server?

it will look like "luft_24data_esp8266-14900835.arr"

Regards,
Dave.

Hello, yes I have that exactly but I temporarily disabled it because im using WIM's script that directly reads data from luft servers


Regards

-Mike-

Offline WraxallDave

  • Member
  • *
  • Posts: 36
    • Wraxall Weather, Uk
Re: Support of "Leuven" Air Quality scripts
« Reply #51 on: May 20, 2020, 08:40:03 AM »
Hi Mike,

First task is to read that sensor file, I modified Wim's "Saratoga" script to read the sensor file.

Then wrote a script to run as a cron to load the data into an SQL database.

There are several graph/chart packages that can be used to display SQL data, I like JPGraphs, but you could use HighCharts.

I can help with reading the sensor file  and the SQL load script, but explaining graph packages would take forever. There is a lot on the forum about using these packages.

If you would like to go down the route of getting the data into an SQL database, let me know?

Cheers,

Dave

Offline pimohdaimaoh

  • Senior Contributor
  • ****
  • Posts: 253
  • "Be aware to our nature"
    • PIMOHWEATHER
Re: Support of "Leuven" Air Quality scripts
« Reply #52 on: May 23, 2020, 08:43:50 AM »
Well not bad i INSTEAD USE its gaffana graphs, however the monthly and yearly graphs are not available so still need to redirect to MADAVI site for it, but at least I got daily graphs