Commit Graph

5234 Commits

Author SHA1 Message Date
Theo Arends a6310780ee Fix Sonoff L1 Lite MusicSync mode
Fix unable to disable MusicSync mode on Sonoff L1 Lite regression from 9.3.0 (#12930)
2021-08-25 15:24:55 +02:00
ujp83wi e2ca51454b [#12712 / #12713] Add SetOption129 which changes behavior of SwitchMode11 & 12:
SetOption129 0 (default) triggers the single press event (State#2) at push (for mode 12 it is inverted)
SetOption129 1 triggers the single press event (State#2) at release (for mode 12 it is inverted)
This makes the double-click usable for other things than switching the relay which is switched by single-click
2021-08-25 14:44:17 +02:00
Theo Arends 6e2a3f5d60 Fix Hass and Tasmota discovery
Fix Hass and Tasmota discovery prefix topic notifications (#12972)
2021-08-25 09:41:07 +02:00
Stephan Hadinger 5ab0081f47 Berry upgrade to latest changes 2021-08-24 22:44:33 +02:00
Theo Arends 3bae28a9f5
Merge pull request #12960 from Fires04/development
xsns_82_wiegand - fix for zero key if keypad is used in the single ke…
2021-08-24 20:52:19 +02:00
Theo Arends c3b38c0d2c Fix ESP32-C3 compilation (#12961) 2021-08-24 20:48:50 +02:00
David Stein 75d259a77e xsns_82_wiegand - fix for zero key if keypad is used in the single key mode (SetOption124 1) 2021-08-24 15:54:02 +02:00
Theo Arends 308e4a536d
Merge pull request #12942 from Jason2866/C3_BLE
BLE support for ESP32-C3
2021-08-24 08:36:11 +02:00
Stephan Hadinger ce8958c89b Berry preliminary support for OneWire 2021-08-23 20:32:32 +02:00
Stephan Hadinger 0e1a5a0a79 Berry support for vararg 2021-08-23 19:47:37 +02:00
Theo Arends 0f3a74bad2 Final fix for Shelly 2.5 2021-08-23 18:18:11 +02:00
Theo Arends 7d1bcda887 Saving bytes for same result 2021-08-23 17:37:12 +02:00
Theo Arends 8e9960be80 Allow correct negative values on Shelly 2.5 relay1 2021-08-23 17:24:42 +02:00
Theo Arends 74b24298bd Fix Shelly 2.5 negative power values on relay 1 regression from 9.5.0.5
Fix Shelly 2.5 negative power values on relay 1 regression from 9.5.0.5 (#12943)
2021-08-23 16:18:21 +02:00
Stephan Hadinger db7ee8424e Zigee increase auto-bind range #10399 2021-08-22 22:44:21 +02:00
stefanbode 3f81f939db
Update xdrv_27_shutter.ino
Fixing WDT reset on shutters with stepper motors during deceleration #12849
2021-08-22 15:59:01 +02:00
Jason2866 68e9e3dbc7 NimBLE 1.3.1 2021-08-22 15:52:00 +02:00
Theo Arends eb05c81f06
Update my_user_config.h 2021-08-22 11:47:11 +02:00
Vojtěch Kůrka 35698dbe64 Fix for iem3155 wattmeter - CRC error, Power unit error, Energy total number type mismatch 2021-08-22 11:09:44 +02:00
Theo Arends 43642e0b8a Turn HTTP API (command ``SetOption128 1``) default on for backward compatibility 2021-08-20 15:54:26 +02:00
Theo Arends ae67c5fa57
Merge pull request #12900 from ascillato/WEBUI_HTTP-API-ENABLING
WebUI: Add option for enabling HTTP API
2021-08-20 15:25:23 +02:00
Stephan Hadinger d3ad13c962 Berry system events for rules 2021-08-19 12:37:19 +02:00
Adrian Scillato b50775bcf9
http referer error message 2021-08-17 13:48:41 -03:00
Adrian Scillato cbab3bdfb0
http referer error message 2021-08-17 13:45:30 -03:00
Adrian Scillato 079cd54088
Moved HTTP Referer Loglevel from 3 to 2 2021-08-17 13:23:49 -03:00
Adrian Scillato 99d09d9b5f
Update zh_TW.h 2021-08-16 19:10:56 -03:00
Adrian Scillato 948c57e5c0
Update zh_CN.h 2021-08-16 19:10:09 -03:00
Adrian Scillato 05bf18900a
Update vi_VN.h 2021-08-16 19:09:46 -03:00
Adrian Scillato 0e48f3f0ab
Update uk_UA.h 2021-08-16 19:09:20 -03:00
Adrian Scillato 209724944a
Update tr_TR.h 2021-08-16 19:08:55 -03:00
Adrian Scillato ed5668dd0b
Update sv_SE.h 2021-08-16 19:08:31 -03:00
Adrian Scillato 8e0d4e1527
Update sk_SK.h 2021-08-16 19:08:06 -03:00
Adrian Scillato 7468b2fa40
Update ru_RU.h 2021-08-16 19:07:46 -03:00
Adrian Scillato 387eb01a72
Update ro_RO.h 2021-08-16 19:07:17 -03:00
Adrian Scillato 07ca6ed820
Update pt_PT.h 2021-08-16 19:06:54 -03:00
Adrian Scillato 7b9adf766b
Update pt_BR.h 2021-08-16 19:06:21 -03:00
Adrian Scillato cf611d83a1
Update pl_PL.h 2021-08-16 19:05:50 -03:00
Adrian Scillato d9560d0f4c
Update nl_NL.h 2021-08-16 19:05:15 -03:00
Adrian Scillato a9e8b764a6
Update ko_KO.h 2021-08-16 19:04:48 -03:00
Adrian Scillato dbe94e149d
Update it_IT.h 2021-08-16 19:03:59 -03:00
Adrian Scillato df580f72e8
Update hu_HU.h 2021-08-16 19:03:04 -03:00
Adrian Scillato 74ef6d5f2a
Update he_HE.h 2021-08-16 19:02:30 -03:00
Adrian Scillato 6440d58a6a
Update fy_NL.h 2021-08-16 19:02:03 -03:00
Adrian Scillato d6b3a7f478
Update fr_FR.h 2021-08-16 19:01:42 -03:00
Adrian Scillato f40bf26299
Update es_ES.h 2021-08-16 19:01:17 -03:00
Adrian Scillato d23e6f96db
Update el_GR.h 2021-08-16 19:00:47 -03:00
Adrian Scillato 2c2e810dae
Update de_DE.h 2021-08-16 19:00:14 -03:00
Adrian Scillato d3b0e47711
Update cs_CZ.h 2021-08-16 18:59:31 -03:00
Adrian Scillato b4dd5ca33b
Update bg_BG.h 2021-08-16 18:58:56 -03:00
Adrian Scillato b531d7d3f2
Update af_AF.h 2021-08-16 18:56:58 -03:00
Adrian Scillato 07bc310660
Update en_GB.h 2021-08-16 18:55:34 -03:00
Adrian Scillato 9a2267a783
Add HTTP API Status to STATUS 5 2021-08-16 18:51:53 -03:00
Adrian Scillato 8b3679a39b
Add SO128 to WebUI (HTTP API ENABLE) 2021-08-16 18:45:24 -03:00
Stephan Hadinger 63bbf46d7f Berry now compiling in ``strict`` mode to catch more bugs 2021-08-16 20:46:09 +02:00
Theo Arends 154928fe58 Add influxdb debug logging control 2021-08-16 17:31:52 +02:00
Stephan Hadinger f6eaa77f28 Auto enabled TLS if port is 443 2021-08-16 14:20:10 +02:00
Theo Arends 1ab2b2c865 Fix influxdb id regression 2021-08-16 11:44:27 +02:00
Theo Arends 0d9678eef6 Refactor trim 2021-08-16 11:11:46 +02:00
Theo Arends cb955762a6 Version bump to v9.5.0.6
Version bump to monitor possible HTTP issues releated to ``SetOption128``
2021-08-16 10:32:25 +02:00
Theo Arends b112c05d9a Refactor access TasmotaGlobal.mqtt_data 2021-08-15 17:26:32 +02:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 4ed6335428 Add referer related debug info 2021-08-15 15:51:29 +02:00
Theo Arends 035fab505e
Merge pull request #12889 from mbezuidenhout/feature/can-bus
Feature/can bus
2021-08-15 14:58:12 +02:00
Theo Arends 15312f8829 Add disabling web referer check default blocking HTTP web commands
Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828)
2021-08-15 13:15:33 +02:00
Theo Arends 7380f85d8d Revert "Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828)"
This reverts commit 996aaf26cc.
2021-08-15 13:04:57 +02:00
Theo Arends 996aaf26cc Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828) 2021-08-15 12:59:21 +02:00
Marius Bezuidenhout 56eced2f51 Only send MQTT of data that has been received 2021-08-15 11:44:36 +02:00
Theo Arends 52b8e507e9 Add state information to influxdb 2021-08-14 17:44:37 +02:00
Theo Arends 3c964504b6 Revert "Show power status in state message always with power index number like ``POWER1``"
This reverts commit 59a13644b9.
2021-08-14 17:40:03 +02:00
Theo Arends 59a13644b9 Show power status in state message always with power index number like ``POWER1``
Add state information to influxdb
2021-08-14 17:35:31 +02:00
Theo Arends 64c527e3c3 InfluxDb allow all numeric data 2021-08-14 17:03:05 +02:00
Theo Arends 0f39fab3ae Influxdb add support for negative numbers 2021-08-14 16:28:20 +02:00
Theo Arends d0d0d11b15 Move influxdb support from sensor to driver 2021-08-14 15:43:31 +02:00
Theo Arends 05d0507104 Add influxdb power state info 2021-08-13 17:46:06 +02:00
Theo Arends bde66e18c5 Fix influxdb parameter init 2021-08-13 16:35:24 +02:00
Theo Arends 20d88f3d68 Fix mangled first sensor name 2021-08-13 13:55:57 +02:00
Theo Arends cdb35ecade Update feature list 2021-08-12 22:43:53 +02:00
Theo Arends 43ed6e7e0a
Merge pull request #12876 from lmagyar/Typo2
Typo in comment
2021-08-12 22:41:34 +02:00
Theo Arends 0914894e88
Merge pull request #12875 from lmagyar/typo1
Typos causing compilation errors
2021-08-12 22:40:35 +02:00
Theo Arends c4075655aa Initial support for influxdb using ``#define USE_INFLUXDB`` and several ``Ifx`` commands 2021-08-12 22:33:02 +02:00
Laszlo Magyar 8e0eab7f63 Typo in comment 2021-08-12 21:59:53 +02:00
Laszlo Magyar 4954475512 Typos causing compilation errors
Maybe these are a result of a previous "search and replace" refactoring, causing compilation errors when drivers used with 100..128 key values: invalid conversion from 'bool (*)(uint8_t) {aka bool (*)(unsigned char)}' to 'uint8_t {aka unsigned char}'
2021-08-12 21:59:09 +02:00
Theo Arends 668e260481 Fix negative power values for ADE7953 based devices like Shelly EM (#12874) 2021-08-12 20:38:31 +02:00
pauloamexio ffdb2a4c1c
Read from ACCMODE register
Read from ACCMODE Register to check if the reactive power and active power are positive and negative (for both channels)
2021-08-12 11:49:06 +01:00
Theo Arends 4503bac78a Prep influxdb support 2021-08-11 18:43:11 +02:00
Paul C Diem c3df8f2704 Set LEDs to max PWM value 2021-08-11 07:32:53 -05:00
Michael Hanselmann 990ae38666 prometheus: Add prefix on all metrics
All Prometheus metrics should have an application prefix
(https://prometheus.io/docs/practices/naming/#metric-names).
Historically a few produced by Tasmota didn't. With this change the
function writing metrics always outputs the prefix.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-08-08 17:21:50 +02:00
Theo Arends 2e9dfdc64b Add some debug info to NTP 2021-08-08 16:08:08 +02:00
Theo Arends 621a0eff11 Relax NTP poll if no ntpserver can be resolved by DNS (#12838) 2021-08-08 15:22:44 +02:00
Sillyfrog 2610f0b173 Fix race condition on rapid reconnect 2021-08-08 15:51:30 +10:00
Adrian Scillato 3d58912ef1
Set CORS as an optional feature in Webserver 2021-08-05 12:55:07 -03:00
Adrian Scillato 0b754a95a7
Make CORS to be optional 2021-08-05 12:50:56 -03:00
Theo Arends b89e17c7f6 Change Mi Desk Pro template and remove the need for dedicated name 2021-08-05 09:43:08 +02:00
Theo Arends bd3b08f1e8 Fix panic on Mi Desk rotary use - attempt 3 2021-08-04 17:52:31 +02:00
Theo Arends 907edb3704 Fix panic on Mi Desk rotary use - attempt 2 2021-08-04 17:22:13 +02:00
Theo Arends b7da3ed6db Fix panic on Mi Desk rotary use 2021-08-04 16:41:32 +02:00
Theo Arends 0025a1485b Add support for (Yeelight) Mi Desk Pro using binary tasmota32solo1.bin and template named "Mi Desk Pro" 2021-08-04 14:30:13 +02:00
Theo Arends 5c775553be Fix core 3.0.2 compile error 2021-08-03 15:37:03 +02:00
Theo Arends 45c4e57a03 Make Sonoff L1 MusicSync persistent (#12008) 2021-08-03 14:12:38 +02:00
Theo Arends 0d2432a15b Fix TCP bridge compile error 2021-08-03 11:51:11 +02:00