-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[miio] add support for nwt.derh.wdh318efw1 Internet Dehumidifier #9787
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
{ | ||
"deviceMapping": { | ||
"id": [ | ||
"nwt.derh.wdh318efw1" | ||
], | ||
"channels": [ | ||
{ | ||
"property": "on_off", | ||
"friendlyName": "Power", | ||
"channel": "power", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "Power", | ||
"actions": [ | ||
{ | ||
"command": "set_power", | ||
"parameterType": "ONOFF" | ||
} | ||
], | ||
"category": "switch", | ||
"tags": [ | ||
"Switch" | ||
] | ||
}, | ||
{ | ||
"property": "mode", | ||
"friendlyName": "Mode", | ||
"channel": "mode", | ||
"type": "String", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_mode", | ||
"parameterType": "STRING" | ||
} | ||
], | ||
"tags": [ | ||
"Control" | ||
] | ||
}, | ||
{ | ||
"property": "auto", | ||
"friendlyName": "Auto humidity", | ||
"channel": "autohumidity", | ||
"type": "Number:Dimensionless", | ||
"unit": "PERCENT", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_auto", | ||
"parameterType": "NUMBER" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "fan_st", | ||
"friendlyName": "Fan Speed", | ||
"channel": "fanspeed", | ||
"type": "Number", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_fan_level", | ||
"parameterType": "NUMBER" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "buzzer", | ||
"friendlyName": "Buzzer", | ||
"channel": "buzzer", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_buzzer", | ||
"parameterType": "ONOFF" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "led", | ||
"friendlyName": "LED", | ||
"channel": "led", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_led", | ||
"parameterType": "ONOFF" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "child_lock", | ||
"friendlyName": "Child Lock", | ||
"channel": "childlock", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_child_lock", | ||
"parameterType": "ONOFF" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "humidity", | ||
"friendlyName": "Humidity", | ||
"channel": "humidity", | ||
"type": "Number:Dimensionless", | ||
"unit": "PERCENT", | ||
"refresh": true, | ||
"ChannelGroup": "Status", | ||
"actions": [], | ||
"category": "humidity", | ||
"tags": [ | ||
"Measurement", | ||
"Humidity" | ||
] | ||
}, | ||
{ | ||
"property": "temp", | ||
"friendlyName": "Temperature", | ||
"channel": "temperature", | ||
"type": "Number:Temperature", | ||
"unit": "CELCIUS", | ||
"refresh": true, | ||
"ChannelGroup": "Status", | ||
"actions": [], | ||
"category": "temperature", | ||
"tags": [ | ||
"Measurement", | ||
"Temperature" | ||
] | ||
}, | ||
{ | ||
"property": "tank_full", | ||
"friendlyName": "Tank Full", | ||
"channel": "tankfull", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "Status", | ||
"actions": [] | ||
}, | ||
{ | ||
"property": "compressor_status", | ||
"friendlyName": "Compressor Status", | ||
"channel": "compressorstatus", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "Status", | ||
"actions": [] | ||
}, | ||
{ | ||
"property": "defrost_status", | ||
"friendlyName": "Defrost Status", | ||
"channel": "defroststatus", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "Status", | ||
"actions": [] | ||
}, | ||
{ | ||
"property": "fan_speed", | ||
"friendlyName": "Fan St", | ||
"channel": "fanst", | ||
Comment on lines
+176
to
+177
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are these good friendly names for fan speed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @feodor85 What is the friedly name you see in the app UI for Fan St? any idea what it is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fan Speed is OK |
||
"type": "Number", | ||
"refresh": true, | ||
"ChannelGroup": "Status", | ||
"actions": [] | ||
}, | ||
{ | ||
"property": "alarm", | ||
"friendlyName": "Alarm", | ||
"channel": "alarm", | ||
"type": "String", | ||
"refresh": true, | ||
"ChannelGroup": "Status", | ||
"actions": [], | ||
"tags": [ | ||
"Alarm" | ||
] | ||
} | ||
] | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, why do fan speed and fan status have opposite channel and property names?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that must be an error. I fixed it