Commit Graph

89 Commits

Author SHA1 Message Date
Bastian Urschel bf91af0c07
add support for ams5915 and ams6915 temerature and pressure sensors (#20814)
* add support for ams5915 and ams6915 temerature and pressure sensors

* improved function namings

* optimized detection of sensor

* set verbosity level to debug

* minor code cleanings

* added seconds-counter to minimize i2c bus load, minor code cleanups

* add meas_valid in sensor struct to differentiate between sensor present (at tasmota boot) and measurement valid (if sensor was reattached) at runtime

* removed global struct and sensor_present, introduced dynamic memory allocation if sensor is present at startup, minor code changes

* fixes missing initialisation of variable

* corrected the amount of used memory if compiled with AMSX915 support

* Update my_user_config.h

disable AMSx915 by default

---------

Co-authored-by: baschdello <urschelb@rhrk.uni-kl.de>
Co-authored-by: Bastian <bastianurschel@gmail.com>
2024-02-26 23:04:25 +01:00
Theo Arends 6efe2ab514 Add I2C bus2 support to LM75AD temperature sensor 2023-10-21 15:42:32 +02:00
Theo Arends bec0c27750 Add I2C bus2 support to SI1145/6/7 Ultra violet index and light sensor 2023-10-21 15:31:54 +02:00
Theo Arends c91882daeb Add ADS1115 I2C bus2 support 2023-10-20 17:39:00 +02:00
Theo Arends 7238d857e9 Add SHT3x I2C bus2 support 2023-10-20 14:52:21 +02:00
Theo Arends f05470bf81 Add HYT I2c bus2 support 2023-10-20 13:35:24 +02:00
Theo Arends 2cabbc68c3 Add bus2 info 2023-10-20 11:51:44 +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
Theo Arends 978a21240c Update changelogs 2023-07-24 15:30:48 +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
Theo Arends f1a9a0b45b Add support for PCA9557
Add support for PCA9557 8-bit I/O expander (#18632)
2023-05-14 15:08:09 +02:00
CCTweaker 885737a1fd
Add support for PCA9557 8-bit IO expander (#18632)
* add PCA9557 driver

* text correction

* added switches and buttons

* update max devices to 8

* cleanup
2023-05-14 14:19:39 +02:00
Theo Arends cda2bf157d Add support for TC74
Add support for TC74 temperature sensor by Michael Loftis (#18042)
2023-05-01 16:26:07 +02:00
Theo Arends d95d56f3e4 Prep v12.5 2023-04-16 12:22:00 +02:00
Szewcson 4fdd1ad94d
Ftlab gdk101 Gamma Radiation Sensor Module support (#18390)
* Support for GDK101.

* GDK101 driver rework

---------

Co-authored-by: PetrNovacek <39201428+r21m@users.noreply.github.com>
2023-04-14 15:29:00 +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
Theo Arends 10cc10742f Extent virtual switch/button/relay support
Extent virtual switch/button/relay support using MCP23017. Can be used along side of current MCP23017 sensor driver,
2023-02-28 17:54:43 +01:00
sfromis 387d3486d5
Typo in I2CDEVICES (#17908)
Sensor name TSL2591 was misspelled. Is this file automatically duplicated on docs, or should I fix the copy there?
2023-02-07 13:52:33 +01:00
Tyeth Gundry 2ed602057c
Add SEN5X to I2C devices (#17736) 2023-01-29 08:06:25 +01:00
Barbudor de900e17bb
add CCS811_V2 in I2CDevices list (#17651) 2023-01-09 13:55:06 +01:00
Theo Arends 14ee8decf7 Update changelogs
Add support for PCA9632 4-channel 8-bit PWM driver as light driver by Pascal Heinrich (#17557)
2023-01-01 14:29:41 +01:00
kaedwen 25b4040283
Light driver for PCA9632 (#17557)
* added PCA9632 driver

* compiling

* added BUILD and DEVICES section

* added PCA9632 module

* use I2C_SDA/SCL

* light driver working

* bulk write and pin mapping

* remove debugging

* remove debugging

* adjust comments

Co-authored-by: Pascal Heinrich <kaedwen@heinrich.blue>
2023-01-01 14:02:22 +01:00
Stefan Oskamp e5fd35ba85
Added: Driver xdsp_20_tm1650 for I2C-based seven-segment LED controller TM1650. (#17549)
Co-authored-by: Stefan Oskamp <stefan@scinax.lan>
2022-12-31 09:19:53 +01:00
Barbudor 99d33e3023
PCF8574 Overridable address ranges (#17539)
* pcf8574 overridable address ranges

* fix comment

* better test on USE_MCP230xx

* missing change
2022-12-29 21:55:28 +01:00
Andreas Achtzehn 20d9975d6f Support for I2C device HMC5883L (3-axis magnetic sensor) 2022-11-14 20:20:04 +01:00
Barbudor 746b5389be driver ina3221, take 1 2022-10-09 19:11:43 +02:00
Helge c15d974b44 add new driver to support qmc5883L 2022-10-02 21:41:51 +02:00
Theo Arends 5639b48c1a Update I2CDEVICES.md 2022-09-02 13:14:59 +02:00
Jean-Pierre Deschamps 214f4bbdfd Add support for SGP40 sensor 2022-08-25 15:51:51 -04:00
Theo Arends dae1b32995 Add support for Sensirion SHT4X using define USE_SHT3X (#15349) 2022-06-04 16:52:52 +02:00
Theo Arends 19e8f1a2af Prep HYT271 sensor support 2022-05-31 14:56:09 +02:00
Theo Arends 55610efcb2 Support for up to four DS3502
Support for up to four DS3502 digital potentiometers with command ``Wiper<x> 0..127``
2022-03-17 16:03:40 +01:00
Theo Arends c20bc70d1c Add support for PCF85363 RTC as used in Shelly 3EM
Add support for PCF85363 RTC as used in Shelly 3EM (#13515)
2022-03-12 17:38:49 +01:00
Theo Arends 079cf0f2f5 Prep ADE7880 - Shelly3EM 2022-03-05 15:09:17 +01:00
Barbudor cff57b2e0c list AM2301B as compatible with AH2X driver 2022-02-05 17:50:11 +01:00
F. Scheidig 986688241e
back to 0x26 2022-01-30 13:04:50 +01:00
F. Scheidig ee35754ded
i2cdevices in simpler english
Hi guys,
I had problems understanding, what was written; so here my proposal.

I recommend also to change line 43 and 44, as address 0x27 is also supported:
https://tasmota.github.io/docs/MCP230xx/#usage-of-the-driver

It may not be a good idea, but i have a working example on my desk.
2022-01-29 23:02:12 +01:00
Luc Boudreau b373342a2a Add driver for Texas Instruments HDC2010 2021-11-10 14:02:02 -05:00
Theo Arends a466c5abf3 Add support for HM330X
Add support for HM330X SeedStudio Grove Particule sensor (#13250)
2021-10-08 13:59:11 +02:00
Arnold-n 7bbf54fa00 correct filename 2021-09-15 23:47:14 +02:00
Arnold Niessen 0fea60d8ee Add SCD40/41 support 2021-09-15 12:02:27 +02:00
Alexander Savchenko edd6839e48 Telaire T67XX CO2 sensor support 2021-07-11 02:42:09 +03:00
Theo Arends 464ab2cb6b Add support for AM2320 Temperature and Humidity Sensor by Lars Wessels (#12485) 2021-06-27 13:53:19 +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 95e696075e Add support for MPU6686 on primary or secondary I2C bus 2021-03-15 21:06:50 +01:00
Theo Arends c934a20b4f Add support for TOF10120
Add support for TOF10120 time of flight sensor by Cyril Pawelko (#10190)
2021-01-22 16:48:41 +01:00
Theo Arends c1d6d30cab Update I2CDEVICES.md 2021-01-12 10:27:07 +01:00
Vic 8e54a5f955 New Feature: Adafruit STEMMA soil sensor I2C 2021-01-09 23:09:14 +01:00