Commit Graph

38 Commits

Author SHA1 Message Date
vtHydroponics caa63f437c
MS5837 console calibration options and code cleanup (#22466)
* Finalized gain/integration adjustment trees

* Fixed the bugs

* works but polishing code

* need to debug pressure in bmp

* updated temp to change via setoption8 command from tasmota

* sensor table working, value reporting working, need to update dependency on sensor duality

* working

* updated file name for ms5837 xsns file

* final working with renamed for current updates (128->116)

* resolved PR comments for extra spaces, xi2c_96

* removed extra spaces, added unit for inches across languages

* removed inches as a unit from language files

* removed extra code, commented debug lines

* rebased with dev branch, fixed sensor116 command
2024-11-11 17:24:18 +01:00
Theo Arends a013c7e36d Fix compile warning 2024-11-11 16:05:03 +01:00
vtHydroponics a35bb5a5c9
MS5837 functionality with BMP280 optional dependency (#22376)
* Finalized gain/integration adjustment trees

* Fixed the bugs

* works but polishing code

* need to debug pressure in bmp

* updated temp to change via setoption8 command from tasmota

* sensor table working, value reporting working, need to update dependency on sensor duality

* working

* updated file name for ms5837 xsns file

* final working with renamed for current updates (128->116)

* resolved PR comments for extra spaces, xi2c_96

* removed extra spaces, added unit for inches across languages

* added "Water depth" for languages

* removed inches as a unit from language files

* switched to centimeter units for SI consistency in Tasmota

* all variables showing in console and table; need to adjust offsets

* cm conversion properly reporting

* Sensor116 in console calibrates the sensor's pressure_offset variable

* removed pressure offset debugging lines

* removed unecessary commented items from old code
2024-11-08 17:45:37 +01:00
Theo Arends b53ac4a14e Fix next core I2C2 compilation 2024-10-11 14:11:00 +02:00
Theo Arends c0965f5624 Fix compile warning 2024-05-05 15:02:01 +02:00
Rai 13cbf26b87
Adds support for SPL06_007 Temperature & Pressure I2C (+10k2 code) (#21185)
* Adds support for SPL06_007 (+10k2 code)

* removes not so used methods.

Removes -2kb

* change doubles to floats

* fixes a name

* change sns idx to 25
2024-04-18 11:20:02 +02:00
Christoph Friese 5d97a73ddf
Add ENS16x (air quality) and ENS210 (temp & RH) sensors (#19479)
* Add files via upload

Added ENS16x library enabling read-out of ENS160 and ENS161 sensor component (follow-up of CCS811 and iAQcore)
Added ENS210 library to read out ENS210 temperature & humidity sensor

* Add files via upload

Add air quality sensor readout for ENS160 and ENS161 checking two possible I2C addresses (follow up sensor for CCS811 and iAQcore)
Add temperature and humidity sensor readout checking two possible I2C addresses

* Update BUILDS.md

Add USE_ENS16x and USE_ENS210

* Update decode-status.py

Add USE_ENS16x and ENS210

* Update I2CDEVICES.md

Add USE_ENS16x and USE_ENS210

* Update my_user_config.h

Add USE_ENS16x and USE_ENS210

* Update support_features.ino

Add USE_ENS16x and USE_ENS210

* Update tasmota_configurations.h

Add USE_ENS16x and ENS210

* Update tasmota_configurations_ESP32.h

Add USE_ENS16x and USE_ENS210

* Update xsns_111_ens16x.ino

Corrected I2X number

* Update xsns_112_ens210.ino

Corrected I2C number

* Disable USE_ENS16x and USE_ENS210 by default

* Added code size information

* cut down in libs

* optimize tasmota side

* fix ens16x web display

* final fix on alternate addresses

* update code & RAM usage

---------

Co-authored-by: Barbudor <barbudor@barbudor.net>
2023-09-24 18:30:15 +02:00
Andrew Klaus 3061b06f3b
Adding SGP40 support to SGP4X driver (#19560) 2023-09-22 10:15:04 +02:00
Theo Arends 701d33f645 Phase 2 support C2/C6 2023-08-23 13:02:13 +02:00
Vincent de Groot 5e591ef7db
Integrate MAX17043 driver mechanisms in xsns_110 (#19219) 2023-08-03 11:54:41 +02:00
Vincent de Groot bc41500d9c
MAX17043 sensor integration (#18788)
* Restart MAX17043 from the scratch

* revert change

* Changed battery capacity in charge (capacity is the Ah value of the battery, this degrades over time when battery ages)

* merge

* Changing xsns_109 to 110

* fix nr

* removed old xsns109

* Update I2CDEVICES.md

* clean-up usage of Interface
2023-07-22 13:33:47 +02:00
Andrew Klaus eb655a4a8f
Add support for SGP41 TVOC/NOx Sensor (#18880)
* Initial support for SGP41

* Removing delay() use from SGP4x driver

* Using i18n for TVOC/NOx raw values as well
2023-06-29 09:04:08 +02:00
Jean-Pierre Deschamps 5661a6798f
Support for pmsa003i (#18214)
* Initial support for PMSA003I air quality sensor.

* Updated pmsa003i support to the latest dev branch

* Fixed typo in esp32 configuration

Removed all global variable and use the PM25_AQI_Data struct from Adafruit library
Fix typo Xsns100 to Xsns104
Fix Typo XI2C_71 to XI2C_78

* Move everything in custom Struct for PMSA003I driver

---------

Co-authored-by: Jean-Pierre Deschamps <info@jpdeschamps.com>
2023-03-20 09:52:22 +01:00
Tyeth Gundry 2ed602057c
Add SEN5X to I2C devices (#17736) 2023-01-29 08:06:25 +01:00
Jean-Pierre Deschamps 214f4bbdfd Add support for SGP40 sensor 2022-08-25 15:51:51 -04:00
Stefan Tibus 5ef4508618 Clean-up use of `duringMeasurement` flag
- remove obsolete integer `duringMeasurement`
- change boolean `DuringMeasurement` to lower case
- replace integer assignments with boolean assignments
2022-04-13 10:29:00 +02:00
Stefan Tibus 31bbea7502 Remove declaration of unused `co2AvgExtra` 2022-04-13 00:32:28 +02:00
Stefan Tibus 94e2c2f9da Fix early return in `startLowPowerPeriodicMeasurement`
In method `FrogMoreScd40::startLowPowerPeriodicMeasurement` the `return`
statement appeared before the update of the `DuringMeasurement` flag.
Thus, the class would wrongly assume not be in measurement mode and a
subsequent `stopPeriodicMeasurement` would fail. Moved the `return`
statement to after setting the flag.
2022-04-13 00:15:47 +02:00
Theo Arends 7165258602 Update changelogs 2022-02-13 12:12:24 +01:00
Roberto Bonacina 9f752b9230 Adafruit_BusIO: bump library to version 1.11.0
The previous included version (1.0.10) was failing to read more than
32 bytes of data from I2C devices (tested on AMG8833 which typically
reads 128 bytes -whose support is in progress-).
The problem was fixed in version 1.9.0.
Currently, this library is required and used just by the
Adafruit_VEML7700 library.
The VEML7700 sensor has been tested and proved to correctly work.

Signed-off-by: Roberto Bonacina <roby.bonacina@tutanota.com>
2022-02-09 11:00:28 +01:00
Theo Arends 7aacdf4fbe Add support for BME688
Add support for BME688 with latest Bosch-Sensor-API library (#14513)
2022-01-19 17:05:39 +01:00
Jason2866 c554a70b23
fix redefine warning
with Arduino Core 3.0.x
2021-12-21 12:19:32 +01:00
Jason2866 256c1ff08e del not needed code 2021-10-28 19:25:07 +02:00
Arnold Niessen 0fea60d8ee Add SCD40/41 support 2021-09-15 12:02:27 +02:00
Theo Arends c806bcd265 Moved LinkedList to lib_div 2021-07-02 17:46:17 +02:00
Stephan Hadinger 1c5bcd6dad I2C extended MPU6886 to also support MPU9250 (found in Legacy M5Stack Fire) 2021-06-11 13:27:34 +02:00
Stephan Hadinger c1f82141b9 Support for BM8563 RTC chip (I2C) found in M5Stack Core2 and M5StickC 2021-05-26 21:47:07 +02:00
Stephan Hadinger 9116c9848a Berry milestone March 20 2021-03-20 18:44:35 +01:00
Stephan Hadinger e559ee1c30 Remove MFRC522 2021-03-16 16:30:34 +01:00
Stephan Hadinger 95e696075e Add support for MPU6686 on primary or secondary I2C bus 2021-03-15 21:06:50 +01:00
Jason2866 ce064906fd add lib info files 2021-02-12 09:43:23 +01:00
man-deli 9863e238c0 Correct divide-by-zero error when no light detected. 2021-01-23 10:19:50 -06:00
Jason2866 5b17cc4530
Update library.json 2021-01-23 11:00:57 +01:00
Jason2866 cd54109716
Update .library.json 2021-01-23 11:00:34 +01:00
Jason2866 0ed46fabaf
architectures=esp8266,esp32 2021-01-23 10:59:52 +01:00
Vic 8e54a5f955 New Feature: Adafruit STEMMA soil sensor I2C 2021-01-09 23:09:14 +01:00
Theo Arends 85dea8bbcc Move FT5206 lib from I2c to Display 2021-01-01 17:32:21 +01:00
Jason2866 e454c54e6d move libs in folder lib 2020-10-26 12:51:06 +00:00