i have a sonoff 4 ch , in which i have used 1 gpio for light and the remaining 3 gpio for controlling fan using interlocking mode in tasmota and it is working , showing all the 4 entities as saperate switches ,
now i want to control that fan like that ifan03 , how can i do that ?
2019-08-16 23:12:40,599 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/tele/STATE
2019-08-16 23:12:40,605 INFO --- MqttFX ClientModel : messageArrived() added: message #45 to topic 'lcwss4/tele/STATE'
2019-08-16 23:12:40,623 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/RESULT
2019-08-16 23:12:40,624 INFO --- MqttFX ClientModel : messageArrived() added: message #46 to topic 'lcwss4/stat/RESULT'
2019-08-16 23:12:40,627 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/POWER2
2019-08-16 23:12:40,628 INFO --- MqttFX ClientModel : messageArrived() added: message #47 to topic 'lcwss4/stat/POWER2'
2019-08-16 23:12:41,142 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/tele/STATE
2019-08-16 23:12:41,143 INFO --- MqttFX ClientModel : messageArrived() added: message #48 to topic 'lcwss4/tele/STATE'
2019-08-16 23:12:41,567 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/tele/STATE
2019-08-16 23:12:41,567 INFO --- MqttFX ClientModel : messageArrived() added: message #49 to topic 'lcwss4/tele/STATE'
2019-08-16 23:12:41,586 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/RESULT
2019-08-16 23:12:41,586 INFO --- MqttFX ClientModel : messageArrived() added: message #50 to topic 'lcwss4/stat/RESULT'
2019-08-16 23:12:41,591 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/POWER2
2019-08-16 23:12:41,591 INFO --- MqttFX ClientModel : messageArrived() added: message #51 to topic 'lcwss4/stat/POWER2'
2019-08-16 23:12:41,616 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/tele/STATE
2019-08-16 23:12:41,617 INFO --- MqttFX ClientModel : messageArrived() added: message #52 to topic 'lcwss4/tele/STATE'
2019-08-16 23:12:41,620 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/RESULT
2019-08-16 23:12:41,620 INFO --- MqttFX ClientModel : messageArrived() added: message #53 to topic 'lcwss4/stat/RESULT'
2019-08-16 23:12:41,624 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/POWER3
2019-08-16 23:12:41,624 INFO --- MqttFX ClientModel : messageArrived() added: message #54 to topic 'lcwss4/stat/POWER3'
2019-08-16 23:12:42,549 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/tele/STATE
2019-08-16 23:12:42,550 INFO --- MqttFX ClientModel : messageArrived() added: message #55 to topic 'lcwss4/tele/STATE'
2019-08-16 23:12:42,559 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/RESULT
2019-08-16 23:12:42,560 INFO --- MqttFX ClientModel : messageArrived() added: message #56 to topic 'lcwss4/stat/RESULT'
2019-08-16 23:12:42,560 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/POWER3
2019-08-16 23:12:42,560 INFO --- MqttFX ClientModel : messageArrived() added: message #57 to topic 'lcwss4/stat/POWER3'
2019-08-16 23:12:42,611 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/tele/STATE
2019-08-16 23:12:42,612 INFO --- MqttFX ClientModel : messageArrived() added: message #58 to topic 'lcwss4/tele/STATE'
2019-08-16 23:12:42,615 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/RESULT
2019-08-16 23:12:42,616 INFO --- MqttFX ClientModel : messageArrived() added: message #59 to topic 'lcwss4/stat/RESULT'
2019-08-16 23:12:42,619 INFO --- MqttFX ClientModel : messageArrived() with topic: lcwss4/stat/POWER4
2019-08-16 23:12:42,620 INFO --- MqttFX ClientModel : messageArrived() added: message #60 to topic 'lcwss4/stat/POWER4'
23:12:11 MQT: lcwss4/stat/POWER3 = OFF
23:12:11 MQT: lcwss4/tele/STATE = {"Time":"2019-08-16T23:12:11","Epoch":1565977331,"Uptime":"0T11:49:44","UptimeSec":42584,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","POWER2":"OFF","POWER3":"OFF","POWER4":"ON","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"C8:3A:35:5C:26:62","Channel":11,"RSSI":82,"LinkCount":1,"Downtime":"0T00:00:04"}}
23:12:11 MQT: lcwss4/stat/RESULT = {"POWER4":"ON"}
23:12:11 MQT: lcwss4/stat/POWER4 = ON
23:12:29 MQT: lcwss4/tele/STATE = {"Time":"2019-08-16T23:12:29","Epoch":1565977349,"Uptime":"0T11:50:02","UptimeSec":42602,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"C8:3A:35:5C:26:62","Channel":11,"RSSI":76,"LinkCount":1,"Downtime":"0T00:00:04"}}
23:12:29 MQT: lcwss4/stat/RESULT = {"POWER4":"OFF"}
23:12:29 MQT: lcwss4/stat/POWER4 = OFF
23:12:30 MQT: lcwss4/tele/HASS_STATE = {"Version":"6.6.0.2(5953b8b-sonoff)","BuildDateTime":"2019-07-18T15:01:51","Core":"2_4_2","SDK":"2.2.1(cfd48f3)","Module":"Sonoff 4CH","RestartReason":"Exception","Uptime":"0T11:50:03","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:04","MqttCount":1,"BootCount":1793,"SaveCount":3937,"IPAddress":"192.168.9.84","RSSI":"74","LoadAvg":19}
23:12:41 MQT: lcwss4/tele/STATE = {"Time":"2019-08-16T23:12:41","Epoch":1565977361,"Uptime":"0T11:50:14","UptimeSec":42614,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","POWER2":"ON","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"C8:3A:35:5C:26:62","Channel":11,"RSSI":76,"LinkCount":1,"Downtime":"0T00:00:04"}}
23:12:41 MQT: lcwss4/stat/RESULT = {"POWER2":"ON"}
23:12:41 MQT: lcwss4/stat/POWER2 = ON
23:12:42 MQT: lcwss4/tele/STATE = {"Time":"2019-08-16T23:12:42","Epoch":1565977362,"Uptime":"0T11:50:15","UptimeSec":42615,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","POWER2":"ON","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"C8:3A:35:5C:26:62","Channel":11,"RSSI":74,"LinkCount":1,"Downtime":"0T00:00:04"}}
23:12:42 MQT: lcwss4/tele/STATE = {"Time":"2019-08-16T23:12:42","Epoch":1565977362,"Uptime":"0T11:50:15","UptimeSec":42615,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":28,"POWER1":"ON","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"C8:3A:35:5C:26:62","Channel":11,"RSSI":76,"LinkCount":1,"Downtime":"0T00:00:04"}}
23:12:42 MQT: lcwss4/stat/RESULT = {"POWER2":"OFF"}
23:12:42 MQT: lcwss4/stat/POWER2 = OFF
23:12:42 MQT: lcwss4/tele/STATE = {"Time":"2019-08-16T23:12:42","Epoch":1565977362,"Uptime":"0T11:50:15","UptimeSec":42615,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":28,"POWER1":"ON","POWER2":"OFF","POWER3":"ON","POWER4":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"C8:3A:35:5C:26:62","Channel":11,"RSSI":78,"LinkCount":1,"Downtime":"0T00:00:04"}}
23:12:42 MQT: lcwss4/stat/RESULT = {"POWER3":"ON"}
23:12:42 MQT: lcwss4/stat/POWER3 = ON
23:12:43 MQT: lcwss4/tele/STATE = {"Time":"2019-08-16T23:12:43","Epoch":1565977363,"Uptime":"0T11:50:16","UptimeSec":42616,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":29,"POWER1":"ON","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"C8:3A:35:5C:26:62","Channel":11,"RSSI":74,"LinkCount":1,"Downtime":"0T00:00:04"}}
23:12:43 MQT: lcwss4/stat/RESULT = {"POWER3":"OFF"}
23:12:43 MQT: lcwss4/stat/POWER3 = OFF
23:12:43 MQT: lcwss4/tele/STATE = {"Time":"2019-08-16T23:12:43","Epoch":1565977363,"Uptime":"0T11:50:16","UptimeSec":42616,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":29,"POWER1":"ON","POWER2":"OFF","POWER3":"OFF","POWER4":"ON","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"C8:3A:35:5C:26:62","Channel":11,"RSSI":80,"LinkCount":1,"Downtime":"0T00:00:04"}}
23:12:43 MQT: lcwss4/stat/RESULT = {"POWER4":"ON"}
23:12:43 MQT: lcwss4/stat/POWER4 = ON