Commit Graph
207 Commits
Author SHA1 Message Date
Phat Nguyen df937fe65f update mDNS servicce and attribute 2024-03-07 21:30:42 +07:00
Achim dc742d3c92 Updated log messages and version number 2024-03-07 16:11:36 +07:00
Phat Nguyen bb804b9f6a fix: O-1PS not recognize without SGP sensor 2024-03-06 18:02:32 +07:00
Phat Nguyen 469d07a2d6 fix: O-1PS not recognized 2024-03-06 17:20:55 +07:00
Phat Nguyen 6cf5e31843 add nox_index to payload 2024-03-03 22:24:58 +07:00
Phat Nguyen 3f1da6387b Update mDNS service model attribute 2024-03-03 22:03:23 +07:00
Phat Nguyen 4374c980ec Update workflows example build configure 2024-03-03 21:51:53 +07:00
Phat Nguyen ded7637b06 Update workflows example build configure 2024-03-03 21:47:50 +07:00
Phat Nguyen 6a79ab6b5b Update workflows example build configure 2024-03-03 21:46:07 +07:00
Phat Nguyen d421c94647 Merge branch 'master' into develop 2024-03-03 21:35:25 +07:00
Achim d78205aa20 Changed measurement and update interval for Open Air. Added fw version to logs. 3.0.6 2024-03-02 15:04:30 +07:00
Achim c1228bbd06 Changed measurement and update intervalls 2024-03-02 14:05:00 +07:00
Achim 1eb43f684b Fix SHT read error. 2024-03-02 13:41:08 +07:00
Phat Nguyen 4798e44cb7 MDNS replace board with model 2024-03-01 21:56:21 +07:00
Phat Nguyen a867e9af38 revert SENSOR_TEMP_HUM_UPDATE_INTERVAL value 2024-03-01 19:51:58 +07:00
AirGradient a59d5a1bb8 Update check.yml
Adjusted new name for example files
2024-02-29 20:05:16 +07:00
Achim b4d6006678 Changed PM polling frequency for Open Air to 2s 2024-02-29 18:30:52 +07:00
Achim 236c5bab84 Added offline mode after LED test. 2024-02-29 18:15:22 +07:00
Achim 852fdc4360 Renamed example file. 2024-02-29 17:58:58 +07:00
Achim f7e85a92e8 Uped version Nr. Renamed examples. 2024-02-29 17:58:14 +07:00
Phat Nguyen e99fc2ecdc Merge pull request #69 from airgradienthq/develop
Update API naming
2024-02-29 15:26:53 +07:00
Phat Nguyen 67785ed99b Update API naming 2024-02-29 15:20:19 +07:00
Phat Nguyen 45ac4f116b Merge pull request #68 from airgradienthq/develop
Develop
2024-02-29 15:12:28 +07:00
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:

- https://github.com/geerlingguy/airgradient-prometheus/tree/ebfa8d0ac6d8c47649e4642b27e90b98557fb8f7/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