Sorry for reviving this old topic, but it has a nice solution in making a wake up light. However, when using the method mentioned underneath it will generate a couple of lines with the .afterSec option. I also want to be able to cancel them all, is there a command to do such a thing? Like, cancel all outstanding/upcoming orders to a device to stop the dimming process at the current values?
FYI; I'm controlling an H801 flashed with Tasmota, and also noticed the following jump from white=100 to white=77 at a certain hex value:
Code: Select all
21:27:03 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":96,"Color":"0000003BB9","HSBColor":"0,0,0","White":96,"CT":416,"Channel":[0,0,0,23,73]}
21:27:04 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":96,"Color":"0000003BBA","HSBColor":"0,0,0","White":96,"CT":416,"Channel":[0,0,0,23,73]}
21:27:05 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":96,"Color":"0000003BBB","HSBColor":"0,0,0","White":96,"CT":417,"Channel":[0,0,0,23,73]}
21:27:06 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":97,"Color":"0000003CBC","HSBColor":"0,0,0","White":97,"CT":416,"Channel":[0,0,0,24,74]}
21:27:07 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":98,"Color":"0000003CBD","HSBColor":"0,0,0","White":98,"CT":416,"Channel":[0,0,0,24,74]}
21:27:08 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":98,"Color":"0000003CBE","HSBColor":"0,0,0","White":98,"CT":417,"Channel":[0,0,0,24,75]}
21:27:09 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":98,"Color":"0000003CBF","HSBColor":"0,0,0","White":98,"CT":417,"Channel":[0,0,0,24,75]}
21:27:10 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":99,"Color":"0000003DC0","HSBColor":"0,0,0","White":99,"CT":416,"Channel":[0,0,0,24,75]}
21:27:11 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":100,"Color":"0000003DC1","HSBColor":"0,0,0","White":100,"CT":417,"Channel":[0,0,0,24,76]}
21:27:12 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":100,"Color":"0000003DC2","HSBColor":"0,0,0","White":100,"CT":417,"Channel":[0,0,0,24,76]}
21:27:13 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":100,"Color":"0000003DC2","HSBColor":"0,0,0","White":100,"CT":417,"Channel":[0,0,0,24,76]}
21:27:14 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":77,"Color":"0000003EC4","HSBColor":"0,0,0","White":77,"CT":417,"Channel":[0,0,0,24,77]}
21:27:15 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":77,"Color":"0000003EC5","HSBColor":"0,0,0","White":77,"CT":417,"Channel":[0,0,0,24,77]}
21:27:16 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":78,"Color":"0000003EC6","HSBColor":"0,0,0","White":78,"CT":417,"Channel":[0,0,0,24,78]}
21:27:17 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":78,"Color":"0000003EC7","HSBColor":"0,0,0","White":78,"CT":418,"Channel":[0,0,0,24,78]}
21:27:18 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":78,"Color":"0000003FC8","HSBColor":"0,0,0","White":78,"CT":417,"Channel":[0,0,0,25,78]}
21:27:19 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":79,"Color":"0000003FC9","HSBColor":"0,0,0","White":79,"CT":417,"Channel":[0,0,0,25,79]}
21:27:20 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":79,"Color":"0000003FCA","HSBColor":"0,0,0","White":79,"CT":418,"Channel":[0,0,0,25,79]}
21:27:21 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":80,"Color":"0000003FCB","HSBColor":"0,0,0","White":80,"CT":418,"Channel":[0,0,0,25,80]}
21:27:22 MQT: stat/tasmota_CF13F8/RESULT = {"POWER":"ON","Dimmer":80,"Color":"00000040CC","HSBColor":"0,0,0","White":80,"CT":417,"Channel":[0,0,0,25,80]}
This is sadly enough also visible with the eye, suddenly the warmth of the white changes.. Does anyone have any tip how to solve this? I guess it's a setting in Tasmota, but I don't know which
Edit: I tried licht.cancelQueuedCommands(), but that doesn't work. Is this a bug? Because that should be the function I'm looking for..