Commit Graph

242 Commits

Author SHA1 Message Date
f35bc4feaa Fix LED bar flickers 2024-05-17 11:52:22 +07:00
1544989fe6 Merge pull request #128 from airgradienthq/hotfix/change-ota-update-period
Change the OTA update period use timestamp to bootCount
2024-05-16 11:54:56 +07:00
d7b5e999c1 Merge pull request #129 from airgradienthq/hotfix/turn-led-off-on-offlinemode
Turn LED indicate wifi failed, cloud failed and get cloud configuration failed to off
2024-05-16 11:54:00 +07:00
cad5d1f0e7 fix print number value wrong format 2024-05-15 17:13:39 +07:00
55ede2b04d turn led indicate wifi failed, cloud fail and get cloud configuration fail to off. 2024-05-15 17:11:26 +07:00
563bdfe4b2 Change the OTA update period use timestamp to bootCount 2024-05-15 17:09:06 +07:00
c640cf773e Merge pull request #124 from airgradienthq/hotfix/configuration-handle
Configuration failed response message and failed condition handle.
2024-05-13 20:39:45 +07:00
4612f4b793 Add condition to handle configuration changed. 2024-05-13 19:00:34 +07:00
5cb838af29 fix: OpenAir send incorrect model(firmware mode) 2024-05-13 18:11:46 +07:00
f23c7e9e31 Set offline mode incase wifi is not configuraion or configuration ignored. 2024-05-13 15:07:10 +07:00
5b18a8353d Fix issue: LED bar button test pressed but WiFi connection still perform. 2024-05-13 14:43:53 +07:00
1b69e8a599 Offline mode should not shown status on display. #111 2024-05-13 12:02:17 +07:00
a6d8936ea6 Fix factory reset failed, the configuration not set to default. #112 2024-05-13 11:47:37 +07:00
22dc2136e4 Update watchdog reset message 2024-05-13 11:18:08 +07:00
7a4255b2bb Turn off LED bar and Display if brightness is 0%, fix #114 2024-05-13 10:34:06 +07:00
a3c9727b02 Update variable a descriptive name 2024-05-10 07:19:11 +07:00
cb98183e20 Merge branch 'develop' into feature/press-button-for-offline-mode 2024-05-09 14:48:30 +07:00
da6326db0f Add display ask for offline/online mode 2024-05-09 14:32:42 +07:00
8a90fe511b Merge pull request #104 from airgradienthq/feature/show-ota-process-on-display
Feature/show ota process on display
2024-05-09 06:23:03 +07:00
cca1ab69bb Move rebooting process out of OtaHandler 2024-05-08 12:31:54 +07:00
7c2f8e5b9b Add WiFi reset to factory default: connect to SSID airgradient after led bar test and button still keep pressed. 2024-05-07 15:00:32 +07:00
fb84b53077 Merge pull request #102 from airgradienthq/hotfix/led-button-test-not-handle-on-power-up
fix led bar button test not work on power up
2024-05-03 21:03:15 +07:00
8eb8d4a1ec Remove dependency from StateMachine 2024-05-03 17:27:05 +07:00
d2723de0f8 Remove OtaHandler constructor 2024-05-02 18:22:26 +07:00
4493156739 Implement regular OTA update attempt / indicate OTA processing on display 2024-05-02 10:19:49 +07:00
f08438db46 Implement display / ledBar brightness 2024-05-01 21:25:35 +07:00
221730160b fix led bar button test not work on power up 2024-05-01 21:02:57 +07:00
5e6f801534 re-format source code 2024-04-29 19:46:13 +07:00
88808a2ad2 Revert "fix: source code formating"
This reverts commit 1580cd51aa.
2024-04-29 19:34:15 +07:00
a4fc954712 Merge remote-tracking branch 'origin/master' into develop 2024-04-29 10:01:10 +07:00
1580cd51aa fix: source code formating 2024-04-29 09:54:37 +07:00
940dd0167c Fix OpenMetrics humidity metric 2024-04-28 22:10:39 -04:00
6b4f86e7e4 Report PM data to metrics API for AirGradient ONE 2024-04-28 21:47:38 -04:00
e5a0c6bc7b Merge pull request #95 from airgradienthq/ota
OTA Update, better handle the 304 and 400 case
2024-04-27 14:14:09 +07:00
b8fdb38db8 Merge branch 'develop' into ota 2024-04-25 16:47:28 +07:00
b2c55c38dc better handle the 304 and 400 case 2024-04-25 16:11:49 +07:00
e82b5f8369 Merge branch 'develop' of https://github.com/airgradienthq/arduino into develop 2024-04-25 06:49:18 +07:00
1ec5d84043 show wifi connect on display by qrcode 2024-04-25 06:49:14 +07:00
5078b35341 moved fallback GIT_VERSION to AirGradient.h 2024-04-24 20:27:45 +07:00
6d7750d917 Merge branch 'develop' of https://github.com/airgradienthq/arduino into develop 2024-04-24 20:02:40 +07:00
1c8d7b04e9 ota handling implemented 2024-04-24 19:56:37 +07:00
e12a154235 ota handling code added, wip 2024-04-23 06:35:21 +07:00
12f03aff30 ota handler added, wip 2024-04-23 05:59:58 +07:00
5275f5a810 compile git version into firmware 2024-04-22 19:52:13 +07:00
9feac035eb update message log and fix some bug 2024-04-22 16:31:40 +07:00
2b891c0194 Merge branch 'develop' of https://github.com/airgradienthq/arduino into develop 2024-04-21 21:03:06 +07:00
d5fc35df2f Add _compensated to log output 2024-04-21 21:03:02 +07:00
a91f6c1fa0 Added documentation for Open Metrics 2024-04-21 17:28:56 +07:00
556a6fbd6d update mqtt publish data is locally 2024-04-21 16:33:55 +07:00
e61cd9ba6a Update OpenMetrics with compensated values 2024-04-21 06:10:17 +07:00