Commit Graph

6939 Commits

Author SHA1 Message Date
Stephan Hadinger c8148a623f Firmware upload using factory partition 2022-05-02 17:25:31 +02:00
pkkrusty 6538b9562e
Update tasmota.h 2022-05-02 14:19:42 +00:00
pkkrusty 9369af6c50
Add InfluxDB RP 2022-05-02 13:50:31 +00:00
pkkrusty 251f373128
Add option to specify retention policy
Certain sensors and data flowing to a TSDB like Influx will need different retention policies. Network monitoring, maybe one week, soil moisture for the garden, one month, temperature data, a few years. To avoid growing a large database, it makes sense to assign a retention policy per device if desired.(since most devices won't be doing weather data AND network reporting). Blank retention policy will just use the InfluxDB default (usually infinite).
2022-05-02 13:48:45 +00:00
Stephan Hadinger b687d9f17d Add API mode to partition switch `u4` 2022-05-02 10:00:00 +02:00
Stephan Hadinger bc87115164 HTTP API to switch to and from factory partition 2022-05-01 23:16:21 +02:00
Theo Arends 804230da54 Fix ESP32 boot to safemode 2022-05-01 17:32:42 +02:00
Theo Arends 5c136bf0cc Add ESP32 intermediate safemode OTA 2022-05-01 16:12:54 +02:00
Theo Arends ff6342cad0 Prep ESP32 file upload on single partition 2022-05-01 15:18:15 +02:00
Stephan Hadinger 66aa714524 Berry partition manager display factory partition 2022-04-30 18:50:05 +02:00
s-hadinger fc4ce490b1
Merge pull request #15495 from s-hadinger/berry_partition_single
Berry make partition manager compatible with single OTA
2022-04-30 17:16:46 +02:00
Stephan Hadinger c394830f99 Berry make partition manager compatible with single OTA 2022-04-30 17:00:24 +02:00
Theo Arends 459f36441e Add more ESP32S2 decoded versions 2022-04-30 16:50:37 +02:00
Stephan Hadinger 453e7b3a6b Berry update gpio list with SDIO and more 2022-04-30 13:18:22 +02:00
Stephan Hadinger 83ba50f904 Berry make commands and rules reentrant 2022-04-30 12:48:06 +02:00
bovirus 87a72079b4
Update it_IT.h 2022-04-30 09:44:54 +02:00
bovirus 631978ff24
Update italian language 2022-04-30 09:40:08 +02:00
s-hadinger 33142a7071
Merge pull request #15487 from s-hadinger/berry_mqtt_subscribe
Berry easier MQTT subscribe
2022-04-30 08:59:08 +02:00
Stephan Hadinger 80cb0564cd Berry easier MQTT subscribe 2022-04-29 23:43:55 +02:00
Stephan Hadinger 089cfd1c76 Berry make debug easier 2022-04-29 23:23:04 +02:00
s-hadinger 950933cafa
Berry rename solidified partition to partition_core (#15482)
* Berry rename solidified partition to partition_core

* Add init to force `partition_core` as global
2022-04-29 12:03:19 +02:00
Theo Arends 23c48da699
Merge pull request #15474 from curzon01/flowratemeter
Add flowratemeter
2022-04-28 09:00:19 +02:00
Philipp Richter 40fa1548cd Remove debug function WcApplySettings 2022-04-27 23:44:09 +02:00
Philipp Richter e321875b25 Keep settings on resolution change 2022-04-27 22:50:47 +02:00
Philipp Richter ad9c4d2406 Merge branch 'development' of github.com:philrich/Tasmota into development 2022-04-27 22:37:46 +02:00
Philipp Richter 22aeda5a14 Integrate Nightmode and Reduced FPS into WcFeature 2022-04-27 22:37:32 +02:00
SteWers 823cbb1b03 [SolaxX1] ReadConfig
- compiler directive to disable `ReadConfig` for saving 3k1 code if needed
- small code optimization
2022-04-27 19:47:51 +02:00
Norbert Richter 0ae8bfe2eb
Refactor names 2022-04-27 17:50:41 +02:00
Norbert Richter 8857698bc7
Update module consumtion 2022-04-27 17:44:08 +02:00
Norbert Richter 8d9c945cee
Refactor string const 2022-04-27 17:44:08 +02:00
Norbert Richter b5a0c5ca79
Fix missing lang definition 2022-04-27 17:44:07 +02:00
Norbert Richter b1933f7c0e
Rename flowratemeter 2022-04-27 17:44:07 +02:00
Norbert Richter ff3adb9bf0
Add flow rate value source type 2022-04-27 17:44:07 +02:00
Norbert Richter 52757cb8a4
Refactor ISR 2022-04-27 17:44:07 +02:00
Norbert Richter 96a36b7bdb
Revert "Refactor ISR"
This reverts commit 9033ada3c70c6214770de05c573139c90e08678f.
2022-04-27 17:44:07 +02:00
Norbert Richter f192284660
Refactor Sensor cmnd 2022-04-27 17:44:06 +02:00
Norbert Richter 732359a885
Refactor ISR 2022-04-27 17:44:06 +02:00
Norbert Richter fb796187c2
Flowmeter integration 2022-04-27 17:44:06 +02:00
Norbert Richter abc4f74fbc
Refactor flowmeter calc 2022-04-27 17:44:06 +02:00
Norbert Richter d7d71cd9c8
Add flowmeter (YF-DN50 and similary) 2022-04-27 17:44:06 +02:00
philrich 0145d29a50
Merge branch 'arendst:development' into development 2022-04-27 00:33:34 +02:00
Philipp Richter c8e6e45104 Support all features of OV2640 Webcam
* AWB, AEC, AGC, Gamma Correct, Lens Correct
* WPC, BPX, DCW, Colorbar
* Support Bonus Features: Streamspeed, Nightmode
* Command to Set Defaults
* Command to Show Stats
* Display FPS in Webgui
2022-04-27 00:25:26 +02:00
Stephan Hadinger be180c2da5 Berry simplify drivers 2022-04-26 19:43:58 +02:00
Stephan Hadinger 2106c5aa56 OpenHASP fix touch event 2022-04-25 19:24:55 +02:00
blakadder b45fd4f541
Update partition.be
fix typo
2022-04-25 14:54:45 +02:00
s-hadinger ae93d41b6a
Merge pull request #15455 from s-hadinger/fix_openhasp_demo
Fix openhasp demo
2022-04-25 12:04:02 +02:00
Theo Arends 2add4d4712 Workaround HWCDC exception 2022-04-25 12:03:53 +02:00
Stephan Hadinger d30faab8b2 Fix openhasp demo 2022-04-25 12:03:18 +02:00
Theo Arends 6466da6d8b
Merge pull request #15449 from Jason2866/openhasp
openhasp as default in lvgl env.
2022-04-25 10:24:35 +02:00
s-hadinger 3861736d98
Merge pull request #15452 from s-hadinger/rename_3_btn_driver
Rename 3 buttons driver
2022-04-25 08:47:04 +02:00
Stephan Hadinger 773c7290f4 Rename 3 buttons driver 2022-04-25 08:43:58 +02:00
Jason2866 efb2cd3348
openhasp as default in lvgl env. 2022-04-24 23:07:22 +02:00
s-hadinger 850e25e305
Merge pull request #15447 from s-hadinger/OpenHASP-full-demo
OpenHASP full demo
2022-04-24 18:55:28 +02:00
Stephan Hadinger 5e7bdbf586 OpenHASP full demo 2022-04-24 18:46:01 +02:00
Theo Arends 522bccb3e2 Initial support for USB serial
Initial support for USB serial when define ARDUINO_USB_CDC_ON_BOOT=1
2022-04-24 17:36:10 +02:00
Stephan Hadinger 91b58679f3 OpenHASP add page events 2022-04-24 16:41:23 +02:00
Theo Arends ffaa9efbde Refactor ESP32 revision 2022-04-24 11:24:01 +02:00
s-hadinger 0d2b603bc4
Merge pull request #15442 from s-hadinger/openhasp_qrcode
OpenHASP support for qrcode
2022-04-24 11:06:55 +02:00
Stephan Hadinger efb2423b88 OpenHASP support for qrcode 2022-04-24 10:18:40 +02:00
Theo Arends 41414e63e4 Fix rev.0 - do not show 2022-04-23 22:48:30 +02:00
Stephan Hadinger a6e0e96d3c LVGL improved qrcode intergation as actual class 2022-04-23 18:55:03 +02:00
Theo Arends 88fe48c6eb Shorten rev 2022-04-23 18:25:08 +02:00
Theo Arends 5d40295fa6 Add ESP32 revision information 2022-04-23 17:59:37 +02:00
Jason2866 19b010891d
USE_NETWORK_LIGHT_SCHEMES for ESP32x
since it is often used with the C3.
2022-04-23 11:47:55 +02:00
Theo Arends a2afeb5ba6 Add source when wring userid or password 2022-04-23 11:18:22 +02:00
s-hadinger a7db8ea014
Merge pull request #15433 from s-hadinger/m5stack_tough_axp
AXP192 driver for M5Stack Tough
2022-04-23 09:29:05 +02:00
Stephan Hadinger e1c1e52d64 AXP192 driver for M5Stack Tough 2022-04-23 09:28:16 +02:00
Stephan Hadinger 75ee0f3c35 Update openhasp.tapp with latest version 2022-04-23 09:27:20 +02:00
Stephan Hadinger 81a8ff273a OpenHASP memory optimization 2022-04-22 22:36:45 +02:00
Theo Arends 235b880d59 Add logging when bad HTTP userid and/or password
Add logging when bad HTTP userid and/or password (#15420)
2022-04-22 17:52:53 +02:00
Theo Arends 772e2bddae Fix BL0942 negative power
Fix BL0942 negative power (#15374)
2022-04-21 16:54:30 +02:00
s-hadinger bbda258f2d
Merge pull request #15411 from ascillato/ZB_CIE_and_Zone_Enroll
Add ZigBee CIE Registration and Zones Enrollment Commands
2022-04-20 19:10:10 +02:00
Theo Arends 4e19c7a514
Merge pull request #15375 from schlimmchen/fix-backlogging-backlog0
Fix prepending "backlog0" chain with "backlog" in rules
2022-04-20 17:50:55 +02:00
Adrian Scillato 11e860eb6f
Fix Backlog0 in rules 2022-04-20 12:40:07 -03:00
Adrian Scillato ef485e295f
ZB: Add new ZigBee commands 2022-04-20 11:19:03 -03:00
Adrian Scillato b2bdfa1257
ZB: Add commands CIE registration and Zone Enroll 2022-04-20 11:16:22 -03:00
Adrian Scillato 224ad9d4a1
ZB: Add Logs for CIE registration and Zone Enroll 2022-04-20 11:06:13 -03:00
bovirus bbac1eeb67
Italian language update
Please check and merge. Thanks.
2022-04-20 14:29:08 +02:00
Theo Arends b74a38edbf Fix initial export active result 2022-04-20 12:04:18 +02:00
Theo Arends eb2645e4d7
Merge pull request #15404 from s-hadinger/sdcard_sdio
Add SDCard SDIO support
2022-04-20 10:53:01 +02:00
Jason2866 04a630b70b
remove duplicate define 2022-04-19 20:47:16 +02:00
Stephan Hadinger 387cdd12d1 Fix compilation of SDMMC on ESP32C3 2022-04-19 20:03:14 +02:00
Stephan Hadinger 43c53838ad Add SDCard SDIO support 2022-04-19 19:17:04 +02:00
barbudor bf869d1027 enable tas_disco when home_ass is disbaled 2022-04-19 18:07:25 +02:00
s-hadinger 5193050fa8
Merge pull request #15402 from s-hadinger/wifi_no_sleep
Add wifi_no_sleep to user config
2022-04-19 17:36:25 +02:00
Stephan Hadinger 9714e1c049 Add wifi_no_sleep to user config 2022-04-19 17:26:57 +02:00
Theo Arends b17d7bbdea Save another 500 bytes by moving from double to float 2022-04-19 15:44:53 +02:00
Theo Arends d71c1711f2 Add command ``SetOption139 0/1``
- Add command ``SetOption139 0/1`` to switch between pressure unit "mmHg" (0) or "inHg" (1) when ``SO24 1`` (#15350)
- Change double constants to float constants saving 200 bytes
2022-04-19 14:45:26 +02:00
Theo Arends 79b19ea62c Prep inHg 2022-04-19 14:01:18 +02:00
Stephan Hadinger 0ffa1e2dba Add SDCard options 2022-04-18 08:59:21 +02:00
Theo Arends a3389f74eb Refactor Sonoff SPM power on state 2022-04-17 11:08:19 +02:00
Theo Arends 4c156f715e Refactor Sonoff SPM power on state 2022-04-17 11:02:38 +02:00
Theo Arends a68bcdb34b
Merge pull request #15384 from barbudor/mi32_ble_topic
Mi32Topic to change hardcoded tasmota_ble topic + overridables
2022-04-17 10:12:48 +02:00
Barbudor 8b312fae86 revert so115 to default off 2022-04-16 19:50:05 +02:00
Barbudor d4e28c3025 add mi32topic + overridables 2022-04-16 19:43:08 +02:00
Theo Arends f8254901d0 Add delayed SetPowerOnState
Add delayed SetPowerOnState to Sonoff SPM (#13447)
2022-04-16 18:20:10 +02:00
Theo Arends 845972cf49
Merge pull request #15383 from barbudor/ble_opt6_enhancement
Enhance MI32Option6 with sensor name
2022-04-16 17:44:06 +02:00
Theo Arends b0a26486c3 Prep RTC chip memory use if present 2022-04-16 17:43:10 +02:00
Theo Arends f85e0dd805 Fix BL09xx negative power presentation
Fix BL09xx negative power presentation (#15374)
2022-04-16 17:19:04 +02:00
Barbudor db9b95bbe7 refactor adding units to sensor message 2022-04-16 17:13:26 +02:00
Barbudor f0a393908f implement mi32option6 2 2022-04-16 17:07:00 +02:00
Theo Arends 7c417430c9 Add energy export active to ADE7880
Add command ``EnergyExportActive<phase>`` to (p)reset energy export active for supported devices. Currently ADE7880 only (#13515)
2022-04-16 16:07:42 +02:00
Theo Arends 893b7bad00
Merge pull request #15371 from dgwynne/CmndDimmerStepValue
extend dimmer command so the step size can be specified
2022-04-16 14:11:31 +02:00
Stephan Hadinger b422274e00 Berry support for SD card 2022-04-16 12:29:01 +02:00
Bernhard Kirchen d542da0780 do not prepend "backlog0" chain with "backlog" 2022-04-15 18:55:52 +02:00
David Gwynne 03748bd3c0 extend dimmer stepping so the step size can be specified in the command.
this allows things like "DIMMER +20" to increase the dimmer value by 20,
and "DIMMER -40" to lower it by 40. 'DIMMER +' and 'DIMMER +' keep their
current behaviour.

this is useful if you're using something like a zigbee remote that
generate a single message with how much of a step up or down to perform
as part of the payload rather than multiple messages.
2022-04-15 14:51:30 +10:00
Stephan Hadinger 7c48ba0c73 LVGL and OpenHASP for M5Stick 2022-04-14 23:19:05 +02:00
Theo Arends b980e93a86 Fix IMPROV image name when Tasmota English 2022-04-14 14:07:54 +02:00
Theo Arends 3f4f519e5c Fix Improv initial or erase device installation
Fix Improv initial or erase device installation failing to provide Configure WiFi option
2022-04-14 13:38:26 +02:00
Theo Arends 749a69327b
Merge pull request #15345 from hpagonis/max7219-daisy-chain
Add support for Max7219 daisy chained displays
2022-04-13 16:45:58 +02:00
bovirus c0ab17f1f1
Update Italian language 2022-04-13 13:59:55 +02:00
Theo Arends ac573f669e Bump version 11.1.0.1 2022-04-13 09:16:55 +02:00
Theo Arends 7a3035756e Add binary image name to improv 2022-04-12 17:31:14 +02:00
Theo Arends b8cf5eee7c Add raw data to MS01 JSON 2022-04-12 16:28:32 +02:00
Sara Damiano 830ac3b320 Add mesh de-init, a few comments
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2022-04-12 09:58:42 -04:00
Sara Damiano 92d264f4e0 Check if mesh peer exists or is self, show soft AP mac in status 5
Also added a few notes in the mesh md file
2022-04-12 09:58:42 -04:00
Theo Arends 69750f5c79 More SSPM/Energy consolidation 2022-04-12 12:12:13 +02:00
Theo Arends 04ccde8aa9 Align Sonoff SPM GUI with other energy GUI
- Align Sonoff SPM GUI with other energy  GUI
- Change GUI Power text to Active Power
2022-04-12 11:53:36 +02:00
Theo Arends b8b9afa1a5 Add horizontal lines around GUI energy report 2022-04-12 10:58:02 +02:00
Theo Arends a4cf023357 Add command ``SetOption138 1``
Add command ``SetOption138 1`` to switch GUI energy multi-column layout from left/center (0) to right (1) align (#15342)
2022-04-12 10:22:32 +02:00
Theo Arends 089ace9d35 Change energy multicolumn align right
- Add Energy GUI multicolumn fixed inter column space
- Change energy multicolumn alignment from left to right (#15342)
2022-04-11 18:33:57 +02:00
Theo Arends 500cc894b5 Fix USB CDC on ESP32C3
Fix USB CDC on ESP32C3 (https://github.com/espressif/arduino-esp32/issues/6264)
2022-04-11 16:40:41 +02:00
hpagonis e3f2d040a6
Merge branch 'arendst:development' into max7219-daisy-chain 2022-04-11 15:34:06 +03:00
hpagonis c7d76f24f7 Add missing #define condition for MAX7219 2022-04-11 12:30:35 +00:00
hpagonis b79802d6f5 Fix missing type declaration of dev_addr variable 2022-04-11 10:48:44 +00:00
hpagonis 7c56a0f151 Chage MAX7219 8 digit hard limit 2022-04-10 22:33:47 +00:00
Theo Arends 36bf6c5cc1 Fix MS01 calculation 2022-04-10 17:50:33 +02:00
Theo Arends c7323eea74 Initial support for Sonoff MS01
Initial support for Sonoff MS01 (#15335)
2022-04-10 17:21:38 +02:00
Theo Arends fdfb6db807 Disable ESP32S3 as Hall and internal temperature sensor
Disable ESP32S3 as Hall and internal temperature sensor (#15331)
2022-04-10 11:52:14 +02:00
Sara Damiano df772b5c0a Relaunch wifi on esp_now_init failure
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
2022-04-09 15:57:17 -04:00
aweatherguy 08799e0760
New sample files for local root cert. 2022-04-09 10:40:09 -07:00
aweatherguy 60004266a2
Update tasmota_ca.ino 2022-04-09 10:37:23 -07:00
Theo Arends 1f3bb675ba HX711 redesign (#13986)
- Add HX711 command ``Sensor34 10 0|1|<weight in gram>`` to set HX711 fixed tare (0 = use auto tare, 1 = use calibrated tare, Any other value is user selected tare)
- HX711 removed command ``Sensor34 7`` as now active tare is persistent resulting in calculated current weight
- Changed HX711 commands ``Sensor34 11 <valueA>`` and ``Sensor34 12 <valueB>`` to use HX711 absolute weight conversion (#15292)
2022-04-09 18:24:37 +02:00
Theo Arends 1f3d2eef32
Merge pull request #15324 from ascillato/patch-1
Add Rule Trigger for WebQueryResponse of WebQuery Command
2022-04-09 14:09:04 +02:00
Theo Arends 38433a76b6
Merge pull request #15326 from mbezuidenhout/bugfix/mcp2515
Fixed Max/Min Voltage incorrect symbol
2022-04-09 13:05:27 +02:00
Theo Arends ee3a1ce46c
Merge pull request #15328 from bovirus/patch-2
Update italian language
2022-04-09 13:04:41 +02:00
Theo Arends 51339f1dd3
Merge pull request #15327 from curzon01/development
Fix NeoPool register read cache
2022-04-09 13:04:10 +02:00
Stephan Hadinger ad5a31993a OpenHASP solidified 2022-04-09 11:40:41 +02:00
bovirus 8eb49726da
Update italian language
Please check and merge
2022-04-09 11:33:40 +02:00
Norbert Richter 3b19387f54
Fix NeoPool register read cache 2022-04-09 10:53:04 +02:00
Adrian Scillato 0bb83947e3
Added Support to non JSON for WebQueryResponse 2022-04-09 05:35:17 -03:00
Marius Bezuidenhout 7809138d37 Fixed Max/Min Voltage incorrect symbol 2022-04-09 10:28:45 +02:00
Adrian Scillato b35e392e76
Added Rules Trigger for WebQueryResponse 2022-04-09 03:44:00 -03:00
Adrian Scillato 3432c6841d
Fix Compilation for ESP32 w/scripts enabled 2022-04-08 20:29:16 -03:00
Norbert Richter b46cd2f310
Merge branch 'development' into dev-neopool 2022-04-08 10:53:15 +02:00
Norbert Richter 4d7ba77d53
Fix NeoPool filtration speed display 2022-04-08 10:50:38 +02:00
Theo Arends af546d46d5 Fix GUI template config javascript regression 2022-04-08 10:23:10 +02:00
Theo Arends 3887b37429
Merge pull request #15309 from Staars/MI32
MI32: several bugfixes for the Berry part
2022-04-07 18:05:53 +02:00
Staars 28010a0d73 several bugfixes 2022-04-07 17:53:01 +02:00
Norbert Richter 07f98c7b25
Add NeoPool relay details 2022-04-07 17:01:38 +02:00
Norbert Richter 2c4b9cb8ec
Add boost with redox indication 2022-04-07 17:01:38 +02:00
Norbert Richter ecd425573c
Fix filtration state 2022-04-07 17:01:38 +02:00
Theo Arends 97da53193c Fix weight_item display regression 2022-04-07 15:52:55 +02:00
Theo Arends ccdd8c9861 Add Sensor34 commands
Add commands ``Sensor34 10 <valueA>`` and ``Sensor34 11 <valueB>`` to use HX711 absolute weight conversion (#15292)
2022-04-07 15:06:21 +02:00
Theo Arends d63077ab93 Fix tfminiplus (#15305) 2022-04-07 13:58:40 +02:00
Stephan Hadinger e3ebffcc72 OpenHASP v1.0 2022-04-06 21:29:24 +02:00
Stephan Hadinger 4629bb4436 Berry support for int keys in map in solidification 2022-04-06 19:19:17 +02:00
Theo Arends 5a507a5c6e Fix HX711 false readings by removing large deviations 2022-04-06 15:09:35 +02:00
Theo Arends fcec346db8 Fix ESP32 save settings after OTA upload
Fix ESP32 save settings after OTA upload regression from v10.0.0.3
2022-04-06 15:02:15 +02:00
Theo Arends 218d62686a Fix javascript regression failing page refreshes 2022-04-06 12:41:06 +02:00
Theo Arends 973354470c Fix compilation 2022-04-06 09:50:48 +02:00
Theo Arends 721bb4143b Limit number of possible influxdb publish situations
Limit number of possible influxdb publish situations (#15257)
2022-04-06 09:45:17 +02:00
gemu2015 916605557e modbus client, >WS,>WM 2022-04-06 07:50:51 +02:00
Theo Arends c84f5fe607 Add command ``IfxSensor 1`` to send non-teleperiod data to influxdb 2022-04-05 23:14:41 +02:00
Theo Arends eacecb2339 Change weight_absconv to signed 2022-04-05 21:59:51 +02:00
Theo Arends 8b98839729 Add non-teleperiod data to influxdb 2022-04-05 21:55:05 +02:00
Stephan Hadinger d9cfe6128a Berry prep for OpenHASP 2022-04-05 21:38:43 +02:00
Theo Arends 48c3d7b8d1 Prep HX711 abs weight vars 2022-04-05 10:00:24 +02:00
Theo Arends ca60816b2c
Merge pull request #15289 from Siah-All/fix-hue-slider-on-web-server
fix slider range to contain red #FF0000
2022-04-04 20:11:07 +02:00
Siah-All 18661207c6
fix slider range to contain red #FF0000 2022-04-04 16:36:27 +02:00
Jason2866 72f1da9ca4 add reset reasons 2022-04-04 11:23:40 +02:00
Theo Arends a8ff74b897
Merge pull request #15282 from barbudor/yield_esp32_download_task
May improve ESP32 UFS download reliability
2022-04-04 10:06:18 +02:00
Theo Arends e047c90228 Add TasShiftIn function
Add TasShiftIn function for future use.
2022-04-03 18:20:07 +02:00
Barbudor c4a9757674 add a yield to insure downlad task is scheduled 2022-04-03 18:16:08 +02:00
Theo Arends a80a100efb Consolidate HX711 ShiftIn function
Consolidate HX711 ShiftIn function (#13983)
2022-04-03 17:51:03 +02:00
Theo Arends 4cb6dc2f58 Fix improve wrong ip address 2022-04-03 16:45:08 +02:00
Theo Arends 8588340bff Shrink javascript 2022-04-03 15:25:07 +02:00
Theo Arends e9ec0934d3 Remove support for Internet Explorer
Remove support for Internet Explorer by allowing ECMAScript6 syntax using less JavaScript code bytes (#15280)
2022-04-03 15:01:47 +02:00
Theo Arends b14bb16378
Merge pull request #15280 from schlimmchen/downsizing-javascript
Downsizing JavaScript
2022-04-03 14:49:53 +02:00
Theo Arends 5672e0165a Shrink improv 2022-04-03 14:48:30 +02:00
Bernhard Kirchen 34fb6dfe2a javascript: code large integers with scientific notation
99999999 and 1e8 are not the same number, but srollTop only needs to be
very large, not that particular number.

saves 18 Bytes of JavaScript code.
2022-04-03 12:38:19 +02:00
Bernhard Kirchen 09a4c62fee javascript: use arrow functions where possible
replacing anonymous functions by arrow functions saves 40 Bytes of
JavaScript code.
2022-04-03 12:38:19 +02:00
Theo Arends db387c959e
Merge pull request #15265 from aoe1/development
Patched BL09xx to measure positive and negative power
2022-04-03 11:17:53 +02:00
Bernhard Kirchen c9f428a4f6 console cursor: remove useless semicolons in JS code 2022-04-03 10:57:20 +02:00
Bernhard Kirchen 7ac91d4e34 console cursor: use lambda function 2022-04-03 10:50:58 +02:00
Bernhard Kirchen 5382579bff console cursor: use absolute cursor position
instead of moving the cursor to the end by using the input field value's
length, we move it to position 1e9, which will certainly be beyond the
end of the string.
2022-04-03 10:49:47 +02:00
Bernhard Kirchen 23495b967d console cursor: remove useless spaces in JS code 2022-04-03 10:48:51 +02:00
Bernhard Kirchen d2e8ca4a25 console: keep cursor at the end of command input
move the text cursor to the end of the command input when filling the
console command from history using JavsScript. this hopefully is more
convenient to most users and is similar to the behavior of a desktop
terminal.
2022-04-03 06:22:00 +02:00
Theo Arends 964f0bd62d
Merge pull request #15267 from benjaminnestler/expand-setoption137
Generalise/Expand SetOption137
2022-04-02 17:41:28 +02:00
Theo Arends 30eebf9f31 Hide hidden networks for improv 2022-04-02 16:09:18 +02:00
Theo Arends 2eca93e021 Shrink improv 2022-04-02 15:04:10 +02:00
Theo Arends 379c84a863 Fix improv possible string errors 2022-04-02 14:17:33 +02:00
Theo Arends c3132594d3 Add support for improv as used by esp-web-tools 2022-04-02 11:43:29 +02:00
Benny Nestler 4ffbe95ecc CHG: exclude TUYA_CMD_WIFI_STATE from MQTT publish
CHG: If CMD is excluded from MQTT publish show a log entry
2022-04-01 18:21:36 +02:00
Grigorios Vassilopoulos d54c8665a3
Update xdsp_17_universal.ino
Throw error when compiling with #define DSP_ROM_DESC
xdsp_17_universal.ino:65:1: error: expected ',' or ';' before 'Renderer'
 Renderer *Init_uDisplay(const char *desc) {
 ^
2022-04-01 18:52:43 +03:00
Benny Nestler 4e801b3f82 CHG: Generalise the Tuya Commands to suppress publishing via MQTT (SetOption137) 2022-04-01 17:33:57 +02:00
aoe1 882ed16347
Patched BL09xx to measure positive and negative power
Removed the abs() from the power so as to measure power flow from/to grid
2022-04-01 13:02:43 +02:00
Theo Arends eabb95d164
Merge pull request #15256 from benjaminnestler/tuya-option-137
Tuya option 137
2022-03-31 14:04:07 +02:00
gemu2015 d176aeaaf6 fix swb(), goole charts time axis 2022-03-31 12:10:18 +02:00
Theo Arends b50bbf66d4
Merge pull request #15255 from benjaminnestler/tuya-send-raw-data
Tuya send raw data
2022-03-30 15:11:46 +02:00
Benny Nestler 699eb30ed5 CHG: Refactored if-condition 2022-03-30 14:47:46 +02:00
Benny Nestler cfa18b6708 Add macro TUYA_SETOPTION_137 to set SetOption137 during compile time 2022-03-30 12:14:36 +02:00
Benny Nestler 6ac7c46b41 Add SetOption137 to avoid mqtt-publish of Tuya MCU heartbeat responses. 2022-03-30 11:39:33 +02:00
Benny Nestler fa3b88b6a8 remove log 2022-03-30 07:50:39 +02:00
tony c8d3761436 BLEOp only request response if char supports it 2022-03-29 23:13:59 -04:00
Benny Nestler d41a143446 tuya send 6 command to send raw data to the tuya mcu 2022-03-30 00:08:27 +02:00
s-hadinger 33120a85f4
Berry add `tasmota.publish_rule` (#15243)
* Berry add `tasmota.publish_rule`

* Fix return value
2022-03-28 22:29:06 +02:00
bovirus dbdf14ec80
Update Italian language 2022-03-28 18:05:51 +02:00
Theo Arends 9781804440 Add energy GUI column spacing calculation 2022-03-27 14:46:35 +02:00
Theo Arends 1373e415c9 Fix possible negative calibration data 2022-03-26 18:13:36 +01:00
Theo Arends e95456745f Refactor some energy drivers 2022-03-26 16:58:44 +01:00
Theo Arends 634c4343d6
Merge pull request #15231 from barbudor/tuyasns_take2
SetOption136 take 2 as TempSet/HumSet/TimerX must always be published immediately
2022-03-26 16:15:34 +01:00
Theo Arends d427220ee4
Merge pull request #15230 from barbudor/timer_var_mode_2_3
Fix %TIMERx% variables for negative values
2022-03-26 16:13:41 +01:00
Theo Arends fc8b4dcc71 Add Shelly3EM Neutral Current information 2022-03-26 16:02:50 +01:00
barbudor b573870b82 TempSet HumSet TimerX always published immediately 2022-03-26 14:45:13 +01:00
barbudor 3b10e0ef5c timerx returns absolute time of day 0:00 to 23:59 2022-03-26 14:10:08 +01:00
Theo Arends 1108bc255c Update Shelly3EM comments 2022-03-26 12:11:18 +01:00
Theo Arends d17cbdd6e6
Merge pull request #15228 from Staars/MI32
MI32: refactoring conn task, bugfix, add response to op
2022-03-26 11:33:17 +01:00
Staars c48ab570dd refactoring conn task, bugfix, add response to op 2022-03-26 10:52:45 +01:00
barbudor 0c5f67709a fix %timerx% variable for negative values 2022-03-25 22:28:05 +01:00
Theo Arends 2f45083e00 Add comments to Shelly3EM 2022-03-25 15:58:24 +01:00
Theo Arends bc8dd19350 Fix Shelly3EM L3 init 2022-03-25 12:03:20 +01:00
Theo Arends 4942bf6d92 Fix EnergyConfig regression 2022-03-25 11:36:28 +01:00
Theo Arends 5494d47c47
Merge pull request #15216 from barbudor/tuyasns_so_immediate_publish
SetOption136 disable TuyaSNS immediate publish
2022-03-25 10:57:36 +01:00
Staars cf80b826ac add watch and block, code changes only 2022-03-25 10:15:58 +01:00
barbudor 082ba8a8e8 use so136 to disable tuyasns immediate publish 2022-03-24 22:56:31 +01:00
Theo Arends 40d231875f Fix Shelly3EM energy calculation 2022-03-24 17:35:52 +01:00
Stephan Hadinger 15f94bf796 LVGL fix embedded fonts selection 2022-03-24 12:52:43 +01:00
Theo Arends b6b53516e0 Fix Shelly3EM energy calculation 2022-03-23 11:48:04 +01:00
Stephan Hadinger 93f8446f5e Berry add int64 support 2022-03-21 19:35:57 +01:00
s-hadinger 01eade7e47
Berry native class array (#15178)
* Berry simplified classes in Flash

* Remove be_load_lvgl_classes
2022-03-19 14:27:03 +01:00
Theo Arends 214178e4bb Refactor minimal - no gain 2022-03-19 12:49:16 +01:00
Theo Arends 321d95735e
Merge pull request #15175 from gemu2015/scripter_update
scripter update
2022-03-19 12:10:55 +01:00
gemu2015 126810c4b7 add bcd, flx web fileserver 2022-03-19 08:24:29 +01:00
gemu2015 292aa87854 add bcd decoder 2022-03-19 08:20:51 +01:00
Theo Arends ef24f6352a
Merge pull request #15171 from Staars/development
MI32: many small updates, prevent bootloop of the reverted PR
2022-03-18 16:50:39 +01:00
Theo Arends 40680036a6 Shrinked tasmota-minimal.bin by 34k
ESP8266 Shrinked tasmota-minimal.bin by removing all commands except ``Upgrade``, ``Upload``, ``OtaUrl``, ``Seriallog``, ``Weblog`` and ``Restart``
2022-03-18 14:39:06 +01:00
Stephan Hadinger 2e670be61c Update to latest GPIO types 2022-03-17 22:58:42 +01:00
Stephan Hadinger 5a3ffc426e Berry priority loading bec files 2022-03-17 21:54:41 +01:00
Theo Arends 55610efcb2 Support for up to four DS3502
Support for up to four DS3502 digital potentiometers with command ``Wiper<x> 0..127``
2022-03-17 16:03:40 +01:00
Staars 966de34f9c many updates ,prevent bootloop 2022-03-16 08:41:04 +01:00
Theo Arends 1008205b2c Fix energy SO129 2022-03-15 17:36:25 +01:00
Theo Arends 9b0acd14f1 Add energy column support 2022-03-15 17:19:34 +01:00
Theo Arends a14e849858 Fix ADE7880 (Shelly 3EM) current calculation 2022-03-15 16:20:55 +01:00
Theo Arends 3d0eb9b632 Fix energy SO129 0 2022-03-15 16:01:30 +01:00
Theo Arends 4c3f223ddf Change display of energy values in GUI
Change display of energy values in GUI use columns when define ``USE_ENERGY_COLUMN_GUI`` is enabled (default)
2022-03-15 15:43:23 +01:00
Jason2866 f37d28251e
Revert "MI32: active BLE connections can remain" 2022-03-14 21:20:01 +01:00
Theo Arends fa96638487 Fix ESP32 PowerOnState
Fix ESP32 PowerOnState (#15084)
2022-03-14 16:07:35 +01:00
Theo Arends f7e08066fe
Merge pull request #15115 from oogm/development
Add support for Fitop 10W RGBCCT Bulb's (BA60H-W0080-RCBW-E7) SM2135 protocol
2022-03-14 15:25:05 +01:00
Theo Arends 1c89570f2f
Merge pull request #15137 from curzon01/dev-neopool
Update NeoPool controller
2022-03-14 15:24:42 +01:00
Norbert Richter 8dcf5cecef
Revert JSON hydrolysis level 2022-03-14 13:37:49 +01:00
Theo Arends 4c86470595 Fix compilation with disabled webserver 2022-03-14 10:16:13 +01:00
Norbert Richter 235f8d9fdf
Refactor code size 2022-03-14 09:44:59 +01:00
Norbert Richter 125ad3a22d
Revert optimized readings 2022-03-14 09:44:58 +01:00
Norbert Richter 0d99126c16
Add JSON modules info 2022-03-14 09:44:58 +01:00
Norbert Richter ee664c852e
Add chlorine, conductivity and ionization details 2022-03-14 09:44:58 +01:00
Norbert Richter b4d532fd6c
Revert model option reading 2022-03-14 09:44:58 +01:00
Norbert Richter 0db6bdea6f
Refaktor model option reading 2022-03-14 09:44:58 +01:00
Norbert Richter 5c211d7e34
Refaktor read polling register 2022-03-14 09:44:57 +01:00
Norbert Richter 8a02d16928
Rename module global var 2022-03-14 09:44:57 +01:00
Norbert Richter e7538515ab
Add NeoPool power module info 2022-03-14 09:43:12 +01:00
Norbert Richter 1fc31ff39e
Fix NPReadX sing reg count > 1 2022-03-14 09:43:12 +01:00
Norbert Richter 2e191ef698
Add additonal power values 2022-03-14 09:43:12 +01:00
Norbert Richter 0a4c4da730
Rename GUI filtration mode 2022-03-14 09:43:11 +01:00
Norbert Richter efd0972527
Remove NeoPool ambiguous color in device names 2022-03-14 09:43:11 +01:00
Norbert Richter da40f5d72a
Change JSON voltage 2022-03-14 09:43:11 +01:00
Norbert Richter f9d1105fc6
Change JSON hydro level 2022-03-14 09:43:11 +01:00
Norbert Richter 5693d64de2
Add JSON cell runtime complete info 2022-03-14 09:43:11 +01:00
Norbert Richter 73c030be9b
Add register description 2022-03-14 09:43:10 +01:00
Norbert Richter 28d67a8325
Fix NPBit output 2022-03-14 09:43:10 +01:00
Norbert Richter f70c16c882
Update register description 2022-03-14 09:43:10 +01:00
Stephan Hadinger 22195928f9 Berry fixed pre-compiled .bec files for static methods 2022-03-13 18:51:37 +01:00
Theo Arends fbd8c861a3 Consolidate three RTC chip drivers into one driver
- Consolidate three RTC chip drivers (DS3231, BM8563, PCF85363) into one driver updating RTC as soon as possible after restart
- Removed command ``Sensor33`` and replaced by ``RtcNtpserver``
- define ``USE_RTC_ADDR`` into ``DS3231_ADDRESS``
2022-03-13 18:13:40 +01:00
Theo Arends ea696e0fc6 Add more debugging info the ADE7880 driver 2022-03-13 14:18:42 +01:00
Theo Arends a812a521f0
Merge pull request #15121 from stefanbode/patch-11
ZeroCross Dimmer. Bugfix on freeze
2022-03-13 12:25:24 +01:00
stefanbode 61fc04ed86
Added comments and code description 2022-03-13 11:30:05 +01:00
stefanbode 7b49d70d46
Bugfix pinused crash
Added init message
2022-03-13 11:14:40 +01:00
oogm 643dd27102 Add support for Fitop 10W RGBCCT Bulb's (BA60H-W0080-RCBW-E7) SM2135 protocol 2022-03-12 19:34:49 +01:00
bovirus 35a0cf66ca
Update Italian language 2022-03-12 19:20:48 +01:00
Theo Arends 45d4444a49 Bump version 11.0.0.4 2022-03-12 18:08:43 +01:00
Theo Arends ef730606ac
Merge pull request #15108 from barbudor/vl53l1x_xshut
Support up to 8x VL53L1X using XSHUT pin
2022-03-12 17:56:57 +01:00
Theo Arends eb2d65be54 Refactor DS3232 RTC 2022-03-12 17:55:17 +01:00
Theo Arends 139f6d61c4 Refactor BM8563 RTC 2022-03-12 17:48:18 +01:00
stefanbode 7b68b0e154
Removed PinUsed from Interrupt 2022-03-12 17:43:53 +01:00
Theo Arends c20bc70d1c Add support for PCF85363 RTC as used in Shelly 3EM
Add support for PCF85363 RTC as used in Shelly 3EM (#13515)
2022-03-12 17:38:49 +01:00
Barbudor 0e4561d855 step 6 - some missing L0X to LXX renaming 2022-03-11 23:32:59 +01:00
Barbudor eb54152c76 step 5 - some renaming 2022-03-11 23:12:57 +01:00
Barbudor 33b3a4b88a step 4 - compile option for range 2022-03-11 22:02:32 +01:00
Theo Arends 4069bd1914 Add ADE7880 2022-03-11 16:54:57 +01:00
Theo Arends bf01806e1d Add support for Shelly 3EM
Add support for Shelly 3EM (#13515)
2022-03-11 16:27:49 +01:00
Theo Arends ae484e28ba Add command to change timeout in RfReceive
Add command to change timeout in RfReceive (#15061)
2022-03-11 14:10:22 +01:00
Barbudor 501b643c3f step 3 - seems to work fine 2022-03-11 00:30:25 +01:00
Barbudor 7db1701d5d step 1 - test without xshut 2022-03-10 22:46:08 +01:00
Barbudor 6072830907 step1 - add arrays 2022-03-10 22:00:20 +01:00
Jason2866 859d327063
Merge pull request #15099 from Staars/development
MI32: active BLE connections can remain
2022-03-10 21:45:18 +01:00
Staars bee9cbc209 active connection can remain 2022-03-10 20:57:16 +01:00
Stephan Hadinger 83597e57e8 LVGL optimizations 2022-03-10 20:56:26 +01:00
Balázs Váradi 5cdf259c99 Fix display clock 2022-03-10 13:18:10 +01:00
Theo Arends 2e859b7cd7 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2022-03-09 10:33:03 +01:00
Theo Arends 2dda90de72 Fix console log jumps
Fix console log jumps (#15070)
2022-03-09 10:32:47 +01:00
Theo Arends a23e038d2a
Merge pull request #15069 from bovirus/patch-1
Update italian language
2022-03-09 10:18:23 +01:00
Stephan Hadinger 285277ebba Add LVGL examples 2022-03-09 08:49:44 +01:00
Stephan Hadinger 0280244f73 Remove debug log 2022-03-08 22:51:41 +01:00
Stephan Hadinger a7577cfefc Esp32 improve PWM inverted 2022-03-08 22:49:12 +01:00
Stephan Hadinger 575beba882 LVGL add support for lv_anim 2022-03-08 22:22:57 +01:00
Theo Arends a927ddfd9f Prep EnergyConfig 2022-03-08 18:11:52 +01:00
bovirus 353dd56d56
Update italian language 2022-03-08 17:28:40 +01:00
Theo Arends 278b9dfe23 Add comments about calib.dat 2022-03-08 10:31:31 +01:00
Theo Arends 400df1feb0 Working POC ADE7880 Shelly 3EM
Needs more tuning
2022-03-07 18:08:52 +01:00
Theo Arends 8e0400eba1 Add async interrupt support
- Add async interrupt support
- Add generic GPIO reset
2022-03-07 11:37:48 +01:00
Theo Arends d4386392e8 Fix Ade7880 ISR not in IRAM 2022-03-06 17:36:10 +01:00
s-hadinger 4ab9e4a361
Merge pull request #15044 from s-hadinger/berry_leds_rmt_fix
Berry leds rmt fix
2022-03-06 16:53:22 +01:00
Theo Arends 14d1df0a3b POC Ade7880 Shelly3EM 2022-03-06 16:49:51 +01:00
Stephan Hadinger 7783389921 Auto assign RMT 2022-03-06 16:31:24 +01:00
Stephan Hadinger 7a4108ef93 Fix WS2812 multi-strip support 2022-03-06 15:50:24 +01:00
Stephan Hadinger 9fa6a0fbbf LVGL Splash screen and ``SetOption135 1`` to disable splash screen 2022-03-05 22:56:24 +01:00
barbudor 4ad96a5465 Fix empty D_START breaks GetStateNumber() 2022-03-05 22:12:11 +01:00
Stephan Hadinger 2652dfc6d4 Fix Hue emulation for Alexa 2022-03-05 18:42:17 +01:00
Theo Arends b2d4fc0267 Prep ADE7880 - Shelly3EM 2022-03-05 18:35:01 +01:00
Theo Arends 079cf0f2f5 Prep ADE7880 - Shelly3EM 2022-03-05 15:09:17 +01:00
pkkrusty 32300207e8
Actually show six digits in MAX7219
Not sure how I missed that in the last PR.
2022-03-04 19:35:29 +00:00
Theo Arends b4f99bb747 Removed blacklist 2022-03-04 15:38:32 +01:00
Theo Arends ba32044bb2 Disable blacklist
Nice excercise in stiring the crowd.
2022-03-03 15:30:25 +01:00
Theo Arends 725458013b
Merge pull request #15017 from gemu2015/sml_offsets
optional calibration offset
2022-03-03 10:00:39 +01:00
gemu2015 89527287f9 optional calibration offset 2022-03-03 08:28:04 +01:00
gemu2015 571057167e fix web comments+ leading zeroes 2022-03-03 08:23:56 +01:00
Theo Arends fb829a58a3 Update message 2022-03-02 18:12:59 +01:00
Theo Arends d52ed2b7dd Update comments DS3231 2022-03-02 17:26:34 +01:00
Theo Arends 5a88a17f12
Merge pull request #14884 from zocker007/development
Add pulse rate measurement for counter meter in Smart Meter Interface (SML)
2022-03-02 17:24:07 +01:00
Theo Arends d3f330e18c
Merge pull request #15015 from curzon01/dev-neopool
Update NeoPool controller
2022-03-02 16:49:14 +01:00
Theo Arends ba2f4b2c74 Add UBX regular time update interval 2022-03-02 16:43:09 +01:00
Norbert Richter 98d9ceaf0e
Add config param cmnds
NPpHMin, NPpHMax, NPpH, NPRedox, NPHydrolysis, NPIonization, NPChlorine and NPControl
2022-03-02 13:29:46 +01:00
Norbert Richter 126a859452
Use ISO8601 for cell runtime 2022-03-02 13:18:27 +01:00
Norbert Richter 4fd592b21b
Limit relays to physical count 2022-03-02 13:18:27 +01:00
Norbert Richter 9636e67af7
Add voltage output 2022-03-02 13:18:27 +01:00
Norbert Richter f18611f962
Revert individual register lists 2022-03-02 13:18:27 +01:00
Norbert Richter ac1b548b41
Add channel description 2022-03-02 13:18:26 +01:00
Theo Arends 4ff8e4487a
Merge pull request #15001 from FransOv/FransOv-ADS1115-Settings
Frans ov ads1115 settings
2022-03-02 11:13:49 +01:00
Theo Arends 8c13dae8b4 Refactor blacklist 2022-03-02 10:58:26 +01:00
zocker007 af23a73648 add pulse rate measurement for counter meter 2022-03-02 01:27:18 +01:00
Theo Arends 98cbf2587a Add blacklist 2022-03-01 17:44:43 +01:00
Theo Arends e152d8ffe0 Refactor DS3231 driver 2022-03-01 14:53:13 +01:00
FransOv 6ea2d0c693
Update xsns_12_ads1115.ino 2022-02-28 20:58:04 +01:00
FransOv 4aa6614f0c
Update xsns_12_ads1115.ino 2022-02-28 20:54:35 +01:00
stefanbode 774a9ef439
ESP32 implementation for zero-cross dimmer 2022-02-28 16:47:21 +01:00
stefanbode f2f155aa96
Bugfix multiple zero-cross dimmer + speed optimization
- move sync from FUNC_LOOP to FUNC_EVERY_50MS
- Added documentation
- bugfix dimmer2 get off when dimmer1 get off
- automatic phase correction per channel
2022-02-28 16:06:49 +01:00
FransOv 12676d4184
Update xsns_12_ads1115.ino 2022-02-28 10:30:10 +01:00
Theo Arends a54774f247 Add delay loop after WiFi.begin()
Add delay loop after WiFi.begin() solving some Frotz!Bix issues (#14986)
2022-02-27 18:21:13 +01:00
stefanbode 8729b385f0
Prevent crash on start with >100Hz on counter input
Same procedure. setoption65 1 is a working workaround to avoid a crash on starting the device when there is a frequency of 100Hz or higher on one counter. The change temporarily disables the counter during the access to the flash. I', currently not sure if this is an ESP8266 only problem or also an ESP32 problem that the interrupt of the counter and flash access could cause a crash.
2022-02-27 17:45:05 +01:00
Theo Arends ac21d23efb Silence UBX at restart 2022-02-27 16:17:43 +01:00