Commit Graph

423 Commits

Author SHA1 Message Date
vtHydroponics caa63f437c
MS5837 console calibration options and code cleanup (#22466)
* Finalized gain/integration adjustment trees

* Fixed the bugs

* works but polishing code

* need to debug pressure in bmp

* updated temp to change via setoption8 command from tasmota

* sensor table working, value reporting working, need to update dependency on sensor duality

* working

* updated file name for ms5837 xsns file

* final working with renamed for current updates (128->116)

* resolved PR comments for extra spaces, xi2c_96

* removed extra spaces, added unit for inches across languages

* removed inches as a unit from language files

* removed extra code, commented debug lines

* rebased with dev branch, fixed sensor116 command
2024-11-11 17:24:18 +01:00
Christian Baars 448ca1c109
MI32 legacy: add config operations (#22458) 2024-11-10 23:23:37 +01:00
Theo Arends df293dad82 Add support MS5837 2024-11-08 18:16:26 +01:00
vtHydroponics a35bb5a5c9
MS5837 functionality with BMP280 optional dependency (#22376)
* Finalized gain/integration adjustment trees

* Fixed the bugs

* works but polishing code

* need to debug pressure in bmp

* updated temp to change via setoption8 command from tasmota

* sensor table working, value reporting working, need to update dependency on sensor duality

* working

* updated file name for ms5837 xsns file

* final working with renamed for current updates (128->116)

* resolved PR comments for extra spaces, xi2c_96

* removed extra spaces, added unit for inches across languages

* added "Water depth" for languages

* removed inches as a unit from language files

* switched to centimeter units for SI consistency in Tasmota

* all variables showing in console and table; need to adjust offsets

* cm conversion properly reporting

* Sensor116 in console calibrates the sensor's pressure_offset variable

* removed pressure offset debugging lines

* removed unecessary commented items from old code
2024-11-08 17:45:37 +01:00
AIexBV feff388f03
Enable deep sleep (standby) for VL53L0X (#22441)
* Enable deep sleep (standby) for VL53L0X

* Some renamings
2024-11-08 17:21:05 +01:00
s-hadinger a571ca1db5
SCD40 ready for virtual I2C (#22443) 2024-11-07 21:21:01 +01:00
s-hadinger 94c45689a6
Prepare for virtual I2C (#22427) 2024-11-04 22:31:50 +01:00
s-hadinger b89909991c
`i2c_enabled` refactored as array (#22387) 2024-10-30 22:23:13 +01:00
Theo Arends faf6e66e32 Fix map_double compile error 2024-10-27 17:31:31 +01:00
Christian Baars b5a487a595
widget support for Berry/MI32 dashboard (#22359) 2024-10-25 19:25:49 +02:00
md5sum-as 41442a54ce
add xsns_102_ld2410s.ino (#22253)
Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2024-10-25 17:09:05 +02:00
md5sum-as 33e1da84e7
Xsns 102 ld2410 (#21880)
* xsns_102_ld2410.ino add commands

* fix

* Add attension about supported devices

* Fix lang files
2024-10-25 16:45:26 +02:00
Theo Arends 73cd5cee25 Add support for US AQI and EPA AQI in PMS5003x sensors (#22294) 2024-10-25 14:44:42 +02:00
Christian Baars e39f1cc83f
track BLE devices with RPA (#22300) 2024-10-16 18:14:00 +02:00
Theo Arends b53ac4a14e Fix next core I2C2 compilation 2024-10-11 14:11:00 +02:00
Barbudor b09b3560b9
recreate 16044 (#22232) 2024-10-03 09:21:55 +02:00
Theo Arends 61aeea9132 Add ESP8266 support for one-wire M1601 temperature sensor on DS18x20 GPIO (#21376) 2024-09-25 15:01:19 +02:00
gemu 3707d4b239
Sml update (#22185)
* some refactoring

* refactoring, save some ram
2024-09-22 12:20:02 +02:00
Theo Arends 3b28542d9c Fix BMP second bus 2024-09-19 17:21:08 +02:00
Theo Arends 9238ee73d6 Add ESP8266 experimental support for second I2C bus 2024-09-19 14:47:18 +02:00
Theo Arends a9f0623769 SCD30 Lowered I2C clock from 100k to 50k (#15438) 2024-09-19 11:15:04 +02:00
Theo Arends d0d075a1b4 Refactored I2C drivers SHT3x and iAQ 2024-09-19 11:11:08 +02:00
Theo Arends a5730a76f9 Add command entered to command error and command unknown message 2024-09-17 16:24:45 +02:00
Theo Arends 97970974fc Refactored I2C drivers HTU21, BH1750 and HYT 2024-09-16 16:27:30 +02:00
Theo Arends 7b8308c36a Add support for I2C M5Unit (Mini)Scales using HX711 driver 2024-09-12 12:14:32 +02:00
Theo Arends d8f01ed4c0 Refactor HX711 memory use 2024-09-10 15:59:25 +02:00
gemu 1c730aab86
fix trx pin error (#22119) 2024-09-10 14:48:38 +02:00
Theo Arends 1bf6a13d7c Bump version v14.2.0.4
- Add HX711 optional calibration precision option on command ``Sensor34 2 <weight in gram> <precision>`` where `<precision>` is 1 to 10 (#13983)
2024-09-08 17:32:35 +02:00
gemu 2c5e8749e3
multi trx lines (#22056) 2024-09-07 15:29:27 +02:00
Jason2866 069f59d13f
remove irritating space (#22095) 2024-09-05 16:51:45 +02:00
Theo Arends 4f62a0deab Refactor to TimeReacged() 2024-08-18 12:46:23 +02:00
Theo Arends 1b24378da5 Free 500 code bytes on ADC/ESP8266 2024-08-15 12:52:12 +02:00
Theo Arends b93e6cee7b Change GUI name of Analog<x> to ADC<x> 2024-08-13 15:11:51 +02:00
Theo Arends ff46745252 Fix ADC conversion to v14.1.0.4 2024-08-13 13:57:58 +02:00
Theo Arends 85da678132 Fix ADC bad energy jumps 2024-08-10 17:01:14 +02:00
Theo Arends bcd1a9c986 Fix ADC multiple GPIO parameter storage 2024-08-09 16:11:30 +02:00
Norbert Richter 663fc88373
Update NeoPool comments (#21920) 2024-08-07 16:09:53 +02:00
Theo Arends 040ffb33e0 Fix restore ADC energytoday on power cycle 2024-08-06 18:07:26 +02:00
Theo Arends 4f035d18f6 Fix invalid ADC energy reset 2024-08-04 18:06:24 +02:00
Theo Arends bdec6aed67 Update xsns_02_analog.ino 2024-08-04 16:37:36 +02:00
Theo Arends 469f12abbc Add ADC support for Shelly Plus RGBW PM 2024-08-04 16:35:02 +02:00
Theo Arends f6c3064890 Fix ADC migration 2024-08-03 18:03:41 +02:00
Theo Arends c7faff7ac6 Refactored Analog driver to better support multiple channels
- Add command ``AdcGpio<gpio> <parameters>`` to better support ADC configuration
2024-08-03 17:52:47 +02:00
Jan-David Förster 4101ad7303
xsns_14_sht3x.ino - data types adjusted, code size reduced (#21868)
* code size, data type improvements

* Change temp calculation to int
2024-07-30 22:23:53 +02:00
Theo Arends a98399367b Fix analog reset adcparam 1 2024-07-28 18:58:06 +02:00
Theo Arends 88293d7414 Analog GPIO changes
- Analog GPIO ``ADC Input`` with ``AdcParam<x> 1,<start_range>,<end_range>,<margin>,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:52:38 +02:00
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