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
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
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
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
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
Theo Arends
23a9948d29
Fix ESP32 compilation
2020-05-04 11:07:52 +02:00
Theo Arends
d410420110
Tasmotify ESP32 webcam
2020-05-03 18:37:12 +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
892be892fa
Remove gpio to pin support
2020-05-01 17:37:56 +02:00
Theo Arends
7177c7d8e0
Change ESP32 pin allocation part 4
2020-05-01 16:47:41 +02:00
Theo Arends
ef61668037
Change ESP32 pin allocation part 2
2020-04-29 17:44:03 +02:00
Theo Arends
d805803daa
Change pin array names
...
Change pin array names to block unwanted use of direct access
2020-04-29 14:01:02 +02:00
Theo Arends
60e7a73b60
Switch from GPIO array to Pin array
2020-04-28 14:42:47 +02:00
Theo Arends
3fef91d6ca
Change pin handling part 6
2020-04-27 17:28:05 +02:00
Theo Arends
ae4ec4325d
Change pin handling part 5
2020-04-27 17:16:52 +02:00
Theo Arends
c939077514
Change pin handling part 3
2020-04-27 12:54:07 +02:00
Theo Arends
5d9be9a4d0
Fix pin handling part 1
2020-04-27 10:35:38 +02:00
Theo Arends
c9149b53c5
Change pin handling part 1
2020-04-26 17:33:27 +02:00
Theo Arends
104e3c4838
Implement ARRAY_SIZE macro
2020-04-25 11:37:36 +02:00
Theo Arends
9ed8e7c254
Fix internal array size checks
2020-04-24 17:39:26 +02:00
Theo Arends
5f75a4c354
Fix future compile error ;-)
2020-04-24 15:50:27 +02:00
Theo Arends
be1fb3756c
Change ESP32 freeHeap to MaxAllocHeap
2020-04-22 16:07:52 +02:00
Theo Arends
e8f3d1d986
Increase ESP32 compatibility
...
Increase ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-13 17:45:06 +02:00
Theo Arends
93fd5dd618
Add experimental minimal support for ESP32
...
Add experimental minimal support for ESP32 (#8110 )
2020-04-10 18:24:08 +02:00
Theo Arends
d8f750ebb9
Add legacy support
2020-04-09 14:00:02 +02:00
Stephan Hadinger
7a6628d903
Add command ``SetOption41 <x>`` to force sending gratuitous ARP every <x> seconds
2020-04-07 14:07:00 +02:00
Theo Arends
caff54da7c
Fix unquoted non-json data
...
Fix unquoted non-json data (#8040 )
2020-04-01 14:39:43 +02:00
Theo Arends
dbc9f16ffc
Add support for up to four MQTT GroupTopics
...
- Bump version to 8.2.0.2
- Add support for up to four MQTT GroupTopics using the same optional Device Group names (#8014 )
2020-03-28 16:48:36 +01:00
Norbert Richter
898fff9dbc
Add multiple GroupTopic<x> (x=1-4) (default disabled)
...
grouptopic (1-4) subscription even when USE_DEVICE_GROUPS
is not used.
2020-03-28 11:17:16 +01:00
Theo Arends
aede481b61
Move not used GPIO init up in chain
2020-03-25 11:29:46 +01:00
Theo Arends
5471de6f1c
Change GPIO initialization solving possible Relay toggle on (OTA) restart
...
Change GPIO initialization solving possible Relay toggle on (OTA) restart
2020-03-22 17:42:32 +01:00
Theo Arends
0a0afe3615
Add Dew point to more sensors
...
Add Dew point to more sensors and refactor JSON Temperature and Humidity message
2020-03-17 16:29:59 +01:00
Theo Arends
566bc47af4
Add Dewpoint to Temp/Hum sensors Prt. 1
...
- Add Dewpoint to Temp/Hum sensors Prt. 1
- Update AHT10 driver (#7930 )
2020-03-16 16:52:22 +01:00
Paul C Diem
fec34434a6
Merge branch 'development' of https://github.com/arendst/Tasmota into pwm-dimmer3
2020-03-15 18:26:46 -05:00
Theo Arends
1a825db2b9
Fix ghost logging
2020-03-14 17:45:36 +01:00
Paul C Diem
a72acf37fe
Use Light module to manage PWM, Rework multi-button sequences
2020-03-13 12:08:44 -05:00
Theo Arends
0006d44e63
Fix HASS button discovery
2020-03-04 18:02:27 +01:00
Theo Arends
71e702c659
Change minimal filename construction
2020-03-04 15:36:37 +01:00
Theo Arends
71d810aac4
Update Tx2x Sensor
...
Update Tx2x Sensor with command SpeedUnit (#7843 )
2020-03-02 15:51:33 +01:00
Norbert Richter
94dbc4d1a2
refactor TX2x sensor driver
2020-02-29 16:11:59 +01:00
Paul C Diem
c0a5156d8f
Initial pwm dimmer support
2020-02-24 07:19:15 -06:00
Paul C Diem
8182d6ef7b
Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups
2020-02-21 09:15:47 -06:00
Paul C Diem
f409d7258e
Initial device groups support (power and light)
2020-02-21 09:09:21 -06:00
Theo Arends
5e4d8e5641
Fix relation between RSSI and signal strength
...
Fix relation between RSSI and signal strength
2020-02-20 10:07:00 +01:00
Theo Arends
504570d5d5
Fix MaxPower functionality
...
Fix MaxPower functionality (#7647 )
2020-02-09 16:21:48 +01:00
Theo Arends
48d70bc7bb
Add Buzzer commands
...
Add command ``Buzzer -1`` for infinite mode and command ``Buzzer -2`` for following led mode (#7623 )
2020-02-06 16:25:37 +01:00