|
4783684443
|
Update local server payloads
|
2024-10-22 18:37:56 +07:00 |
|
|
3b0c77ca4d
|
New measurements add to transmission payload
|
2024-10-22 18:28:56 +07:00 |
|
|
eeba41f497
|
Include other PMS data to measurements
|
2024-10-22 17:13:15 +07:00 |
|
|
fd1f35f6d8
|
Getter to get other PMS sensor data
|
2024-10-22 15:28:58 +07:00 |
|
|
eb76eff403
|
Merge pull request #256 from airgradienthq/restructure-agvalue
Restructure Measurements class
|
2024-10-22 13:40:50 +07:00 |
|
|
4673999dda
|
Fix var type
|
2024-10-22 12:50:43 +07:00 |
|
|
83aa6a4502
|
Apply for other monitor series
|
2024-10-22 00:11:58 +07:00 |
|
|
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 |
|
|
c3068be6e9
|
Fix calculation PPT compensated PM2.5
|
2024-10-21 22:00:47 +07:00 |
|
|
63bb5f8ddb
|
Compensate function use float data type
|
2024-10-21 01:49:01 +07:00 |
|
|
8548d3e9f4
|
Optional to debug every measurement update value
|
2024-10-21 00:43:04 +07:00 |
|
|
f7e1363da9
|
Rename function
|
2024-10-21 00:22:50 +07:00 |
|
|
2ffe0a62aa
|
Reduce update interval for max period to 50%
|
2024-10-21 00:15:59 +07:00 |
|
|
2cda36ed0d
|
set measurement max period as function
|
2024-10-20 23:27:27 +07:00 |
|
|
7de2d0cc30
|
Set proper max period for moving average based on update interval
SHT read set to 6s
|
2024-10-20 23:20:16 +07:00 |
|
|
f478dd16c8
|
get value function consume
|
2024-10-20 22:30:49 +07:00 |
|
|
43ca0a2c2e
|
get and getFloat function specific for latest value
Update functions comments
|
2024-10-20 20:04:07 +07:00 |
|
|
84884d0c15
|
Move average member value to update struct
|
2024-10-20 19:20:17 +07:00 |
|
|
f36f860c2e
|
Switch to moving average for sensor data
average value to floating points
|
2024-10-20 19:01:41 +07:00 |
|
|
e47a9057ea
|
Update AQI breakpoints to 2024 values (#208)
* Update breakpoints to 2024 standard
* Update formula to match Wikipedia
https://en.wikipedia.org/wiki/Air_quality_index#Computing_the_AQI
---------
Co-authored-by: Samuel Siburian <samuelbles07@gmail.com>
|
2024-10-19 14:55:08 +07:00 |
|
|
399b4ca1dc
|
Other related class use new AgValue structure
|
2024-10-19 01:35:36 +07:00 |
|
|
2e4f4643fa
|
maxUpdate
|
2024-10-19 01:33:00 +07:00 |
|
|
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 |
|
|
76a2f332d7
|
Fix rhum precission on buildIndoor measurements
|
2024-10-17 12:08:00 +07:00 |
|
|
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 |
|
|
2082a2fa93
|
Fix missing line when commit
|
2024-10-14 02:14:10 +07:00 |
|
|
e145d32714
|
First test, console
Working average from main only
|
2024-10-14 02:05:30 +07:00 |
|
|
a2c19438c0
|
validateChannel implementation
|
2024-10-14 01:54:55 +07:00 |
|
|
ac838efdb5
|
validate measurement type channel
|
2024-10-14 01:25:35 +07:00 |
|
|
751d4e8380
|
Get value from each data type
|
2024-10-14 01:22:44 +07:00 |
|
|
6925b1ac9a
|
Provide channel for neccessary ValueType
To support OA that have 2 PMS sensor
|
2024-10-13 23:30:03 +07:00 |
|
|
77a23b4202
|
Always increment bootcount when send measurements data is scheduled (#255)
|
2024-10-13 15:46:41 +07:00 |
|
|
ea91cf9b6c
|
New function to set max update before averaging
Rename enum member
|
2024-10-11 22:47:43 +07:00 |
|
|
467b3e8637
|
Tidy up
|
2024-10-11 22:11:26 +07:00 |
|
|
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 |
|
|
9c09b82efd
|
The data structure and update value function
|
2024-10-11 20:54:05 +07:00 |
|
|
60d01c0d94
|
First init the data structure
|
2024-10-10 22:51:37 +07:00 |
|
|
4e41fd5d71
|
Fix default for ledBarMode (#252)
|
2024-10-07 21:31:24 +07:00 |
|
|
c841476ca4
|
Merge pull request #247 from airgradienthq/fix/pms-read-data
Fix: PMS sensor read failed in case PM value is low
3.1.9
|
2024-09-24 20:45:04 +07:00 |
|
|
359394af53
|
fix: compile failed for esp32-c3
|
2024-09-24 20:13:01 +07:00 |
|
|
b8e10f473e
|
update API change on example
|
2024-09-24 20:07:31 +07:00 |
|
|
cb511903ef
|
Update the API use Stream instead of Hardware/Software serial
|
2024-09-24 20:07:14 +07:00 |
|
|
ebb3f01dcd
|
set active mode on init
|
2024-09-24 10:39:17 +07:00 |
|
|
2e0ba26c97
|
Merge commit '0370a8aa15ffaf776f9055f84b5d7c221046b9be' into fix/pms-read-data
|
2024-09-24 10:39:04 +07:00 |
|
|
c1a4758c6c
|
update timeout handle
|
2024-09-24 10:28:41 +07:00 |
|
|
0370a8aa15
|
Update AirGradient.h to 3.1.9
|
2024-09-24 10:05:04 +07:00 |
|
|
863a37132a
|
Update library.properties to 3.1.9
|
2024-09-24 10:04:28 +07:00 |
|
|
612317d976
|
Update local-server config example
|
2024-09-24 09:46:18 +07:00 |
|
|
8873bacf55
|
Merge pull request #243 from airgradienthq/feature/add-pm-configuratin-for-display
Add configuration: monitorDisplayCompensatedValues
|
2024-09-24 09:42:50 +07:00 |
|
|
bf2388b121
|
Merge pull request #241 from DmitryPustovit/support-display-disable-for-diy-board
Added support clearing display at 0 brightness for DIY Boards
|
2024-09-24 09:41:01 +07:00 |
|