samuelbles07
|
4673999dda
|
Fix var type
|
2024-10-22 12:50:43 +07:00 |
|
samuelbles07
|
8a87b865e6
|
Handle consecutive invalid value update
Set measurements type average value to invalid when invalidCounter reached max period
|
2024-10-21 22:37:44 +07:00 |
|
samuelbles07
|
c3068be6e9
|
Fix calculation PPT compensated PM2.5
|
2024-10-21 22:00:47 +07:00 |
|
samuelbles07
|
63bb5f8ddb
|
Compensate function use float data type
|
2024-10-21 01:49:01 +07:00 |
|
samuelbles07
|
8548d3e9f4
|
Optional to debug every measurement update value
|
2024-10-21 00:43:04 +07:00 |
|
samuelbles07
|
f7e1363da9
|
Rename function
|
2024-10-21 00:22:50 +07:00 |
|
samuelbles07
|
43ca0a2c2e
|
get and getFloat function specific for latest value
Update functions comments
|
2024-10-20 20:04:07 +07:00 |
|
samuelbles07
|
84884d0c15
|
Move average member value to update struct
|
2024-10-20 19:20:17 +07:00 |
|
samuelbles07
|
f36f860c2e
|
Switch to moving average for sensor data
average value to floating points
|
2024-10-20 19:01:41 +07:00 |
|
samuelbles07
|
0ccf46c219
|
Rename AgValueType to MeasurementType
Just use plain enum instead of enum class
Remove unecessary legacy variables and function
|
2024-10-19 01:32:41 +07:00 |
|
samuelbles07
|
76a2f332d7
|
Fix rhum precission on buildIndoor measurements
|
2024-10-17 12:08:00 +07:00 |
|
samuelbles07
|
ed344d3e1a
|
measurement toString
Tested on I-9PSL monitor
Update OneOpenAir post and mqtt to use new measurement toString
|
2024-10-17 00:53:49 +07:00 |
|
samuelbles07
|
2082a2fa93
|
Fix missing line when commit
|
2024-10-14 02:14:10 +07:00 |
|
samuelbles07
|
e145d32714
|
First test, console
Working average from main only
|
2024-10-14 02:05:30 +07:00 |
|
samuelbles07
|
a2c19438c0
|
validateChannel implementation
|
2024-10-14 01:54:55 +07:00 |
|
samuelbles07
|
ac838efdb5
|
validate measurement type channel
|
2024-10-14 01:25:35 +07:00 |
|
samuelbles07
|
751d4e8380
|
Get value from each data type
|
2024-10-14 01:22:44 +07:00 |
|
samuelbles07
|
6925b1ac9a
|
Provide channel for neccessary ValueType
To support OA that have 2 PMS sensor
|
2024-10-13 23:30:03 +07:00 |
|
samuelbles07
|
ea91cf9b6c
|
New function to set max update before averaging
Rename enum member
|
2024-10-11 22:47:43 +07:00 |
|
samuelbles07
|
467b3e8637
|
Tidy up
|
2024-10-11 22:11:26 +07:00 |
|
samuelbles07
|
2a5cf78b68
|
updateValue return bool to indicate max average is set or not
Add more comments
Update naming
|
2024-10-11 22:05:03 +07:00 |
|
samuelbles07
|
9c09b82efd
|
The data structure and update value function
|
2024-10-11 20:54:05 +07:00 |
|
Phat Nguyen
|
c8d5b546ed
|
correct PM compensate the input argument value humidity instead of temperature, fix #234
|
2024-09-16 14:52:04 +07:00 |
|
AirGradient
|
8b0fe967f1
|
Merge pull request #223 from airgradienthq/hotfix/print-log-wrong-format
Fix print log message number format
|
2024-09-02 12:11:43 +07:00 |
|
Phat Nguyen
|
28d27ee8fd
|
Rename temperatureCompensated to compensateTemp and humidityCompensated to compensateHum
|
2024-08-30 19:17:58 +07:00 |
|
Phat Nguyen
|
753f22923c
|
rename isValidPMS to isValidPm
|
2024-08-30 19:07:31 +07:00 |
|
Phat Nguyen
|
c45901706f
|
Merge branch 'develop' into hotfix/pms25-compensated-show-on-display
|
2024-08-30 19:02:50 +07:00 |
|
Phat Nguyen
|
7a988ea6c1
|
rename compensated to compensate
|
2024-08-26 11:56:01 +07:00 |
|
Phat Nguyen
|
db21648e91
|
Merge branch 'develop' into feature/send-pms-sensor-fw-version-to-ag-cloud
|
2024-08-25 20:46:28 +07:00 |
|
Phat Nguyen
|
81b13134d2
|
update PM2.5 firmware prefix to PMS5003x
|
2024-08-16 06:42:43 +07:00 |
|
Phat Nguyen
|
f3a9c722b2
|
Change pm25Compensated to compensated
|
2024-08-16 06:39:52 +07:00 |
|
Phat Nguyen
|
6cd587b008
|
Merge remote-tracking branch 'origin/develop' into feature/correct-pm2.5-formula
|
2024-08-15 08:19:10 +07:00 |
|
Phat Nguyen
|
6d01366887
|
change pmsFirmare to firmware
|
2024-08-15 08:04:30 +07:00 |
|
Phat Nguyen
|
040bd28038
|
Add report PMS5003 and PMS5003T firmware version
|
2024-08-07 08:50:43 +07:00 |
|
Phat Nguyen
|
01943f594d
|
Send PMS5003T firmware version to cloud
|
2024-07-29 13:20:07 +07:00 |
|
Phat Nguyen
|
5fb27b6d1e
|
Check value sensor value
|
2024-07-24 09:05:57 +07:00 |
|
Phat Nguyen
|
4b2a5f5540
|
Add PM2.5 correction formula, #182
|
2024-07-21 07:13:34 +07:00 |
|
Phat Nguyen
|
bfd20a73da
|
Rename board type 3.7 to 3.3
|
2024-06-25 16:43:50 +07:00 |
|
Phat Nguyen
|
dbc63194e6
|
Update BASIC.ino example
|
2024-06-24 18:34:24 +07:00 |
|
Phat Nguyen
|
0119a4d62a
|
Add support board DIY Pro 3.7 and add example
|
2024-06-20 11:34:23 +07:00 |
|
Phat Nguyen
|
f25f816428
|
Add MQTT
|
2024-06-19 15:17:48 +07:00 |
|
Phat Nguyen
|
a11eaea532
|
[fix] build fail on example BASIC
|
2024-06-18 19:59:29 +07:00 |
|
Phat Nguyen
|
bd237ed95d
|
Add DiyProIndoorV4_2.ino example
|
2024-06-15 15:40:50 +07:00 |
|
Phat Nguyen
|
0b12f56513
|
add bootCount to measure report
|
2024-06-04 22:17:20 +07:00 |
|
MallocArray
|
ebbf0adf2f
|
Correct API value for boot
|
2024-05-18 21:19:40 -05:00 |
|
Phat Nguyen
|
45c7279866
|
Fix: Firmware mode O-1PP send miss data channel-2
|
2024-05-13 18:25:03 +07:00 |
|
Phat Nguyen
|
a2b30a5467
|
ignore compensated value send to AG server. And udpate JSON properties
|
2024-04-21 05:46:20 +07:00 |
|
Phat Nguyen
|
cb4ae82b1b
|
Update properties JSON Snake Case to Camel Case
|
2024-04-14 22:15:37 +07:00 |
|
Phat Nguyen
|
ccee987d05
|
add firmware mode O-1P
|
2024-04-13 21:07:20 +07:00 |
|
Phat Nguyen
|
09cbbed856
|
fix typo
|
2024-04-13 20:50:11 +07:00 |
|