Theo Arends
fcf3477165
Initial support for WS2812 scheme 14
2023-05-26 17:47:57 +02:00
s-hadinger
6fa22aae6b
adjust neopixel busy time ( #18723 )
...
* adjust neopixel busy time
* Adjust time for Berry
2023-05-25 19:21:18 +02:00
Theo Arends
e05d75248e
Add undocumented feature
2023-05-25 17:13:31 +02:00
Theo Arends
d0e88c9dae
Fix BusyDelay WS2812
2023-05-24 17:24:48 +02:00
Theo Arends
fc67cca8b4
Add generic SystemWaitIfBusy() to fix WS2812 led flicker
...
Add generic SystemWaitIfBusy() to fix WS2812 led flicker
2023-05-24 16:21:59 +02:00
gemu
242eb3074a
fixes and enhancements ( #18718 )
...
* onewire fixes, webui radiobuttons
* fix regression
2023-05-23 11:30:59 +02:00
Theo Arends
22abc8ad99
Fix ESP32 InfluxDb initial connection delays
...
Fix ESP32 InfluxDb initial connection delays using HTTPClient (#18015 )
2023-05-21 16:21:43 +02:00
Theo Arends
ae518424bc
Add IPv4 DNS lookup to influxdb
...
- Add IPv4 DNS lookup to influxdb (#18015 )
- Add response to influxdb send
2023-05-21 15:34:36 +02:00
stefanbode
a76ebaae48
Shutter continuous improvement ( #18701 )
...
* Update xdrv_27_esp32_shutter.ino
* Update xdrv_27_shutter.ino
* Update xdrv_01_9_webserver.ino
* Update xdrv_12_discovery.ino
* shutterinvert
removed slider display to driver
fix wrong invert display
* codereduction+refactor slider
removed webui slider into driver
optimized code
* update slide, fix invert shutters
- refactor sliders into driver
- fix percent calculation on iverted shutters
* fix on realpercent if inverted shutter
* fix ShutterPercentToRealPosition
fix on inverted shutter
* added shutter to bootloop reset
* bugfix integration
* bugfix
2023-05-21 12:25:11 +02:00
Bernhard Urban-Forster
d5ad79985b
haas: sync shutter discovery and fix for more than 4 shutter ( #18694 )
...
* discovery: hoist shutter computation out of loop
* haas: sync shutter discovery and fix for more than 4 shutter
2023-05-20 09:06:56 +02:00
Theo Arends
4afcdc11d6
Simplify Berry Mute option
2023-05-19 16:30:48 +02:00
s-hadinger
043ea2986b
Berry `tasmota.wifi()` would wrongly report wifi as up ( #18687 )
...
* Berry `tasmota.wifi()` would wrongly report wifi as up
* Fix ESP8266 compile
* Fix display of IP in wifiman
* Improve wifiman IP handling for IPv6
2023-05-18 11:23:09 +02:00
stefanbode
4d131fd543
zero-cross dimmer cleanup ( #18674 )
...
removed zero cross dimmer initialize
2023-05-17 08:54:22 +02:00
stefanbode
adff41f962
bugfix ( #18673 )
2023-05-16 22:34:07 +02:00
btsimonh
f8b26a90f6
Add mutex to many camera functions. ( #18655 )
...
* Add mutex to many camera functions.
* Allow stream to continue after wcinit command (and other commands which reconfigure).
* Adust retries on camera init, specifically log success if it retried.
Shorten messages to save rom.
I have seen fail of 0x103 and 0x20002 succeed on second try.
2023-05-16 12:21:25 +02:00
s-hadinger
81d7785f66
LED PWM ac_dimmer curve was wrongly applied instead of Gamma ( #18666 )
2023-05-15 22:51:14 +02:00
s-hadinger
98bfc172c1
Zigbee support for air sensors ( #18665 )
...
* Zigbee support for air sensors
* ppm
2023-05-15 22:04:13 +02:00
Theo Arends
f1a9a0b45b
Add support for PCA9557
...
Add support for PCA9557 8-bit I/O expander (#18632 )
2023-05-14 15:08:09 +02:00
Theo Arends
26508e55fc
Merge branch 'development' of https://github.com/arendst/Tasmota into development
2023-05-14 14:42:23 +02:00
Theo Arends
7cad4f95b6
Enable I2c on webcam
2023-05-14 14:42:11 +02:00
CCTweaker
885737a1fd
Add support for PCA9557 8-bit IO expander ( #18632 )
...
* add PCA9557 driver
* text correction
* added switches and buttons
* update max devices to 8
* cleanup
2023-05-14 14:19:39 +02:00
Jeroen
f860722eba
Added Endianess Parameter ( #18650 )
...
https://github.com/arendst/Tasmota/discussions/18244
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-05-14 14:18:45 +02:00
Jason2866
0bf27e70fe
fix logic when init cam was successful ( #18653 )
2023-05-14 14:08:53 +02:00
Theo Arends
86979646ff
Energy power delta report delayed
...
Energy power delta report delayed by two seconds allowing hardware to stabilize (#17751 )
2023-05-11 18:10:52 +02:00
Christian Baars
79a826a206
Update xdrv_81_esp32_webcam.ino ( #18637 )
2023-05-11 09:28:33 +02:00
f-reiling
3a6cd9b63c
start modus tcp bridge automatically ( #18634 )
...
* added default port for modbus tcp bridge to start automatically
* updated ifdef style
* renamed define for modbus default port
2023-05-10 14:38:52 +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
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
Christian Baars
cf60e34578
fix webcam init for some cases ( #18606 )
...
Co-authored-by: Christian Baars <christianbaars@MacBook-Pro-von-Christian.local>
2023-05-08 09:57:00 +02:00
Theo Arends
da5396a080
Add filesystem size to esp8266 GUI
2023-05-07 17:25:18 +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
e9d1e8c725
Change command FileUpload binary index
2023-05-06 18:09:11 +02:00
stefanbode
25e55ae073
#18548 fix shuttersetup ( #18586 )
...
- code optimization
- shuttersetup reluctant on relay to energy measure relation
2023-05-06 15:46:29 +02:00
s-hadinger
069278f966
Berry add `tcpclientasync` class for non-blocking TCP client ( #18584 )
2023-05-05 15:13:22 +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
s-hadinger
c26ec44407
Matter POC for remote Relay ( #18575 )
2023-05-03 23:03:01 +02:00
stefanbode
9097f508fd
BugFix Garage + new shutterbuttons options ( #18572 )
...
* Fix GarageMode movements
* BugFix Garage + new shutterbuttons options
- Removed logging
- shutterbuttons support incremental change
- garage mode, fix #18539 and fix #18442
2023-05-03 21:44:09 +02:00
stefanbode
c498995f79
Update xdrv_68_zerocrossDimmer.ino ( #18556 )
...
* Update xdrv_68_zerocrossDimmer.ino
* Address IRAM issue report
removed some IRAM from ESP8266. Further improvement to ESP32 as soon as measurement is available.
2023-05-02 15:53: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
Jeroen
c5612a50fb
Fix for https://github.com/arendst/Tasmota/discussions/15703#discussioncomment-5713294 ( #18534 )
...
Added and fixed comments
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-04-29 14:46:38 +02:00
stefanbode
17d1d7f5fa
Update xdrv_68_zerocrossDimmer.ino ( #18532 )
2023-04-28 17:33:12 +02:00
stefanbode
60855bf367
Enabled ZCDimmerSet for ESP8266 ( #18518 )
...
* Enabled ZCDimmerSet for ESP8266
- Increased interrupts time to get stablity. Savedata issue is gone.
- Increased accuracy to trigger an on sinus curve.
- Enabled high resolution trigger ZCDimmerSet for ESP8266
* Update xdrv_68_zerocrossDimmer.ino
2023-04-27 08:03:00 +02:00
s-hadinger
6702321784
Matter shutter with tilt ( #18525 )
2023-04-26 22:53:26 +02:00
Jeroen
ee9d086aba
Solved: ModbusBridge reading int16 returns uint16 ( #18524 )
...
https://github.com/arendst/Tasmota/issues/18522
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-04-26 22:27:53 +02:00
stefanbode
afbdb3d54f
Added TILTCONFIG to status13 message for MATTER support ( #18512 )
2023-04-26 11:39:59 +02:00
stefanbode
bec24baa75
Changes JSON message to actual position and not outdated ( #18502 )
...
* Report actual position in JSON
* Update xdrv_27_shutter.ino
* Update xdrv_27_esp32_shutter.ino
* copy&paste error
2023-04-26 08:39:49 +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
gemu
799ba675eb
add xpt2046 option for spi bus 2 ( #18480 )
...
* allow spi bus 2
* xpt spi bus 2
* xpt option bus
* xpt option spi bus 2
* exclude c3
* exclude s2
* fix s3
* typo
2023-04-23 10:19:31 +02:00
Jason2866
11a43ea99b
Tasmota Core 208 ( #18460 )
...
* Tasmota Core 2.0.8
* Fix Linker errors
2023-04-20 20:01:35 +02:00
Theo Arends
2684141722
Fix ESP8266 Energy Export Active
...
Fix ESP8266 Energy Export Active no update regression from v12.3.1.3
2023-04-18 15:34:19 +02:00
s-hadinger
e2e142f289
Zigbee fix compilation for future core ( #18432 )
...
* Zigbee fix compilation for future core
* More fixes for ESP32
2023-04-16 23:16:28 +02:00
Theo Arends
96f6f69f13
Increase TasmotaClient receive buffer
...
Increase TasmotaClient receive buffer from 100 to 250 (#18427 )
2023-04-16 14:39:29 +02:00
ferix98
2a8b859e37
Added I2SRtttl command ( #18423 )
2023-04-16 12:04:22 +02:00
Theo Arends
c2a6dd81e8
Fix ESP32 energy monitoring set StartTotalTime
...
Fix ESP32 energy monitoring set StartTotalTime regression from v12.3.1.5 (#18385 )
2023-04-14 17:42:31 +02:00
stefanbode
3da96a55d5
Fixes and enhancements autosetup from testbench ( #18405 )
2023-04-13 21:56:35 +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
stefanbode
1c0936c6d5
fix setting migration issue ( #18383 )
...
* fix setting migration issue
* next try to fix migration issue
@arendst: I saw you made also some changes to the xdrv122. I copied this and it looks like setting the crc32 was the root of the issue. You removed it and I do the same now. Looks much better.
2023-04-11 08:17:55 +02:00
s-hadinger
6007f2d970
Berry `webserver.html_escape()` reusing the internal HTML escaping function ( #18381 )
2023-04-10 19:16:01 +02:00
s-hadinger
3354e2acbf
Matter log unknown opcodes ( #18379 )
2023-04-10 16:20:11 +02:00
gemu
f06104b0b7
Scripter update ( #18374 )
...
* bug fixes and enhancements
* tcp reconnect
2023-04-10 10:04:00 +02:00
stefanbode
86be6c8a3d
Additional limit check on tilt changes ( #18364 )
...
* limit check on tilt position
* limit check on tilt changes
2023-04-08 09:40:38 +02:00
Paul Blacknell
1be4d15f65
add: include EmergencyState in Thermostat sensor json payload ( #18344 )
2023-04-06 09:50:37 +02:00
Theo Arends
9c6fdc7027
Sync discoveries
2023-04-05 14:06:43 +02:00
stefanbode
afd22b5b42
fix #18331 (Wrong discovery on ESP32_shutter ( #18334 )
...
* fix ESP32_shutter wrong discovery
* fix wrong discovers on ESP32 shutter
* fix wrong discovers on ESP32_shutter
* Update xdrv_12_discovery.ino
2023-04-05 13:47:12 +02:00
stefanbode
b287d05098
Enable motordelay for tilt operations ( #18330 )
...
* implement motordelay also for tilt operations
* enable motordelay for tilt operations
* Update xdrv_27_esp32_shutter.ino
2023-04-04 17:45:33 +02:00
stefanbode
f109d6ff72
Ensure Shuttermotorstop even on direct relay operation ( #18329 )
...
* Ensure motorstoptime also on direct relay change
When relay is triggered with button or switches it did not take the motorstoptime into account
* Ensure motorstoptime also on direct relay change
When relay is triggered with button or switches it did not take the motorstoptime into account
* Ensure motorstoptime also on direct relay change
When relay is triggered with button or switches it did not take the motorstoptime into account
2023-04-04 16:17:12 +02:00
Theo Arends
542eca3154
Global fix http(s) connect issues
2023-04-03 16:12:29 +02:00
Theo Arends
6b2efa16dc
Fix ESP32 WebQuery and WebGetConfig
2023-04-03 14:55:47 +02:00
stefanbode
efa7ae492e
Fix webpage, when ESP32 driver used ( #18305 )
...
* Fix to enable ESP32 shutter
* required changes for dual operation with ESP32 shutter
* fix
* Fix missing information on webpage
2023-04-01 14:53:01 +02:00
stefanbode
d8f9a920ce
refactoring shutterbuttons completed ( #18303 )
...
* added support to set tilt with the shutterposition
Documentation will be changed.
OLD: shutterposition <position>
NEW: shutterposition <position>(optional)/<tilt>
e.g. shutterposition 50,-90
* refactoring of shutterbuttons completed
moved away from bitmatrix to struct Typedef to enable further development and functionality.
Added support to define tiltposition with shutterbuttons
2023-03-31 09:46:36 +02:00
Theo Arends
3cbe3dbf8b
Create xdrv_27_esp32_shutter.ino
2023-03-29 15:58:46 +02:00
Theo Arends
2630c8e097
Delete xdrv_27_ESP32_shutter.ino
2023-03-29 15:58:26 +02:00
stefanbode
5c14a3169b
Shutter esp32 support up to 16 shutters ( #18295 )
...
* Updates to support ESP32 shutter compiler option
* New ESP32 shutter driver
* Update xdrv_27_ESP32_shutter.ino
* Update xdrv_27_shutter.ino
* Update support_command.ino
* Update xdrv_27_shutter.ino
Fix compile error
* Update xdrv_27_ESP32_shutter.ino
Fix compile error
* Update xdrv_27_shutter.ino
Fix compile error
---------
Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2023-03-29 15:43:19 +02:00
Theo Arends
b321fab868
Refactor PCF8574 driver
2023-03-27 15:42:40 +02:00
s-hadinger
2afa863e54
Berry fix `light.set()` ( #18268 )
2023-03-26 15:59:18 +02:00
Theo Arends
0f08a07658
Fix PCF8574 input mode ( #18232 )
2023-03-26 15:05:16 +02:00
Theo Arends
215c9cc30f
Simplify base modes
2023-03-26 11:39:30 +02:00
Theo Arends
ebe308acfc
refactor button/switch code
2023-03-25 18:15:24 +01:00
Theo Arends
4645af038c
Add BASE 2 for absolute relays
2023-03-25 17:50:23 +01:00
Theo Arends
1e1c536a50
Consolidate Energy Column Gui
2023-03-25 15:16:06 +01:00
Theo Arends
9ae7b86efc
Save some bytes
2023-03-25 11:59:42 +01:00
Theo Arends
56b3fbe917
Add MCP23xxx absolute buttons and switches
2023-03-24 18:00:24 +01:00
Theo Arends
938399e086
Add absolute button/switch support
...
Add absolute button/switch support (#18232 )
2023-03-24 17:20:28 +01:00
stegerfa
0081022543
fixes building the sensor names in case of multiple channel thermostat function ( #18248 )
...
now it will follow SetOption64 (hyphen vs underscore)
hyphen is the standard - underscore the much safer option in my cases
as many user user underscore the mistake was not detected till now
Co-authored-by: Fabian Steger <git@fabian-steger.de>
2023-03-24 14:54:23 +01:00
SteWers
ab03654e02
[Thermostat] Enhancement publishing of control method ( #18235 )
...
Enhancement publishing of control method. Independent, if hybrid mode is used or not.
2023-03-22 10:41:53 +01:00
s-hadinger
a36edadc0f
Berry fix `tasmota.get_power(index)` ( #18237 )
2023-03-21 22:30:50 +01:00
Jeroen
a68bc49cab
Added option to output TCP requested modbus data to MQTT ( #18231 )
...
https://github.com/arendst/Tasmota/discussions/17369
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-03-21 09:39:32 +01:00
Jeroen
fbbb4eaf84
Fix for issue: https://github.com/arendst/Tasmota/issues/18088 ( #18228 )
...
Co-authored-by: JeroenSt <nospam@nospam.org>
2023-03-20 21:26:38 +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
Barbudor
948a82d75e
Add virtual Buttons & Switches in Digtian driver ( #18223 )
...
* add support for virtual buttons or switches
* remove DINGTIAN key from SENSOR when using buttons-switches
2023-03-19 20:19:48 +01:00
Theo Arends
115105bf7c
Consolidate energy messages
2023-03-18 18:26:43 +01:00
Theo Arends
9a3a479c4f
Reduce heap fragmentation
2023-03-17 21:17:53 +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
stefanbode
d0f4637611
Fix #18198 ( #18204 )
...
* Fix #18198
Fix wrong movement with tilt if additional endstop defined
* simplify
2023-03-16 14:38:04 +01:00
Paul Blacknell
52227b0294
add: controller control method added to MQTT and Web UI ( #18189 )
2023-03-14 12:32:36 +01:00
Theo Arends
bda32739a8
Support for reset settings on filesystem
2023-03-13 15:41:21 +01:00
s-hadinger
0bc48d16c2
Berry add `web_get_arg` event to drivers when `FUNC_WEB_GET_ARG` event is processed ( #18175 )
2023-03-12 19:01:08 +01:00
Gabriele Lauricella
7f64b6e04b
Enhanced TM1650 with 7-Segment commands like TM1637 ( #18109 )
...
* Enhanced TM1650 with 7-Segment commands like TM1637
* Fix point for display type 2
2023-03-12 09:22:40 +01:00
s-hadinger
34bf941cd2
Berry add `webclient` `collect_headers()` and `set_headers` ( #18166 )
2023-03-11 21:46:08 +01:00