Theo Arends
87ec0cce21
Revert "Analog GPIO extensions"
...
This reverts commit 7c1cf6a81f
.
2024-07-28 18:47:13 +02:00
Theo Arends
7c1cf6a81f
Analog GPIO extensions
...
- Analog GPIO ``ADC Input`` with ``AdcParam<x> 1,<start_range>,<end_range>,1`` provide direct light control
- Analog GPIO ``ADC Voltage`` with ``AdcParam<x> 11,<start_range>,<end_range>,<lowest_voltage>,<highest_voltage>`` provide energy monitoring with dc voltage
- Analog GPIO ``ADC Current`` with ``AdcParam<x> 12,<start_range>,<end_range>,<lowest_current>,<highest_current>`` provide energy monitoring with dc voltage
2024-07-28 18:33:43 +02:00
Theo Arends
a4e592c776
Refactor analog
...
- Change from double to float where possible
- Fix Voltage/Current energy calculation
2024-07-28 14:15:35 +02:00
Theo Arends
d7c6474104
Add Analog Voltage and Current
2024-07-27 17:11:25 +02:00
Norbert Richter
5abff54bc6
Add NeoPool `NPSetOption<x>` command ( #21850 )
2024-07-27 11:41:06 +02:00
Tarvi Pillessaar
a95e52b375
Neopool relay state detection and reporting fixes ( #21841 )
...
* Neopool: remove space in MQTT relay state response
* Neopool: fix detecting some relay states
2024-07-27 11:39:43 +02:00
Theo Arends
4cf741e6eb
Update xsns_02_analog.ino
2024-07-26 11:02:27 +02:00
Theo Arends
9af25c73d6
Refactor ADC MQ_SAMPLES saving code and RAM
2024-07-26 11:01:09 +02:00
Theo Arends
2f33f8e5a8
Fix Non-ESP32 Analog read resolution
2024-07-25 18:04:01 +02:00
Jan-David Förster
9878a96c0b
Update SHT3X driver to bring it into line with other sensors, e.g., HYT..., and avoid unnecessary I²C reads ( #21816 )
...
* Avoid unnecessary I²C reads, bring code in line with other sensors.
* Update xsns_14_sht3x.ino
fix copyright again
2024-07-22 13:58:17 +02:00
Theo Arends
85bff67d9b
Add support for Wooliis Hall Effect Coulometer or Battery capacity monitor ( #21732 )
2024-07-17 14:14:44 +02:00
lmelette
9c8f3826b2
Added support for Wooliis LCD Coulometer/Battery Monitor ( #21732 )
...
* Added support for Wooliis LCD Coulometer/Battery Monitor
* Adjusted code structures and data types for Wooliis sensor
---------
Co-authored-by: Luca Melette <luca@positive.security>
2024-07-17 12:25:44 +02:00
Christian Baars
13330eb085
Berry: add int8 quantisation to Tensorflow lite driver ( #21763 )
...
* add input quantization, minor fixes
* prevent divideByZero
2024-07-11 23:05:47 +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
04a6d5513b
Prep serial IDF 5.2 support
2024-07-04 16:04:59 +02:00
Norbert Richter
843dd17aec
NeoPool add data validation and statistics ( #21721 )
...
Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2024-07-04 09:28:01 +02:00
Theo Arends
bf1dace55d
Add ESP32 USE_FLOG support (experimental)
2024-06-25 22:52:15 +02:00
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