blakadder / templates

Tasmota Device Templates Repository. Your one stop shop to get templates for devices running Tasmota!
https://templates.blakadder.com
Eclipse Public License 2.0
318 stars 1.33k forks source link

Issue with _templates/rainpoint_TTP106W #1881

Open ArrowPrint opened 3 months ago

ArrowPrint commented 3 months ago

Hello, I got the rainpoint device setup and set the rules on the tasmota console. {"NAME":"RainPoint","GPIO":[0,0,0,0,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":54,"CMND":"TuyaMCU 81,107|TuyaMCU 12,109|TuyaMCU 11,1|TuyaMCU 82,104"}

the problem is when the device reboots eg. loss of power, the automation stops and goes from

"Time":"2024-06-03T14:00:20","Uptime":"0T00:10:09","UptimeSec":609,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":22,"MqttCount":1,"POWER1":"OFF","POWER2":"ON","Wifi":{"AP":1,"SSId":"xxxxx 2g","BSSId":"xxxxxx","Channel":1,"Mode":"11n","RSSI":74,"Signal":-63,"LinkCount":1,"Downtime":"0T00:00:03"}}

{"Time":"2024-06-03T14:00:20","TuyaSNS":{"Timer1":5391,"Timer2":0}

to

stat/rainpoint/STATUS11 = {"StatusSTS":{"Time":"2024-06-03T14:04:17","Uptime":"0T00:00:06","UptimeSec":6,"Heap":22,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":31,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"xxxxx 2g","BSSId":"xxxxxx","Channel":1,"Mode":"11n","RSSI":78,"Signal":-61,"LinkCount":1,"Downtime":"0T00:00:03"}}}

{"Time":"2024-06-03T14:04:17","TuyaSNS":{"Timer1":11547,"Timer2":null}

How to get it go back to the last auto run and timer state?