Commit Graph

443 Commits

Author SHA1 Message Date
samuelbles07
070a103234 build CE payload include tvoc and nox index
If measures value invalid, set it to empty
New schedule to print network signal
2025-03-26 16:18:48 +07:00
samuelbles07
ef87cde9d6 Change error status on display to icon 2025-03-24 03:52:46 +07:00
samuelbles07
ea5e23b307 Fix cellular payload
Interval value should be in seconds
2025-03-24 03:49:33 +07:00
samuelbles07
c2a26e78a0 agclient keep serial number on initialization 2025-03-23 21:48:46 +07:00
samuelbles07
30622fca99 MeasurementCycle queue only applied for cellular
Cellular post measures payload different with wifi
Update submodule to support different cellular post endpoint
2025-03-21 04:40:27 +07:00
samuelbles07
7c2aa35e4f Fix wifi connection error when using cellular 2025-03-18 01:02:10 +07:00
samuelbles07
e93009f31c Decrease delay otaInProgress check
Do not run NetworkingTask when in offline mode
2025-03-18 00:01:04 +07:00
samuelbles07
26db6372cd Tested ota cellular integration 2025-03-17 22:17:59 +07:00
samuelbles07
d94ebbc570 Integrate ota 2025-03-17 15:12:11 +07:00
samuelbles07
299234ac40 Update OneOpenAir.ino 2025-03-17 02:20:43 +07:00
samuelbles07
76b2b3f940 Adjust interval based on network options 2025-03-16 23:15:01 +07:00
samuelbles07
bf09b746c7 Handle reconnection when network option is cellular 2025-03-16 22:47:21 +07:00
samuelbles07
b5c67cb0b1 Better network mode representation
Handle wifi network reconnection
if measurementCycleQueue empty, skip transmission
Move agclient implementation on initializeNetwork function
2025-03-16 16:13:14 +07:00
samuelbles07
5f40a327b3 Run networking related on seperate task
A couple of todos still needs to address
2025-03-16 02:22:38 +07:00
samuelbles07
8728589ca1 Make sure CE load switch disable on boot 2025-03-14 11:04:32 +07:00
samuelbles07
4b356920c2 First working integration using airgradientClient 2025-03-14 01:41:23 +07:00
samuelbles07
033358e2c2 Update example sketch headers 2025-02-24 14:59:12 +07:00
samuelbles07
4c7e72b8e7 Better logging
Fix notif when wifi not connect
2025-02-07 10:45:14 +07:00
samuelbles07
17d2e62b15 Remove delayed oled display 2025-02-06 15:38:36 +07:00
Samuel Siburian
b0f5263829 Merge pull request #277 from airgradienthq/feat/correction-temp-hum
Apply temperature and humidity correction based on configuration
2025-02-06 10:14:38 +07:00
samuelbles07
0e26aa1b5d Improve comments 2025-02-05 14:06:33 +07:00
samuelbles07
bd9dbec663 Rename functions 2025-02-05 13:46:10 +07:00
samuelbles07
29d701780a Improve logging 2025-02-05 11:37:16 +07:00
samuelbles07
4b09b98524 Fix variable naming ahum to rhum 2025-02-05 10:57:02 +07:00
samuelbles07
afd498074b Fix grammar error 2025-02-05 10:43:56 +07:00
samuelbles07
e851d0781c Merge branch 'develop' into feat/disable-cloud 2025-02-05 10:06:39 +07:00
samuelbles07
d2ee3a5d24 Set default value for each measurements value to invalid 2025-02-03 01:28:42 +07:00
samuelbles07
154f3ecf8a Fix display 0 measurements on boot 2025-02-01 13:52:12 +07:00
samuelbles07
84a358291b Rename function
from configure to configuration
2025-01-30 14:23:39 +07:00
samuelbles07
0e41b2d630 Rename function from initiateNetwork to initializeNetwork 2025-01-30 10:01:15 +07:00
samuelbles07
3e48a562e7 Change comment of sendDataToAg function call 2025-01-26 22:50:17 +07:00
samuelbles07
c8f0e6a0d2 Update diy samples
That accomodate ApiClient changes
Fix apiClient begin on OneOpenAir
2025-01-25 04:08:17 +07:00
samuelbles07
32c78f6018 Apply disableCloudConnection
fetch configuration, post data and ota will be ignored
2025-01-25 03:01:32 +07:00
samuelbles07
4bb97fc8be Fix changes to other examples 2025-01-24 18:17:41 +07:00
samuelbles07
af16c1c060 Apply temphum correction 2025-01-24 09:56:01 +07:00
samuelbles07
1666923ab3 Add AirGradient and Configuration object to AgValue 2025-01-23 03:33:47 +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
80b9ae11d8 Fix openmetrics pm25 correction on openair 2024-12-03 03:33:46 +07:00
samuelbles07
ccc1ab463a PM25 correction for openmetrics 2024-12-03 01:55:11 +07:00
samuelbles07
283646a699 Move OtaHandler to src
OTA only valid for esp32 based monitor
2024-11-30 02:47:05 +07:00
samuelbles07
40d38a75d8 Add reset reason to transmission payload 2024-11-29 18:01:14 +07:00
samuelbles07
5f5e985309 Fix openmetrics esp8266 based 2024-11-27 00:43:03 +07:00
samuelbles07
d638573ca7 Fix open metrics for OneOpenAir 2024-11-27 00:15:32 +07: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
c7f89fa7b7 Decrease period length moving average to 80% 2024-11-09 20:53:52 +07:00
samuelbles07
404c14aad2 Fix typo and comment 2024-11-07 22:08:36 +07:00
Achim
593547cdbe Updated version number for 3.1.10 and enabled debug mode for verbose log messages 2024-11-03 14:38:37 +07:00
samuelbles07
e6696f3d41 New particle count 0.5 and 5.0 2024-10-29 23:51:19 +07:00
samuelbles07
eeba41f497 Include other PMS data to measurements 2024-10-22 17:13:15 +07:00