@Maddoctor fiz.
Vou fazer reset e fazer tudo de novo
Se dá command unknown é porque não está activo…
@Maddoctor fiz reset, e voltei a fazer tudo. Aqui está os comandos e as respostas da consola:
18:43:39 CMD: Setoption80 1
18:43:39 RSL: stat/tasmota_39A0B1/RESULT = {"SetOption80":"ON"}
18:44:11 CMD: backlog shuttermode 1; interlock off
18:44:11 RSL: stat/tasmota_39A0B1/RESULT = {"Command":"Unknown"}
18:44:12 RSL: stat/tasmota_39A0B1/RESULT = {"Interlock":"OFF"}
18:44:37 CMD: ShutterButton1 1 up 0
18:44:37 RSL: stat/tasmota_39A0B1/RESULT = {"ShutterButton1":"1 100 50 74 100 - - - - -"}
18:44:52 CMD: ShutterButton1 2 down 0
18:44:52 RSL: stat/tasmota_39A0B1/RESULT = {"ShutterButton1":"1 100 50 74 100 - - - - -|2 0 50 24 0 - - - - -"}
18:46:14 CMD: ShutterOpenDuration 26
18:46:14 SHT: Shutter 1 (Relay:1): Init. Pos: 0 [0 %], Open Vel.: 100, Close Vel.: 260 , Max Way: 52000, Opentime 26.0 [s], Closetime 10.0 [s], CoeffCalc: c0: 300, c1 500, c2: 700, c3: 900, c4: 1000, binmask 3, is inverted 0, is locked 0, end stop time enabled 0, webButtons inverted 0, shuttermode 1, motordelay 0
18:46:14 RSL: stat/tasmota_39A0B1/RESULT = {"ShutterOpenDuration1":"26.0"}
18:46:38 CMD: ShutterCloseDuration 24
18:46:38 SHT: Shutter 1 (Relay:1): Init. Pos: 0 [0 %], Open Vel.: 100, Close Vel.: 108 , Max Way: 52000, Opentime 26.0 [s], Closetime 24.0 [s], CoeffCalc: c0: 300, c1 500, c2: 700, c3: 900, c4: 1000, binmask 3, is inverted 0, is locked 0, end stop time enabled 0, webButtons inverted 0, shuttermode 1, motordelay 0
18:46:38 RSL: stat/tasmota_39A0B1/RESULT = {"ShutterCloseDuration1":"24.0"}
Não entendo o que se passa, o ShutterMode dá sempre erro, mesmo agora com as novas configurações.
Pelo que li, antigamente o tasmota tinha que ser compilado em modo de estores, mas as ultimas versões já não é preciso.
Eu também tenho esse erro mas funciona.
Reiniciaste apos o setoption80?
Estou com um problema,
Tenho Sonoff T3 configurados desta forma.
SetOption80 1
backlog interlock 1; interlock 1,2
Rule1 on button3#state=2 do POWER0 0 endon
Rule1 1
ShutterOpenDuration 18
ShutterCloseDuration 15
PowerRetain 1
e o yaml
- platform: mqtt
name: "Estore"
availability_topic: "tele/sonoff/LWT"
payload_available: "Online"
payload_not_available: "Offline"
position_topic: stat/sonoff/SHUTTER1
position_open: 100
position_closed: 0
set_position_topic: "cmnd/sonoff/SHUTTERPosition1"
command_topic: "cmnd/sonoff/Backlog"
payload_open: "ShutterOpen1"
payload_close: "ShutterClose1"
payload_stop: "ShutterStop1"
retain: false
optimistic: false
qos: 1
O T3 está assim, fechado.
Como é que no hassio apparece com 82%
E no frontend com 80%?
Alguém me possa ajudar? Obrigado
Exprimenta dar mais 3 segundos ao closeduration.
Obrigado, já experimentei e parece estar tudo ok.
Precisamos de logs do tasmota.
Fecha-o e manda os ligas e posição no front-end, abre até meio e faz a mesma coisa
Fechado
09:14:30 SHT: Start in dir 0
09:14:30 MQT: stat/sonoff/RESULT = {"POWER2":"ON"}
09:14:30 MQT: stat/sonoff/POWER2 = ON (retained)
09:14:30 MQT: stat/sonoff/RESULT = {"ShutterClose1":0}
09:14:30 SHT: Shutter1 Real 26000, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 0.05 [s], Freq 0
09:14:30 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":100,"Direction":-1,"Target":0}}
09:14:31 SHT: Shutter1 Real 25028, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 0.60 [s], Freq 0
09:14:31 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":96,"Direction":-1,"Target":0}}
09:14:32 SHT: Shutter1 Real 23489, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 1.55 [s], Freq 0
09:14:32 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":90,"Direction":-1,"Target":0}}
09:14:33 SHT: Shutter1 Real 21869, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 2.55 [s], Freq 0
09:14:33 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":84,"Direction":-1,"Target":0}}
09:14:34 SHT: Shutter1 Real 20168, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 3.60 [s], Freq 0
09:14:34 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":78,"Direction":-1,"Target":0}}
09:14:35 SHT: Shutter1 Real 18548, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 4.60 [s], Freq 0
09:14:35 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":71,"Direction":-1,"Target":0}}
09:14:36 MQT: stat/sonoff/STATUS = {"Status":{"Module":0,"DeviceName":"Estore","FriendlyName":["Estore","Estore"],"Topic":"sonoff","ButtonTopic":"0","Power":2,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1}}
09:14:36 MQT: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T23:50:45","StartupUTC":"2020-07-01T08:23:51","Sleep":50,"CfgHolder":4617,"BootCount":10,"BCResetTime":"2020-06-30T15:38:11","SaveCount":76,"SaveAddress":"F8000"}}
09:14:36 MQT: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"8.3.1(tasmota)","BuildDateTime":"2020-06-30T15:36:21","Boot":7,"Core":"2_7_1","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8285","CR":"428/699"}}
09:14:36 MQT: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["WIFI","WIFI"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["0000C029","2805C8000100060000005A00000000000000","40000000","00000000"]}}
09:14:36 MQT: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":587,"Free":416,"Heap":19,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144051","FlashMode":3,"Features":["00000809","8FDAE797","043683A1","000000CD","010013C0","C000F981","00000024"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37","Sensors":"1,2,3,4,5,6"}}
09:14:36 MQT: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff","IPAddress":"000.000.0.0","Gateway":"000.000.0.0","Subnetmask":"255.255.255.0","DNSServer":"000.000.0.0","Mac":"00:00:00:00:00:00","Webserver":2,"WifiConfig":4,"WifiPower":17.0}}
09:14:36 MQT: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.5","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_D941C6","MqttUser":"admin","MqttCount":3,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30}}
09:14:36 MQT: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"2020-07-02T08:14:36","Local":"2020-07-02T09:14:36","StartDST":"2020-03-29T02:00:00","EndDST":"2020-10-25T03:00:00","Timezone":"+01:00","Sunrise":"04:52","Sunset":"20:56"}}
09:14:36 MQT: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"2020-07-02T09:14:36","Shutter1":{"Position":100,"Direction":-1,"Target":0}}}
09:14:36 MQT: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"2020-07-02T09:14:36","Uptime":"0T23:50:45","UptimeSec":85845,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER1":"OFF","POWER2":"ON","Wifi":{"AP":2,"SSId":"WIFI","BSSId":"C6:FB:E4:F4:75:8C","Channel":6,"RSSI":68,"Signal":-66,"LinkCount":1,"Downtime":"0T00:00:03"}}}
09:14:36 SHT: Shutter1 Real 16766, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 5.70 [s], Freq 0
09:14:36 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":64,"Direction":-1,"Target":0}}
09:14:37 SHT: Shutter1 Real 15389, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 6.55 [s], Freq 0
09:14:37 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":59,"Direction":-1,"Target":0}}
09:14:39 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":47,"Direction":-1,"Target":0}}
09:14:40 SHT: Shutter1 Real 10448, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 9.60 [s], Freq 0
09:14:40 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":40,"Direction":-1,"Target":0}}
09:14:41 SHT: Shutter1 Real 8909, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 10.55 [s], Freq 0
09:14:41 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":34,"Direction":-1,"Target":0}}
09:14:42 SHT: Shutter1 Real 7289, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 11.55 [s], Freq 0
09:14:42 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":28,"Direction":-1,"Target":0}}
09:14:43 SHT: Shutter1 Real 5588, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 12.60 [s], Freq 0
09:14:43 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":21,"Direction":-1,"Target":0}}
09:14:44 MQT: stat/sonoff/STATUS = {"Status":{"Module":0,"DeviceName":"Estore","FriendlyName":["Estore","Estore"],"Topic":"sonoff","ButtonTopic":"0","Power":2,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1}}
09:14:44 MQT: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T23:50:53","StartupUTC":"2020-07-01T08:23:51","Sleep":50,"CfgHolder":4617,"BootCount":10,"BCResetTime":"2020-06-30T15:38:11","SaveCount":76,"SaveAddress":"F8000"}}
09:14:44 MQT: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"8.3.1(tasmota)","BuildDateTime":"2020-06-30T15:36:21","Boot":7,"Core":"2_7_1","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8285","CR":"428/699"}}
09:14:44 MQT: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["WIFI","WIFI"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["0000C029","2805C8000100060000005A00000000000000","40000000","00000000"]}}
09:14:44 MQT: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":587,"Free":416,"Heap":21,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144051","FlashMode":3,"Features":["00000809","8FDAE797","043683A1","000000CD","010013C0","C000F981","00000024"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37","Sensors":"1,2,3,4,5,6"}}
09:14:44 MQT: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff","IPAddress":"000.000.0.0","Gateway":"000.000.0.0","Subnetmask":"255.255.255.0","DNSServer":"000.000.0.0","Mac":"00:00:00:00:00:00","Webserver":2,"WifiConfig":4,"WifiPower":17.0}}
09:14:44 MQT: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.5","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_D941C6","MqttUser":"admin","MqttCount":3,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30}}
09:14:44 MQT: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"2020-07-02T08:14:44","Local":"2020-07-02T09:14:44","StartDST":"2020-03-29T02:00:00","EndDST":"2020-10-25T03:00:00","Timezone":"+01:00","Sunrise":"04:52","Sunset":"20:56"}}
09:14:44 MQT: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"2020-07-02T09:14:44","Shutter1":{"Position":100,"Direction":-1,"Target":0}}}
09:14:44 MQT: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"2020-07-02T09:14:44","Uptime":"0T23:50:53","UptimeSec":85853,"Heap":22,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER1":"OFF","POWER2":"ON","Wifi":{"AP":2,"SSId":"WIFI","BSSId":"C6:FB:E4:F4:75:8C","Channel":6,"RSSI":66,"Signal":-67,"LinkCount":1,"Downtime":"0T00:00:03"}}}
09:14:44 SHT: Shutter1 Real 3887, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 13.65 [s], Freq 0
09:14:44 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":15,"Direction":-1,"Target":0}}
09:14:45 SHT: Shutter1 Real 2429, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 14.55 [s], Freq 0
09:14:45 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":9,"Direction":-1,"Target":0}}
09:14:46 SHT: Shutter1 Real 809, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 15.55 [s], Freq 0
09:14:46 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":3,"Direction":-1,"Target":0}}
09:14:46 MQT: stat/sonoff/RESULT = {"POWER2":"OFF"}
09:14:46 MQT: stat/sonoff/POWER2 = OFF (retained)
09:14:46 SHT: Shutter1 Real 0, Start 26000, Stop 0, Dir -1, Delay 0, Rtc 16.10 [s], Freq 0
09:14:46 MQT: stat/sonoff/SHUTTER1 = 0 (retained)
09:14:46 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":0,"Direction":0,"Target":0}}
Meio
09:23:57 SHT: Start in dir 0
09:23:57 MQT: stat/sonoff/RESULT = {"POWER1":"ON"}
09:23:57 MQT: stat/sonoff/POWER1 = ON (retained)
09:23:57 MQT: stat/sonoff/RESULT = {"ShutterPosition1":49}
09:23:57 SHT: Shutter1 Real 0, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 0.05 [s], Freq 0
09:23:57 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":0,"Direction":1,"Target":49}}
09:23:57 SHT: Shutter1 Real 600, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 0.30 [s], Freq 0
09:23:57 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":2,"Direction":1,"Target":49}}
09:23:58 SHT: Shutter1 Real 2600, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 1.30 [s], Freq 0
09:23:58 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":10,"Direction":1,"Target":49}}
09:23:59 SHT: Shutter1 Real 4600, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 2.30 [s], Freq 0
09:23:59 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":18,"Direction":1,"Target":49}}
09:24:00 SHT: Shutter1 Real 6800, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 3.40 [s], Freq 0
09:24:00 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":26,"Direction":1,"Target":49}}
09:24:01 SHT: Shutter1 Real 8600, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 4.30 [s], Freq 0
09:24:01 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":33,"Direction":1,"Target":49}}
09:24:02 SHT: Shutter1 Real 10600, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 5.30 [s], Freq 0
09:24:02 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":41,"Direction":1,"Target":49}}
09:24:03 SHT: Shutter1 Real 12600, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 6.30 [s], Freq 0
09:24:03 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":48,"Direction":1,"Target":49}}
09:24:03 MQT: stat/sonoff/RESULT = {"POWER1":"OFF"}
09:24:03 MQT: stat/sonoff/POWER1 = OFF (retained)
09:24:03 SHT: Shutter1 Real 12800, Start 0, Stop 12740, Dir 1, Delay 0, Rtc 6.40 [s], Freq 0
09:24:03 MQT: stat/sonoff/SHUTTER1 = 49 (retained)
09:24:03 MQT: stat/sonoff/RESULT = {"Shutter1":{"Position":49,"Direction":0,"Target":49}}
09:24:04 MQT: stat/sonoff/STATUS = {"Status":{"Module":0,"DeviceName":"Estore","FriendlyName":["Estore","Estore"],"Topic":"sonoff","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1}}
09:24:04 MQT: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:20","StartupUTC":"2020-07-02T08:23:44","Sleep":50,"CfgHolder":4617,"BootCount":11,"BCResetTime":"2020-06-30T15:38:11","SaveCount":80,"SaveAddress":"F4000"}}
09:24:04 MQT: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"8.3.1(tasmota)","BuildDateTime":"2020-06-30T15:36:21","Boot":7,"Core":"2_7_1","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8285","CR":"428/699"}}
09:24:04 MQT: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["WIFI","WIFI"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["0000C029","2805C8000100060000005A00000000000000","40000000","00000000"]}}
09:24:04 MQT: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":587,"Free":416,"Heap":25,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144051","FlashMode":3,"Features":["00000809","8FDAE797","043683A1","000000CD","010013C0","C000F981","00000024"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37","Sensors":"1,2,3,4,5,6"}}
09:24:04 MQT: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff","IPAddress":"000.000.0.00","Gateway":"000.000.0.00","Subnetmask":"255.255.255.0","DNSServer":"000.000.0.00","Mac":"60:01:94:D9:41:C6","Webserver":2,"WifiConfig":4,"WifiPower":17.0}}
09:24:04 MQT: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.5","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_D941C6","MqttUser":"admin","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30}}
09:24:04 MQT: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"2020-07-02T08:24:04","Local":"2020-07-02T09:24:04","StartDST":"2020-03-29T02:00:00","EndDST":"2020-10-25T03:00:00","Timezone":"+01:00","Sunrise":"04:52","Sunset":"20:56"}}
09:24:04 MQT: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"2020-07-02T09:24:04","Shutter1":{"Position":49,"Direction":0,"Target":49}}}
09:24:04 MQT: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"2020-07-02T09:24:04","Uptime":"0T00:00:20","UptimeSec":20,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":29,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":2,"SSId":"WIFI","BSSId":"C6:FB:E4:F4:75:8C","Channel":6,"RSSI":66,"Signal":-67,"LinkCount":1,"Downtime":"0T00:00:03"}}}
09:24:11 MQT: stat/sonoff/STATUS = {"Status":{"Module":0,"DeviceName":"Estore","FriendlyName":["Estore","Estore"],"Topic":"sonoff","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1}}
09:24:11 MQT: stat/sonoff/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:27","StartupUTC":"2020-07-02T08:23:44","Sleep":50,"CfgHolder":4617,"BootCount":11,"BCResetTime":"2020-06-30T15:38:11","SaveCount":80,"SaveAddress":"F4000"}}
09:24:11 MQT: stat/sonoff/STATUS2 = {"StatusFWR":{"Version":"8.3.1(tasmota)","BuildDateTime":"2020-06-30T15:36:21","Boot":7,"Core":"2_7_1","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8285","CR":"428/699"}}
09:24:12 MQT: stat/sonoff/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["WIFI","WIFI"],"TelePeriod":300,"Resolution":"558180C0","SetOption":["0000C029","2805C8000100060000005A00000000000000","40000000","00000000"]}}
09:24:12 MQT: stat/sonoff/STATUS4 = {"StatusMEM":{"ProgramSize":587,"Free":416,"Heap":25,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144051","FlashMode":3,"Features":["00000809","8FDAE797","043683A1","000000CD","010013C0","C000F981","00000024"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37","Sensors":"1,2,3,4,5,6"}}
09:24:12 MQT: stat/sonoff/STATUS5 = {"StatusNET":{"Hostname":"sonoff","IPAddress":"000.000.0.00","Gateway":"000.000.0.00","Subnetmask":"255.255.255.0","DNSServer":"000.000.0.00","Mac":"60:01:94:D9:41:C6","Webserver":2,"WifiConfig":4,"WifiPower":17.0}}
09:24:12 MQT: stat/sonoff/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.5","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_D941C6","MqttUser":"admin","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30}}
09:24:12 MQT: stat/sonoff/STATUS7 = {"StatusTIM":{"UTC":"2020-07-02T08:24:12","Local":"2020-07-02T09:24:12","StartDST":"2020-03-29T02:00:00","EndDST":"2020-10-25T03:00:00","Timezone":"+01:00","Sunrise":"04:52","Sunset":"20:56"}}
09:24:12 MQT: stat/sonoff/STATUS10 = {"StatusSNS":{"Time":"2020-07-02T09:24:12","Shutter1":{"Position":49,"Direction":0,"Target":49}}}
09:24:12 MQT: stat/sonoff/STATUS11 = {"StatusSTS":{"Time":"2020-07-02T09:24:12","Uptime":"0T00:00:28","UptimeSec":28,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":2,"SSId":"WIFI","BSSId":"C6:FB:E4:F4:75:8C","Channel":6,"RSSI":68,"Signal":-66,"LinkCount":1,"Downtime":"0T00:00:03"}}}
Não tens mais devices com tópico “sonoff”? Não é um bom tópico…
Claro que o tópico não é esse, fui eu que o alterei para postar aqui, mas para cada módulo, tenho um tópici diferente.
Como tens configurado o slider? algo me diz que o step não é 1…
No frontend, está assim:
- entities:
- entity: cover.estore
full_row: false
name: Copa
type: 'custom:slider-entity-row'
E o yaml
- platform: mqtt
name: "Estore"
availability_topic: "tele/sonoff/LWT"
payload_available: "Online"
payload_not_available: "Offline"
position_topic: stat/sonoff/SHUTTER1
position_open: 100
position_closed: 0
set_position_topic: "cmnd/sonoff/SHUTTERPosition1"
command_topic: "cmnd/sonoff/Backlog"
payload_open: "ShutterOpen1"
payload_close: "ShutterClose1"
payload_stop: "ShutterStop1"
retain: false
optimistic: false
qos: 1
O que está a acontecer, é que o hassio não “lê” o que está no tasmota.
O slider no tasmota está a 50% e o hassio dá o valor de 100%
Boas,
Este comando não existe, para activar o ShutterMode 1, é necessário executar os comandos:
Backlog PulseTime1 0; PulseTime2 0 - Interlock OFF
Podem confirmar isso aqui -> https://tasmota.github.io/docs/Blinds-and-Shutters/
@KaYs3r o shuttermode vai ser retirado mas embora o erro apareça o que está no tutorial funciona caso os botoes que estejam ligado ao bh sejam de mola. Eu uso a configuração e funciona em 3 dos meus bh.
@RodolfoVieira não sei, talvez o meu bh tenha um relé pifado :
Só estou a ver essa hipótese…
Estás a usar o bh de estores, certo? Com relés mecanicos…
Sim Bh de estores, interruptor mola com a configuracao acima.
Uma dúvida, como colocaste esse ícon?
Obrigado