Theo Arends
3bb58b3ea0
Disable some logging
2019-10-18 12:53:35 +02:00
Theo Arends
cd10e84ecf
Change Sonoff L1 support
2019-10-17 12:20:26 +02:00
Shantur Rathore
01f6df9161
Add DimmerRange command and support longer dimmer ranges. Fixes #6605
...
More and more serial dimmers are coming up with different dimming ranges, implemented DimmerRange command to make this setting generic and bring support for 2 byte dimming ranges which isn't supported by SetOptions.
2019-10-10 15:53:01 +01:00
Theo Arends
11048137ef
Fix TuyaMcu, Armtronix and Ps16dz
...
Fix TuyaMcu, Armtronix and Ps16dz after Light redesign (#6599 )
2019-10-09 16:55:15 +02:00
Shantur Rathore
39b201898d
PS_16_DZ: Implement SetOption43 (Dimmer Max) for PS_16_DZ dimmers. Fixes #6544
2019-10-02 11:28:44 +01:00
Theo Arends
9a15663ca0
Correction
...
Correction
2019-08-17 14:50:12 +02:00
Theo Arends
069be6edd9
Refactor PS16DZ driver saving code space
...
Refactor PS16DZ driver saving code space
2019-08-17 14:48:42 +02:00
Theo Arends
fdda0429d6
Add control of WifiConfig when power ON is pressed for over 5 seconds or single press
...
Add control of WifiConfig when power ON is pressed for over 5 seconds or single press
2019-07-23 14:40:33 +02:00
Theo Arends
d91f5ae343
Update Sonoff L1 template
...
Update Sonoff L1 template
2019-07-22 18:21:25 +02:00
Theo Arends
4938b1e31e
Code refactoring
...
Code refactoring
2019-07-02 15:49:08 +02:00
Theo Arends
169718aa5c
Refactor Sonoff L1 support
...
Refactor Sonoff L1 support
2019-07-02 12:26:04 +02:00
reef-actor
decd91aac0
Remove sscanf call and use strncmp instead
2019-07-01 22:50:59 +01:00
reef-actor
c489d56ea2
Refactor Sonoff L1 to reduce duplication
2019-06-30 23:48:03 +01:00
reef-actor
2a19735c92
Switch compatibility improvements for Sonoff L1
2019-06-30 23:45:14 +01:00
reef-actor
b10fc6677e
Dimmer compatibility improvements for Sonoff L1
2019-06-30 23:44:40 +01:00
reef-actor
d95d18d84e
Color handling for Sonoff L1
2019-06-30 23:39:09 +01:00
Theo Arends
12da2fd6f9
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
...
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
2019-06-16 16:43:23 +02:00
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
Joel Stein
a013f4de82
PS_16_DZ: fix broken if-statement
2018-12-23 21:06:10 +01:00
Joel Stein
b2005fba40
introduce new api-call for dimmer-devices
2018-12-17 18:29:42 +01:00
Joel Stein
0ce7537371
PS_16_DZ: cleanup
2018-11-28 00:04:06 +01:00
Joel Stein
f75c4a27ad
PS_16_DZ: leave space for trailing 0-byte
2018-11-27 19:01:06 +01:00
Joel Stein
49403243d5
PS_16_DZ: further optimization
2018-11-27 18:02:00 +01:00
Joel Stein
6825b78153
PS_16_DZ: optimize for size
2018-11-27 17:18:41 +01:00
Joel Stein
5099d8f20d
PS_16_DZ: reduce buffer-size and actually check for overflow
2018-11-27 16:52:09 +01:00
Joel Stein
7a2c5154aa
PS_16_DZ: only update brightness if it actually changed
2018-11-27 16:11:14 +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
Joel Stein
281166841b
PS_16_DZ: cleanup code
2018-11-27 02:04:59 +01:00
Joel Stein
7931b3433a
PS_16_DZ: bright as int
2018-11-27 01:07:57 +01:00
Joel Stein
6f6e4382ec
PS_16_DZ: change logprefix to PSZ
2018-11-26 15:27:51 +01:00
Joel Stein
87d7609b97
PS_16_DZ: init sequence as 0
2018-11-26 13:53:33 +01:00
Joel Stein
3650ab5fd3
PS_16_DZ: use unix-timestamp as sequence
2018-11-26 13:49:21 +01:00
Joel Stein
41ddab2cbe
PS_16_DZ: flush serial after sending command
2018-11-26 13:29:00 +01:00
Joel Stein
a6124c376e
Revert "PS_16_DZ: wait for acknoledgement before sending more commands"
...
This reverts commit 7203d6ad03
.
2018-11-26 13:27:30 +01:00
Joel Stein
7203d6ad03
PS_16_DZ: wait for acknoledgement before sending more commands
2018-11-26 03:20:15 +01:00
Joel Stein
1dc7a5847c
PS_16_DZ: correctly parse sequence
2018-11-26 02:22:18 +01:00
Joel Stein
985db96f91
PS_16_DZ: print correct sequence
2018-11-26 00:47:00 +01:00
Joel Stein
b7a18f7bcc
PS_16_DZ: tryfix dimming
2018-11-26 00:31:45 +01:00
Joel Stein
977822f131
PS_16_DZ: start must be 'A'
2018-11-25 23:41:11 +01:00
Joel Stein
0f2ea2800e
PS_16_DZ: start must be 'A'
2018-11-25 23:39:44 +01:00
Joel Stein
e024ca3beb
PS_16_DZ: start sequence with 1529000000000
2018-11-25 23:09:58 +01:00
Joel Stein
5ce19fc3f7
PS_16_DZ: don't use String class
2018-11-25 22:43:28 +01:00
Joel Stein
9574fc7c65
PS_16_DZ: fixes
2018-11-24 16:24:44 +01:00
Joel Stein
34da2859ba
PS_16_DZ: fixes
2018-11-24 05:08:14 +01:00