Commit Graph

427 Commits

Author SHA1 Message Date
Theo Arends e98ce29fea Fix SGP4 domoticz air quality (#18880) 2024-04-11 15:35:00 +02:00
Theo Arends 56fcd0e634 Relax system load when not using SR04 2024-04-09 10:20:03 +02:00
Julio Vilmar Gesser 670164f4d0
fixed backward compatibility for multiple SR04 (#21128) 2024-04-09 09:56:31 +02:00
gemu 8a8888a273
fix for core3 (#21104) 2024-04-05 22:42:32 +02:00
Norbert Richter 9207aa2e10
Fix NeoPool hydrolysis unit for Hidrolife, Bionet and Generic device (#21098) 2024-04-05 11:07:30 +02:00
Theo Arends 52344d2cc7 Fix JSON output (#21084) 2024-04-02 16:49:24 +02:00
Julio Vilmar Gesser 60666fa1c5
Added support to multiple SR04 (#20975)
* added support to multiple SR04

* Reduced MAX # of SR04 to 3 as ESP32 has only 3 serial uarts
2024-03-31 15:12:29 +02:00
Christian Baars 46fae91e10
fix BTHome, prep BLE5 (#20989) 2024-03-20 11:22:35 +01:00
fb-pilot 73a52945c2
Add files via upload (#20959) 2024-03-16 12:12:18 +01:00
fb-pilot f7ae60a9e4
expand xsns_100_ina3221 to optionaly calculate the charge and / or Energy per chanel (#20915)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update en_GB.h

* Update xsns_100_ina3221.ino

* Add files via upload

* Add files via upload

I hope I have all details now changed ;-))

* Add files via upload

I still found a little detail to beutify ;-)
2024-03-12 08:12:22 +01: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
gemu 9608bc5799
Fix software serial on RISCV cpus. (#20793)
* fix software serial for riscv

* fix softwareserial on riscv
2024-02-24 09:45:13 +01:00
Theo Arends 9a5217bf90 Add heatindex to BMP driver (#4771) 2024-02-19 14:17:40 +01:00
Theo Arends d8d1b1d131 Add QMC5883l check for overflow and scale reading (#20643) 2024-02-18 15:24:21 +01:00
Norbert Richter 2068879c23
Update NeoPool webUI pH alarms (#20743) 2024-02-17 15:23:29 +01:00
Theo Arends 70a4fbd800 Add command ``SetOption159 1`` to enable counting on both rising and falling edge (#20712) 2024-02-14 11:22:41 +01:00
Christian Baars b02de6de6f
add BLE.info() (#20682) 2024-02-08 11:31:48 +01:00
Christian Baars 0bc6f82a81
MI32 legacy: use disconnect reason as error code (#20676) 2024-02-07 10:30:30 +01:00
Christian Baars a95314ff96
fix build for Core 2 (#20645) 2024-02-02 15:17:45 +01:00
Christian Baars 083ddad683
add BTHOME (#20625) 2024-01-30 17:50:03 +01:00
Theo Arends 4bc7b4ec2f Add ESP32 support for DS18x20 on Shelly Plus Add-On (#20580) 2024-01-26 12:26:47 +01:00
Theo Arends 758549c4c3 Fix MLX90614 naming (#20592) 2024-01-25 14:29:12 +01:00
Barbudor ab49593f9f
Fix QMC5883 and HLC5883 drivers breaking sensor command (#20585)
* fix breaking sensor command

* fix hmc5883
2024-01-25 08:43:56 +01:00
SteWers 7f5e79415f
[SML] Fix decimal separator (#20573) 2024-01-24 08:27:54 +01:00
SteWers f2800dd770
Modify drivers for GUI sensor separators (#20504) 2024-01-15 16:53:34 +01:00
Theo Arends 9fc47b7d90 Tune GPIOViewer 2024-01-13 15:16:34 +01:00
SteWers e68a6fd078
Add `D_BATTERY` (#20478)
Add `D_BATTERY` to language files
2024-01-13 10:00:39 +01:00
Theo Arends 3e3bfccb58 Bump version v13.3.0.3 2024-01-12 12:17:31 +01:00
SteWers b69cc802db
[MI BLE] added support for LYWSD02MMC (#20381)
* [MI BLE] added support for LYWSD02MMC

- initial support for MI LYWSD02MMC
- code rework

* Update CHANGELOG.md

* Update CHANGELOG.md

* [MI BLE] add Mi32Time / bugfixes

* [MI BLE] plain read, debug enhanced

* [MI BLE] add LYWSD02MMC battery

* [MI BLE] improved debug log, code cleanup

* [MI BLE] improved debug log, code optimize
2024-01-12 10:06:55 +01:00
gemu 03cadd29f3
Sml update (#20474)
* add decryption flags

* add gcm crypto flags
2024-01-12 10:05:25 +01:00
Christian Baars 81fac80859
MI32 legacy: add optional argument to BLE.run() (#20431)
* add optional argument to BLE.run()

* set default of scan response to NO
2024-01-09 09:10:45 +01:00
Andrew Klaus 2f6ab10146
Fixing logic for SGP4x Sgp4xShow() function (#20439) 2024-01-09 09:09:36 +01:00
Theo Arends 0d300aebff Update GPIOViewer
- Add ESP8266 PWM state logging
- Add ADC state functions
2024-01-07 15:10:19 +01:00
Theo Arends d5a4f8441b Fix Berry claiming UART0 if needed (#20324) 2023-12-28 17:25:01 +01:00
lis0r 4ac93a4d1a
Add support for SJWS01LM BLE flooding sensor (#20288) 2023-12-22 15:31:14 +01:00
Bernhard Urban-Forster 5988e77f8c
as608: send mqtt message on non-matching finger (#20287) 2023-12-22 14:21:59 +01:00
Christian Baars 0e87096bad
allow Berry fast_loop for BLE module (#20281) 2023-12-21 20:28:08 +01:00
Norbert Richter c111bb963f
Add NeoPool hydrolysis FL1 and Redox flag (#20258) 2023-12-18 11:27:12 +01:00
Norbert Richter d10b30ef55
Update NeoPool register desc (#20245) 2023-12-16 14:40:18 +01:00
vtHydroponics 3d0ab2259c
Sensor57 TSL2591 Light Sensor Commands (#20039)
* Changes from 11/12/2023. Switches made, need debug

* Finalized gain/integration adjustment trees

* Fixed the bugs

* Outputs in JSON, hex displays as hex was decimal
2023-12-02 12:35:56 +01:00
Christian Baars fb51d9df8a
MI32 GUI changes (#20115) 2023-11-27 19:08:44 +01:00
Steve 3568b559e4
Add Support for Avago Tech Bluetooth Buttons (#20088) 2023-11-23 12:00:34 +01:00
papax333 77081ad92b
corrected ebus crc check (#20081) 2023-11-22 11:57:10 +01:00
gemu 7d30ab5929
support for kamstrup heat meters (#20057) 2023-11-20 09:05:54 +01:00
Norbert Richter c88b773dd3
Neopool enhancements (#19973)
* Add NeoPool sensor delta trigger

* Add NeoPool store settings in unified file system

* Add NeoPool command NPBoost
2023-11-11 11:49:40 +01:00
Christian Baars 06bacdf48b
refactoring, use ringbuffer for server too (#19953) 2023-11-07 20:27:43 +01:00
gemu 1e4f069c3f
can bus read and write support, esp32 native twai (#19934) 2023-11-07 16:15:14 +01:00
Norbert Richter 5d4330611a
Add NeoPool NPHydrolysis percent and unit (#19924) 2023-11-04 15:42:01 +01:00
Christian Baars 580c46177f
MI32: fix restart on C6 (#19909) 2023-11-02 13:55:15 +01:00
Christian Baars c238d8d4d1
several updates (#19893) 2023-11-01 17:30:22 +01:00
Norbert Richter b65f32c5f3
Neopool enhancements for HA (#19857)
* Add NeoPool hydrolysis setpoint and max

* Add NeoPool command ``NPFiltrationSpeed``

* Change NeoPool topic ``Power`` to ``Powerunit``

* Add ``SO157`` for NeoPool output sensitive data
2023-10-28 14:07:49 +02:00
FransOv 0130ce972a
Support of Winsum ZH03B sensor Dust particle sensor in xsns_18_pms5003.ino (#19850)
* Update xsns_18_pms5003.ino

The Winsum ZH03B sensor is quite similar to the Plantower PMS3003 sensor. The main difference is the response in passive mode. With these changes xsns_18_pms5003.ino can support the ZH03B sensor when PMS_MODEL_ZH03X is defined in the configuration file.

* Update xsns_18_pms5003.ino
2023-10-27 17:34:49 +02: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 bd90363565 Update changelogs 2023-10-21 14:48:12 +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
Norbert Richter 1f8cd6a259
Fix NeoPool filtration mode display (#19801) 2023-10-19 18:01:56 +02:00
Theo Arends e3253fea8f Add I2C bus2 support to BH1750 2023-10-19 18:01:12 +02:00
Theo Arends b39adacc41 Fix HTU21 bus number 2023-10-19 17:44:59 +02:00
Theo Arends 49709807c7 Add I2C bus2 support to HTU temperature sensor 2023-10-19 17:37:19 +02:00
Theo Arends b6811b2f4e Prep ESP32 I2C bus2 support 2023-10-19 16:59:53 +02:00
Theo Arends 58324da242 Final fix ;-) (#19763) 2023-10-18 16:19:13 +02:00
Theo Arends 1fa036f176 Fix unsorted DS18Alias (#19763) 2023-10-18 16:12:02 +02:00
Theo Arends 13c6bc91cc Fix empty name if no DSAlias defined (#19763) 2023-10-18 15:15:49 +02:00
Christian Baars 17143cea44
remove HomeKit remnants from mi32 legacy driver (#19782) 2023-10-17 21:00:46 +02:00
Christian Baars b98ad59d11
Delete xsns_62_esp32_mi_homekit.c (#19778) 2023-10-17 11:00:02 +02:00
Barbudor 8e9299ec97
fix mis-order (#19769)
* fix mis-order

* fix mis-order on esp32 too
2023-10-16 21:47:31 +02:00
Eduardo Spremolla b63a061aeb
Update xsns_02_analog.ino for calibrated values on ESP32 (#19732)
ESP32  ADC has variables errors, but calibrations values are put in eFuses at factory test.
analogReadMilliVolts() from api correct the ADC reading with tata values.
Since now the value are mV and not ADC numbers, the fast solution is to revert it back to ADC numbers:
divide by Vcc  => ANALOG_V33*1000  and multiply by ANALOG_RANGE
Other way is to modify all sensor cases to account for the different unit.
2023-10-15 11:57:13 +02:00
chefpro 32cbd330aa
Add Rescan and RetryRead to onewire scan for bulletproove onewire (#19700)
Co-authored-by: Peter Rustler <peter@rustlerit.de>
2023-10-13 11:29:19 +02:00
nusse f245821828
HC8 sensor support (#19714)
* HC8 sensor support

* HC8: fix json

* HC8: missing languages

* HC8: move macros to proper locations

---------

Co-authored-by: Daniel Maier <daniel.maier@tu-berlin.de>
2023-10-13 11:28:41 +02:00
Paul Blacknell 663e6ab21b
Update xsns_110_max17043.ino (#19709) 2023-10-09 16:52:56 +02:00
Paul Blacknell f41e525f5a
fix: account for MAX17043 alert status on start (#19708) 2023-10-09 16:14:41 +02:00
tyler.li a1cce95c08
MAX31855/MAX6675 sensors driver support up to 6 (#19704)
* Support multiple MAX31855/MAX6675 sensor up to 6

* code format

* revert tasmota_template_legacy.h

* revert original variable names

* revert original variable names

---------

Co-authored-by: arendst <mhtarends@gmail.com>
Co-authored-by: litao07 <litao07@kuaishou.com>
2023-10-09 10:44:24 +02:00
Theo Arends 74bcbd898e Fix compilation when webserver disabled 2023-10-06 12:17:37 +02:00
Matteo Albinola 2302d38eb0
Windmeter: add measure interval setting (#19542)
* Add new setting windmeter_measure_intvl and update speed computation

* Ensure windmeter_measure_intvl is not below 1

* Keep same settings order in response messages and add better comments
2023-10-06 10:53:38 +02:00
Christian Baars 58d43333f5
conform to API changes (#19654) 2023-10-03 16:20:48 +02:00
Christian Baars f0b7984466
MI32 legacy: add mi32name, small fixes (#19619)
* add mi32name, small fixes

* remove unused variable
2023-09-29 17:47:17 +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
s-hadinger fc513af351
Berry counter (#19558)
* Berry read and write Counters

* rename counter
2023-09-20 22:28:40 +02:00
Paul Blacknell d2aee662fd
fix: add command data to cmnd response (#19524) 2023-09-15 22:16:27 +02:00
Theo Arends ee43b43add Fix ESP8266 compilation (#19485) 2023-09-12 15:01:30 +02:00
Theo Arends 597c3655b0 Fix MAX17043 invalid JSON (#19495) 2023-09-11 11:35:26 +02:00
Paul Blacknell b117164993
Improved parsing of accumulation data from HRG-15 rain sensor (#19485)
* fix: more robust parsing of accumulation data

* fix: further parsing checks
2023-09-10 22:33:54 +02:00
Paul Blacknell 4cc81f0dbc
Don't reset the MAX17043 battery fuel gauge after waking from Deep Sleep (#19412)
* fix: don't reset the device when coming out of deep sleep

* fix: move debug log message to inside the device validation

* Update xsns_110_max17043.ino

* add: update global battery percentage when max17043 reports new value
2023-09-09 09:48:30 +02:00
Andre H. Beckedorf 8683bc7722
Added passive mode for Sen5x sensor (required for Ike@ Vindstyrka) (#19388)
* Added a passive mode in sen5x sensor for parasitic installations. This skips reset & initialization of sensor on startup and reduces the polling to every 10 seconds to not interfere with and confuse the other I2C master on the bus, e.g. Ike* Vindstyrka.

* Removed obsolete updateCount. Cleanup.
2023-08-26 16:14:30 +02:00
Theo Arends 0d80e639ef Fix Core 3 compilation 2023-08-23 15:29:42 +02:00
Theo Arends dd877972be Phase 1 support C2/C6 2023-08-21 17:10:06 +02:00
SteWers f40f4a1947
[DS18x20] Enhance use of aliases (#19026)
* [DS18x20] Enhance use of aliases

`defineDS18x20_USE_ID_AS_NAME`:
Always show part of the address, even for one sensor
`#define DS18x20_USE_ID_ALIAS`:
The command `DS18Alias` can now be use with alphanumeric aliases, which replace the sensor name

* [DS18x20] change to calloc()
2023-08-12 14:57:58 +02:00
Paul Blacknell df1a526f02
fix: properly detect device is offline after maximum misses reached (#19298) 2023-08-12 11:32:29 +02:00
s-hadinger 0b3d6fd146
Prepare for Arduino v3 / esp-idf v5 2nd batch (#19265) 2023-08-05 20:34:24 +02:00
s-hadinger 5c8c7cdfca
Prepare for Arduino v3 / esp-idf v5 (#19264) 2023-08-05 15:11:10 +02:00
Vincent de Groot 5e591ef7db
Integrate MAX17043 driver mechanisms in xsns_110 (#19219) 2023-08-03 11:54:41 +02:00
msedv fb45e73384
Four files which used #ifdef EPS8266 instead of #ifdef ESP8266 - which e.g. broke the MFRC522 functionality between 12.5 and 13.x. (#19209) 2023-07-29 16:50:27 +02:00
Theo Arends 17cf73595f Refactor MAX17043 driver
Refactor MAX17043 driver optional enable library (default off providing smaller footprint (-250 bytes)
2023-07-24 14:28:57 +02:00
Theo Arends f626539c18 Refactor MAX17043 driver 2023-07-24 12:29:43 +02:00
Vincent de Groot 547169c57d
changing reference to xsns109 (#19170) 2023-07-23 11:30:44 +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
stefanbode ebca2f0a07
Zero-Cross Dimmer fixes (#19109)
* Fix Zero-Cross flickering on Savedata

* Fix reboot on DIMMER usage with Zero-Cross

* Fix Flickering on dimmer 0
2023-07-14 09:10:20 +02:00
gemu d9d9ca2651
fix modbus-tcp, add U32,U64 etc (#19063) 2023-07-07 19:50:51 +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
Christian Baars 99a0f2add1
MI32 legacy: Allow submitting WiFi credentials via BLE using Berry (#18962) 2023-06-25 14:31:04 +02:00
Norbert Richter 1f5c1baeae
Fix NeoPool NPFiltration switch result (#18871) (#18908) 2023-06-19 22:53:51 +02:00
Barbudor 75f634dc71
freeze readings before deepsleep (#18720) 2023-05-25 12:20:30 +02:00
Theo Arends d0e88c9dae Fix BusyDelay WS2812 2023-05-24 17:24:48 +02:00
Theo Arends fc67cca8b4 Add generic SystemWaitIfBusy() to fix WS2812 led flicker
Add generic SystemWaitIfBusy() to fix WS2812 led flicker
2023-05-24 16:21:59 +02:00
Theo Arends 4be618fe7b Fix WS2812 string distortions during analogRead()
Fix WS2812 string distortions during analogRead()
2023-05-24 15:09:26 +02:00
Theo Arends 10f9c20078 Fix ESP32 SPI initialization for MFRC522
Fix ESP32 SPI initialization for MFRC522 (#18711)
2023-05-23 14:34:47 +02:00
gemu e969bf0e0e
optional prefix size and serial invert (#18717) 2023-05-23 08:46:00 +02:00
Theo Arends 44b33281b6 Even more bling bling 2023-05-22 16:21:50 +02:00
Theo Arends 9a88677122 More AS608 bling bling
More AS608 bling bling (#18163)
2023-05-22 12:42:24 +02:00
Theo Arends 80afc8793f AdafruitFingerprint library from v2.0.4 to v2.1.0
AdafruitFingerprint library from v2.0.4 to v2.1.0 (#18163)
2023-05-22 11:48:03 +02:00
Theo Arends 77103baa0a Add internal support for max log level 2023-05-19 15:20:21 +02:00
Jeroen 632176765d
Added define to adjust calibration precision. (#18613)
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-10 09:38:27 +02:00
Theo Arends 6fe1bbd617 Update changelogs 2023-05-08 15:10:15 +02:00
Jeroen 45eb82bc3f
Fix for not sending changes to mqtt (#18600)
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-08 09:59:28 +02:00
Theo Arends 91523fd90b Add GM861 optional heartbeat 2023-05-07 16:01:33 +02:00
Theo Arends 0287291cd9 Add GM861 optional AIMId decode 2023-05-07 14:11:29 +02:00
Theo Arends e9d1e8c725 Change command FileUpload binary index 2023-05-06 18:09:11 +02:00
Theo Arends b9464a21a8 GM861 add support for AIM 2023-05-06 17:18:52 +02:00
Theo Arends d7b6d72e19 Add support for GM861
- Add support for GM861 1D and 2D bar code reader (#18399)
- Bump version to v12.5.0.2
2023-05-05 16:50:19 +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
Christian Baars f6763eb37b
Berry: add BLE server/advertiser (#18494) 2023-04-26 08:39:29 +02:00
stefanbode 39abde2583
Worked on ESP32 dimmer with Zero cross (#18481)
* Worked on ESP32 dimmer with Zero cross

Until now the ESP32 does not support zero-cross dimmer. I take a sneak how they did in in ESPhome and adapted the approach to TASMOTA. At the end it works that smooth that likely i will change ESP8266 either so we have a common code. Currently ESP8266 is not touched.
There is a minor issue with savedata == default. When changing the dimmer value the interrupts get stopped during write of the config data to flash.

* ESP8266 Dimmer added

Worked all so well and the code is much smaller. There is no need for reconfiguration on existing users. But there are settings not needed anymore. Will work on the documentation. Anyhow existing installations can upgrade without hickup

* Optimized endpoints at dimmer 0 and 100

* Removed debug stuff

* Fix Issue at dimmer = 0

* Small bugfix

* Final checked Version

* Update xsns_01_counter.ino

* Add missing func

* Update xsns_01_counter.ino

* Moved out of the house of counter and build my own one

* New ZeroCross Driver

* Update xdrv_91_zerocrossDimmer.ino

* evolving

* Delete xdrv_91_zerocrossDimmer.ino

* Add files via upload

* Changed drv number from 1 to 68

* Commit to merge
2023-04-25 13:46:19 +02:00
Theo Arends c1db67ce37 Refactor GDK101 driver 2023-04-23 18:09:33 +02:00
InHi66 eb40496e4b
Update xsns_20_novasds.ino (#18444) 2023-04-18 17:20:47 +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
Theo Arends d88d42341d Fix future compile error 2023-04-14 12:01:47 +02:00
Barbudor 870874d181
fix display of adcparam param4 for ct (#18397) 2023-04-13 09:04:17 +02:00
gemu f06104b0b7
Scripter update (#18374)
* bug fixes and enhancements

* tcp reconnect
2023-04-10 10:04:00 +02:00
Barbudor 52060259ce
improve ADC_CT (#18369) 2023-04-08 21:31:50 +02:00
Anton ACE d8bdcebc78
xsns_105_lox_o2: LOX-02 Oxygen sensor support (#18333)
* xsns_105_lox_o2: LOX-02 Oxygen sensor support

* strtof removed, ConvertTemp added
2023-04-06 09:52:15 +02:00
Zbyněk Kocur b1ea413eae
Update xsns_86_tfminiplus.ino: FIX json output (#18321)
Fixes JSON measurement output. Output numbers like Distance and SignalStrength were published as a string. Now they have the right data type.
2023-04-03 16:47:44 +02:00
Theo Arends 326c605122 Prep support ESP32 enum SerialConfig 2023-04-02 14:20:03 +02:00
Anton ACE 736ac74f53
xsns_103_sen5x bugfix (#18297) 2023-03-30 08:49:48 +02:00
pkkrusty 3daedae2da
Add speed and heading info to GPS driver (#18035)
* Add speed heading to driver

Added NAV-VELNED messages to driver, allowing speed and heading info on the main web page and JSON messages. Probably could be optimized; mostly another exercise in copy/paste

* wrap velocity code in #define USE_GPS_VELOCITY

Code space increases by 0k4, not sure about RAM (don't know how to measure). But added a struct with 320 bits, so maybe 40 bytes?

* Add documentation up top

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2023-03-25 15:37:38 +01:00
pkkrusty b456b97dda
Include fix state in JSON output (#18254)
Mirror the webpage display, and make fix status available for triggers and rules.
2023-03-25 10:23:58 +01:00
Theo Arends 00c60450c6 Consolidate messages
- Consolidate messages
- Fix sen5x
2023-03-22 13:25:55 +01:00
Theo Arends 59677d7e4a Consolidate sensor parameters 2023-03-20 17:11:05 +01:00
Theo Arends 34ee7c67d8 Update changelogs
- Add support for PMSA003I Air Quality Sensor by Jean-Pierre Deschamps (#18214)
- Add support for DingTian virtual switch/button/relay (#18223)
2023-03-20 10:21:16 +01: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 cc09ff21e1 Refactor RFSensor 2023-03-15 12:05:40 +01:00
Theo Arends 76cea0c002 Fix Sonoff SC regression from yesterday
Update changelogs.
2023-03-12 11:11:57 +01:00
Theo Arends 2b89b7a134 Fix init order of device drivers (#18124) 2023-03-11 15:52:02 +01:00
gemu c752610bb7
modbus tcp, uart select (#18038) 2023-02-25 09:58:33 +01:00
Flobul f0eef7771f
add BLE Qingping CGDK2 (#17981)
* add CGDK2

* Update xsns_62_esp32_mi_ble.ino

* Update xsns_62_esp32_mi_ble.ino
2023-02-19 14:09:12 +01:00
drid 3be29dfecd
Fix 1-pin ultrasonic sensor detection (#17966)
* Fix 1-pin ultrasonic sensor detection

Signed-off-by: Ilias Daradimos <judgedrid@gmail.com>

* Fix typo

---------

Signed-off-by: Ilias Daradimos <judgedrid@gmail.com>
2023-02-17 22:34:40 +01:00
Barbudor 119aeca4d9
oversample ADC_RANGE by 32 like ADC_INPUT (#17975) 2023-02-17 22:33:06 +01:00