Commit Graph

128 Commits

Author SHA1 Message Date
236c5bab84 Added offline mode after LED test. 2024-02-29 18:15:22 +07:00
852fdc4360 Renamed example file. 2024-02-29 17:58:58 +07:00
f7e85a92e8 Uped version Nr. Renamed examples. 2024-02-29 17:58:14 +07:00
67785ed99b Update API naming 2024-02-29 15:20:19 +07:00
173e3caf2f Update API naming 2024-02-29 15:07:23 +07:00
0bda7a1c4b Change pmPoll interval from 5s to 2s 2024-02-29 14:00:19 +07:00
9a31c107fa add get BoardName from AirGradient library 2024-02-29 13:58:48 +07:00
3e4e2affa8 Merge pull request #59 from dechamps/prometheus
Add support for Prometheus/OpenMetrics to One V9
2024-02-29 13:47:49 +07:00
5de3a34dd0 Add mDNS attribute 2024-02-29 10:22:05 +07:00
b94112e22a Merge pull request #64 from airgradienthq/feature/led-bar-color-for-pms-and-co2
Feature/led bar color for pms and co2
2024-02-29 09:38:13 +07:00
d8cba0d346 fix: build fail if set Core Debug Level to Verbose, #57 2024-02-29 09:33:33 +07:00
0084b6fb91 fix: update cloud sync json noxIndex by nox_index 2024-02-29 08:39:05 +07:00
cf5ff99d8a add Factory RESET 2024-02-26 17:48:22 +07:00
13f6c2c747 fix: Mqtt sending interval 2024-02-26 15:55:33 +07:00
760f827d0d Add support for Prometheus/OpenMetrics to One V9
This commit adds a new feature to the One V9 (ONE_I-9PSL) firmware:
support for exposing metrics to Prometheus (or any other ingestor
compatible with the OpenMetrics format).

With this change, the AirGradient device will make metrics available
on the standard HTTP /metrics endpoint, out-of-the-box, with no need to
do anything else. All the user has to do is add their device address as
a target to their scrape config on their Prometheus server.

For more information on Prometheus and OpenMetrics, see:

- https://prometheus.io/docs/instrumenting/exposition_formats/
- https://openmetrics.io/
- https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md

This obsoletes projects such as:

- ebfa8d0ac6/AirGradient-DIY
- https://forum.airgradient.com/t/prometheus-integration/1504
2024-02-25 17:51:58 +00:00
7e3eabf09f Remove old color set process for PM 2024-02-21 21:18:44 +07:00
68953d7390 Update LED for PM and CO2 2024-02-21 21:16:01 +07:00
af139331b1 Show message when sensor module not found on display 2024-02-20 21:05:13 +07:00
e79a798b88 Update show invalid value into display 2024-02-20 21:05:04 +07:00
14fb790e2a PMS5003 add failed count to 3 before show invalid value to display 2024-02-20 20:36:06 +07:00
2aab02940d add local webserver mDNS airgradient_<devId>.local 2024-02-18 15:20:31 +07:00
da07067661 Save configuration on device persistently 2024-02-18 15:01:30 +07:00
b2091114b3 add serialno to local server data GET response 2024-02-18 12:50:46 +07:00
e09128572c fix: FW stops if some sensor not found 2024-02-18 12:43:37 +07:00
e16966d092 Add webserver to get measure data on example Open_Air 2024-02-18 11:06:06 +07:00
26a8b065bc fix: wifi not connect if LED test with button request 2024-02-18 10:59:01 +07:00
589b98d97e Better server configure for abcDays debug message 2024-02-18 10:49:06 +07:00
cb4d9372f8 Add device webserver to get measure data at <IPAddress>/measures/current 2024-02-18 10:35:20 +07:00
781fb51c6f Add mqtt client 2024-02-17 17:19:29 +07:00
17646f3067 Update typo, #49 2024-02-17 14:05:17 +07:00
7a4b665bb5 [Update] optimize display not show on power up or after flash firmware 2024-02-17 13:56:07 +07:00
571b36d05f Optimize Serial nr show and display do not show content after power up or flash firmware 2024-02-17 13:50:22 +07:00
23513cf88c Add parameter tvoc_raw for SGP41 2024-02-17 13:36:32 +07:00
ee9f26ee04 Update multiple typos, #50 2024-02-17 13:02:24 +07:00
8c94cea764 round real value with 2 decimal on server sync data json 2024-02-17 12:47:51 +07:00
7c63af5ba9 Add Serial Nr into log 2024-02-17 12:11:44 +07:00
7c1eae83e4 Add logging for abcDays 2024-02-17 12:04:11 +07:00
e48ff0e41c Fix model PST send data to cloud with channel 2024-02-17 10:45:56 +07:00
c9e3a2a9b4 Rename example Open_Air_O to Open_Air 2024-02-17 10:38:10 +07:00
a0044ad0ac Update example to use sht support for sht3x and sht4x 2024-02-16 13:39:33 +07:00
fc5c0a1d6e Merge branch 'hotfix/sht30' into feature/update-sht-for-all-examples 2024-02-16 13:29:03 +07:00
b28719b7a5 Improved LED test on startup. Set for version 3.0.2 2024-02-16 12:11:17 +07:00
87a3b6e409 Merge commit 'f17afd932ebef7d0d2e49c130e076dfc5462c086' 2024-02-15 20:07:42 +07:00
67ad912a71 update DISPLAY_DELAY_SHOW_CONTENT_MS from 3000 to 6000 2024-02-15 19:55:17 +07:00
5602a456a7 fix: wrong config key for PM Standard 2024-02-15 19:48:58 +07:00
28e5aa4e69 LED test update: support country TH and Show display Press now for LED test 2024-02-15 13:40:42 +07:00
e55f3b6e74 LED Test on Button 2024-02-15 11:21:04 +07:00
f17afd932e Auto detect 1PST, 1PPT and 1PP 2024-02-15 10:56:53 +07:00
7a6cc8caef use "arduino-sht" library for sht3x and sht4x 2024-02-10 21:14:27 +07:00
94ead3751b Merge pull request #48 from airgradienthq/feature/Basic_V4-show-full-device-id-on-display
Feature/basic v4 show full device id on display
2024-02-07 21:01:22 +07:00