-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
my config for tasmota
{
"accessory": "HTTP-LIGHTBULB",
}, "name": "light",
"debug": true,
"onUrl": "http://192.168.50.166/cm?cmnd=Power%20on",
"offUrl": "http://192.168.50.166/cm?cmnd=Power%20off",
"statusUrl": "http://192.168.50.166/cm?cmnd=state",
"statusPattern": ""POWER":"ON",
"brightness": {
"setUrl": "http://192.168.50.166/cm?cmnd=Dimmer%20%s",
"statusUrl": "http://192.168.50.166/cm?cmnd=Dimmer"
},
"colorTemperature": {
"setUrl": "http://192.168.50.166/cm?cmnd=CT%20%s",
"statusUrl": "http://192.168.50.166/cm?cmnd=state",
"statusPattern": ""CT":d{3}",
}, "unit": "mired",
"minValue": 153,
"maxValue": 499
}
},
works, except for power off, if power on then
[1/25/2021, 11:17:28 PM] [Light] getColorTemperature() error occurred while extracting colorTemperature from body: Pattern didn't match (value: '{"Time":"2021-01-25T23:17:27","Uptime":"0T00:24:59","UptimeSec":1499,"Heap":24,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":33,"MqttCount":0,"POWER":"ON","Dimmer":57,"Color":"3B56","White": 57,"CT":358,"Channel":[23,34],"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"UBNT","BSSId":"74:83: C2:27:4D:A1","Channel":6,"RSSI":80,"Signal":-60,"LinkCount":1,"Downtime":"0T00:00:04"}}', pattern: '/"CT":d{3}/')
Translated with www.DeepL.com/Translator (free version)