Commit Graph

98 Commits

Author SHA1 Message Date
Theo Arends df293dad82 Add support MS5837 2024-11-08 18:16:26 +01:00
Theo Arends 1dff0b4b27 Add support for RX8010 RTC as used in IOTTIMER (#21376) 2024-09-13 13:53:01 +02:00
Theo Arends 7b8308c36a Add support for I2C M5Unit (Mini)Scales using HX711 driver 2024-09-12 12:14:32 +02:00
Jan-David Förster 27083e3664
Bugfix: multiple SHT4x sensors at the same bus, support for SHT40-CD1B (#21755)
* fixes multiple SHT3X sensor type bug

Important when multiple sensors are present at the same bus. Prior to this fix, multiple SHT3X sensor were detected, but not SHTC3 and SHT4X!

* Update xsns_14_sht3x.ino

Extends I²C address range to include SHT40-CD1B sensors with address 0x46.

* Update I2CDEVICES.md

* Show bus when multiple sensors at different busses

* Make bus number less intrusive

Only show bus number if two sensors or more are active at more than one bus.

* variable renamed

* cleanup

* fix typo

* fix another typo

* Harmonization and saving code size for ESP8266

Harmonization with xsns_09_bmp driver, saving code size for ESP8266

* fix string for webserver

* Display address only if more than one sensor present.
2024-07-10 18:55:51 +02:00
Theo Arends 0471ba24c1 Add support for QMP6988 temperature and pressure sensor 2024-06-10 16:05:25 +02:00
Theo Arends 7e14db4091 Add support for SPL06_007 pressure and temperature sensor (#21185) 2024-04-18 11:47:16 +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
s-hadinger a006e5fc53
SSH1106 driver replaced with uDisplay (#21183) 2024-04-15 10:57:14 +02:00
s-hadinger 05f4011491
SSD1306 driver replaced with uDisplay (#21176) 2024-04-14 16:46:58 +02:00
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