Commit Graph

6656 Commits

Author SHA1 Message Date
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
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