I have a few Xiaomu Mi Smart Plug Sockets the one’s with two USB sockets and power measurements.
They’re discovered as ‘chuangmi.plug.v3’
I have grabbed the token and I see them ONLINE.
I am able to chart the safety Temperature attribute which changes regularly and thats about where the good news ends.
Paper UI discovers them and I add them as things, I have then added items in my xiaomi.tems file see example below"
// enhanced plug
Switch BR4_Test3 "Advanced Test 3" ["Switchable"] {channel="miio:generic:0580B701:power" }
Switch BR4_Test3_USB "Advanced Mi USB" ["Switchable"] {channel="miio:generic:0580B701:usb" }
Number BR4_Test3_RSSI "Advanced Mi RSSI" {channel="miio:generic:0580B701:network#rssi" }
Number BR4_Test3_Temp "Advanced Mi Temp" (chartpersist) {channel="miio:generic:0580B701:temperature" }
I do not see any values returned for RSSI.
I cannot switch the power on or off
I cannot switch the USB on or Off
As stated previously I do see state changes for temperature.
I see no power measurement attributes
And It is thought to be ‘Generic’ device, which seems wrong, no evidence just does not fit with the enhanced device capabilities.
Another oddity is that the USB type is described as ‘OnOffType’ instead of Switch on the Paper UI thing page.
I would love to integrate these properly with my OH2.3 or OH 2.4 system.
Thanks
Paul
EDIT @ marcel_verpaalen could you offer some advice please? Thanks.