Phat Nguyen
173e3caf2f
Update API naming
2024-02-29 15:07:23 +07:00
Phat Nguyen
351af57591
move pm25ToAQI into PMSUtils
2024-02-29 14:45:44 +07:00
Phat Nguyen
0bda7a1c4b
Change pmPoll interval from 5s to 2s
2024-02-29 14:00:19 +07:00
Phat Nguyen
9a31c107fa
add get BoardName from AirGradient library
2024-02-29 13:58:48 +07:00
Phat Nguyen
5449fa15ea
Merge branch 'master' into develop
2024-02-29 13:50:46 +07:00
Phat Nguyen
3e4e2affa8
Merge pull request #59 from dechamps/prometheus
...
Add support for Prometheus/OpenMetrics to One V9
2024-02-29 13:47:49 +07:00
Phat Nguyen
d3a242a0b7
Merge branch 'master' into develop
2024-02-29 13:45:45 +07:00
Phat Nguyen
e5e2887c4d
Merge pull request #58 from dechamps/githubactions
...
Add compile check GitHub Actions workflow
2024-02-29 13:41:50 +07:00
Phat Nguyen
4eda2e4cb5
Merge pull request #67 from airgradienthq/develop
...
Develop
2024-02-29 10:57:10 +07:00
Phat Nguyen
fcee721d58
Merge pull request #66 from airgradienthq/feature/add-mdns-attributes
...
Add mDNS attribute
2024-02-29 10:56:48 +07:00
Phat Nguyen
7d12e63e34
Merge pull request #65 from airgradienthq/feature/relative-humidity-pms5003t-formula
...
Feature/relative humidity pms5003t formula
2024-02-29 10:50:21 +07:00
Phat Nguyen
8ff8b7929e
Update correction relative humdity formula
2024-02-29 10:49:38 +07:00
Phat Nguyen
66c53daed6
Implement relative humidity correction
2024-02-29 10:39:17 +07:00
Phat Nguyen
5de3a34dd0
Add mDNS attribute
2024-02-29 10:22:05 +07:00
Phat Nguyen
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
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