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
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
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
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