Commit Graph

34 Commits

Author SHA1 Message Date
Theo Arends 8376dd8982 Fix switches 2020-11-04 16:31:53 +01:00
Theo Arends 653adfa1cb Refactor Button Switch MQTT data 2020-11-03 16:24:49 +01:00
Theo Arends 7b68935ae3 Add index to Button and Switch action topics 2020-11-03 16:05:57 +01:00
Theo Arends 9f191d9214 Breaking change when ``SetOption73 1``
Breaking change when ``SetOption73 1`` JSON result from `{"ACTION":"SINGLE"}` to `{"Button1":{"Action":"SINGLE"}}`
2020-11-03 15:42:55 +01:00
Theo Arends 54f9532919 Add command ``SetOption114 1``
Add command ``SetOption114 1`` to detach Swiches from Relays and enable MQTT action state for all the SwitchModes
2020-11-03 14:34:02 +01:00
Federico Leoni b62c422f73 changed topic 2020-11-03 10:18:40 -03:00
Federico Leoni e74fdee05e New topic for MQTT Switches 2020-11-03 10:09:23 -03:00
Federico Leoni f7ba0ba95e Switches: MQTT decoupling 2020-11-02 20:44:07 -03:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Theo Arends 66f5d5d180 Prep global struct 2020-10-28 11:48:57 +01:00
Theo Arends d9dfaf88f3 Add command ``SwitchMode 15``
Add command ``SwitchMode 15`` sending only MQTT message on switch change (#9596)
2020-10-18 12:17:31 +02:00
Theo Arends 05bfb71aa6 Fix ESP32 GPIO16 init 2020-10-09 10:28:17 +02:00
Theo Arends c1ce13a689 Some refactoring 2020-08-09 15:31:37 +02:00
RemiDing 9f4d90ec13 removed compile errors 2020-08-09 08:34:03 +02:00
RemiDing 2a8d8f9874 use Switch mode definitions 2020-08-09 08:14:09 +02:00
RemiDing 9ca5e94715 detect double click 2020-08-04 22:53:44 +02:00
halfbakery 6dd50a394c Add support for switches using an AC detection circuitry 2020-06-02 22:17:20 +02:00
halfbakery 72014b7773 Make a previously undocumented switch debouncing feature clean and official 2020-05-31 12:46:15 +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 c939077514 Change pin handling part 3 2020-04-27 12:54:07 +02:00
Theo Arends c9149b53c5 Change pin handling part 1 2020-04-26 17:33:27 +02:00
Theo Arends 100acc5664 Fix switch status 2020-03-14 14:54:11 +01:00
Theo Arends d043ac770d Refactor support_switche.ino
- Add commands ``SwitchMode 13`` PushOn and ``SwitchMode 14`` PushOnInverted (#7912)
- Refactor support_switche.ino
2020-03-14 13:13:33 +01:00
Leonid Muravjev 0f157caa05 switch: New mode PUSHON (13)
Just turn it on, if the switch is on. Switch off by PulseTime.
For a simple implementation processing of PIR sensors.
2020-03-14 14:31:05 +03:00
Theo Arends 2603459747 Revert switchmode 6 according to issue 7778
Revert switchmode 6 according to issue 7778 (#7831)
2020-03-08 13:32:20 +01:00
Phonog 9498cde5e5 Fix switchmode 6 according to issue 7778 2020-03-01 09:42:59 +00:00
Theo Arends d779a2b9b4 Add switch modes 11 and 12
Add switch modes 11 (PUSHHOLDMULTI) and 12 (PUSHHOLDMULTI_INV) (#7603)
2020-02-06 14:53:35 +01:00
RemiDing 7892bad81b toggle pressed and not_pressed 2020-01-28 15:10:23 +01:00
RemiDing cfbd1cb85d optimized 2020-01-25 11:22:28 +01:00
to-scho e327236485 New switchmodes TOGGLEMULTI, FOLLOWMULTI and FOLLOWMULTI_INV 2020-01-15 13:05:00 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends 6fc9dccfe8 Some CppCheck optimizations 2019-10-30 14:08:43 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00