Commit Graph

187 Commits

Author SHA1 Message Date
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
Tyeth Gundry 774fbfef92
fix floats, resolutions, and utilise common units (#17961) 2023-02-17 08:37:06 +01:00
Theo Arends 0ea36d996c Change Dht driver from v6 to v7
- Change Dht driver from v6 to v7
- Add command ``DhtDelay<sensor> <high_delay>,<low_delay>`` to allow user control over high and low delay in microseconds (#17944)
2023-02-15 15:21:57 +01:00
Barbudor 4ad6807d7e
Fixes GPS bad year + drift calculation (#17932) 2023-02-12 08:44:40 +01:00
Jason2866 4cb9acec65
Fix PR#17893 (#17901) 2023-02-06 22:21:16 +01:00
Theo Arends 055331d2ab Breaking change TM1638 button and led support
Breaking change TM1638 button and led support are handled as virtual switches and relays (#11031)
2023-02-06 15:57:27 +01:00
gemu 6ccacb4af1
Sml fix (#17893)
* fix compile with NO_USE_SML_DECRYPT

* dumplog info
2023-02-06 09:42:09 +01:00
Norbert de81eecc01
Change log option for "decrypted block" (#17863) 2023-02-03 10:50:53 +01:00
gemu f09a083777
Sml ams (#17828)
* sml ams crypto support

* add ams library

* fix crc names

* fix TLS dependency

* Update library.properties

* Update xsns_53_sml.ino
2023-01-30 15:03:46 +01:00
Tyeth Gundry 91559ec883
fix: detection of SPS30 serial number (#17809) 2023-01-29 13:48:33 +01:00
Tyeth Gundry 2ed602057c
Add SEN5X to I2C devices (#17736) 2023-01-29 08:06:25 +01:00
Theo Arends e891830545 Prep ESP32 energy 2023-01-24 16:54:03 +01:00
Theo Arends 044606d8b8 Fix BMP deepsleep regression 2023-01-16 13:32:44 +01:00
Theo Arends 82b6d1ee91 Bump version to v12.3.1.4 2023-01-15 17:45:59 +01:00
Theo Arends 7a97fa4a19 Fix BMP support on two busses
Fix BMP support on two busses (#17643)
2023-01-15 17:14:54 +01:00
gemu 3bddbdc5c0
fix sml dumpmode (#17690) 2023-01-13 13:23:25 +01:00
Reinhard ef3d30c44f
Update xsns_47_max31865.ino (#17661)
MAX31865 - make use of the already defined element 'ErrorCode' to transport the MAX31865 Fault Status Register to the JSON element 'Error'
2023-01-11 11:50:16 +01:00
Ralph Maschotta b0094a0ddf
fix (PR #17643) BMP/BME sensors on two I2C buses: copy/paste typo (#17663) 2023-01-10 08:59:33 +01:00
Theo Arends 9073fe01c1 Add ESP32 support for BMPxxx sensors on two I2C busses
Add ESP32 support for BMPxxx sensors on two I2C busses (#17643)
2023-01-08 17:19:08 +01:00
Theo Arends 0781192c87 Extract I2C support
- Fix BMP compilation on ESP8266
2023-01-08 16:04:58 +01:00
Ralph Maschotta d80b763f97
Enable more than two and up to four BMP/BME sensors on two I2C buses for ESP32 (only two addresses (76, 77) per I2C bus are possible). (enhancement of #10827,#1049, #2707) (#17643) 2023-01-08 15:57:34 +01:00
Theo Arends 2e7496a052 Keep webserver enabled on command ``upload`` 2023-01-07 15:37:52 +01:00
gemu 7465ff0c7f
some fixes on counters (#17628) 2023-01-07 11:32:26 +01:00
Theo Arends af733afbe5 Fix PID-Control parameter destruction
Fix PID-Control parameter destruction and replace all atof() by CharToFloat() saving 8k code size (#17618)
2023-01-06 14:58:19 +01:00
gemu 22803e3e3d
Sml update (#17541)
* fix sysvarsbug, update sml

* major rewrite
2022-12-30 08:41:54 +01:00
Theo Arends 1ad8b7713e Add support for ME007-ULS
Add support for ME007-ULS narrow FoV ultrasonic distance sensor by Mathias Buder (#17376)
2022-12-14 12:18:49 +01:00
Mathias fc8039d960
Adding support for ME007-ULS narrow FoV ultrasonic distance sensor (#17376)
* Squashed commit of the following:

commit 1441459a47cff0a43aa61ce47510585ee03649f3
Merge: a9fcbd342 7e27945e5
Author: Mathias Buder <mathias_buder@bose.com>
Date:   Tue Dec 13 09:00:06 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit a9fcbd3428445eb914816f608e064568d16b41e9
Merge: 7bb1049f5 d83119897
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 12 10:33:06 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 7bb1049f51da8d064462b9499ed479a7675b368e
Merge: 83a5afa7a eee86f01a
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Fri Dec 9 09:30:29 2022 +0100

    Merge remote-tracking branch 'github/development' into me007-narrow-fov-ultrasonic-sensor

commit 83a5afa7ad27fcde1e67008e41a9bfd9c680cccd
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 8 14:47:13 2022 +0100

    [ME007] Added driver version number to MQTT message, small delay between consecutive measurement

commit 9b8667843154f02a23020e655d806ed76ae2e530
Merge: 39180f345 de408921e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 8 10:12:45 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 39180f3451fce5f06504195faea0124d73dac1ee
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Wed Dec 7 16:41:26 2022 +0100

    [ME007] Added median filter

commit 01b68e0e6ca147ac03b63b8c71d035563e3bf13b
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 23:08:57 2022 +0100

    [ME007] Simplified state maschine within me007_measure()

commit 1c74c6ed3e4097f09792a48420b2016c92e10353
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 22:21:16 2022 +0100

    [ME007] Fixed issues from previous pull-request

commit 25b667120fd8d70fcfed36de44f1b7a17d0686be
Merge: 01e0b1809 e7d40b8d1
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 10:46:25 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

    # Conflicts:
    #	tasmota/include/tasmota_template.h

commit 01e0b18096bfffc67673e25152114694caaf110a
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Sun Dec 4 20:53:39 2022 +0100

    [ME007] Minor changes

commit ec00c9b85d223b78586c464bb92d1c7894357a40
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Fri Dec 2 13:08:06 2022 +0100

    [ME007] Added some measurement error statistics

commit c5cf65f82c42195752a88fd1553c74ab68c39cb2
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 22:38:07 2022 +0100

    [ME007] Fixed MQTT message

commit ae07d8dd77db47e20578f655ec057a63b30e65ce
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 21:56:20 2022 +0100

    [ME007] Minor code refactoring

commit d2b43ca70c716e1b637b9efd3b536506233e5365
Merge: 292f5f6c8 816fd78fb
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 16:48:38 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 292f5f6c81f1659eb225271cdd025eb77da02c6f
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 16:47:03 2022 +0100

    [ME007] Added logic to detect sensor at boot and during runtime

commit f17af404fee76bf63b30ed3c9d2175c4e01c03ca
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 12:32:19 2022 +0100

    [ME007] Added missing define into language files

commit 7a271abeca36139a43ef96bd461d46ba0c662901
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 12:19:23 2022 +0100

    [ME007] Improved snesor measuremnt function

commit fe42ebd1124e2246e4d7afd63c905c251e084b27
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 00:43:13 2022 +0100

    [ME007] Updated state maschine to trigger and receive sensor measurements

commit d137e6dec5104b4716428849d99c68bbf407ab42
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Wed Nov 30 20:35:31 2022 +0100

    [ME007] Added initial state maschine to trigger and receive sensor measurements

commit fc3da7b36849df162d9d5496a763ab2beb096aff
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Tue Nov 29 21:28:28 2022 +0100

    [ME007] Updated pin name

commit e9fa9fb771cf15dcd9ed8b63b9194154543ef10e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 22:02:34 2022 +0100

    [ME007] Fixed issue that sensor GPIOs not shown in drop-down list

commit a13e42660183eb4ab91007ca0ea6bf1544687556
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 15:06:34 2022 +0100

    [ME007] Added sensor into supported feature list

commit dec17b59ce2905124386f8c90d81656bf104c844
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 15:01:58 2022 +0100

    [ME007] Removed log message in Xsns23()

commit 11f479d2ec9d3f4e7552c2f78cdc83914c5b8b94
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 10:47:55 2022 +0100

    [ME007] Added GPIOs to tasmota_template_legacy.h and berry

commit 23aec8e5ff4e9fb8ef7d3b01a707641accc1e01e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Sun Nov 27 20:10:53 2022 +0100

    [ME007] Initial ME007 driver API setup

* [ME007] Reverted change in .gitignore and platform.ini

* [ME007] Removed dependency to stdlib.h

* [ME007] Adjusted unit to cm

* [ME007] Reverted change in tasmota_template_legacy.h

* [ME007] Changed sensor message tag to three characters

* [ME007] Disabled sensor in my_user_config.h

* [ME007] Added driver code size into commente

Co-authored-by: Mathias Buder <mathias_buder@bose.com>
2022-12-14 11:52:26 +01:00
mnowa 370debc0e2
Update xsns_53_sml.ino
Maximum bytes count for binary modbus CRC calculation in relation to SML_BSIZ value
2022-12-12 16:13:04 +01:00
Theo Arends 630987302a Fix Analog MQ exception
Fix Analog MQ exception (#17271)
2022-12-12 10:57:21 +01:00
Theo Arends 062a2e3a7e Fix RtcNtpServer induced exception on ESP32
Fix RtcNtpServer induced exception on ESP32 (#17338)
2022-12-11 12:19:03 +01:00
Theo Arends 5e23d78bf2 Update credits 2022-12-10 16:55:04 +01:00
barbudor 5916d72598 add missing closing brace 2022-12-07 19:01:17 +01:00
Barbudor 513d6239b3
Fix HMC5883 sensor json
Fix https://github.com/arendst/Tasmota/issues/17295
2022-12-06 20:07:18 +01:00
Theo Arends 5f8ef0c5cb Fix LD2410 bad reception detection 2022-12-04 12:37:50 +01:00
Theo Arends bb88034669 Fix LD2410 Hardware Watchdogs 2022-12-04 10:50:58 +01:00
gemu2015 1aeee69c08 optional TRX enable 2022-12-04 07:47:21 +01:00
Theo Arends 816fd78fbb Fix LD2410 using HardwareSerial on ESP8266 2022-12-01 16:18:38 +01:00
Theo Arends 143373b0d3 Reduce LD2410 Hardware Watchdogs 2022-11-29 10:51:56 +01:00
gemu2015 fcf12e1adb sml_obis_line software flag 2022-11-28 07:41:37 +01:00
stefanbode fe8229ea30
bugfix zero cross 2022-11-27 17:13:23 +01:00
Theo Arends 220a03f043 Add LD2410 debugging info 2022-11-27 12:11:48 +01:00