433 Commits
Author SHA1 Message Date
Phat Nguyen 4577082731 clarifying method/variable/class names 2024-04-07 16:39:01 +07:00
Achim 9a03fb2bd7 added comments to code 2024-04-05 11:45:02 +07:00
Phat Nguyen f681d4b2e8 add WiFiManager and 'U8g2 to Libraries` 2024-04-04 18:35:15 +07:00
Phat Nguyen dba385f5bb [temporary commit] 2024-04-04 10:36:59 +07:00
Phat Nguyen 027ffeaa92 [temporary commit] 2024-04-03 21:26:04 +07:00
Phat Nguyen f52eab87d2 [temporary commit] 2024-04-03 07:04:28 +07:00
Phat Nguyen 954a7751cc fix issue: multiple define UseLedBar 2024-04-01 09:23:03 +07:00
Phat Nguyen 7d68b02f76 Remove example ONE.ino and OpenAir.ino 2024-04-01 09:18:25 +07:00
Phat Nguyen 3788aa2746 change locallyControlled to configurationControl and update relate logic 2024-04-01 09:15:10 +07:00
Phat Nguyen 260e904326 Merge branch 'develop' of https://github.com/airgradienthq/arduino into develop 2024-03-31 09:37:48 +07:00
Phat Nguyen 9055bbb690 add comment 2024-03-31 09:37:45 +07:00
Achim 5e20b9e8ec Changed defaults 2024-03-31 09:15:30 +07:00
Phat Nguyen adce439ce7 Ignore update locallyControlled if configuration from server 2024-03-31 07:52:33 +07:00
Phat Nguyen dc875dd5a8 Ignore call to LED Bar in OpenAir 2024-03-31 07:51:56 +07:00
Phat Nguyen 378688d2fa add GET/ PUT from local server on monitor 2024-03-30 19:33:03 +07:00
Phat Nguyen a2200795d7 fix: firmware model name FW_MODE_I_1PSL -> FW_MODE_I_9PSL 2024-03-29 19:32:09 +07:00
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