Commit Graph

1694 Commits

Author SHA1 Message Date
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
bovirus 6c99b89788
Italian language update 2020-05-18 16:17:22 +02:00
Theo Arends d61c1b001d
Merge pull request #8473 from gemu2015/ra8876_esp32
ra8876 esp32
2020-05-18 15:29:52 +02:00
gemu2015 769f69d049 remove debug print 2020-05-18 15:02:27 +02:00
Adrian Scillato 6ab98e5e16
Update Spanish Translation 2020-05-18 09:45:17 -03:00
Theo Arends 9d15381f11 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-05-18 14:12:58 +02:00
Theo Arends 7241b9d37c Prep release 8.3.1 2020-05-18 14:12:44 +02:00
gemu2015 e043788de8 scripter support for google charts in WEBUI 2020-05-18 10:29:32 +02:00
gemu2015 88627a5a41 support for jpeg pictures on color lcds 2020-05-18 10:25:18 +02:00
gemu2015 21656fdd81 ra8876 esp32 2020-05-18 10:19:13 +02:00
Theo Arends dcde10eac4
Merge pull request #8470 from effelle/development
HA Discovery: Oops! New DeviceName
2020-05-17 19:23:02 +02:00
Federico Leoni 950a4dc998 HA Discovery: Oops! New DeviceName 2020-05-17 13:42:14 -03:00
Stephan Hadinger 1460f81490 Zigbee allow zero shortaddr 2020-05-17 18:33:42 +02:00
Theo Arends 80ad999a38
Merge pull request #8468 from s-hadinger/unishox_class
Unishox code optimized
2020-05-17 18:24:00 +02:00
Stephan Hadinger 20b2257c8c Unishox code optimized 2020-05-17 18:05:17 +02:00
Theo Arends 4e38cb7ba9 Allow empty DeviceName 2020-05-17 17:55:36 +02:00
Theo Arends 90e833238f Allow no DeviceName 2020-05-17 17:38:28 +02:00
Theo Arends d7f6c78ed9 Add command ``DeviceName``
Add command ``DeviceName`` defaults to FriendlyName1 and replaces FriendlyName1 in GUI
2020-05-17 17:10:17 +02:00
Theo Arends 1c441f9059 Free unused buffer 2020-05-17 12:04:55 +02:00
Theo Arends 63d15b68a6
Merge pull request #8458 from nagyrobi/patch-1
Add SetOption59 capability to MCP230XX
2020-05-16 17:52:10 +02:00
Theo Arends 80c8bf675c Publish teleperiod data on command TelePeriod
Publish teleperiod data on command ``TelePeriod`` (#2567)
2020-05-16 17:44:29 +02:00
nagyrobi 29177652dd
Add SetOption59 capability to MCP230XX 2020-05-16 17:30:43 +02:00
Theo Arends c11952595e Change QPC detection from 4 to 7 power interrupts
Change Quick Power Cycle detection from 4 to 7 power interrupts (#4066)
2020-05-16 11:22:48 +02:00
Stephan Hadinger d7bcfefa31 Size code reduction for XY calculations 2020-05-15 22:10:02 +02:00
gemu2015 1bbc77e6a7 sml update
fix SML ESP32 uart handling
add replace cmd vars to SML section
add * option to SML WeBGUI
scripter add optional ws2812 array offset
scripter negative for next  loops
2020-05-15 15:30:32 +02:00
Theo Arends b9a4e7beda
Merge pull request #8448 from arijav/new_branch
Thermostat: Small bugfix and PI autotune feature added (disabled by define, as experimental and un…
2020-05-15 12:22:19 +02:00
Javier Arigita 187bc9d23e Added source reference for Autotune 2020-05-14 23:42:01 +02:00
Javier Arigita b1fd316876 Further dev. of PI autotuning 2020-05-14 23:35:45 +02:00
Javier Arigita ee25e6e637 Bugfix and autotune added (disabled by define, as experimental and untested) 2020-05-14 22:44:32 +02:00
Theo Arends 3fa1cbdd5a Oops, wrong button 2020-05-14 15:42:15 +02:00
Theo Arends fff26f6538 Fix button default state
- Fix button default state
- Bump version 8.3.0.1
2020-05-14 15:32:27 +02:00
Theo Arends 4e05975b6c Sync with released 8.3.0 2020-05-14 12:40:48 +02:00
device111 88136168bb Update tasmota_configurations.h 2020-05-13 12:52:20 +02:00
Theo Arends 9b9b9e7d35
Merge pull request #8431 from malbinola/fix/wmtelejson
WindMeter sensor: hide unsupported wind direction in tele messages
2020-05-12 23:06:32 +02:00
device111 47a8df84be Support for VEML6075 and VEML 7700
Add support for VEML6075.
-Shows UVA, UVB, UVIndex

supported Commands are:

| Command        |      Description |
|----------------|------------------|
|VEML6075power   | Power up/down    |
|VEML6075dynamic | HD Mode          |
|VEML6075inttime | Integration Time |

Add initial Support for VEML7700  (#8260)
- the implementation based on Adafruit VEML7700 Libary.
- Shows Illuminance and White Content of Light.
2020-05-12 21:24:44 +02:00
Stephan Hadinger 75591fb201 Zigbee optimized state machine and support for better ZCL Step commands 2020-05-12 21:13:46 +02:00
Matteo Albinola 632a8decec Hide unsupported wind direction in tele messages 2020-05-12 21:12:16 +02:00
Federico Leoni ae5970c107
HA Discovery : minor optimizations 2020-05-12 14:06:35 -03:00
Theo Arends af32b3f5e5 Add ESP32 configuration webcam 2020-05-12 15:42:16 +02:00
Theo Arends 7078466e7c Refactor webcam 2020-05-12 14:30:07 +02:00
gemu2015 d182817892 add psram to info page ESP32 2020-05-12 14:19:10 +02:00
gemu2015 a6aad08a5e webcam bugfix and some cleanup 2020-05-12 08:14:58 +02:00
Stephan Hadinger 2ff5a1ccb6 Add Zigbee support for router and end-device mode 2020-05-11 21:16:17 +02:00
gemu2015 6d7f3843ce scripter bug fix 2020-05-11 19:19:59 +02:00
Theo Arends 4aa1c18d82 Revert uart buffer size increase
Revert uart buffer size increase but visit uart buffer reads more often to solve possible uart buffer overrun caused by sleep
2020-05-11 16:45:22 +02:00
Theo Arends 001b6e4895 Fix Dew Point is null
Fix Dew Point is null if either or both Temperature and/ot Humidity is null (#8411)
2020-05-11 15:38:59 +02:00
Theo Arends 125ee62ff3 Add Serial buffer overrun detection
Add Serial buffer overrun detection and fix serial corruption by increasing uart serial buffer to 520
2020-05-11 15:27:29 +02:00
Javier Arigita b31455c8eb Minor correction 2020-05-10 23:34:53 +02:00
Javier Arigita 5062dc2c33 Optimizations, correction of comments and update of readme 2020-05-10 23:00:57 +02:00
Stephan Hadinger e1def09a1b Change Philips Hue emulation now exposes modelId and manufacturerId 2020-05-10 19:10:00 +02:00
Theo Arends 650aca898d
Merge pull request #8409 from gemu2015/scripter-fix
Scripter fix
2020-05-10 18:26:52 +02:00
gemu2015 39a92c2767 Update xdrv_10_scripter.ino 2020-05-10 18:00:37 +02:00
Theo Arends 4d84a02b5f Add /snapshot.jpg link to webcam 2020-05-10 17:52:28 +02:00
gemu2015 9b0aa51515 scripter fix create task 2020-05-10 17:51:22 +02:00
Stephan Hadinger 1b682d3564 Add rule length, truncates rules too long and add escape JSON 2020-05-10 15:24:10 +02:00
Theo Arends 93a4700552 Cleanup default defines 2020-05-10 14:58:38 +02:00
Theo Arends ec045445e6 Enable rule compression in my_user_config.h 2020-05-10 14:39:13 +02:00
Theo Arends bdc0934cb8 Fix init of Energy Offset after power cycle
Fix init of Energy Offset after power cycle (#8356)
2020-05-10 12:59:13 +02:00
Theo Arends 02f61a5259 Allow rule processing on single Status command
Allow rule processing on single Status command only
2020-05-10 11:10:55 +02:00
Theo Arends 89b130b45a Change root rule trigger
Add rule trigger at root level like ``on loadavg<50 do power 2 endon`` after ``state`` command
2020-05-10 11:09:34 +02:00
Theo Arends 2dac2836d8
Merge pull request #8405 from s-hadinger/fix_batterypercentage
Fix BatteryPercentage calculation
2020-05-10 10:42:37 +02:00
Stephan Hadinger de40260f3e Fix BatteryPercentage calculation 2020-05-10 10:18:23 +02:00
Theo Arends cc2f7cbf5a Oops remove debug message 2020-05-09 19:35:16 +02:00
Theo Arends bf215b1b9d Update root level triggers
Add rule trigger ``#`` to trigger on any root value like ``on #loadavg<50 do power 2 endon`` after ``state`` command
2020-05-09 19:33:19 +02:00
Theo Arends 92c05faa8b Add root level triggers as discussed on Discord
- Add rule trigger ``root#`` to trigger on any root value like ``on root#loadavg<50 do power 2 endon`` after ``state`` command
2020-05-09 19:22:12 +02:00
Stephan Hadinger 64c71970cb Fix clearing rules 2020-05-09 18:05:13 +02:00
Michael Ingraham 860db1b1d3
FIRMWARE_BASIC remnant 2020-05-09 10:41:56 -04:00
Adrian Scillato 1d42267ced
Merge pull request #8398 from bovirus/patch-1
Update Italian language
2020-05-08 17:59:05 -03:00
bovirus d9c9eeca78
Update Italian language 2020-05-08 19:45:39 +02:00
Stephan Hadinger a2b05399a3 Add automatic compression of Rules to achieve ~60% compression, added ``SetOption93 1`` to control caching of rules 2020-05-08 19:33:20 +02:00
Stephan Hadinger 87a1cd0ea0 Change PWM updated to the latest version of Arduino PR #7231 2020-05-08 17:52:24 +02:00
Theo Arends f66a0ee561 Add Webcam commands 2020-05-08 17:17:09 +02:00
Theo Arends 0572644c7f Change PWM Frequencies
- Change default PWM Frequency to 977 Hz from 880 Hz
- Change minimum PWM Frequency from 100 Hz to 40 Hz
2020-05-08 16:06:02 +02:00
Theo Arends 8c153c9ce7
Merge pull request #8394 from s-hadinger/pwmfreq_min_40
Lower minimum PWMFrequency to 40Hz
2020-05-08 15:57:40 +02:00
Stephan Hadinger b53dee396e Lower minimum PWMFrequency to 40Hz 2020-05-08 15:42:44 +02:00
Theo Arends 33acbd1a8b Fix Domoticz range check 2020-05-08 12:04:52 +02:00
Theo Arends 82ccd7ed37 Fix compilation error 2020-05-08 11:17:18 +02:00
Theo Arends d70ce6a767
Merge pull request #8389 from Theosakamg/language_unit
Language Unit Translate
2020-05-08 11:03:36 +02:00
Mickael Gaillard b6165d5a18 Add Translate Fahrenheit
Signed-off-by: Mickael Gaillard <mick.gaillard@gmail.com>
2020-05-08 00:53:13 +02:00
Mickael Gaillard 2ddfb2da07 Add extra translate
Signed-off-by: Mickael Gaillard <mick.gaillard@gmail.com>
2020-05-08 00:34:25 +02:00
znanev 1387866397
Update bg_BG.h 2020-05-07 22:57:23 +01:00
Stephan Hadinger 9dfc8f8785 Shrink the Sunrise/Sunset code 2020-05-07 19:48:43 +02:00
Theo Arends 2a6de09396 Change ESP32 GUI GPIO index display 2020-05-07 18:10:54 +02:00
Theo Arends 5bbcc4f969
Merge pull request #8383 from effelle/development
Hass Discovery: fix missing trigger for toggle
2020-05-07 18:03:13 +02:00
Federico Leoni 4e2edb83d2
Hass Discovery: fix wrong trigger state 2020-05-07 12:58:39 -03:00
Theo Arends 19d8592978
Merge branch 'development' into new_branch 2020-05-07 17:02:22 +02:00
Theo Arends 247bd0b44e Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-05-07 16:54:09 +02:00
Theo Arends 2fbad7b389 Change webcam driver number
Change webcam driver number as ESP32 driver only starting now from 81.
2020-05-07 16:53:56 +02:00
Theo Arends 0ffd28bf21
Merge pull request #8375 from gemu2015/scripter-tasks
Scripter tasks
2020-05-07 16:50:41 +02:00
gemu2015 eb758d49d3 scripter tasks 2020-05-07 16:16:46 +02:00
Theo Arends 0ca5bf4e41
Merge pull request #8243 from ctc/development
Restore tilt of venetian blinds after movement
2020-05-07 16:12:50 +02:00
Theo Arends d78ca09c30 Integrate OpenTherm and WindMeter 2020-05-07 16:03:27 +02:00
Theo Arends cb1b7739b6
Merge branch 'development' into new-windmeter-sensor 2020-05-07 14:58:23 +02:00
Theo Arends 6da16b5665
Update my_user_config.h 2020-05-07 14:43:55 +02:00
Yury Sannikov cc1fffe7c4 fix ESP32 build 2020-05-07 12:43:47 +03:00
Yury Sannikov 9e6a809ba2 adapt to the latest development branch changes 2020-05-07 11:58:17 +03:00
Yury Sannikov 049ddad17b update languages 2020-05-07 11:54:29 +03:00