250 Commits

Author SHA1 Message Date
Theo Arends
34d15036e6 Merge branch 'development' into prerelease-13.0 2023-06-24 12:18:30 +02:00
Jason2866
b419ae3a92
add matter as a default option in most env (#18942) 2023-06-24 11:39:26 +02:00
Subhash Chandra
2f616eef2c
make IRHVAC send incremental changes. (#18310)
This change will allow mqtt messages simpler by allowing something like
`publish cmnd/ir-bridge/IRHVAC {"Power": "On"}`.
The simpler format is required for working with mqtt clients like
iotMQTTPanel or similar on android.

Limitations:
- Requires full message be sent at-least once. I work around this with
   a `system#boot` rule
- Gets messy with multiple devices. I have only one AC per room, and
  this doesn't doesn't interfere with other IR devices.

TODO:
- [ ] Change the build flag `INCREMENTAL_IRAC`to a `SetOption`
- [ ] Persist `irac_prev_state` across reboots.
- [ ] Support multiple devices.
2023-06-10 14:53:02 +02:00
Theo Arends
4e7475dbd4 Bump version v12.5.0.4 2023-06-02 10:25:02 +02:00
Jason2866
7b55e1aca2
Make USE_DISPLAY_MODES1TO5 in firmware LVGL possible (#18729)
* Make `USE_DISPLAY_MODES1TO5` in firmware `LVGL` possible
2023-05-27 17:00:14 +02:00
Theo Arends
fcf3477165 Initial support for WS2812 scheme 14 2023-05-26 17:47:57 +02:00
Theo Arends
e05d75248e Add undocumented feature 2023-05-25 17:13:31 +02:00
Theo Arends
57f85ae478 Optimize dynamic WiFi power 2023-05-17 10:45:00 +02:00
Theo Arends
0385204ca7 Add command `WifiPower 0`
Add command ``WifiPower 0`` to enable dynamic wifi power based on RSSI by @TD-er (#15443)
2023-05-16 18:55:55 +02:00
Theo Arends
7cad4f95b6 Enable I2c on webcam 2023-05-14 14:42:11 +02:00
Jason2866
3c951d7751
fix GT911 crash in LVGL firmware (#18633)
* fix GT911 crash

* remove wrong frag when using GT911
2023-05-10 14:02:51 +02:00
Jason2866
64e844d387
Disable crashing GT911 driver (#18631) 2023-05-10 11:28:59 +02:00
Mateusz Bronk
6a7b2b0c6e
IR: Extended the A/C protocol with Command/iFeel/SensorTemp (#18612)
* IR: Added support for new A/C protocol fields

New fields introduced in IRremoteESP8266 v2.8.5:
1. Command (one of: [Control | Config | iFeel | Timer], default: Control) - allows to set IR command type (e.g. iFeel for no-beep ambient sensor report)
2. iFeel (boolean, default: false) - configures whether iFeel (ambient sensor temp. is used by the A/C unit)
3. SensorTemp - the ambient sensor temperature reading to send

Note:
 - Fan setting via int is now 6-value (breaking change -> 6 is the new max)

* IR A/C: Model now pretty-printed to JSON

Model string is the default (falls back to int if n/a)

* IR A/C: Added separate JSON resp. per command type

* No change for "kControlCommand" (default/legacy).
* SensorReport/Timer/Config commands only contain relevant JSON nodes

Additionally:
 Clock has time semantics (input: minutes, output: HH:MM), except for "config" mode,
 where state.clock is used as ConfigKey and state.sleep is used as ConfigValue.

---------

Co-authored-by: Mateusz Bronk <2566147+mbronk@users.noreply.github.com>
2023-05-09 21:35:56 +02:00
Jason2866
eccc1af0a2
disable SHT pig on i2c / add missing GT911 defines (#18595)
* disable SHT pig on i2c / add missing GT911

* GT911 missing in config
2023-05-07 15:32:15 +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
gemu
687b26ad13
Scripter update (#18578)
* add ds2480b library

* add onewire support

* reset on error

* call to get esp32 HWS

* DS2480 serial invert option
2023-05-05 09:17:17 +02:00
Jeroen
616652ea22
Added support for Dingtian Relay Board v3.6.10 (#18535)
* Added support for Dingtian Relay Board v3.6.10

* Output OE was never initialized

* Removed white spaces trying to fix language builds

* Fix for https://github.com/arendst/Tasmota/pull/18535#pullrequestreview-1406978097

* Fixed language builds

---------

Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-01 14:51:02 +02:00
Theo Arends
f86bc7d8ab Prep GM861 2023-04-27 17:44:33 +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
6f6c43a724 Add command `SetOption152 0/1`
Add command ``SetOption152 0/1`` to select two (default) or one pin bistable relay control (#18386)
2023-04-18 17:16:29 +02:00
Theo Arends
05f6bcf211 Bump v12.5.0.1 2023-04-17 10:10:55 +02:00
Theo Arends
3f43db93f0 Merge branch 'development' into prerelease-12.5 2023-04-15 15:13:16 +02:00
Theo Arends
1e571e1d14 Update templates 2023-04-15 14:58:21 +02:00
Theo Arends
e07efd625f Add support for GDK101 gamma radiation sensor by Petr Novacek (#18390) 2023-04-14 16:50:54 +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
stefanbode
6d9beb5d79
autosetup of shutters for shelly devices (#18393)
* New autocallibration and setup for shelly devices

* setup command
2023-04-12 09:39:48 +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
Theo Arends
96e5f0dd38 Version bump v12.4.0.5
- Add Matter support for Light and Relays on ESP32 by Stephan Hadinger (#18320)
2023-04-03 10:06:03 +02:00
Theo Arends
b321fab868 Refactor PCF8574 driver 2023-03-27 15:42:40 +02:00
Theo Arends
00c60450c6 Consolidate messages
- Consolidate messages
- Fix sen5x
2023-03-22 13:25:55 +01:00
Theo Arends
6aab3d4c5e Bump version v12.4.0.4
- Add Matter support simple Relay on Apple Homekit by Stephan Hadinger (#18239)
- Bump version v12.4.0.4
2023-03-22 10:39:59 +01:00
Theo Arends
59677d7e4a Consolidate sensor parameters 2023-03-20 17:11:05 +01:00
gemu
daa64f098c
Scripter update (#18226)
* fix failure with negative values in >D

* Create Powerwall.h
2023-03-20 12:13:36 +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
115105bf7c Consolidate energy messages 2023-03-18 18:26:43 +01:00
Theo Arends
54a2688cbf Bump v12.4.0.3
- Bump v12.4.0.3
- Refactor energy monitoring reducing stack usage and solve inherent exceptions and watchdogs (#18164)
2023-03-17 21:05:51 +01:00
Theo Arends
bda32739a8 Support for reset settings on filesystem 2023-03-13 15:41:21 +01:00
Theo Arends
2b89b7a134 Fix init order of device drivers (#18124) 2023-03-11 15:52:02 +01:00
Barbudor
0dc39e0470
Tariff command variant to force tariff - take 2 (#18112)
* tariff command variant to force tariff

* move to Settings + add esp8266

* added tariff-forced to changelog
2023-03-04 21:58:03 +01:00
Theo Arends
cb988edba8 Prep PCF8574 virtual switch/button/relay 2023-03-03 16:54:57 +01:00
Theo Arends
a72bbbe30a Add interrupt control to MCP23xxx driver
- Add interrupt control to MCP23xxx driver
- Enable ADE7880 in tasmota32.bin
2023-03-02 11:24:54 +01:00
Theo Arends
dcc46cb4d5 Bump version v12.4.0.2 2023-03-01 17:09:51 +01:00
Theo Arends
159d1ae312 Breaking change Shelly Pro 4PM
- Add support for multiple MCP23017/MCP23S17 as switch/button/relay
- Breaking change Shelly Pro 4PM using standard MCP23xxx driver
2023-03-01 16:52:34 +01:00
Theo Arends
9f30836854 Add support for multiple MCP23017 as switch/button/relay 2023-03-01 10:12:47 +01:00
Charles
27de8b5c3e
added teleinfo config show_stats parameter (#18051) 2023-02-25 17:27:10 +01:00
Theo Arends
e927e3307e Add DevicesPresent limit check
- Increase supported relays and buttons to 32
2023-02-25 16:44:04 +01:00
Jason2866
8ea8d34d17
Make setting of CODE_IMAGE_STR in Platformio possible (#18011)
* OTA_URL safeguard
* make override possible
2023-02-22 12:05:04 +01:00
Theo Arends
dfe434bb92 Prep MCP23xxx interrupt support 2023-02-18 16:05:56 +01:00