167 Commits
Author SHA1 Message Date
Phat Nguyen a960d086e1 Update instruction comment and clean code. 2024-03-24 08:51:39 +07:00
Phat Nguyen 3537a3012c fix: WiFi connect after LedBar test with button. And update comments 2024-03-24 08:51:14 +07:00
Phat Nguyen e47096feac Limit show CO2 index within 4 character number (max = 9999) 2024-03-24 07:43:40 +07:00
Phat Nguyen 063612e08f fix: Ledbar off in offline mode 2024-03-24 07:40:26 +07:00
Phat Nguyen 7cfa722684 update show log log message and fix bug 2024-03-23 17:44:11 +07:00
Phat Nguyen 53285ab4ff Combine One and OpenAir into one: Just worked 2024-03-23 16:58:17 +07:00
Phat Nguyen 9c8ae315a0 fix: After factory reset LEDBar is off 2024-03-18 08:45:16 +07:00
Phat Nguyen aceecde7b6 Format code 2024-03-16 10:02:59 +07:00
Phat Nguyen 6926abd6f7 Standardize result of /measures/current for OpenAir 2024-03-16 10:02:46 +07:00
Phat Nguyen 15dec40dfc Merge remote-tracking branch 'origin/master' into develop 2024-03-16 09:11:25 +07:00
Phat Nguyen 4a36cf0c13 Merge pull request #83 from austvik/master
Standardize result of /measures/current
2024-03-16 09:08:53 +07:00
Phat Nguyen 471448a0f1 Prevent reboot in offline mode 2024-03-16 08:50:43 +07:00
Jørgen Austvik 49c7877ec3 Standardize result of /measures/current
Makes it easier for integrations which talks both to the cloud and to the
Cloud API to support the same format for reading current measures.

In practice this adds the firmware version and led mode to the output, and
changes the writing of pm003Count, tvocIndex and noxIndex to use the same
spelling as for the documented cloud API.
2024-03-15 19:22:00 +01:00
Phat Nguyen be1a9778e6 Fix: PMS Read Failed 2024-03-14 21:17:43 +07:00
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