[miio] add support for viomi.waterheater.e1 (#9798)

* [miio] add support for viomi.waterheater.e1
* Update bundles/org.openhab.binding.miio/src/main/resources/database/viomi.waterheater.e1.json
* [miio] fix typo in readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel
2021-01-15 21:31:56 +01:00
committed by GitHub
parent f3f957e3bd
commit afb9ea1870
3 changed files with 179 additions and 0 deletions

View File

@@ -197,6 +197,7 @@ public enum MiIoDevices {
ROCKROBO_VACUUM_S6("rockrobo.vacuum.s6", "Roborock Vacuum S6", THING_TYPE_VACUUM),
ROBOROCK_VACUUM_S6("roborock.vacuum.s6", "Roborock S6", THING_TYPE_VACUUM),
ROBOROCK_VACUUM_E2("roborock.vacuum.e2", "Roborock Xiaowa E Series Vacuum v2", THING_TYPE_UNSUPPORTED),
VIOMI_WATERHEATER_E1("viomi.waterheater.e1", "VIOMI Internet electric water heater 1A (60L)", THING_TYPE_BASIC),
VIOMI_VACUUM_V6("viomi.vacuum.v6", "Viomi Cleaning Robot V-RVCLM21B", THING_TYPE_BASIC),
VIOMI_VACUUM_V7("viomi.vacuum.v7", "Mi Robot Vacuum-Mop P", THING_TYPE_BASIC),
VIOMI_VACUUM_V8("viomi.vacuum.v8", "Mi Robot Vacuum-Mop P", THING_TYPE_BASIC),

View File

@@ -0,0 +1,144 @@
{
"deviceMapping": {
"id": [
"viomi.waterheater.e1"
],
"propertyMethod": "get_prop",
"maxProperties": 1,
"channels": [
{
"property": "washStatus",
"friendlyName": "Wash Status",
"channel": "washStatus",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_washStatus",
"parameterType": "NUMBER"
}
]
},
{
"property": "velocity",
"friendlyName": "Velocity",
"channel": "velocity",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_velocity",
"parameterType": "NUMBER"
}
]
},
{
"property": "waterTemp",
"friendlyName": "Water Temperature",
"channel": "waterTemp",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"actions": [
{
"command": "set_temp",
"parameterType": "NUMBER"
}
],
"category": "temperature",
"tags": [
"Measurement",
"Temperature"
]
},
{
"property": "targetTemp",
"friendlyName": "Target Temperature",
"channel": "targetTemp",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"actions": [
{
"command": "set_temp",
"parameterType": "NUMBER"
}
],
"category": "temperature",
"tags": [
"Setpoint",
"Temperature"
]
},
{
"property": "errStatus",
"friendlyName": "Error Status",
"channel": "errStatus",
"type": "Number",
"refresh": true,
"actions": []
},
{
"property": "hotWater",
"friendlyName": "Hot Water",
"channel": "hotWater",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_hotWater",
"parameterType": "NUMBER"
}
]
},
{
"property": "needClean",
"friendlyName": "Need Clean",
"channel": "needClean",
"type": "Switch",
"refresh": true,
"actions": []
},
{
"property": "modeType",
"friendlyName": "Mode",
"channel": "modeType",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_mode",
"parameterType": "NUMBER"
}
]
},
{
"property": "appointStart",
"friendlyName": "Appoint Start",
"channel": "appointStart",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_appointStart",
"parameterType": "NUMBER"
}
]
},
{
"property": "appointEnd",
"friendlyName": "Appoint End",
"channel": "appointEnd",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_appointEnd",
"parameterType": "NUMBER"
}
]
}
],
"experimental": true
}
}