diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index 760774118..d1c7fe57b 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -995,9 +995,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | vacuumaction | String | Vacuum Action | | | BatteryLevel | Number | Battery-Battery Level | | -| ChargingState | Number | Battery-Charging State | Value mapping ["1"="Charging","1"="Not Charging","1"="Charging","1"="Go Charging"] | -| Fault | Number | Robot Cleaner-Device Fault | Value mapping ["1"="No faults"] | -| Status | Number | Robot Cleaner-Status | Value mapping ["1"="Sweeping","1"="Idle","1"="Paused","1"="Error","1"="Go Charging","1"="Charging"] | +| ChargingState | Number | Battery-Charging State | Value mapping ["1"="Charging","2"="Not Charging","4"="Charging","5"="Go Charging"] | +| Fault | Number | Robot Cleaner-Device Fault | Value mapping ["0"="No faults"] | +| Status | Number | Robot Cleaner-Status | Value mapping ["1"="Sweeping","2"="Idle","3"="Paused","4"="Error","5"="Go Charging","6"="Charging"] | | BrushLeftTime | Number:Time | Main Cleaning Brush-Brush Left Time | | | BrushLifeLevel | Number | Main Cleaning Brush-Brush Life Level | | | FilterLifeLevel | Number | Filter - Filter Life Level | | @@ -1007,13 +1007,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | WorkMode | Number | clean-workmode | | | Area | String | clean-area | | | Timer | String | clean-timer | | -| Mode | Number | clean-mode | Value mapping ["1"="quiet","1"="standard","1"="medium","1"="strong"] | +| Mode | Number | clean-mode | Value mapping ["0"="quiet","1"="standard","2"="medium","3"="strong"] | | TotalCleanTime | Number:Time | Clean - Total Clean Time | | | TotalCleanTimes | Number | Clean - Total Clean Times | | | TotalCleanArea | Number:Area | Clean - Total Clean Area | | | CleanLogStartTime | Number | Clean - Clean Log Start Time | | | ButtonLed | Number | Clean - Button Led | | -| TaskDone | Number | Clean - Task Done | Value mapping ["1"="","1"=""] | +| TaskDone | Number | Clean - Task Done | Value mapping ["0"="in progress","1"="done"] | | LifeSieve | String | Consumable - Life Sieve | | | LifeBrushSide | String | Consumable - Life Brush Side | | | LifeBrushMain | String | Consumable - Life Brush Main | | @@ -1029,10 +1029,10 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| -| status | Number | Robot Cleaner - Status | Value mapping ["1"="Sweeping","1"="Idle","1"="Paused","1"="Error","1"="Go Charging","1"="Charging"] | -| fault | Number | Robot Cleaner - Device Fault | Value mapping ["1"="No Faults"] | +| status | Number | Robot Cleaner - Status | Value mapping ["1"="Sweeping","2"="Idle","3"="Paused","4"="Error","5"="Go Charging","6"="Charging"] | +| fault | Number | Robot Cleaner - Device Fault | Value mapping ["0"="No Faults"] | | battery-level | Number | Battery - Battery Level | | -| charging-state | Number | Battery - Charging State | Value mapping ["1"="Charging","1"="Not Charging","1"="Go Charging"] | +| charging-state | Number | Battery - Charging State | Value mapping ["1"="Charging","2"="Not Charging","5"="Go Charging"] | | brush-left-time | Number:Time | Main Cleaning Brush - Brush Left Time | | | brush-life-level | Number:Dimensionless | Main Cleaning Brush - Brush Life Level | | | brush-left-time1 | Number:Time | Side Cleaning Brush - Brush Left Time | | @@ -1042,12 +1042,12 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | work-mode | Number | Vacuum Extend - Work Mode | | | cleaning-time | Number:Time | Vacuum Extend - Cleaning Time | | | cleaning-area | Number:Area | Vacuum Extend - Cleaning Area | | -| cleaning-mode | Number | Vacuum Extend - Cleaning Mode | Value mapping ["1"="","1"="","1"="","1"=""] | -| mop-mode | Number | Vacuum Extend - Mop Mode | Value mapping ["1"="low","1"="medium","1"="high"] | -| waterbox-status | Number | Vacuum Extend - Waterbox Status | Value mapping ["1"="","1"=""] | -| task-status | Number | Vacuum Extend - Task Status | Value mapping ["1"="","1"=""] | -| break-point-restart | Number | Vacuum Extend - Break Point Restart | Value mapping ["1"="Off","1"="On"] | -| carpet-press | Number | Vacuum Extend - Carpet Press | Value mapping ["1"="Off","1"="On"] | +| cleaning-mode | Number | Vacuum Extend - Cleaning Mode | Value mapping ["0"="mode 0","1"="mode 1","2"="mode 2","3"="mode 3"] | +| mop-mode | Number | Vacuum Extend - Mop Mode | Value mapping ["1"="low water","2"="medium water","3"="high water"] | +| waterbox-status | Number | Vacuum Extend - Waterbox Status | Value mapping ["0"="Status 0","1"="Status 1"] | +| task-status | Number | Vacuum Extend - Task Status | Value mapping ["0"="Status 0","1"="Status 1"] | +| break-point-restart | Number | Vacuum Extend - Break Point Restart | Value mapping ["0"="Off","1"="On"] | +| carpet-press | Number | Vacuum Extend - Carpet Press | Value mapping ["0"="Off","1"="On"] | | enable | Switch | Do Not Disturb - Enable | | | start-time | String | Do Not Disturb - Start Time | | | end-time | String | Do Not Disturb - End Time | | @@ -1060,7 +1060,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | total-clean-time | Number:Time | Clean Logs - Total Clean Time | | | total-clean-times | Number | Clean Logs - Total Clean Times | | | total-clean-area | Number | Clean Logs - Total Clean Area | | -| save-map-status | Number | Vslam Extend - Save Map Status | Value mapping ["1"="Off","1"="On",-"1"="Not Enabled"] | +| save-map-status | Number | Vslam Extend - Save Map Status | Value mapping ["0"="Off","1"="On","-1"="Not Enabled"] | ### Mi Air Purifier 2S (zhimi.airpurifier.mb1) Channels @@ -1415,7 +1415,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | on1 | Switch | Fan - Power | | | fan-level | Number:Dimensionless | Fan - Fan Level | | | motor-reverse | Switch | Fan - Motor Reverse | | -| mode | Number | Fan - Mode | Value mapping ["1"="Normal Wind","1"="Natural Wind"] | +| mode | Number | Fan - Mode | Value mapping ["1"="Normal Wind","2"="Natural Wind"] | ### HUIZUO Fan Light(2020) (huayi.light.fanwy2) Channels @@ -1426,13 +1426,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | color-temperature | Number:Temperature | Light - Color Temperature | | | on1 | Switch | Fan - Power | | | fan-level | Number:Dimensionless | Fan - Fan Level | | -| mode | Number | Fan - Mode | Value mapping ["1"="Basic","1"="Natural Wind"] | +| mode | Number | Fan - Mode | Value mapping ["0"="Basic","1"="Natural Wind"] | | time-off | Number:Time | Presets - Time Off | | | pre-colortemp | Number:Temperature | Presets - Pre Colortemp | | | pre-brightness | Number:Dimensionless | Presets - Pre Brightness | | | pre-speed | Number:Dimensionless | Presets - Pre Speed | | -| reversal | Number | Presets - Reversal | Value mapping ["1"="Positive","1"="Reverse"] | -| pre-custom | Number | Presets - Pre Custom | Value mapping ["1"="Switch Off","1"="Open"] | +| reversal | Number | Presets - Reversal | Value mapping ["0"="Postitive","1"="Reverse"] | +| pre-custom | Number | Presets - Pre Custom | Value mapping ["0"="Switch Off","1"="Open"] | | flabellum | Switch | Presets - Flabellum | | ### HUIZUO PEGASUS For Living Room (huayi.light.peg091) Channels @@ -1555,7 +1555,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | brightness | Dimmer | Light - Brightness | | | color-temperature | Number:Temperature | Light - Color Temperature | | | on1 | Switch | Heater - Power | | -| fault | Number | Heater - Device Fault | Value mapping ["1"="No Faults"] | +| fault | Number | Heater - Device Fault | Value mapping ["0"="No Faults"] | | heat-level | Number | Heater - Heat Level | | | screenshow | Switch | Other - Screenshow | | @@ -1571,14 +1571,14 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| -| fault | Number | Curtain - Device Fault | Value mapping ["1"="No faults"] | +| fault | Number | Curtain - Device Fault | Value mapping ["0"="No faults"] | | current-position | Number | Curtain - Current Position | | -| status | Number | Curtain - Status | Value mapping ["1"="Stopped","1"="Opening","1"="Closing"] | +| status | Number | Curtain - Status | Value mapping ["0"="Stopped","1"="Opening","2"="Closing"] | | target-position | Number | Curtain - Target Position | | -| manual-enabled | Number | curtain_cfg - Manual Enabled | Value mapping ["1"="Disable","1"="Enable"] | -| polarity | Number | curtain_cfg - Polarity | Value mapping ["1"="Positive","1"="Reverse"] | -| pos-limit | Number | curtain_cfg - Position Limit | Value mapping ["1"="Unlimit","1"="Limit"] | -| en-night-tip-light | Switch | Set Night Tip Light | Value mapping ["1"="Disable","1"="Enable"] | +| manual-enabled | Number | curtain_cfg - Manual Enabled | Value mapping ["0"="Disable","1"="Enable"] | +| polarity | Number | curtain_cfg - Polarity | Value mapping ["0"="Positive","1"="Reverse"] | +| pos-limit | Number | curtain_cfg - Position Limit | Value mapping ["0"="Unlimit","1"="Limit"] | +| en-night-tip-light | Switch | Set Night Tip Light | Value mapping ["0"="Disable","1"="Enable"] | | run-time | Number | curtain_cfg - Run-time | | ### MR.BOND (mrbond.airer.m1pro) Channels @@ -1622,13 +1622,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | vacuumaction | String | Vacuum Action | This channel accepts `start`, `stop`, `findme` and `dock`. | -| status | Number | Robot Cleaner - Status | Value mapping ["1"="Idle","1"="Sweeping","1"="Paused","1"="Error","1"="Charging","1"="Go Charging"] | -| fault | Number | Robot Cleaner - Device Fault | Value mapping ["1"="No Faults","1"="Left-wheel-error","1"="Right-whelel-error","1"="Cliff-error","1"="Low-battery-error","1"="Bump-error","1"="Main-brush-error","1"="Side-brush-error","1"="Fan-motor-error","1"="Dustbin-error","1"="Charging-error","1"="No-wate-error","1"="Pick-up-error"] | -| mode | Number | Robot Cleaner - Mode | Value mapping ["1"="Auto-clean","1"="Spot-clean","1"="Wallflow-clean"] | -| target-water-level | Number | Robot Cleaner - Target Water Level | Value mapping ["1"="Level1","1"="Level2","1"="Level3"] | -| fan-level | Number | Robot Cleaner - Fan Level | Value mapping ["1"="Silence","1"="Stanrd","1"="Middle","1"="Enchance"] | +| status | Number | Robot Cleaner - Status | Value mapping ["1"="Idle","2"="Sweeping","3"="Paused","4"="Error","5"="Charging","6"="Go Charging"] | +| fault | Number | Robot Cleaner - Device Fault | Value mapping ["0"="No Faults","1"="Left-wheel-error","2"="Right-wheel-error","3"="Cliff-error","4"="Low-battery-error","5"="Bump-error","6"="Main-brush-error","7"="Side-brush-error","8"="Fan-motor-error","9"="Dustbin-error","10"="Charging-error","11"="No-wate-error","12"="Pick-up-error"] | +| mode | Number | Robot Cleaner - Mode | Value mapping ["1"="Auto-clean","2"="Spot-clean","3"="Wallflow-clean"] | +| target-water-level | Number | Robot Cleaner - Target Water Level | Value mapping ["1"="Level1","2"="Level2","3"="Level3"] | +| fan-level | Number | Robot Cleaner - Fan Level | Value mapping ["0"="Silence","1"="Stanrd","2"="Middle","3"="Enchance"] | | battery-level | Number | Battery - Battery Level | | -| charging-state | Number | Battery - Charging State | Value mapping ["1"="Not-charging","1"="Charging","1"="Charging-competely"] | +| charging-state | Number | Battery - Charging State | Value mapping ["0"="Not-charging","1"="Charging","2"="Charging-competely"] | | alarm | Switch | Alarm - Alarm | | | volume | Number | Alarm - Volume | | | filter-life-level | Number | Filter - Filter Life Level | | @@ -1642,9 +1642,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | total-clean-area | Number | Clean Record - Total Clean Area | | | total-clean-time | Number | Clean Record - Total Clean Time | | | total-clean-count | Number | Clean Record - Total Clean Count | | -| language | Number | Language - Language | Value mapping ["1"="English","1"="简体中文","1"="Español","1"="Русский","1"="Italiano","1"="Français","1"="Deutsch","1"="한국어","1"="Polski"] | +| language | Number | Language - Language | Value mapping ["0"="English","1"="简体中文","2"="Español","3"="Русский","4"="Italiano","5"="Français","6"="Deutsch","7"="한국어","8"="Polski"] | | not-disturb-switch | Switch | Language - Not Disturb Switch | | -| mop-status | Number | Other Status - Mop Status | Value mapping ["1"="MopUninstall","1"="MopInstall"] | +| mop-status | Number | Other Status - Mop Status | Value mapping ["0"="Mop Uninstall","1"="Mop Install"] | ### SCISHARE Smart Capsule Coffee Machine (scishare.coffee.s1102) Channels @@ -3396,10 +3396,10 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | First Switch - Switch Status | | -| mode | Number | First Switch Default - Mode | Value mapping ["1"="Off","1"="On"] | +| mode | Number | First Switch Default - Mode | Value mapping ["0"="Off","1"="On"] | | mode1 | Number | First Switch - Delay | | | on1 | Switch | Second Switch - Switch Status | | -| mode2 | Number | Second Switch Default - Mode | Value mapping ["1"="Off","1"="On"] | +| mode2 | Number | Second Switch Default - Mode | Value mapping ["0"="Off","1"="On"] | | mode3 | Number | Second Switch Service - Delay | | | interlock | Switch | Extension - Interlock | | | flash | Number | Extension - Flash | | @@ -3487,7 +3487,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | brightness | Dimmer | Indicator Light - Brightness | | | physical-controls-locked | Switch | Physical Control Locked - Physical Controls Locked | | | use-time | Number:Time | Private-Service - Use Time | | -| country-code | Number | Private-Service - Country-Code | Value mapping ["1"="Unknown","1"="US","1"="KR","1"="EU","1"="JP","1"="RU","1"="CN","1"="HK","1"="TW","1"="FR"] | +| country-code | Number | Private-Service - Country-Code | Value mapping ["0"="Unknown","1"="US","82"="KR","44"="EU","81"="JP","7"="RU","86"="CN","852"="HK","886"="TW","33"="FR"] | diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json index 4eacc6542..cb060fac0 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json @@ -167,7 +167,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"Charging\",\"1\"\u003d\"Not Charging\",\"1\"\u003d\"Charging\",\"1\"\u003d\"Go Charging\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Charging\",\"2\"\u003d\"Not Charging\",\"4\"\u003d\"Charging\",\"5\"\u003d\"Go Charging\"]" }, { "property": "fault", @@ -187,7 +187,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"No faults\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"No faults\"]" }, { "property": "status", @@ -227,7 +227,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"1\"\u003d\"Idle\",\"1\"\u003d\"Paused\",\"1\"\u003d\"Error\",\"1\"\u003d\"Go Charging\",\"1\"\u003d\"Charging\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"2\"\u003d\"Idle\",\"3\"\u003d\"Paused\",\"4\"\u003d\"Error\",\"5\"\u003d\"Go Charging\",\"6\"\u003d\"Charging\"]" }, { "property": "brush-left-time", @@ -395,7 +395,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"quiet\",\"1\"\u003d\"standard\",\"1\"\u003d\"medium\",\"1\"\u003d\"strong\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"quiet\",\"1\"\u003d\"standard\",\"2\"\u003d\"medium\",\"3\"\u003d\"strong\"]" }, { "property": "total-clean-time", @@ -491,7 +491,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"\",\"1\"\u003d\"\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"in progress\",\"1\"\u003d\"done\"]" }, { "property": "life-sieve", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json index dc51fb39d..4e69c4b34 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json @@ -44,7 +44,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"1\"\u003d\"Idle\",\"1\"\u003d\"Paused\",\"1\"\u003d\"Error\",\"1\"\u003d\"Go Charging\",\"1\"\u003d\"Charging\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"2\"\u003d\"Idle\",\"3\"\u003d\"Paused\",\"4\"\u003d\"Error\",\"5\"\u003d\"Go Charging\",\"6\"\u003d\"Charging\"]" }, { "property": "fault", @@ -64,7 +64,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"No Faults\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"No Faults\"]" }, { "property": "battery-level", @@ -107,7 +107,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"Charging\",\"1\"\u003d\"Not Charging\",\"1\"\u003d\"Go Charging\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Charging\",\"2\"\u003d\"Not Charging\",\"5\"\u003d\"Go Charging\"]" }, { "property": "brush-left-time", @@ -277,7 +277,7 @@ "parameterType": "STRING" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"\",\"1\"\u003d\"\",\"1\"\u003d\"\",\"1\"\u003d\"\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"mode 0\",\"1\"\u003d\"mode 1\",\"2\"\u003d\"mode 2\",\"3\"\u003d\"mode 3\"]" }, { "property": "mop-mode", @@ -309,7 +309,7 @@ "parameterType": "STRING" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"low\",\"1\"\u003d\"medium\",\"1\"\u003d\"high\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"low water\",\"2\"\u003d\"medium water\",\"3\"\u003d\"high water\"]" }, { "property": "waterbox-status", @@ -333,7 +333,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"\",\"1\"\u003d\"\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Status 0\",\"1\"\u003d\"Status 1\"]" }, { "property": "task-status", @@ -357,7 +357,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"\",\"1\"\u003d\"\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Status 0\",\"1\"\u003d\"Status 1\"]" }, { "property": "break-point-restart", @@ -385,7 +385,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\"]" }, { "property": "carpet-press", @@ -413,7 +413,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\"]" }, { "property": "enable", @@ -621,7 +621,7 @@ "parameterType": "STRING" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\",-\"1\"\u003d\"Not Enabled\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\",\"-1\"\u003d\"Not Enabled\"]" } ], "readmeComment": "Identified manual actions for execution\u003cbr /\u003e`action{\"did\":\"vacuum-start-sweep\",\"siid\":2,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"vacuum-stop-sweeping\",\"siid\":2,\"aiid\":2,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"battery-start-charge\",\"siid\":3,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"brush-cleaner-reset-brush-life\",\"siid\":9,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"brush-cleaner-reset-brush-life\",\"siid\":10,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"filter-reset-filter-life\",\"siid\":11,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"vacuum-extend-start-clean\",\"siid\":4,\"aiid\":1,\"in\":[10.0]}`\u003cbr /\u003e`action{\"did\":\"vacuum-extend-stop-clean\",\"siid\":4,\"aiid\":2,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"map-map-req\",\"siid\":6,\"aiid\":1,\"in\":[2.0]}`\u003cbr /\u003e`action{\"did\":\"map-update-map\",\"siid\":6,\"aiid\":2,\"in\":[4.0]}`\u003cbr /\u003e`action{\"did\":\"audio-position\",\"siid\":7,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"audio-play-sound\",\"siid\":7,\"aiid\":2,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"time-delete-timer\",\"siid\":8,\"aiid\":1,\"in\":[3.0]}`\u003cbr /\u003ePlease test and feedback if they are working to they can be linked to a channel.", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy-miot.json index d32603ba0..70e80bae6 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy-miot.json @@ -156,7 +156,7 @@ } ], "category": "fan", - "readmeComment": "Value mapping [\"1\"\u003d\"Normal Wind\",\"1\"\u003d\"Natural Wind\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Normal Wind\",\"2\"\u003d\"Natural Wind\"]" } ], "experimental": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy2-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy2-miot.json index 5b0c468db..6c4791c6b 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy2-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy2-miot.json @@ -140,7 +140,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Basic\",\"1\"\u003d\"Natural Wind\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Basic\",\"1\"\u003d\"Natural Wind\"]" }, { "property": "time-off", @@ -256,7 +256,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Positive\",\"1\"\u003d\"Reverse\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Postitive\",\"1\"\u003d\"Reverse\"]" }, { "property": "pre-custom", @@ -284,7 +284,7 @@ "parameterType": "STRING" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Switch Off\",\"1\"\u003d\"Open\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Switch Off\",\"1\"\u003d\"Open\"]" }, { "property": "flabellum", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.wyheat-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.wyheat-miot.json index 5b82f0fc3..77b46ceff 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.wyheat-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.wyheat-miot.json @@ -115,7 +115,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"No Faults\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"No Faults\"]" }, { "property": "heat-level", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/lumi.curtain.hagl05-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/lumi.curtain.hagl05-miot.json index 25642223a..83be7ed29 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/lumi.curtain.hagl05-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/lumi.curtain.hagl05-miot.json @@ -25,7 +25,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"No faults\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"No faults\"]" }, { "property": "current-position", @@ -65,7 +65,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"Stopped\",\"1\"\u003d\"Opening\",\"1\"\u003d\"Closing\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Stopped\",\"1\"\u003d\"Opening\",\"2\"\u003d\"Closing\"]" }, { "property": "target-position", @@ -110,7 +110,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Disable\",\"1\"\u003d\"Enable\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Disable\",\"1\"\u003d\"Enable\"]" }, { "property": "polarity", @@ -139,7 +139,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Positive\",\"1\"\u003d\"Reverse\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Positive\",\"1\"\u003d\"Reverse\"]" }, { "property": "pos-limit", @@ -168,7 +168,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Unlimit\",\"1\"\u003d\"Limit\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Unlimit\",\"1\"\u003d\"Limit\"]" }, { "property": "en-night-tip-light", @@ -197,7 +197,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Disable\",\"1\"\u003d\"Enable\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Disable\",\"1\"\u003d\"Enable\"]" }, { "property": "run-time", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/mijia.vacuum.v2-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/mijia.vacuum.v2-miot.json index 2b47c1e7e..816dbe697 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/mijia.vacuum.v2-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/mijia.vacuum.v2-miot.json @@ -118,7 +118,7 @@ "tags": [ "Status" ], - "readmeComment": "Value mapping [\"1\"\u003d\"Idle\",\"1\"\u003d\"Sweeping\",\"1\"\u003d\"Paused\",\"1\"\u003d\"Error\",\"1\"\u003d\"Charging\",\"1\"\u003d\"Go Charging\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Idle\",\"2\"\u003d\"Sweeping\",\"3\"\u003d\"Paused\",\"4\"\u003d\"Error\",\"5\"\u003d\"Charging\",\"6\"\u003d\"Go Charging\"]" }, { "property": "fault", @@ -190,7 +190,7 @@ "tags": [ "Status" ], - "readmeComment": "Value mapping [\"1\"\u003d\"No Faults\",\"1\"\u003d\"Left-wheel-error\",\"1\"\u003d\"Right-whelel-error\",\"1\"\u003d\"Cliff-error\",\"1\"\u003d\"Low-battery-error\",\"1\"\u003d\"Bump-error\",\"1\"\u003d\"Main-brush-error\",\"1\"\u003d\"Side-brush-error\",\"1\"\u003d\"Fan-motor-error\",\"1\"\u003d\"Dustbin-error\",\"1\"\u003d\"Charging-error\",\"1\"\u003d\"No-wate-error\",\"1\"\u003d\"Pick-up-error\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"No Faults\",\"1\"\u003d\"Left-wheel-error\",\"2\"\u003d\"Right-wheel-error\",\"3\"\u003d\"Cliff-error\",\"4\"\u003d\"Low-battery-error\",\"5\"\u003d\"Bump-error\",\"6\"\u003d\"Main-brush-error\",\"7\"\u003d\"Side-brush-error\",\"8\"\u003d\"Fan-motor-error\",\"9\"\u003d\"Dustbin-error\",\"10\"\u003d\"Charging-error\",\"11\"\u003d\"No-wate-error\",\"12\"\u003d\"Pick-up-error\"]" }, { "property": "mode", @@ -226,7 +226,7 @@ "tags": [ "Control" ], - "readmeComment": "Value mapping [\"1\"\u003d\"Auto-clean\",\"1\"\u003d\"Spot-clean\",\"1\"\u003d\"Wallflow-clean\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Auto-clean\",\"2\"\u003d\"Spot-clean\",\"3\"\u003d\"Wallflow-clean\"]" }, { "property": "target-water-level", @@ -263,7 +263,7 @@ "tags": [ "Setpoint" ], - "readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"1\"\u003d\"Level2\",\"1\"\u003d\"Level3\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\"]" }, { "property": "fan-level", @@ -303,7 +303,7 @@ "tags": [ "Setpoint" ], - "readmeComment": "Value mapping [\"1\"\u003d\"Silence\",\"1\"\u003d\"Stanrd\",\"1\"\u003d\"Middle\",\"1\"\u003d\"Enchance\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Silence\",\"1\"\u003d\"Stanrd\",\"2\"\u003d\"Middle\",\"3\"\u003d\"Enchance\"]" }, { "property": "battery-level", @@ -346,7 +346,7 @@ "tags": [ "Status" ], - "readmeComment": "Value mapping [\"1\"\u003d\"Not-charging\",\"1\"\u003d\"Charging\",\"1\"\u003d\"Charging-competely\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Not-charging\",\"1\"\u003d\"Charging\",\"2\"\u003d\"Charging-competely\"]" }, { "property": "alarm", @@ -584,7 +584,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"English\",\"1\"\u003d\"简体中文\",\"1\"\u003d\"Español\",\"1\"\u003d\"Русский\",\"1\"\u003d\"Italiano\",\"1\"\u003d\"Français\",\"1\"\u003d\"Deutsch\",\"1\"\u003d\"한국어\",\"1\"\u003d\"Polski\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"English\",\"1\"\u003d\"简体中文\",\"2\"\u003d\"Español\",\"3\"\u003d\"Русский\",\"4\"\u003d\"Italiano\",\"5\"\u003d\"Français\",\"6\"\u003d\"Deutsch\",\"7\"\u003d\"한국어\",\"8\"\u003d\"Polski\"]" }, { "property": "not-disturb-switch", @@ -625,7 +625,7 @@ }, "refresh": true, "actions": [], - "readmeComment": "Value mapping [\"1\"\u003d\"MopUninstall\",\"1\"\u003d\"MopInstall\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Mop Uninstall\",\"1\"\u003d\"Mop Install\"]" } ], "readmeComment": "This device may be overwhelmed if refresh is too frequent, slowing down the responses. Suggest to increase refresh time to 120 seconds" diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.switch.sw1-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.switch.sw1-miot.json index e99b393e1..b6c94fdb2 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.switch.sw1-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.switch.sw1-miot.json @@ -53,7 +53,7 @@ "tags": [ "Switch" ], - "readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\"]" }, { "property": "mode1", @@ -126,7 +126,7 @@ "tags": [ "Switch" ], - "readmeComment": "Value mapping [\"1\"\u003d\"Off\",\"1\"\u003d\"On\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Off\",\"1\"\u003d\"On\"]" }, { "property": "mode3", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json index b5ff59c48..adce2c2da 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json @@ -220,7 +220,7 @@ "parameterType": "NUMBER" } ], - "readmeComment": "Value mapping [\"1\"\u003d\"Unknown\",\"1\"\u003d\"US\",\"1\"\u003d\"KR\",\"1\"\u003d\"EU\",\"1\"\u003d\"JP\",\"1\"\u003d\"RU\",\"1\"\u003d\"CN\",\"1\"\u003d\"HK\",\"1\"\u003d\"TW\",\"1\"\u003d\"FR\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Unknown\",\"1\"\u003d\"US\",\"82\"\u003d\"KR\",\"44\"\u003d\"EU\",\"81\"\u003d\"JP\",\"7\"\u003d\"RU\",\"86\"\u003d\"CN\",\"852\"\u003d\"HK\",\"886\"\u003d\"TW\",\"33\"\u003d\"FR\"]" } ], "experimental": true