Hello,
Since a couple weeks the switches on my smart plug stopped working, I have followed the instructions in this post and the main power switch started working again however the usb switch is not.
This is the log
09:04:54.569 [INFO ] [.internal.handler.MiIoAbstractHandler] - Mi Device model chuangmi.plug.v3 has model config: chuangmi.plug.v3fw. Unexpected unless manual override
09:04:54.575 [DEBUG] [.internal.handler.MiIoAbstractHandler] - Mi Device model chuangmi.plug.v3 identified as: Mi Power-plug v3 (chuangmi.plug.v3). Matches thingtype miio:basic
09:04:54.714 [DEBUG] [.internal.handler.MiIoAbstractHandler] - Received response for 07264C6D type: GET_PROPERTY, result: ["off",false,28,"off"], fullresponse: {"result":["off",false,28,"off"],"id":2}
09:04:54.845 [DEBUG] [.internal.handler.MiIoAbstractHandler] - Received response for 07264C6D type: MIIO_INFO, result: {"life":1863473,"token":"a65ac1ba29dee52cd1d9e42832ca0e5a","mac":"40:31:3C:D7:C1:EC","fw_ver":"1.3.0_92","hw_ver":"ESP8266","uid":"2147483647","model":"chuangmi.plug.v3","wifi_fw_ver":"1.5.0-dev(7f7a714)","ap":{"rssi":-70,"ssid":"Gattolandia","bssid":"D8:0D:17:6B:10:73"},"netif":{"localIp":"192.168.0.144","mask":"255.255.255.0","gw":"192.168.0.1"},"mmfree":8864}, fullresponse: {"result":{"life":1863473,"token":"a65ac1ba29dee52cd1d9e42832ca0e5a","mac":"40:31:3C:D7:C1:EC","fw_ver":"1.3.0_92","hw_ver":"ESP8266","uid":"2147483647","model":"chuangmi.plug.v3","wifi_fw_ver":"1.5.0-dev(7f7a714)","ap":{"rssi":-70,"ssid":"Gattolandia","bssid":"D8:0D:17:6B:10:73"},"netif":{"localIp":"192.168.0.144","mask":"255.255.255.0","gw":"192.168.0.1"},"mmfree":8864},"id":3}
09:05:03.777 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:generic:07264C6D' (miio:basic)
09:05:03.789 [DEBUG] [rnal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":4,"method":"get_prop","params":["power","usb_on","temperature","wifi_led"]} -> 192.168.0.144 (Device: 07264C6D token: A65AC1BAXXXXXXXXXXXXXXXX32CA0E5A Queue: 1)
09:05:04.007 [DEBUG] [.internal.handler.MiIoAbstractHandler] - Received response for 07264C6D type: GET_PROPERTY, result: ["off",false,28,"off"], fullresponse: {"result":["off",false,28,"off"],"id":4}
09:05:21.145 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Locating action for channel power: ON
09:05:21.151 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Sending command set_power["on"]
09:05:21.157 [DEBUG] [rnal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":5,"method":"set_power","params":["on"]} -> 192.168.0.144 (Device: 07264C6D token: A65AC1BAXXXXXXXXXXXXXXXX32CA0E5A Queue: 1)
09:05:21.162 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:generic:07264C6D' (miio:basic)
09:05:21.168 [DEBUG] [rnal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":6,"method":"get_prop","params":["power","usb_on","temperature","wifi_led"]} -> 192.168.0.144 (Device: 07264C6D token: A65AC1BAXXXXXXXXXXXXXXXX32CA0E5A Queue: 2)
09:05:21.385 [DEBUG] [.internal.handler.MiIoAbstractHandler] - Received response for 07264C6D type: SET_POWER, result: ["ok"], fullresponse: {"result":["ok"],"id":5}
09:05:21.517 [DEBUG] [.internal.handler.MiIoAbstractHandler] - Received response for 07264C6D type: GET_PROPERTY, result: ["on",false,28,"off"], fullresponse: {"result":["on",false,28,"off"],"id":6}
09:05:29.889 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Locating action for channel usb: ON
09:05:29.896 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Command not send. Value null
09:05:29.903 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:generic:07264C6D' (miio:basic)
09:05:29.909 [DEBUG] [rnal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":7,"method":"get_prop","params":["power","usb_on","temperature","wifi_led"]} -> 192.168.0.144 (Device: 07264C6D token: A65AC1BAXXXXXXXXXXXXXXXX32CA0E5A Queue: 1)
09:05:30.878 [DEBUG] [.internal.handler.MiIoAbstractHandler] - Received response for 07264C6D type: GET_PROPERTY, result: ["on",false,28,"off"], fullresponse: {"result":["on",false,28,"off"],"id":7}
09:05:33.804 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Periodic update for 'miio:generic:07264C6D' (miio:basic)
09:05:33.815 [DEBUG] [rnal.transport.MiIoAsyncCommunication] - Command added to Queue {"id":8,"method":"get_prop","params":["power","usb_on","temperature","wifi_led"]} -> 192.168.0.144 (Device: 07264C6D token: A65AC1BAXXXXXXXXXXXXXXXX32CA0E5A Queue: 1)
09:05:34.254 [DEBUG] [.internal.handler.MiIoAbstractHandler] - Received response for 07264C6D type: GET_PROPERTY, result: ["on",false,28,"off"], fullresponse: {"result":["on",false,28,"off"],"id":8}
I think the issue is here as the value is null.
09:05:29.889 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Locating action for channel usb: ON
09:05:29.896 [DEBUG] [iio.internal.handler.MiIoBasicHandler] - Command not send. Value null
Any ideas on how to solve this?
Thanks,
r