Commit Graph

265 Commits

Author SHA1 Message Date
f7e811e34b Update server GET configure period to 60 sec 2024-06-04 18:30:33 +07:00
037bb37184 Change macro name SERVER_CONFIG_UPDATE_INTERVAL' to SERVER_CONFIG_SYNC_INTERVAL` 2024-06-04 18:29:35 +07:00
14b152a2a7 Merge branch 'develop' into hotfix/correct-ota-update-message-on-display 2024-06-04 18:09:04 +07:00
ef6b041529 Fix: ota not callback on first powerup perform 2024-06-04 18:01:55 +07:00
7569b114bf Merge pull request #155 from airgradienthq/feature/update-led-bar-button-test
Handle LED bar test button before init sensor initialize
2024-05-29 16:36:08 +07:00
3c1d0a862f update comment 2024-05-29 16:34:00 +07:00
4d883af77e Merge pull request #138 from airgradienthq/hotfix/ledbar-flickers
Fix LED bar flickers
2024-05-29 08:01:05 +07:00
e9224a5de0 Remove test logging message 2024-05-29 07:58:49 +07:00
af0fbadd80 Handle LED bar button test before init sensor. 2024-05-29 07:55:27 +07:00
79f6c040c7 Merge pull request #143 from airgradienthq/feature/reboot-after-wifi-connect-timeout
Reboot After 180s WiFi Manager not Connect.
2024-05-28 13:43:08 +07:00
78a2a78020 Update CO2 calibration message show on display 2024-05-25 20:25:50 +07:00
65e759fb90 Merge branch 'develop' into hotfix/correct-ota-update-message-on-display 2024-05-24 13:30:09 +07:00
3fc7e4b55e Merge pull request #149 from airgradienthq/hotfix/reporting-fw-version-on-dashboard
Official OTA 3.1.1 version not reporting FW version on dashboard
2024-05-24 09:30:13 +07:00
d85d890878 Change OTA update period from 2h to 1h 2024-05-24 08:26:24 +07:00
c5b7c43293 disp.setText("Monitor not", "setup on", "dashboard") called when monitor is actually already on dashboard 2024-05-22 12:13:57 +07:00
7550ef7b0c change OTA update period each 2h. 2024-05-22 11:45:56 +07:00
805546b78e check firmware update after powerup 2024-05-22 11:34:42 +07:00
59880f4be5 fix typo 2024-05-22 11:17:11 +07:00
d9551dc560 Reboot After 180s WiFi Manager not Connect. 2024-05-18 08:47:49 +07:00
6ea0ab9272 Set process 100% after received firmware file. 2024-05-17 20:18:59 +07:00
6e54409512 rename function 2024-05-17 20:17:49 +07:00
f35bc4feaa Fix LED bar flickers 2024-05-17 11:52:22 +07:00
c04ab90fd2 Update OTA processing message. Fix always retry of bootCount = 0 2024-05-17 10:32:20 +07:00
ed02f66ca2 Correct OTA update process show message on display 2024-05-16 21:12:02 +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