Commit Graph

410 Commits

Author SHA1 Message Date
Theo Arends af1fa724af Fix non-webserver compilation 2024-06-25 16:36:28 +02:00
Jason2866 aa39e000f7
add C2 as target for BLE (#21685) 2024-06-23 21:44:56 +02:00
Theo Arends ddf762b7cc Refactor GPS driver 2024-06-23 17:38:54 +02:00
Christian Baars d15b88f746
improve parser (#21648) 2024-06-16 20:54:59 +02:00
Norbert Richter 2ce513f50c
NeoPool make compiler setting available by user_config_override.h (#21645) 2024-06-16 17:07:51 +02:00
Theo Arends d3f8afed29 Fix GPS_VELOCITY (#18035) 2024-06-15 16:52:42 +02:00
gemu cbff86695f
replace vars in descriptor + line (#21622) 2024-06-14 10:14:44 +02:00
Norbert Richter 95f6032d86
Change NeoPool using temperature as only frequently changing value for NPTeleperiod (#21628) 2024-06-14 10:14:13 +02:00
Theo Arends 7bde0b89d1 Fix QMP6988 2024-06-12 10:50:29 +02:00
Theo Arends 0471ba24c1 Add support for QMP6988 temperature and pressure sensor 2024-06-10 16:05:25 +02:00
Christian Baars aa217e13b9
refactoring, bugfixes, generic device scanning (#21603) 2024-06-10 10:50:50 +02:00
Andreas Doppelhofer 0249f66066
SML: Allow larger offset when using x to ignore bytes (#21535)
* Allow larger offset when using x to ignore bytes

STW Klagenfurt sends 355 bytes, and the interesting values starts somewhere at position 304. Therefor we need to set a larger uint range to allow more than 255 bytes to ignore.

* Update xsns_53_sml.ino

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2024-06-02 11:18:35 +02:00
Roland Praml 4d9e9198b5
SML: FastExit for binary SML parsing (#21497)
* SML: FastExit for binary SML parsing

* moved the fast-exit in the SML-shift-in

* Using constants for flags

---------

Co-authored-by: Roland Praml <roland@DESKTOP-MKLGCJR>
2024-05-30 14:18:26 +02:00
Theo Arends adcc50ac6e Revert "Fix network flushes"
This reverts commit b88ec44d15.
2024-05-29 16:44:50 +02:00
Theo Arends b88ec44d15 Fix network flushes 2024-05-29 14:09:54 +02:00
Theo Arends 0fe893b01d Fix unsupported %.2f (#21508) 2024-05-27 15:37:15 +02:00
Roland Praml e07b0e42b3
SML: Fix compile error when median-filter is disabled (#21495)
Co-authored-by: Roland Praml <roland@DESKTOP-MKLGCJR>
2024-05-27 13:11:54 +02:00
btsimonh a78169b43a
Webcamshutdown - use FUNC_ABOUT_TO_RESTART (#21462)
* use FUNC_ABOUT_TO_RESTART for webcam shutdown in webcamv2

* fix an annoying compile warning - lengths are pre-checked to fit anyway.
2024-05-25 19:51:46 +02:00
Theo Arends 2e51860464 Fix GUI auto-decimal (#21445) 2024-05-21 14:27:02 +02:00
Theo Arends ac06195907 Remove non IDF5 code 2024-05-15 16:45:42 +02:00
Theo Arends 1d7f3e8f07 Fix compile warning (#21411) 2024-05-15 15:54:18 +02:00
Theo Arends 178b11196a Fix default compile 2024-05-09 14:34:25 +02:00
fb-pilot 2f59523416
beautified code xsns 33 qmc5883l (#21312)
* Add files via upload

* Add files via upload

beautified code

* Update xsns_33_qmc5883l.ino

date removed

* Add files via upload

adapt defaults for bf-xsns_33_qmc5883l

* Update tasmota/my_user_config.h

Co-authored-by: Erik Kunze <eku@users.noreply.github.com>

---------

Co-authored-by: Erik Kunze <eku@users.noreply.github.com>
2024-05-07 10:06:57 +02:00
fb-pilot 0d6baa00e4
add options for INA3221 driver (#21310)
* Add files via upload

* Add files via upload

* Add files via upload

* Delete tasmota/xsns_100_ina3221.ino

---------

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
2024-05-06 11:42:31 +02:00
Marius Bezuidenhout 73b0ec2c1d
Fix xsns_87_mcp2515 (#21331)
* Fixed mcp2515 not getting initialised and correctly setting configured CS pin

* Changed MCP2515_BMS_FREEDWON to MCP2515_BMS_SMA as SMA is better known.
2024-05-05 16:02:44 +02:00
Jason2866 1e63c8924e
use "minimal" instead of "safeboot" (#21346) 2024-05-04 15:34:11 +02:00
Christian Baars fffb43fa79
fix conflicting log_level definitions (#21337) 2024-05-03 23:25:41 +02:00
Jason2866 9168f7b198
More shrink of safeboot (#21333)
* remove crash recorder from safeboot

* small refactor

* safeboot more shrink
2024-05-03 15:01:31 +02:00
legchenkov ecf7d444c6
Add Support for AHT30 Temperature and Humidity Sensor (#19922)
* Update xsns_63_aht1x.ino

Support for AHT30 added. Fixed command for loading factory calibrated data and reset command, added needed delay after read command and increased measurement period to reduce heating of sensor.

* Update xsns_63_aht1x.ino

* Update xsns_63_aht1x.ino

The reset command is aligned with the AHT10/20/30 datasheet.

* Update ru_RU.h

Translated Dew Point to russian Точка росы for sensors

* Delete tasmota/language/ru_RU.h

Will go to separate PR

* Add files via upload

* Update ru_RU.h

Partial translation update

* Add files via upload
2024-04-28 21:34:36 +02:00
fb-pilot e2a08d5d01
Add files via upload (#21262)
fix display multiple devices and add more options
2024-04-26 16:52:06 +02:00
Norbert Richter 5a8d713d77
NeoPool prevent possible multiple bus requests (#21267)
* Update NeoPool register desc

* NeoPool prevent possible multiple bus requests
2024-04-24 17:44:26 +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
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