Phat Nguyen
99e925e7bd
Merge pull request #63 from airgradienthq/hotfix/build-fail-if-set-core-debug-level-to-verbose
...
fix: build fail if set `Core Debug Level` to `Verbose`, #57
2024-02-29 09:34:26 +07:00
Phat Nguyen
d8cba0d346
fix: build fail if set Core Debug Level to Verbose, #57
2024-02-29 09:33:33 +07:00
Phat Nguyen
39de897621
Merge pull request #56 from dechamps/includecap
...
Fix path capitalization
2024-02-29 09:05:30 +07:00
Phat Nguyen
9f1a793848
Merge pull request #62 from airgradienthq/hotfix/compile-fail-cause-value-type
...
fix: BoardDef pin number invalid type, #51
2024-02-29 08:49:03 +07:00
Phat Nguyen
be9ba88d52
fix: BoardDef pin number invalid type, #51
2024-02-29 08:45:38 +07:00
Phat Nguyen
0084b6fb91
fix: update cloud sync json noxIndex by nox_index
2024-02-29 08:39:05 +07:00
Phat Nguyen
75b579bafa
Merge pull request #61 from airgradienthq/feature/factory-config-reset
...
add Factory RESET
2024-02-26 17:51:17 +07:00
Phat Nguyen
cf5ff99d8a
add Factory RESET
2024-02-26 17:48:22 +07:00
Phat Nguyen
ea204d90b1
Merge pull request #60 from airgradienthq/bugfix/mqtt-sending-interval
...
fix: Mqtt sending interval
2024-02-26 15:56:30 +07:00
Phat Nguyen
13f6c2c747
fix: Mqtt sending interval
2024-02-26 15:55:33 +07:00
Etienne Dechamps
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
Etienne Dechamps
8c8e0d4dea
Add compile check GitHub Actions workflow
...
This commit adds a GitHub Actions workflow that, on every push/pull
request, will check that every single example successfully compiles on
every board it supports. That is, it it will check compilation on:
- ESP8266 for BASIC_v4, TestCO2, TestPM and TestSht
- ESP32 for ONE_I-9PSL, Open_Air, TestCO2, TestPM and TestSht
This provides the first building block towards a Continuous Integration
(CI) pipeline and prevents build breakages from making it to master.
Ideally this should also run tests on the examples (i.e. verifying that
the example boots successfully and sends metrics), but for now this will
at least ensure the build is not obviously broken.
2024-02-25 12:12:16 +00:00
Etienne Dechamps
b749495bf4
Fix path capitalization
...
This fixes build breakage on case-sensitive filesystems (e.g. Linux)
with errors like:
src/Display/Display.h:4:10: fatal error: ../main/BoardDef.h: No such file or directory
2024-02-24 21:43:03 +00:00
Phat Nguyen
7e3eabf09f
Remove old color set process for PM
2024-02-21 21:18:44 +07:00
Phat Nguyen
e636876c9b
Update .gitignore
2024-02-21 21:16:12 +07:00
Phat Nguyen
68953d7390
Update LED for PM and CO2
2024-02-21 21:16:01 +07:00
Phat Nguyen
1a52c2d9f8
Merge pull request #54 from airgradienthq/feature/bugfix-and-example-update
...
Feature/bugfix and example update
3.0.4
2024-02-21 20:19:54 +07:00
Phat Nguyen
6afcf6d4c3
Udpate version: 3.0.4
2024-02-20 21:06:09 +07:00
Phat Nguyen
af139331b1
Show message when sensor module not found on display
2024-02-20 21:05:13 +07:00
Phat Nguyen
e79a798b88
Update show invalid value into display
2024-02-20 21:05:04 +07:00
Phat Nguyen
14fb790e2a
PMS5003 add failed count to 3 before show invalid value to display
2024-02-20 20:36:06 +07:00
Phat Nguyen
2aab02940d
add local webserver mDNS airgradient_<devId>.local
2024-02-18 15:20:31 +07:00
Phat Nguyen
da07067661
Save configuration on device persistently
2024-02-18 15:01:30 +07:00
Phat Nguyen
b2091114b3
add serialno to local server data GET response
2024-02-18 12:50:46 +07:00
Phat Nguyen
e09128572c
fix: FW stops if some sensor not found
2024-02-18 12:43:37 +07:00
Phat Nguyen
e16966d092
Add webserver to get measure data on example Open_Air
2024-02-18 11:06:06 +07:00
Phat Nguyen
26a8b065bc
fix: wifi not connect if LED test with button request
2024-02-18 10:59:01 +07:00
Phat Nguyen
589b98d97e
Better server configure for abcDays debug message
2024-02-18 10:49:06 +07:00
Phat Nguyen
cb4d9372f8
Add device webserver to get measure data at <IPAddress>/measures/current
2024-02-18 10:35:20 +07:00
Phat Nguyen
6cb7fa8a1b
Fix: capitalize folder and file
2024-02-17 17:34:01 +07:00
Phat Nguyen
6cdbb8a0a3
Fix capitalize folder and file name ignored
2024-02-17 17:28:51 +07:00
Phat Nguyen
781fb51c6f
Add mqtt client
2024-02-17 17:19:29 +07:00
Phat Nguyen
17646f3067
Update typo, #49
2024-02-17 14:05:17 +07:00
Phat Nguyen
7a4b665bb5
[Update] optimize display not show on power up or after flash firmware
2024-02-17 13:56:07 +07:00
Phat Nguyen
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
Phat Nguyen
23513cf88c
Add parameter tvoc_raw for SGP41
2024-02-17 13:36:32 +07:00
Phat Nguyen
b475c5c1ec
capitalize folder names and file names Same like class file names
2024-02-17 13:17:45 +07:00
Phat Nguyen
ee9f26ee04
Update multiple typos, #50
2024-02-17 13:02:24 +07:00
Phat Nguyen
8c94cea764
round real value with 2 decimal on server sync data json
2024-02-17 12:47:51 +07:00
Phat Nguyen
7c63af5ba9
Add Serial Nr into log
2024-02-17 12:11:44 +07:00
Phat Nguyen
7c1eae83e4
Add logging for abcDays
2024-02-17 12:04:11 +07:00
Phat Nguyen
e48ff0e41c
Fix model PST send data to cloud with channel
2024-02-17 10:45:56 +07:00
Phat Nguyen
c9e3a2a9b4
Rename example Open_Air_O to Open_Air
2024-02-17 10:38:10 +07:00
Phat Nguyen
5667279cf1
Merge pull request #53 from airgradienthq/feature/update-sht-for-all-examples
...
Feature/update sht for all examples
3.0.3
2024-02-16 21:57:52 +07:00
Phat Nguyen
2941bb2d5d
next version 3.0.3
2024-02-16 21:56:43 +07:00
Phat Nguyen
a0044ad0ac
Update example to use sht support for sht3x and sht4x
2024-02-16 13:39:33 +07:00
Phat Nguyen
fc5c0a1d6e
Merge branch 'hotfix/sht30' into feature/update-sht-for-all-examples
2024-02-16 13:29:03 +07:00
Achim
b28719b7a5
Improved LED test on startup. Set for version 3.0.2
2024-02-16 12:11:17 +07:00
Phat Nguyen
87a3b6e409
Merge commit 'f17afd932ebef7d0d2e49c130e076dfc5462c086'
3.0.1
2024-02-15 20:07:42 +07:00
Phat Nguyen
dd62a10ed5
Update arduino library version 3.0.1
2024-02-15 20:01:02 +07:00