-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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>
- Loading branch information
Showing
3 changed files
with
179 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
144 changes: 144 additions & 0 deletions
144
bundles/org.openhab.binding.miio/src/main/resources/database/viomi.waterheater.e1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} |