Theo Arends
4724fa2c49
Add support for DYP ME007
...
Add support for DYP ME007 ultrasonic distance sensor by Janusz Kostorz (#9113 )
2020-08-17 16:25:24 +02:00
Stephan Hadinger
d31e720291
Add Virtual CT for 4 channels lights, emulating a 5th channel
2020-08-15 19:24:57 +02:00
Federico Leoni
612e2be2db
SO59 support for Power0
2020-08-14 11:43:50 -03:00
Theo Arends
18bf102e4f
Prep support for SO114 until SO145
2020-08-13 16:49:11 +02:00
Stephan Hadinger
b0188642b1
Change triple-mode TLS via configuration in a single firmware (TLS AWS IoT, Letsencrypt and No-TLS)
2020-08-12 17:20:37 +02:00
Charles
48a346c443
Added SetOption102 to switch between mode
2020-08-11 19:57:39 +02:00
Theo Arends
f268697e54
Add command ``Restart 2`` to halt system
...
Add command ``Restart 2`` to halt system. Needs hardware reset or power cycle to restart (#9046 )
2020-08-10 16:19:44 +02:00
Theo Arends
1d990ad091
Fix ESP32 PWM range
2020-08-03 11:52:25 +02:00
Theo Arends
ac780d5e9a
Merge pull request #8937 from grob6000/serialsend6
...
Serialsend6 - comma-separated decimal send as binary
2020-07-21 12:23:53 +02:00
Theo Arends
a84ebe552a
Refactor rules processing
2020-07-20 17:24:51 +02:00
George
8a4a0d67ff
serialsend6 - fixes
...
Forgot to fix top condition
2020-07-20 10:08:20 +10:00
George
63242de249
Serialsend6
...
* Adds serialsend6, allowing sending of binary data with comma-delimited string of decimal numbers.
2020-07-19 20:34:43 +10:00
Sammy BAUER
b7c7943b00
ESP32 port: JSON error
...
A double quote is missing in the JSON response of the status command, so the result is not valid for ESP32.
2020-07-14 16:07:35 +02:00
Theo Arends
0315ef3a3c
Add some comments to led commands
2020-07-04 15:40:38 +02:00
Federico Leoni
03db100197
TuyaMCU baud rate
2020-06-29 11:01:55 -03:00
Theo Arends
7dafeb280e
Rename global temp and pressure
...
- Rename global temp and pressure (#8808 , #8810 )
- Fix SGP30 calculation (#8808 )
2020-06-28 12:23:18 +02:00
Theo Arends
ff327106be
Refactor ESP32 support
2020-06-24 15:58:56 +02:00
Theo Arends
7c8b06ce16
Add compile time interlock parameters
...
Add compile time interlock parameters (#8759 )
2020-06-22 22:36:54 +02:00
halfbakery
2e43715343
SwitchDebounce flags should be added to every valid imeout values
2020-06-21 20:46:37 +02:00
Theo Arends
b5f45aa295
Fix ESP32 SPI config
2020-06-20 17:58:21 +02:00
Norbert Richter
9b44a369d8
Fix some json unescapes
2020-06-19 12:33:31 +02:00
Theo Arends
83bbe757db
Add command ``Module2``
...
Add command ``Module2`` to configure fallback module on fast reboot (#8464 )
2020-06-17 14:06:46 +02:00
Theo Arends
ef0b797686
Add basic support for ESP32 ethernet
...
Add basic support for ESP32 ethernet adding commands ``Wifi 0/1`` and ``Ethernet 0/1`` both default ON (#8503 )
2020-06-15 18:27:04 +02:00
Theo Arends
0abfcf1954
Fix global temperature
...
- Fix global temperature use of float solving intermittend power off (#8175 )
- Fix BL0940 power monitoring when powered on but no load present
2020-06-12 16:51:21 +02:00
Theo Arends
56c491050e
Fix AP switch
...
Fix AP switch (#8635 )
2020-06-09 11:25:43 +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
Staars
7e28e03d78
add commands to touch pin button on ESP32
2020-05-30 13:50:22 +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
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
dc9ce42888
Refactor LedPwm code
2020-05-23 13:04:17 +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
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
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
Theo Arends
e1fbf64037
Add command ``Rule0``
...
Add command ``Rule0`` to change global rule parameters
2020-05-19 11:15:31 +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
80c8bf675c
Publish teleperiod data on command TelePeriod
...
Publish teleperiod data on command ``TelePeriod`` (#2567 )
2020-05-16 17:44:29 +02:00
Theo Arends
af32b3f5e5
Add ESP32 configuration webcam
2020-05-12 15:42:16 +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
Stephan Hadinger
646f76e459
Minor size optimizations
2020-05-06 08:56:09 +02:00
Stephan Hadinger
b07edd1d74
Move constants in PMEM
2020-05-04 20:00:05 +02:00
Theo Arends
99178c2f5d
Merge pull request #8315 from gemu2015/esp32-pwm
...
esp32 initial pwm support
2020-05-01 18:04:43 +02:00
gemu2015
bf29904b7a
esp32 initial pwm support
2020-05-01 17:38:40 +02:00
Theo Arends
5d18ad1c74
Add experimental basic support for ESP32
...
- Add experimental basic support for Tasmota on ESP32 based on work by Jörg Schüler-Maroldt
- Bump version to 8.2.0.6
- This ESP32 upgrade breaks current ESP32 templates
2020-05-01 17:30:09 +02:00
Theo Arends
c0a05e9586
Change ESP32 pin allocation part 3
2020-04-30 18:47:34 +02:00
Theo Arends
ef61668037
Change ESP32 pin allocation part 2
2020-04-29 17:44:03 +02:00