Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of Power attribute of Xiaomi Outlet Pro(xiaomi.plug.mcn003) #1343

Open
mickeyyeung opened this issue May 3, 2024 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@mickeyyeung
Copy link

I've noticed that the Xiaomi Wall Socket Pro—the upgraded version of the original Xiaomi Smart Wall Socket—is recognized in Gateway 3 as ID 17885. However, it only displays a single switch and is missing other features such as current power readings. Thanks!
https://home.miot-spec.com/spec/xiaomi.plug.mcn003

@AlexxIT AlexxIT added the enhancement New feature or request label May 3, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 3, 2024

You need to write the converter yourself

@mickeyyeung
Copy link
Author

mickeyyeung commented May 3, 2024

You need to write the converter yourself

Thanks for your reply!
It's identical to model 13521, only differing in color. I'm hoping for official support in the next release.

{
17885: ["Xiaomi", "Xiaomi Smart Wall Outlet Pro", "XMZNCZ03LM", "xiaomi.plug.mcn003"],
"spec": [
BaseConv("outlet", "switch", mi="2.p.1"),
MapConv("power_on_state", "select", mi="2.p.2", map={0: "default", 1: "off", 2: "on"}),
MapConv("fault", "sensor", mi="2.p.3", map={0: "No Faults", 1: "Over Temperature", 2: "Overload", 3: "Overload And Overheat"}),
MathConv("power", "sensor", mi="3.p.6", round=1),
BaseConv("led", "switch", mi="4.p.1"),
],
}

@AlexxIT AlexxIT self-assigned this May 5, 2024
EddieLi97 added a commit to EddieLi97/XiaomiGateway3 that referenced this issue May 6, 2024
add energy child_lock power_consumption_accumulation_way for XMZNCZ01LM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants