Commit Graph

1595 Commits

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