This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Palmy Weather" Goes live with Air Quality Monitor
#11
(26-06-2019, 00:05)Werk_AG Wrote: Hi Andy,

Cumulus will not upload the AQM data, since the Davis protocol doesn't have any fields for this kind of data.
Display the AQM data on web weather pages involves some extra procedures. I'm not sure, but I think they are described somewhere on the forum.

First step is enabling sending the AQM data to your server:

// --------------------------------------------------------------------------------------
// Air Quality Monitor - Upload and insert data in a SQL table at your own server ----
// Be sure you have already created the database and table. See AirQuality_LogToSQL.php script for info
// --------------------------------------------------------------------------------------
#define ENABLE_AQM_TO_MYSERVER 0 // 1= Enable, 0= Disable

and install on your server the php script that is included in the software package. This script will insert the AQM data on a DB (you should first create it) and also creates an AirQuality_Log.txt file which contain the latest AQM data. Then is just a matter of retrieving the latest data from the db or from the text file.

Thanks, found the info I needed here..

https://www.meteocercal.info/forum/Threa...gToSQL.php
Reply




Users browsing this thread: 1 Guest(s)