17-02-2020, 20:10
(17-02-2020, 10:43)Stefano90 Wrote: if I want to change read interval of the sensor, have I to change these rows?
for example:
Is good to know r1) const byte readInterval = 5;
2) if (!first4readings) divider = 12;
3) if (readCount_1H == 12)
Are there others?
Thank you.
Hi Stefano90,
Is good to know that your AQMII is working.
Regarding changing the read intervals, its not so simple. If you change the read intervals among other problems, you will mess with the standard EPA 12 hours AQI calculations.
I strongly recommend that you keep things as they are. By other side, as you certainly understand, we can't give support for customized software changes, as this just leads to confusion among users.
I can't say if your PHP script works or not, but check this on the AQM II software:
Config_Options.h
Quote:#define ENABLE_AQM_TO_MYSERVER 1 // 1= Enable, 0= Disable
Credentials.h
Quote:// --------------------------------------------------------------------------------------
// My Server Credentials
// --------------------------------------------------------------------------------------
const char* My_Server = "YOUR SERVER ADDRESS"; // Put here your server address
const char* Path_To_LogToSQL_PHPfile = "/NAME OF YOUR PHP SCRIPT";
Rgs

