Xiaomi Zigbee Socket DTH(with Power, Energy meter)

This DTH is available for the sockets shown below. It is not perfect yet.

This DTH works well both SmartThings Classic App and SmartThings New App.

[Xiaomi Curtain DTH GitHub Repository Integration - Owner : shin4299 / Name : XiaomiSJ ]

Code Link

1 Like

Working! Great.

Everything working great. Only one problem, temp sensor is shown in Smartthings tiles but cannot be added as temperature sensor in Webcore. Energy meter is working fine in both.

Edit: I was able to add temperature in webcore too by adding [DeviceName:temp] but has to be refreshed manually to update

is there anyway to set the default state in case of power outage? I want to delay certain device from turning on too quickly after a power outage.

Any chance to add support to the new Xiaomi ZNCZ04LM - Xiaomi Mijia EU Smart Socket Zigbee

Which have better connectivity to EU sockets than the Chianese version .