samuelbles07
|
1666923ab3
|
Add AirGradient and Configuration object to AgValue
|
2025-01-23 03:33:47 +07:00 |
|
samuelbles07
|
89475ddf95
|
Get correction of temp and hum based on configuration
|
2025-01-23 01:21:27 +07:00 |
|
samuelbles07
|
c842346724
|
Fix invalidate value check for getAverage
|
2025-01-19 15:45:09 +07:00 |
|
Samuel Siburian
|
5bc1821ef9
|
Merge pull request #264 from airgradienthq/feat/ssl
Airgradient API calls using https
|
2024-12-05 13:23:52 +07:00 |
|
samuelbles07
|
6312612ada
|
resetReason and freeheap only for esp32 based mcu
|
2024-11-30 00:45:46 +07:00 |
|
samuelbles07
|
c1f22674e2
|
Add reset reason to transmission payload
|
2024-11-29 18:01:34 +07:00 |
|
Jakub Porębski
|
39ef69cbdf
|
Fix printing of debug logs throught serial
|
2024-11-27 17:18:43 +01:00 |
|
samuelbles07
|
4c165b31f5
|
Add freeheap to cloud payload
|
2024-11-21 02:36:56 +07:00 |
|
samuelbles07
|
2be91b3968
|
Boot count using setter and getter
|
2024-11-21 02:30:03 +07:00 |
|
samuelbles07
|
46f6309b77
|
Fix use the right function
|
2024-11-18 22:42:43 +07:00 |
|
samuelbles07
|
1b4d89e1a1
|
fix correction on top of compensation
|
2024-11-18 19:53:28 +07:00 |
|
samuelbles07
|
a513943cba
|
New agvalue member to get avg values
|
2024-11-09 23:27:29 +07:00 |
|
samuelbles07
|
96bb6952fb
|
correction function return raw if algorithm is none
|
2024-11-09 21:28:33 +07:00 |
|
samuelbles07
|
ade72ff3b8
|
Apply correction to transmission payload
Only for indoor
|
2024-11-02 16:11:00 +07:00 |
|
samuelbles07
|
7b0381dea3
|
Apply pm correction to display and led bar
|
2024-11-02 14:44:32 +07:00 |
|
samuelbles07
|
3a9bb16c09
|
Change json key name for particle count 2.5 and 5.0
|
2024-11-01 17:46:58 +07:00 |
|
samuelbles07
|
bb754edc51
|
Add other sensor json key field as const
|
2024-11-01 17:44:11 +07:00 |
|
samuelbles07
|
1d991b1004
|
json key field from constants
|
2024-11-01 17:26:18 +07:00 |
|
samuelbles07
|
e6696f3d41
|
New particle count 0.5 and 5.0
|
2024-10-29 23:51:19 +07:00 |
|
samuelbles07
|
bf0768c7da
|
Comment description to invalidValue variable
|
2024-10-23 20:55:45 +07:00 |
|
samuelbles07
|
33e2977eb4
|
Fix comments
|
2024-10-23 11:18:18 +07:00 |
|
samuelbles07
|
85e779cfc2
|
Use camel case for transmission payload
|
2024-10-23 11:05:16 +07:00 |
|
samuelbles07
|
4783684443
|
Update local server payloads
|
2024-10-22 18:37:56 +07:00 |
|
samuelbles07
|
3b0c77ca4d
|
New measurements add to transmission payload
|
2024-10-22 18:28:56 +07:00 |
|
samuelbles07
|
eeba41f497
|
Include other PMS data to measurements
|
2024-10-22 17:13:15 +07:00 |
|
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 |
|