Commit Graph

47 Commits

Author SHA1 Message Date
Theo Arends eb9617e3f9 Tune some functionality
Tune some functionality
2019-03-30 13:03:45 +01:00
Theo Arends e1c92b701b Change NULL to nullptr
Change NULL to nullptr
2019-03-26 18:26:50 +01:00
Theo Arends 06a9fbd792 Changed logging message handling
Changed logging message handling
2019-03-08 15:15:42 +01:00
Theo Arends 98ae3eaf54 6.4.1.16 Online template change
6.4.1.16 20190211
 * Initial support for online template change using command Template (#5177)
2019-02-11 19:21:49 +01:00
Theo Arends 304ac6fe44 6.4.1.12 code changes (byte/boolean)
6.4.1.12 20190128
 * Change code use of boolean to bool and byte to uint8_t
 * Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends 447ec6256e 6.4.1.4 Update Copyright (C) 2019
6.4.1.4 20190101
 * Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
Theo Arends 7ebb7a6067 6.4.1.3 Change sonoff_template.h
6.4.1.3 20181229
 * Change sonoff_template.h module lay-out by removing non-configurable GPIOs
2018-12-29 19:46:28 +01:00
Joel Stein b2005fba40 introduce new api-call for dimmer-devices 2018-12-17 18:29:42 +01:00
Theo Arends 0df7df9b08 Fix dynamic buffer handling
Fix dynamic buffer handling
2018-11-27 12:18:27 +01:00
Theo Arends a360ac4ef6 Add dynamic buffer space
Make serial buffer space reservation dynamic
2018-11-27 11:55:54 +01:00
Theo Arends e284e78b4d Add support for Armtronix dimmers
Add support for Armtronix dimmers. See wiki for info (#4321)
2018-11-16 12:22:15 +01:00
andrethomas 4a7e7b0dbb Change C functions with () to (void) 2018-11-14 15:32:09 +02:00
Joel Stein 0d78ec4fad tuya: change Sent -> TX, Rcvd -> RX 2018-11-10 18:08:31 +01:00
Joel Stein d573f7641a tuya: formatting 2018-11-09 01:28:11 +01:00
Theo Arends 4a21d3270d Restrict hardware serial
Restrict hardware serial
2018-11-07 15:37:06 +01:00
Theo Arends 9fef82736d Prep drivers for management
Prep drivers for management
2018-11-07 10:30:03 +01:00
Joel Stein a2b7bdac45 tuya: name flag SetOption54 2018-11-06 23:27:49 +01:00
Joel Stein 7003435b34 tuya: use SetOption54 instead of SetOption22 2018-11-06 22:58:07 +01:00
Joel Stein 134a10d2c4 tuya: Add SetOption22 to select if brightness-commands from faceplate should be ignored while powered off 2018-11-06 20:06:25 +01:00
Joel Stein aa148f67a3 tuya: fix SetOption20 for Oittm/Moes 2018-11-06 05:35:07 +01:00
Joel Stein 0c3123a7aa tuya: reorder functions 2018-11-04 06:56:36 +01:00
Joel Stein 256b5cba8e tuya: only handle reset GPIO 2018-11-04 06:40:55 +01:00
Joel Stein b958c7b716 tuya: cleanup 2018-11-04 03:40:14 +01:00
Joel Stein 2a9a5bb94b tuya: send power when setting dim-level 2018-11-03 23:24:43 +01:00
Joel Stein 91ead8c60e tuya: refactor/simplify code 2018-11-03 22:34:29 +01:00
Joel Stein 7d9bc1039f tuya: don't set tuya_wifi_state in TuyaResetWifi() (will be set automatically) 2018-11-02 16:04:35 +01:00
Joel Stein f4c80b5ed0 tuya: accept any wifi-reset packet 2018-11-01 04:30:02 +01:00
Joel Stein 9723d6de56 tuya: keep option to set dimmer-id at compile-time 2018-11-01 03:39:54 +01:00
Joel Stein 7f9f1f2f66 tuya: autoconfigure gpios 2018-11-01 02:55:16 +01:00
Joel Stein 2d94b7cc7c tuya: Autoconfigure Dimmer ID when SetOption34 == 0, use 0 as default for TUYA_DIMMER_ID 2018-11-01 00:13:46 +01:00
Joel Stein 9125823da3 tuya: remove default from switch, since wifi_state is already initialized to 0x02 2018-10-30 16:56:57 +01:00
Joel Stein faab6f1221 tuya: modify WifiState() in support.ino to reflect not-connected-state instead of reimplementing it 2018-10-30 15:34:31 +01:00
Joel Stein 8f3f1f3958 tuya: implement seperate WifiState() so we actually know, when we're not connected 2018-10-30 05:33:36 +01:00
Joel Stein 4a03b1c2cd tuya: wifi-state switch debug-arguments 2018-10-30 01:11:08 +01:00
Joel Stein ccd10e151f tuya: wifi-state: add default state 2018-10-29 23:45:18 +01:00
Joel Stein 166f6ce3a6 tuya: proper indication of wifi-state 2018-10-29 23:35:00 +01:00
Joel Stein 80d5a23e39 tuya: only send wifi-led-reset until ack is received 2018-10-29 01:58:48 +01:00
Joel Stein b24449aa2b tuya: add break 2018-10-29 01:27:45 +01:00
Joel Stein 09de17d385 tuya: reset wifi-led every second 2018-10-29 01:10:57 +01:00
Joel Stein e84f78b395 tuya: set wifi-state 2018-10-28 13:51:16 +01:00
Theo Arends 53e1420961 Change OTA Url
* Change default OTA Url to http://thehackbox.org/tasmota/release/sonoff.bin (#4170)
 * Add Tuya Software Serial to support additional Tuya configurations (#4178)
2018-10-27 11:37:42 +02:00
Joel Stein ee2bed3b9a tuya: cleanup 2018-10-27 04:38:18 +02:00
Joel Stein 7093bd6ab0 tuya: software-serial: fixes 2018-10-27 04:11:30 +02:00
Joel Stein 22c20ab5fe tuya: software-serial 2018-10-27 03:01:09 +02:00
Joel Stein 2e150b5ca4 tuya-dimmer: ignore dim-values when powered off 2018-10-19 18:04:30 +02:00
Theo Arends 613ffde5c0 6.2.1.18 Add API.md
6.2.1.18 20181019
 * Add more API callbacks and document API.md
2018-10-19 12:53:22 +02:00
Theo Arends d1c807998f Rewrite Tuya Dimmer code
Rewrite Tuya Dimmer code
2018-10-18 13:01:31 +02:00