Commit Graph

1690 Commits

Author SHA1 Message Date
Theo Arends 1ddf65e88c
Merge pull request #8582 from gemu2015/scripter-fix
Scripter fix + little fs support
2020-05-30 15:51:31 +02:00
gemu2015 54806fd527 files system update 2020-05-30 15:29:47 +02:00
Theo Arends 29070f1136 Add ``CpuFrequency`` and ``FlashFrequency`` to status 0
- Add ``CpuFrequency`` to ``status 2``
- Add ``FlashFrequency`` to ``status 4``
2020-05-30 14:59:52 +02:00
Theo Arends 9c0fc4edcd
Merge pull request #8581 from Staars/touch
Command interface for touch button driver and a serial plotter
2020-05-30 14:23:45 +02:00
Staars 7e28e03d78 add commands to touch pin button on ESP32 2020-05-30 13:50:22 +02:00
gemu2015 7f1514e6da some fixes and optimizations 2020-05-30 10:48:12 +02:00
Theo Arends ff39bcf004
Merge pull request #8579 from device111/development
AS3935 - fix Min stage init settings
2020-05-30 09:13:00 +02:00
Theo Arends c0fa63ee3c
Merge pull request #8574 from pcdiem/device-groups-13
Fix SO88 incoming relay state check
2020-05-30 08:20:15 +02:00
Theo Arends 01d92ca3a2
Merge pull request #8573 from randocollaboration/development
Add ability to toggle displayed temperature unit on Xiaomi LYWSD02
2020-05-30 08:19:36 +02:00
Paul C Diem 3d42fae8bd Fix SO88 incoming power state check 2020-05-29 18:55:33 -05:00
device111 16aa38be49 fix Min stage settings 2020-05-30 01:05:10 +02:00
rando-calrissian ce3dfd1066
Add files via upload
Added ESP32 support for changing the displayed temperature unit on LYWSD02 BLE device
2020-05-29 15:41:49 -07:00
Stephan Hadinger b069b89561 Add Zigbee options to ``ZbSend`` to write and report attributes 2020-05-29 22:52:45 +02:00
rando-calrissian 10e059c363
Add files via upload
Added the ability to set the displayed temperature units (C/F) for Xiaomi LYWSD02 devices.
2020-05-29 11:18:39 -07:00
gemu2015 357341899c ILI9488 ESP32 2020-05-29 19:29:03 +02:00
Stephan Hadinger 0327c4a547 Udp fix for ESP32 2020-05-27 23:52:25 +02:00
Stephan Hadinger c65a3dfba7 Fix compilation issue 2020-05-27 20:48:40 +02:00
Stephan Hadinger 3a1155f2b6 reduce footprint of multicast udp listener 2020-05-27 19:42:43 +02:00
Theo Arends 0dc0eda274
Merge pull request #8562 from Staars/touch
Touch pin as button for ESP32
2020-05-27 17:29:24 +02:00
Staars fb23aa41c2 do not break gpio configs 2020-05-27 16:52:44 +02:00
Staars 55e56fee43 Touch pin as button for ESP32 2020-05-27 15:59:32 +02:00
gemu2015 77c60229cc ESP32 support for SSD1351 2020-05-27 11:14:17 +02:00
Paul C Diem bc6d7ceb87 Add support for SetOption88 to put each relay in a separate device groups 2020-05-26 22:07:25 -05:00
Theo Arends 8539021c92
Merge pull request #8554 from Staars/mi32
update xsns_62_MI_ESP32.ino (and NimBLE-Arduino)
2020-05-26 22:29:05 +02:00
Staars 9f8d0fcd85 update driver 2020-05-26 20:44:40 +02:00
Theo Arends 32a39b828c
Merge pull request #8553 from phjr/fix-device-power-on-esp8266
fix default power state logic invoked even if already serviced by a d…
2020-05-26 18:31:32 +02:00
Peter Halicky f80d2ede3a fix default power state logic invoked even if already serviced by a driver 2020-05-26 18:20:46 +02:00
Theo Arends 371870a826 Fix ESP32 GUI template upload
Fix ESP32 GUI template upload (#8534)
2020-05-26 17:38:34 +02:00
Theo Arends 66233b1749 Add support for full MAC address
Add support for unique MQTTClient (and inherited fallback topic) by full Mac address using ``mqttclient DVES_%12X`` (#8300)
2020-05-26 17:08:13 +02:00
Theo Arends 12391c30a7 Relax NTP: Not synced message 2020-05-26 14:43:21 +02:00
Theo Arends a3964d1679 Add NTP: Not synced message
Add NTP: Not synced message (#8142)
2020-05-26 14:38:31 +02:00
Theo Arends bacb730b53 Fix escape of non-JSON received serial data
Fix escape of non-JSON received serial data (#8329)
2020-05-26 12:35:21 +02:00
Theo Arends ed543d93c3
Merge pull request #8529 from abmaonline/encode-json
Encode json string from serial to mqtt
2020-05-26 12:25:58 +02:00
Theo Arends 7bfbe95d0f
Update tasmota.h 2020-05-26 12:15:20 +02:00
Theo Arends 78f106ccb7 Fix Time 0 NTP sync 2020-05-26 11:50:35 +02:00
Theo Arends b3540879ab Zero fill millis positions to three digits 2020-05-26 10:26:41 +02:00
Theo Arends b12dbb893c Add info text on cam init 2020-05-25 17:52:31 +02:00
Theo Arends 2e88ced738 Fix exception due to webcam problem
Fix exception due to webcam problem (#8534)
2020-05-25 17:25:47 +02:00
gemu2015 c1979cbd18 fix >W section bug, some refactoring 2020-05-25 15:49:03 +02:00
Theo Arends 90d3cd45c4 Add command ``Time 4``
Add command ``Time 4`` to display timestamp using milliseconds (#8537)
2020-05-25 11:44:17 +02:00
Theo Arends c333b67669 Fix DisplaySevenSegment compilation error 2020-05-25 10:21:36 +02:00
Norbert Richter eb6de53628
Fix setting addr typo 2020-05-24 20:07:25 +02:00
Matthijs Abma 721c2c8f7f Reduce input buffer so hex/json encoded content always fits 2020-05-24 17:47:57 +02:00
Matthijs Abma 7210934774 Cleanup code and only allocate buffer when needed 2020-05-24 17:47:57 +02:00
Matthijs Abma a4ce4830e8 Encode content when not raw or json 2020-05-24 17:47:57 +02:00
Theo Arends a5130fa2e4
Merge pull request #8517 from abmaonline/send-on-full-buffer
Send all chars from serial to mqtt
2020-05-24 12:03:28 +02:00
Theo Arends 6073bd9eb6 Update changelog 2020-05-24 11:55:39 +02:00
Theo Arends 43b999600e
Merge pull request #8520 from peteakalad/peteakalad-SGP30_Sensor_Fixes
SGP30 Sensor Fixes #8519
2020-05-24 11:19:57 +02:00
Stephan Hadinger fe045c3c9d Fixed description of file 2020-05-24 10:00:32 +02:00
Stephan Hadinger f5f1bdefdb Add wildcard patter for JSON marching in rules using ``?`` pattern 2020-05-24 09:57:11 +02:00
peteakalad 11cb3e838c Fix for SGP30 for Abs Humidity on Web UI 2020-05-23 22:41:50 +01:00
Matthijs Abma 7f18e1e8e3 Split logic for adding char to buffer and sending
the buffer, to make sure the char doesn't get
lost when the buffer is full
2020-05-23 17:44:49 +02:00
Matthijs Abma 2626345662 Store if current byte is delimiter for later reuse 2020-05-23 17:44:49 +02:00
Theo Arends ca8b38d0d0 Add LedPwm commands
Add commands ``LedPwmOn 0..255``, ``LedPwmOff 0..255`` and ``LedPwmMode1 0/1`` to control led brightness by George (#8491)
2020-05-23 15:17:13 +02:00
Theo Arends aafa0862ab Refactor LedPwm code 2020-05-23 13:09:16 +02:00
Theo Arends dc9ce42888 Refactor LedPwm code 2020-05-23 13:04:17 +02:00
Theo Arends 924a8772e1
Merge branch 'development' into ledpowerpwm 2020-05-23 12:46:51 +02:00
Theo Arends d0de78352f Fix Energy Frequency display 2020-05-23 12:15:14 +02:00
gemu2015 2eccc09086 remove unishox def 2020-05-23 10:36:19 +02:00
gemu2015 584b3c2ef8 scripter update
add direct access to some energy registers and sml registers
make google charts optional #define USE_GOOGLE_CHARTS
2020-05-23 10:24:08 +02:00
Theo Arends 8db2489f59
Merge pull request #8510 from s-hadinger/unishox_wemo_dev
Compressed string in Wemo emulation
2020-05-23 10:10:20 +02:00
Stephan Hadinger 02faa2ea49 Fix style and compilation error when no compression 2020-05-23 10:05:57 +02:00
George e780f25283 Gamma correction
Implement changes proposed by @s-hadinger review.
* Use 0-255 range in settings
* Apply gamma correction from xdrv_light & use changuintscale helper fn (as per pwm light routine)
2020-05-23 17:13:04 +10:00
Stephan Hadinger 6154fd1015 Fixed compilation error 2020-05-22 23:05:55 +02:00
Stephan Hadinger 45b83a8c77 Compression candidates for Hue emulation 2020-05-22 22:54:34 +02:00
Stephan Hadinger 7ee9b2d34d Compressed string in Wemo emulation 2020-05-22 22:14:17 +02:00
Theo Arends 93ca102391 Change ExportActiveTariff to ExportTariff 2020-05-22 18:31:14 +02:00
Theo Arends 855e054db8 Change Energy JSON data
- Bump version 8.3.1.2
- Change Energy JSON Total field from ``"Total":[33.736,11.717,16.978]`` to ``"Total":33.736,"TotalTariff":[11.717,16.978]``
- Change Energy JSON ExportActive field from ``"ExportActive":[33.736,11.717,16.978]`` to ``"ExportActive":33.736,"ExportActiveTariff":[11.717,16.978]``
- Add Three Phase Export Active Energy to SDM630 driver
2020-05-22 17:48:21 +02:00
Theo Arends 86921e60b2 Add support for VEML6075 and VEML7700
- Add support for VEML6075 UVA/UVB/UVINDEX Sensor by device111 (#8432)
- Add support for VEML7700 Ambient light intensity Sensor by device111 (#8432)
2020-05-22 15:16:01 +02:00
Theo Arends 2b798ff194
Merge pull request #8432 from device111/development
Support for VEML6075 and initial Support for VEML7700
2020-05-22 14:38:20 +02:00
Stephan Hadinger c8b5750568 Add dump of compressed rules over 512 chars and unishox decompress fix 2020-05-21 20:12:41 +02:00
Theo Arends 14807254ba Fix apostrophe regression 2020-05-21 18:03:05 +02:00
Theo Arends f1205385bd Fix the GUI display of apostrophe
Fix the GUI display of apostrophe in any name (#8489, #8323)
2020-05-21 17:49:59 +02:00
Theo Arends 089379ccb6
Merge pull request #8504 from effelle/development
HAss force [is_topic_light] for PWM_Dimmer module
2020-05-21 17:47:22 +02:00
Federico Leoni a068010edf HAss force [is_topic_light] for Dimmer module 2020-05-21 12:33:57 -03:00
Theo Arends e5942df57f Update Change log 2020-05-21 17:06:52 +02:00
Theo Arends 1edc02b64f
Merge pull request #8501 from gemu2015/scripter-fix
fix scripter unishox error
2020-05-21 08:36:39 +02:00
Theo Arends 9e804c7ef8
Merge pull request #8500 from pcdiem/pwm-dimmer-11
Publish state when dimmer button tapped
2020-05-21 08:36:23 +02:00
Theo Arends bae652280d
Merge pull request #8499 from effelle/development
HAss: Fix slider for PWM_MODULE
2020-05-21 08:35:53 +02:00
Theo Arends f3a577d0fc
Merge pull request #8497 from arijav/new_branch
Update thermostat controller with 2 new commands
2020-05-21 08:35:26 +02:00
gemu2015 fca5dc9471 Update xdrv_10_scripter.ino 2020-05-21 08:13:26 +02:00
gemu2015 edaf6c493e fix scripter unishox error, add 2 y axes line graph to google charts 2020-05-21 06:06:42 +02:00
Paul C Diem 9b519700c1 Publish state when dimmer button tapped 2020-05-20 20:55:02 -05:00
Federico Leoni 5e6010d1d0 Fix slider for PWM_MODULE 2020-05-20 22:11:07 -03:00
Javier Arigita f880d058ed Bugfix 2020-05-20 22:21:25 +02:00
Javier Arigita 7b42e6f338 Duty cycle output added, as well as possibility to disable physical output 2020-05-20 22:10:49 +02:00
Stephan Hadinger b7f932391a Change IRremoteESP8266 library updated to v2.7.7 2020-05-20 12:42:34 +02:00
George 833d89203f Fix settings delta fail
bugfix - settings always default on boot
*Moved block to right scope
*Got version number right duh
2020-05-20 13:25:11 +10:00
George 603b628f97 Add pwm mode masking
* Extra setting & command to set - allows masking of pwm mode. Use case is for leds attached to buttons for seeing at night; this way user can combine both pwm and digital leds (i.e. pwm for the button leds but non-button status leds can stay on/off).
2020-05-20 13:23:54 +10:00
George e21cbfdc5d More sensible behaviour
* When setting PWM values, updates all the LEDs (instant response). Uses led_power values.
* If LEDLINK not set, but LED1 is, LED1 is the status led. When turning on/off, setledlink uses digitalwrite (which does not respect the new pwm operation). In this case only, we will use the setledpoweridx instead of digitalwrite - costly (every 250ms this runs), but edge case / legacy. Allows more intuitive operation - if we blink an LED with the max and min PWM limits, we'd expect it to respect these. In this case, blink will also now update the led_power status, which keeps this accurate e.g. if ledpower 1 cmnd was sent, then blink occurred, led_state would read a 1 for that bit but the led would be off (but nothing was reading it for status so it didn't cause any trouble). Leaving digitalwrite when LEDLINK is defined as this is more efficient and the use case for pwm leds is to find buttons - link indicator would become more ambiguous for no benefit.
2020-05-20 13:23:53 +10:00
George bea58f223f Oops
Compile error. Forgot bracket.
2020-05-20 13:23:53 +10:00
George fb179c27af Fixes
* Setting commands don't update if no data is sent
* Didn't understand how pin mapping worked duh. Fixed.
2020-05-20 13:23:53 +10:00
George bd33574ee7 Align new settings to 2B boundaries
Attempting to fix settings not working correctly (might have mucked up the boundaries and compiler put a padding byte in).
2020-05-20 13:23:53 +10:00
George ce2696fef0 Fix compile errors
Missing brackets and semicolons of course. Blame python.
2020-05-20 13:23:53 +10:00
George a305f435e8 First pass at led pwm settings
* Added settings for ledpwm_on and ledpwm_off with defaults that mimic current digitalwrite function
* Changed ledpoweridx from digitalwrite to analogwrite
* Add commands to change new settings
2020-05-20 13:23:52 +10:00
gemu2015 5921055e2f scripter update
script compression option
more google charts (histogram, tables, gauges)
smal bug fixes
2020-05-19 16:44:01 +02:00
Theo Arends cd7f719563 Add more functionality to ``Switchmode`` 11 and 12 (#8450)
Add more functionality to ``Switchmode`` 11 and 12 (#8450)
2020-05-19 15:52:10 +02:00
Theo Arends e1fbf64037 Add command ``Rule0``
Add command ``Rule0`` to change global rule parameters
2020-05-19 11:15:31 +02:00
Theo Arends ebbdb28e48 Bump version to 8.3.1.1 2020-05-18 17:06:11 +02:00
Theo Arends d8d9e334f6 Add ValidTemplate function 2020-05-18 17:02:24 +02:00