Etienne Dechamps
ed1d45cea1
Fix OpenMetrics typo: celcius -> celsius
...
See #78
2024-03-10 11:02:04 +00:00
Phat Nguyen
d92d312b0c
add openmetrics
2024-03-10 11:57:52 +07:00
Phat Nguyen
6837529096
add compensation temperature and humidity for SGP41
2024-03-10 11:20:52 +07:00
Phat Nguyen
b94ae9eff0
Merge remote-tracking branch 'origin/master' into develop
2024-03-10 10:10:58 +07:00
Phat Nguyen
1810c0f355
Merge pull request #78 from gouthamve/better-openmetrics-names
...
[ONE/Prometheus] Use full unit in temperature metric
2024-03-10 09:58:09 +07:00
Phat Nguyen
9ae8fb2355
fix: Completely turn off LEDbar
2024-03-10 09:34:04 +07:00
Phat Nguyen
512509c2e2
Print HTTP Response in logs in case of error
2024-03-10 08:44:49 +07:00
Jørgen Austvik
f60e9bbe3e
Fix MDNS Service Discovery:
...
- Underscore before names per https://github.com/espressif/arduino-esp32/issues/962
- Only one service per port
The combination of both changes is needed to make the service discoverable in OpenHAB
The removal of the published http service is maybe something you don't want,
but as long as it doesn't serve web pages it is maybe OK?
2024-03-08 23:37:12 +01:00
gouthamve
f361e3c9a9
[ONE/Prometheus] Use full unit in temperature metric
...
Please see: https://prometheus.io/docs/practices/naming/#base-units
Also, thanks a lot for this support, I had my own exporter that I can now delete :)
Signed-off-by: gouthamve <gouthamve@gmail.com >
2024-03-08 19:02:19 +01:00
Achim
e76dcf07c8
Updated log texts
2024-03-08 13:47:28 +07:00
Achim
e6fe489be7
Updated display texts
2024-03-08 13:29:17 +07:00
Phat Nguyen
78b1b0975c
update: Connect to Dashboard show also S/N, remove test code
2024-03-07 21:48:13 +07:00
Phat Nguyen
d99881aa46
update: Connect to Dashboard show also S/N
2024-03-07 21:44:46 +07:00
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
Achim
d78205aa20
Changed measurement and update interval for Open Air. Added fw version to logs.
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
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
67785ed99b
Update API naming
2024-02-29 15:20:19 +07:00
Phat Nguyen
173e3caf2f
Update API naming
2024-02-29 15:07:23 +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
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
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
d8cba0d346
fix: build fail if set Core Debug Level to Verbose, #57
2024-02-29 09:33:33 +07:00
Phat Nguyen
0084b6fb91
fix: update cloud sync json noxIndex by nox_index
2024-02-29 08:39:05 +07:00
Phat Nguyen
cf5ff99d8a
add Factory RESET
2024-02-26 17:48:22 +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
Phat Nguyen
7e3eabf09f
Remove old color set process for PM
2024-02-21 21:18:44 +07:00
Phat Nguyen
68953d7390
Update LED for PM and CO2
2024-02-21 21:16:01 +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