This binding is used to control Xiaomi products implementing the Mi IO protocol.
This is a set of wifi devices from Xiaomi that are part of the Mi Ecosystem which is branded as MiJia.
Generic type for discovered devices. Once the token is available and the device model is determined, this ThingType will automatically change to the appropriate ThingType
miio:vacuum
For Xiaomi Robot Vacuum products
miio:basic
For several basic devices like yeelights, airpurifiers. Channels and commands are determined by database configuration
miio:unsupported
For experimenting with other devices which use the Mi IO protocol
The binding has 2 methods for discovering devices. Depending on your network setup and the device model, your device may be discovered by one or both methods. If both methods discover your device, 2 discovery results may be in your inbox for the same device.
The mDNS discovery method will discover your device type, but will not discover a (required) token.
The basic discovery will not discovery the type, but will discover a token for models that support it.
Accept only one of the 2 discovery results, the alternate one can further be ignored.
The binding needs a token from the Xiaomi Mi Device in order to be able to control it.
The binding can retrieve the needed tokens from the Xiaomi cloud.
Go to the binding config page and enter your cloud username and password.
The server(s) to which your devices are connected need to be entered as well.
Use the one of the regional servers: cn,de,i2,tw,ru,sg,us.
Multiple servers can be separated with comma, or leave blank to test all known servers.
Some devices provide the token upon discovery. This may depends on the firmware version.
If the device does not discover your token, it needs to be retrieved from the Mi Home app.
The easiest way to obtain tokens is to browse through log files of the Mi Home app version 5.4.49 for Android.
It seems that version was released with debug messages turned on by mistake.
An APK file with the old version can be easily found using one of the popular web search engines.
After downgrading use a file browser to navigate to directory SmartHome/logs/plug_DeviceManager, then open the most recent file and search for the token. When finished, use Google Play to get the most recent version back.
For iPhone, use an un-encrypted iTunes-Backup and unpack it and use a sqlite tool to view the files in it:
Then search in "RAW, com.xiaomi.home," for "USERID_mihome.sqlite" and look for the 32-digit-token or 96 digit encrypted token.
Note. The Xiaomi devices change the token when inclusion is done. Hence if you get your token after reset and than include it with the Mi Home app, the token will change.
No binding configuration is required. However to enable cloud functionality enter your Xiaomi username, password and server(s).
The list of the known countries and related severs is here.
After successful Xiaomi cloud login, the binding will use the connection to retrieve the required device tokens from the cloud.
For Xiaomi vacuums the map can be visualized in openHAB using the cloud connection.
Each Xiaomi device (thing) needs the IP address and token configured to be able to communicate. See discovery for details.
Optional configuration is the refresh interval and the deviceID. Note that the deviceID is automatically retrieved when it is left blank.
The configuration for model is automatically retrieved from the device in normal operation.
However, for devices that are unsupported, you may override the value and try to use a model string from a similar device to experimentally use your device with the binding.
Parameter
Type
Required
Description
host
text
true
Device IP address
token
text
true
Token for communication (in Hex)
deviceId
text
true
Device ID number for communication (in Hex)
model
text
false
Device model string, used to determine the subtype
refreshInterval
integer
false
Refresh interval for refreshing the data in seconds. (0=disabled)
timeout
integer
false
Timeout time in milliseconds
communication
test
false
Communicate direct or via cloud (options values: 'direct', 'cloud')
Note: Suggest to use the cloud communication only for devices that require it. It is unknown at this time if Xiaomi has a rate limit or other limitations on the cloud usage. e.g. if having many devices would trigger some throttling from the cloud side.
Thing miio:basic:light "My Light" [ host="192.168.x.x", token="put here your token", deviceId="0326xxxx", model="philips.light.bulb", communication="direct" ]
or in case of unknown models include the model information of a similar device that is supported:
Identified manual actions for execution action{"did":"battery-start-charge","siid":2,"aiid":1,"in":[]} action{"did":"vacuum-start-sweep","siid":3,"aiid":1,"in":[]} action{"did":"vacuum-stop-sweeping","siid":3,"aiid":2,"in":[]} action{"did":"brush-cleaner-reset-brush-life","siid":26,"aiid":1,"in":[]} action{"did":"filter-reset-filter-life","siid":27,"aiid":1,"in":[]} action{"did":"brush-cleaner-reset-brush-life","siid":28,"aiid":1,"in":[]} action{"did":"clean-start-clean","siid":18,"aiid":1,"in":[]} action{"did":"clean-stop-clean","siid":18,"aiid":2,"in":[]} action{"did":"remote-start-remote","siid":21,"aiid":1,"in":[1.0, 2.0]} action{"did":"remote-stop-remote","siid":21,"aiid":2,"in":[]} action{"did":"remote-exit-remote","siid":21,"aiid":3,"in":[]} action{"did":"map-map-req","siid":23,"aiid":1,"in":[2.0]} action{"did":"audio-position","siid":24,"aiid":1,"in":[]} action{"did":"audio-set-voice","siid":24,"aiid":2,"in":[]} action{"did":"audio-play-sound","siid":24,"aiid":3,"in":[]} Please test and feedback if they are working to they can be linked to a channel. Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses
Identified manual actions for execution action{"did":"vacuum-start-sweep","siid":2,"aiid":1,"in":[]} action{"did":"vacuum-stop-sweeping","siid":2,"aiid":2,"in":[]} action{"did":"battery-start-charge","siid":3,"aiid":1,"in":[]} action{"did":"brush-cleaner-reset-brush-life","siid":9,"aiid":1,"in":[]} action{"did":"brush-cleaner-reset-brush-life","siid":10,"aiid":1,"in":[]} action{"did":"filter-reset-filter-life","siid":11,"aiid":1,"in":[]} action{"did":"vacuum-extend-start-clean","siid":4,"aiid":1,"in":[10.0]} action{"did":"vacuum-extend-stop-clean","siid":4,"aiid":2,"in":[]} action{"did":"map-map-req","siid":6,"aiid":1,"in":[2.0]} action{"did":"map-update-map","siid":6,"aiid":2,"in":[4.0]} action{"did":"audio-position","siid":7,"aiid":1,"in":[]} action{"did":"audio-play-sound","siid":7,"aiid":2,"in":[]} action{"did":"time-delete-timer","siid":8,"aiid":1,"in":[3.0]} Please test and feedback if they are working to they can be linked to a channel. Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses
Used to control the gateway itself. Use the mihome binding to control devices connected to the Xiaomi gateway. Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses
Used to control the gateway itself. Use the mihome binding to control devices connected to the Xiaomi gateway. Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses
Used to control the gateway itself. Use the mihome binding to control devices connected to the Xiaomi gateway. Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses
Used to control the gateway itself. Use the mihome binding to control devices connected to the Xiaomi gateway. Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses
This device does not allow for regular querying for the status. Hence the status is not updated for the action channels. Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses
This device does not allow for regular querying for the status. Hence the status is not updated for the action channels. Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses
Newer devices may not yet be supported.
However, many devices share large similarities with existing devices.
The binding allows to try/test if your new device is working with database files of older devices as well.
There are 2 ways to get unsupported devices working, by overriding the model with the model of a supported item or by test all known properties to see which are supported by your device.
Replace the model with the model which is already supported.
For this, first remove your unsupported thing. Manually add a miio:basic thing.
Besides the regular configuration (like ip address, token) the modelId needs to be provided.
Normally the modelId is populated with the model of your device, however in this case, use the modelId of a similar device.
Look at the openHAB forum, or the openHAB GitHub repository for the modelId of similar devices.
The unsupported device has a test channel with switch. When switching on, all known properties are tested, this may take few minutes.
A test report will be shown in the log and is saved in the userdata/miio folder with a filename test-[your model]-[timestamp].txt.
If supported properties are found, an experimental database file is saved to the conf/misc/miio folder (see below chapter).
The thing will go offline and will come back online as basic device, supporting the found channels.
The database file may need to be modified to display the right channel names.
After validation, please share the logfile and json files on the openHAB forum or the openHAB GitHub to build future support for this model.
# Advanced: adding local database files to support new devices
Things using the basic handler (miio:basic things) are driven by json 'database' files.
This instructs the binding which channels to create, which properties and actions are associated with the channels etc.
The conf/misc/miio (e.g. in Linux /opt/openhab/conf/misc/miio/) is scanned for database files and will be used for your devices.
During the start of the binding the exact path used in your system will be printed in the debug log.
Watch for a line containing Started miio basic devices local databases watch service. Watching for database files at path: …
If this folder is created after the start of the binding, you may need to restart the binding (or openHAB) to be able to use the local files.
Note that local database files take preference over build-in ones, hence if a json file is local and in the database the local file will be used.
For format, please check the current database files in openHAB GitHub.
Are you using text config?
Make sure you define all the fields as per above example.
Or, better, try to get it going first without text config.
The token is wrong
The most common cause of non responding devices is a wrong token.
When you reset, or change wifi or update firmware, and possibly other cases as well, the token may change. You'll need to get a refreshed token.
My token is coming from the cloud... how can it be wrong?
Is not very likely but still can happen._
This can happen e.g. if your device is defined on multiple country servers.
The binding may pull the token from the wrong country server.
First try to get the token from all country servers by leave the county setting empty.
If that does not solve it, you define only the country that the device is on in the binding config page (where the cloud userid/pwd is entered) this should pull the right token.
You have the same device added multiple times.
The communication each time send a sequential number.
If the device is twice defined, the numbers received by the device are no longer sequential and it will stop responding for some time.
The connection is not too good, so you have timeouts etc.
Position your device closer to wifi / check in the mihome app if the wifi strength is good enough.
Alternatively as described above, double check for multiple connections for single device.
Your device is on a different subnet?
This is in most cases not working.
Firmware of the device don't accept commands coming from other subnets.
Set the communication in the thing configuration to 'cloud'.
Cloud connectivity is not working
The most common problem is a wrong userId/password. Try to fix your userId/password.
If it still fails, you're bit out of luck. You may try to restart OpenHAB (not just the binding) to clean the cookies.
As the cloud logon process is still little understood, your only luck might be to enable trace logging and see if you can translate the Chinese error code that it returns.
My Roborock vacuum is not found or not reacting
Did you link the vacuum with the Roborock app?
This won't work, the Roborock app is using a different communication method.
Reset your vacuum and connect it to the Xiaomi MiHome app.
This will change the communication method and the Mi IO binding can communicate with the vacuum.
Depending on the device, different channels are available.
All devices have available the following channels (marked as advanced) besides the device specific channels
Channel
Type
Description
network#ssid
String
Network SSID
network#bssid
String
Network BSSID
network#rssi
Number
Network RSSI
network#life
Number
Network Life
actions#commands
String
send commands direct. see below
actions#rpc
String
send commands via cloud. see below
note: the ADVANCED actions#commands and actions#rpc channels can be used to send commands that are not automated via the binding. This is available for all devices
e.g. openhab:send actionCommand 'upd_timer["1498595904821", "on"]' would enable a pre-configured timer. See https://github.com/marcelrv/XiaomiRobotVacuumProtocol(opens new window) for all known available commands.
This channel accepts start, stop, findme and dock.
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 ["0"="Not-charging","1"="Charging","2"="Charging-competely"]
alarm
Switch
Alarm - Alarm
volume
Number
Alarm - Volume
filter-life-level
Number
Filter - Filter Life Level
filter-left-time
Number
Filter - Filter Left Time
brush-life-level
Number
Brush Cleaner - Brush Life Level
brush-left-time
Number
Brush Cleaner - Brush Left Time
brush-life-level1
Number
Brush Cleaner - Brush Life Level
brush-left-time1
Number
Brush Cleaner - Brush Left Time
clean-area
Number:Area
Clean Record - Clean Area
clean-time
Number:Time
Clean Record - Clean Time
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 ["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 ["0"="Mop Uninstall","1"="Mop Install"]
GroupgVac"Xiaomi Robot Vacuum" <fan>GroupgVacStat"Status Details" <status> (gVac)GroupgVacCons"Consumables Usage"<line-increase> (gVac)GroupgVacDND"Do Not Disturb Settings" <moon> (gVac)GroupgVacHist"Cleaning History" <calendar> (gVac)GroupgVacLast"Last Cleaning Details" <calendar> (gVac)StringactionControl"Vacuum Control"{channel="miio:vacuum:034F0E45:actions#control"}StringactionCommand"Vacuum Command"{channel="miio:vacuum:034F0E45:actions#commands"}NumberstatusBat"Battery Level [%1.0f%%]" <battery> (gVac,gVacStat){channel="miio:vacuum:034F0E45:status#battery"}NumberstatusArea"Cleaned Area [%1.0fm²]" <zoom> (gVac,gVacStat){channel="miio:vacuum:034F0E45:status#clean_area"}NumberstatusTime"Cleaning Time [%1.0f']" <clock> (gVac,gVacStat){channel="miio:vacuum:034F0E45:status#clean_time"}StringstatusError"Error [%s]" <error> (gVac,gVacStat){channel="miio:vacuum:034F0E45:status#error_code"}NumberstatusFanPow"Fan Power [%1.0f%%]" <signal> (gVacStat){channel="miio:vacuum:034F0E45:status#fan_power"}NumberstatusClean"In Cleaning Status [%1.0f]" <switch> (gVacStat){channel="miio:vacuum:034F0E45:status#in_cleaning"}SwitchstatusDND"DND Activated" (gVacStat){channel="miio:vacuum:034F0E45:status#dnd_enabled"}NumberstatusStatus"Status [%1.0f]" <status> (gVacStat){channel="miio:vacuum:034F0E45:status#state"}NumberconsumableMain"Main Brush [%1.0f]" (gVacCons){channel="miio:vacuum:034F0E45:consumables#main_brush_time"}NumberconsumableSide"Side Brush [%1.0f]" (gVacCons){channel="miio:vacuum:034F0E45:consumables#side_brush_time"}NumberconsumableFilter"Filter Time[%1.0f]" (gVacCons){channel="miio:vacuum:034F0E45:consumables#filter_time"}NumberconsumableSensor"Sensor [%1.0f]" (gVacCons){channel="miio:vacuum:034F0E45:consumables#sensor_dirt_time"}SwitchdndFunction"DND Function" <moon> (gVacDND){channel="miio:vacuum:034F0E45:dnd#dnd_function"}StringdndStart"DND Start Time [%s]" <clock> (gVacDND){channel="miio:vacuum:034F0E45:dnd#dnd_start"}StringdndEnd"DND End Time [%s]"<clock-on> (gVacDND){channel="miio:vacuum:034F0E45:dnd#dnd_end"}NumberhistoryArea"Total Cleaned Area [%1.0fm²]" <zoom> (gVacHist){channel="miio:vacuum:034F0E45:history#total_clean_area"}StringhistoryTime"Total Clean Time [%s]" <clock> (gVacHist){channel="miio:vacuum:034F0E45:history#total_clean_time"}NumberhistoryCount"Total # Cleanings [%1.0f]" <office> (gVacHist){channel="miio:vacuum:034F0E45:history#total_clean_count"}StringlastStart"Last Cleaning Start time [%s]" <clock> (gVacLast){channel="miio:vacuum:034F0E45:cleaning#last_clean_start_time"}StringlastEnd"Last Cleaning End time [%s]" <clock> (gVacLast){channel="miio:vacuum:034F0E45:cleaning#last_clean_end_time"}NumberlastArea"Last Cleaned Area [%1.0fm²]" <zoom> (gVacLast){channel="miio:vacuum:034F0E45:cleaning#last_clean_area"}NumberlastTime"Last Clean Time [%1.0f']" <clock> (gVacLast){channel="miio:vacuum:034F0E45:cleaning#last_clean_duration"}NumberlastError"Error [%s]" <error> (gVacLast){channel="miio:vacuum:034F0E45:cleaning#last_clean_error"}SwitchlastCompleted"Last Cleaning Completed" (gVacLast){channel="miio:vacuum:034F0E45:cleaning#last_clean_finish"}Imagemap"Cleaning Map" (gVacLast){channel="miio:vacuum:034F0E45:cleaning#map"}
Note: cleaning map is only available with cloud access.
Additionally depending on the capabilities of your robot vacuum other channels may be enabled at runtime
Type
Channel
Description
Switch
status#water_box_status
Water Box Status
Switch
status#lock_status
Lock Status
Number
status#water_box_mode
Water Box Mode
Switch
status#water_box_carriage_status
Water Box Carriage Status
Switch
status#mop_forbidden_enable
Mop Forbidden
Number
actions#segment
Room Clean (enter room #)
# Mi PM2.5 Air Quality Monitor (zhimi.airmonitor.v1) item file lines
note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_airmonitor"Mi PM2.5 Air Quality Monitor" <status>Switchpower"Power" (G_airmonitor){channel="miio:basic:airmonitor:power"}Numberaqi"Air Quality Index" (G_airmonitor){channel="miio:basic:airmonitor:aqi"}Numberbattery"Battery" (G_airmonitor){channel="miio:basic:airmonitor:battery"}Switchusb_state"USB State" (G_airmonitor){channel="miio:basic:airmonitor:usb_state"}Switchtime_state"Time State" (G_airmonitor){channel="miio:basic:airmonitor:time_state"}Switchnight_state"Night State" (G_airmonitor){channel="miio:basic:airmonitor:night_state"}Numbernight_begin"Night Begin Time" (G_airmonitor){channel="miio:basic:airmonitor:night_begin"}Numbernight_end"Night End Time" (G_airmonitor){channel="miio:basic:airmonitor:night_end"}
# Mi Multifunction Air Monitor (cgllc.airmonitor.b1) item file lines
note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Qingping Air Monitor (cgllc.airmonitor.s1) item file lines
note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_airmonitor"Qingping Air Monitor" <status>Numberbattery"Battery" (G_airmonitor){channel="miio:basic:airmonitor:battery"}Numberpm25"PM2.5" (G_airmonitor){channel="miio:basic:airmonitor:pm25"}Numberco2"CO2" (G_airmonitor){channel="miio:basic:airmonitor:co2"}Numbertvoc"tVOC" (G_airmonitor){channel="miio:basic:airmonitor:tvoc"}Numberhumidity"Humidity" (G_airmonitor){channel="miio:basic:airmonitor:humidity"}Number:Temperaturetemperature"Temperature" (G_airmonitor){channel="miio:basic:airmonitor:temperature"}
note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier v1 (zhimi.airpurifier.v1) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier v2 (zhimi.airpurifier.v2) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier v3 (zhimi.airpurifier.v3) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier v5 (zhimi.airpurifier.v5) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier Pro v6 (zhimi.airpurifier.v6) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_airpurifier"Mi Air Purifier Pro v6" <status>Switchpower"Power" (G_airpurifier){channel="miio:basic:airpurifier:power"}Stringmode"Mode" (G_airpurifier){channel="miio:basic:airpurifier:mode"}Numberhumidity"Humidity" (G_airpurifier){channel="miio:basic:airpurifier:humidity"}Numberaqi"Air Quality Index" (G_airpurifier){channel="miio:basic:airpurifier:aqi"}Numberaverageaqi"Average Air Quality Index" (G_airpurifier){channel="miio:basic:airpurifier:averageaqi"}Switchled"LED Status" (G_airpurifier){channel="miio:basic:airpurifier:led"}Numberbright"LED Brightness" (G_airpurifier){channel="miio:basic:airpurifier:bright"}Numberfiltermaxlife"Filter Max Life" (G_airpurifier){channel="miio:basic:airpurifier:filtermaxlife"}Number:Timefilterhours"Filter Hours used" (G_airpurifier){channel="miio:basic:airpurifier:filterhours"}Number:Timeusedhours"Run Time" (G_airpurifier){channel="miio:basic:airpurifier:usedhours"}Numbermotorspeed"Motor Speed" (G_airpurifier){channel="miio:basic:airpurifier:motorspeed"}Numberfilterlife"Filter Life" (G_airpurifier){channel="miio:basic:airpurifier:filterlife"}Numberfavoritelevel"Favorite Level" (G_airpurifier){channel="miio:basic:airpurifier:favoritelevel"}Number:Temperaturetemperature"Temperature" (G_airpurifier){channel="miio:basic:airpurifier:temperature"}Numberpurifyvolume"Purivied Volume" (G_airpurifier){channel="miio:basic:airpurifier:purifyvolume"}Switchchildlock"Child Lock" (G_airpurifier){channel="miio:basic:airpurifier:childlock"}
# Mi Air Purifier Pro v7 (zhimi.airpurifier.v7) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_airpurifier"Mi Air Purifier Pro v7" <status>Switchpower"Power" (G_airpurifier){channel="miio:basic:airpurifier:power"}Stringmode"Mode" (G_airpurifier){channel="miio:basic:airpurifier:mode"}Numberhumidity"Humidity" (G_airpurifier){channel="miio:basic:airpurifier:humidity"}Numberaqi"Air Quality Index" (G_airpurifier){channel="miio:basic:airpurifier:aqi"}Numberaverageaqi"Average Air Quality Index" (G_airpurifier){channel="miio:basic:airpurifier:averageaqi"}Numbervolume"Volume" (G_airpurifier){channel="miio:basic:airpurifier:volume"}Switchled"LED Status" (G_airpurifier){channel="miio:basic:airpurifier:led"}Numberilluminance"Illuminance" (G_airpurifier){channel="miio:basic:airpurifier:illuminance"}Numberfiltermaxlife"Filter Max Life" (G_airpurifier){channel="miio:basic:airpurifier:filtermaxlife"}Number:Timefilterhours"Filter Hours used" (G_airpurifier){channel="miio:basic:airpurifier:filterhours"}Numbermotorspeed"Motor Speed" (G_airpurifier){channel="miio:basic:airpurifier:motorspeed"}Numbermotorspeed2"Motor Speed 2" (G_airpurifier){channel="miio:basic:airpurifier:motorspeed2"}Numberfilterlife"Filter Life" (G_airpurifier){channel="miio:basic:airpurifier:filterlife"}Numberfavoritelevel"Favorite Level" (G_airpurifier){channel="miio:basic:airpurifier:favoritelevel"}Number:Temperaturetemperature"Temperature" (G_airpurifier){channel="miio:basic:airpurifier:temperature"}Switchchildlock"Child Lock" (G_airpurifier){channel="miio:basic:airpurifier:childlock"}
# Mi Air Purifier 2 (mini) (zhimi.airpurifier.m1) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier 2 (zhimi.airpurifier.m2) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier 2S (zhimi.airpurifier.ma1) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier 2S (zhimi.airpurifier.ma2) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier 3 (zhimi.airpurifier.ma4) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier 3/3H (zhimi.airpurifier.mb3) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier Super (zhimi.airpurifier.sa1) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier MAX / MAX Pro (zhimi.airpurifier.sa2) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_airpurifier"Mi Air Purifier MAX / MAX Pro" <status>Switchpower"Power" (G_airpurifier){channel="miio:basic:airpurifier:power"}Stringmode"Mode" (G_airpurifier){channel="miio:basic:airpurifier:mode"}Numberhumidity"Humidity" (G_airpurifier){channel="miio:basic:airpurifier:humidity"}Numberaqi"Air Quality Index" (G_airpurifier){channel="miio:basic:airpurifier:aqi"}Numberaverageaqi"Average Air Quality Index" (G_airpurifier){channel="miio:basic:airpurifier:averageaqi"}Switchled"LED Status" (G_airpurifier){channel="miio:basic:airpurifier:led"}Switchbuzzer"Buzzer Status" (G_airpurifier){channel="miio:basic:airpurifier:buzzer"}Numberfiltermaxlife"Filter Max Life" (G_airpurifier){channel="miio:basic:airpurifier:filtermaxlife"}Number:Timefilterhours"Filter Hours used" (G_airpurifier){channel="miio:basic:airpurifier:filterhours"}Number:Timeusedhours"Run Time" (G_airpurifier){channel="miio:basic:airpurifier:usedhours"}Numbermotorspeed"Motor Speed" (G_airpurifier){channel="miio:basic:airpurifier:motorspeed"}Numberfilterlife"Filter Life" (G_airpurifier){channel="miio:basic:airpurifier:filterlife"}Numberfavoritelevel"Favorite Level" (G_airpurifier){channel="miio:basic:airpurifier:favoritelevel"}Number:Temperaturetemperature"Temperature" (G_airpurifier){channel="miio:basic:airpurifier:temperature"}Numberpurifyvolume"Purivied Volume" (G_airpurifier){channel="miio:basic:airpurifier:purifyvolume"}Switchchildlock"Child Lock" (G_airpurifier){channel="miio:basic:airpurifier:childlock"}
# Mi Fresh Air Ventilator (dmaker.airfresh.t2017) item file lines
note: Autogenerated example. Replace the id (airfresh) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_airfresh"Mi Fresh Air Ventilator" <status>Switchpower"Power" (G_airfresh){channel="miio:basic:airfresh:power"}StringairFreshMode"Mode" (G_airfresh){channel="miio:basic:airfresh:airFreshMode"}SwitchairFreshPTCPower"PTC" (G_airfresh){channel="miio:basic:airfresh:airFreshPTCPower"}StringairFreshPtcLevel"PTC Level" (G_airfresh){channel="miio:basic:airfresh:airFreshPtcLevel"}SwitchairFreshPTCStatus"PTC Status" (G_airfresh){channel="miio:basic:airfresh:airFreshPTCStatus"}StringairFreshDisplayDirection"Screen direction" (G_airfresh){channel="miio:basic:airfresh:airFreshDisplayDirection"}SwitchairFreshDisplay"Display" (G_airfresh){channel="miio:basic:airfresh:airFreshDisplay"}SwitchairFreshChildLock"Child Lock" (G_airfresh){channel="miio:basic:airfresh:airFreshChildLock"}SwitchairFreshSound"Sound" (G_airfresh){channel="miio:basic:airfresh:airFreshSound"}NumberairFreshPM25"PM2.5" (G_airfresh){channel="miio:basic:airfresh:airFreshPM25"}NumberairFreshCO2"CO2" (G_airfresh){channel="miio:basic:airfresh:airFreshCO2"}NumberairFreshCurrentSpeed"Current Speed" (G_airfresh){channel="miio:basic:airfresh:airFreshCurrentSpeed"}NumberairFreshFavoriteSpeed"Favorite Speed" (G_airfresh){channel="miio:basic:airfresh:airFreshFavoriteSpeed"}NumberairFreshTemperature"Temperature Outside" (G_airfresh){channel="miio:basic:airfresh:airFreshTemperature"}NumberairFreshFilterPercents"Filter Percents Remaining" (G_airfresh){channel="miio:basic:airfresh:airFreshFilterPercents"}NumberairFreshFilterDays"Filter Days Remaining" (G_airfresh){channel="miio:basic:airfresh:airFreshFilterDays"}NumberairFreshFilterProPercents"Filter Pro Percents Remaining" (G_airfresh){channel="miio:basic:airfresh:airFreshFilterProPercents"}NumberairFreshFilterProDays"Filter Pro Days Remaining" (G_airfresh){channel="miio:basic:airfresh:airFreshFilterProDays"}StringairFreshResetFilter"Reset Filter" (G_airfresh){channel="miio:basic:airfresh:airFreshResetFilter"}
# Mi Fresh Air Ventilator A1-150 (dmaker.airfresh.a1) item file lines
note: Autogenerated example. Replace the id (airfresh) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_vacuum"Mi Robot Vacuum Mop 1C STYTJ01ZHM" <status>Stringvacuumaction"Vacuum Action" (G_vacuum){channel="miio:basic:vacuum:vacuumaction"}NumberBatteryLevel"Battery-Battery Level" (G_vacuum){channel="miio:basic:vacuum:BatteryLevel"}NumberChargingState"Battery-Charging State" (G_vacuum){channel="miio:basic:vacuum:ChargingState"}NumberFault"Robot Cleaner-Device Fault" (G_vacuum){channel="miio:basic:vacuum:Fault"}NumberStatus"Robot Cleaner-Status" (G_vacuum){channel="miio:basic:vacuum:Status"}Number:TimeBrushLeftTime"Main Cleaning Brush-Brush Left Time" (G_vacuum){channel="miio:basic:vacuum:BrushLeftTime"}NumberBrushLifeLevel"Main Cleaning Brush-Brush Life Level" (G_vacuum){channel="miio:basic:vacuum:BrushLifeLevel"}NumberFilterLifeLevel"Filter - Filter Life Level" (G_vacuum){channel="miio:basic:vacuum:FilterLifeLevel"}Number:TimeFilterLeftTime"Filter-Filter Left Time" (G_vacuum){channel="miio:basic:vacuum:FilterLeftTime"}Number:TimeBrushLeftTime1"Side Cleaning Brush-Brush Left Time" (G_vacuum){channel="miio:basic:vacuum:BrushLeftTime1"}NumberBrushLifeLevel1"Side Cleaning Brush-Brush Life Level" (G_vacuum){channel="miio:basic:vacuum:BrushLifeLevel1"}NumberWorkMode"clean-workmode" (G_vacuum){channel="miio:basic:vacuum:WorkMode"}StringArea"clean-area" (G_vacuum){channel="miio:basic:vacuum:Area"}StringTimer"clean-timer" (G_vacuum){channel="miio:basic:vacuum:Timer"}NumberMode"clean-mode" (G_vacuum){channel="miio:basic:vacuum:Mode"}Number:TimeTotalCleanTime"Clean - Total Clean Time" (G_vacuum){channel="miio:basic:vacuum:TotalCleanTime"}NumberTotalCleanTimes"Clean - Total Clean Times" (G_vacuum){channel="miio:basic:vacuum:TotalCleanTimes"}Number:Area TotalCleanArea"Clean - Total Clean Area" (G_vacuum){channel="miio:basic:vacuum:TotalCleanArea"}NumberCleanLogStartTime"Clean - Clean Log Start Time" (G_vacuum){channel="miio:basic:vacuum:CleanLogStartTime"}NumberButtonLed"Clean - Button Led" (G_vacuum){channel="miio:basic:vacuum:ButtonLed"}NumberTaskDone"Clean - Task Done" (G_vacuum){channel="miio:basic:vacuum:TaskDone"}StringLifeSieve"Consumable - Life Sieve" (G_vacuum){channel="miio:basic:vacuum:LifeSieve"}StringLifeBrushSide"Consumable - Life Brush Side" (G_vacuum){channel="miio:basic:vacuum:LifeBrushSide"}StringLifeBrushMain"Consumable - Life Brush Main" (G_vacuum){channel="miio:basic:vacuum:LifeBrushMain"}SwitchEnable"Annoy - Enable" (G_vacuum){channel="miio:basic:vacuum:Enable"}StringStartTime"Annoy - Start Time" (G_vacuum){channel="miio:basic:vacuum:StartTime"}StringStopTime"Annoy - Stop Time" (G_vacuum){channel="miio:basic:vacuum:StopTime"}StringMapView"Map - Map View" (G_vacuum){channel="miio:basic:vacuum:MapView"}NumberVolume"Audio - Volume" (G_vacuum){channel="miio:basic:vacuum:Volume"}StringVoicePackets"Audio - Voice Packets" (G_vacuum){channel="miio:basic:vacuum:VoicePackets"}StringTimeZone"Time - Time Zone" (G_vacuum){channel="miio:basic:vacuum:TimeZone"}
note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier 2S (zhimi.airpurifier.mb1) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier 2S (zhimi.airpurifier.mc1) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Air Purifier 2H (zhimi.airpurifier.mc2) item file lines
note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Smartmi DC Pedestal Fan (zhimi.fan.v2) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Smartmi DC Pedestal Fan (zhimi.fan.v3) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Smartmi Inverter Pedestal Fan (zhimi.fan.za1) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Smartmi Standing Fan 2 (zhimi.fan.za3) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Smartmi Standing Fan 2S (zhimi.fan.za4) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Smart Standing Fan 2 Lite (dmaker.fan.1c) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_fan"Mi Smart Standing Fan 2 Lite" <status>StringManufacturer"Device Information-Device Manufacturer" (G_fan){channel="miio:basic:fan:Manufacturer"}StringModel"Device Information-Device Model" (G_fan){channel="miio:basic:fan:Model"}StringSerialNumber"Device Information-Device Serial Number" (G_fan){channel="miio:basic:fan:SerialNumber"}StringFirmwareRevision"Device Information-Current Firmware Version" (G_fan){channel="miio:basic:fan:FirmwareRevision"}SwitchOn"Fan-Switch Status" (G_fan){channel="miio:basic:fan:On"}NumberFanLevel"Fan-Fan Level" (G_fan){channel="miio:basic:fan:FanLevel"}SwitchHorizontalSwing"Fan-Horizontal Swing" (G_fan){channel="miio:basic:fan:HorizontalSwing"}NumberMode"Fan-Mode" (G_fan){channel="miio:basic:fan:Mode"}NumberOffDelayTime"Fan-Power Off Delay Time" (G_fan){channel="miio:basic:fan:OffDelayTime"}SwitchAlarm"Fan-Alarm" (G_fan){channel="miio:basic:fan:Alarm"}SwitchBrightness"Fan-Brightness" (G_fan){channel="miio:basic:fan:Brightness"}SwitchPhysicalControlsLocked"Physical Control Locked-Physical Control Locked" (G_fan){channel="miio:basic:fan:PhysicalControlsLocked"}
# Mi Smart Standing Fan 1X (dmaker.fan.p5) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Smart Standing Fan 1C (dmaker.fan.p8) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_fan"Mi Smart Standing Fan 1C" <status>StringManufacturer"Device Information-Device Manufacturer" (G_fan){channel="miio:basic:fan:Manufacturer"}StringModel"Device Information-Device Model" (G_fan){channel="miio:basic:fan:Model"}StringSerialNumber"Device Information-Device Serial Number" (G_fan){channel="miio:basic:fan:SerialNumber"}StringFirmwareRevision"Device Information-Current Firmware Version" (G_fan){channel="miio:basic:fan:FirmwareRevision"}SwitchOn"Fan-Switch Status" (G_fan){channel="miio:basic:fan:On"}NumberFanLevel"Fan-Fan Level" (G_fan){channel="miio:basic:fan:FanLevel"}SwitchHorizontalSwing"Fan-Horizontal Swing" (G_fan){channel="miio:basic:fan:HorizontalSwing"}NumberMode"Fan-Mode" (G_fan){channel="miio:basic:fan:Mode"}NumberOffDelayTime"Fan-Power Off Delay Time" (G_fan){channel="miio:basic:fan:OffDelayTime"}SwitchAlarm"Fan-Alarm" (G_fan){channel="miio:basic:fan:Alarm"}SwitchBrightness"Fan-Brightness" (G_fan){channel="miio:basic:fan:Brightness"}SwitchPhysicalControlsLocked"Physical Control Locked-Physical Control Locked" (G_fan){channel="miio:basic:fan:PhysicalControlsLocked"}
# Mi Smart Tower Fan (dmaker.fan.p9) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Smart Standing Fan 2 (dmaker.fan.p10) item file lines
note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_fan"Mi Smart Standing Fan 2" <status>StringManufacturer"Device Information-Device Manufacturer" (G_fan){channel="miio:basic:fan:Manufacturer"}StringModel"Device Information-Device Model" (G_fan){channel="miio:basic:fan:Model"}StringSerialNumber"Device Information-Device Serial Number" (G_fan){channel="miio:basic:fan:SerialNumber"}StringFirmwareRevision"Device Information-Current Firmware Version" (G_fan){channel="miio:basic:fan:FirmwareRevision"}SwitchOn"Fan-Switch Status" (G_fan){channel="miio:basic:fan:On"}NumberFanLevel"Fan-Fan Level" (G_fan){channel="miio:basic:fan:FanLevel"}NumberMode"Fan-Mode" (G_fan){channel="miio:basic:fan:Mode"}SwitchHorizontalSwing"Fan-Horizontal Swing" (G_fan){channel="miio:basic:fan:HorizontalSwing"}NumberHorizontalAngle"Fan-Horizontal Angle" (G_fan){channel="miio:basic:fan:HorizontalAngle"}SwitchAlarm"Fan-Alarm" (G_fan){channel="miio:basic:fan:Alarm"}NumberOffDelayTime"Fan-Power Off Delay Time" (G_fan){channel="miio:basic:fan:OffDelayTime"}SwitchBrightness"Fan-Brightness" (G_fan){channel="miio:basic:fan:Brightness"}NumberMotorControl"Fan-Motor Control" (G_fan){channel="miio:basic:fan:MotorControl"}NumberSpeedLevel"Fan-Speed Level" (G_fan){channel="miio:basic:fan:SpeedLevel"}SwitchPhysicalControlsLocked"Physical Control Locked-Physical Control Locked" (G_fan){channel="miio:basic:fan:PhysicalControlsLocked"}
# Mi smart Home Gateway Hub v1 (lumi.gateway.v1) item file lines
note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi smart Home GatewayHub v2 (lumi.gateway.v2) item file lines
note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi mart Home Gateway Hub v3 (lumi.gateway.v3) item file lines
note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_gateway"Mi mart Home Gateway Hub v3" <status>SwitchtelnetEnable"Enable Telnet" (G_gateway){channel="miio:basic:gateway:telnetEnable"}NumberdoorbellVol"Doorbell Volume" (G_gateway){channel="miio:basic:gateway:doorbellVol"}NumbergatewayVol"Gateway Volume" (G_gateway){channel="miio:basic:gateway:gatewayVol"}NumberalarmingVol"Alarming Volume" (G_gateway){channel="miio:basic:gateway:alarmingVol"}StringdoorbellPush"Doorbell Push" (G_gateway){channel="miio:basic:gateway:doorbellPush"}
# Mi Air Purifier virtual (lumi.gateway.mgl03) item file lines
note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# HUIZUO ARIES For Bedroom (huayi.light.ari013) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO ARIES For Bedroom" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO ARIES For Living Room (huayi.light.aries) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO ARIES For Living Room" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO Fan Light (huayi.light.fanwy) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO Fan Light" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}Switchon1"Fan - Power" (G_light){channel="miio:basic:light:on1"}Number:Dimensionlessfan-level "Fan - Fan Level" (G_light){channel="miio:basic:light:fan-level"}Switchmotor-reverse "Fan - Motor Reverse" (G_light){channel="miio:basic:light:motor-reverse"}Numbermode"Fan - Mode" (G_light){channel="miio:basic:light:mode"}
# HUIZUO Fan Light(2020) (huayi.light.fanwy2) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO Fan Light(2020)" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}Switchon1"Fan - Power" (G_light){channel="miio:basic:light:on1"}Number:Dimensionlessfan-level "Fan - Fan Level" (G_light){channel="miio:basic:light:fan-level"}Numbermode"Fan - Mode" (G_light){channel="miio:basic:light:mode"}Number:Timetime-off "Presets - Time Off" (G_light){channel="miio:basic:light:time-off"}Number:Temperaturepre-colortemp "Presets - Pre Colortemp" (G_light){channel="miio:basic:light:pre-colortemp"}Number:Dimensionlesspre-brightness "Presets - Pre Brightness" (G_light){channel="miio:basic:light:pre-brightness"}Number:Dimensionlesspre-speed "Presets - Pre Speed" (G_light){channel="miio:basic:light:pre-speed"}Numberreversal"Presets - Reversal" (G_light){channel="miio:basic:light:reversal"}Numberpre-custom "Presets - Pre Custom" (G_light){channel="miio:basic:light:pre-custom"}Switchflabellum"Presets - Flabellum" (G_light){channel="miio:basic:light:flabellum"}
# HUIZUO PEGASUS For Living Room (huayi.light.peg091) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO PEGASUS For Living Room" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO PEGASUS For Bedroom (huayi.light.peg093) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO PEGASUS For Bedroom" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO PISCES For Bedroom (huayi.light.pis123) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO PISCES For Bedroom" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO PISCES For Living Room (huayi.light.pisces) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO PISCES For Living Room" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO TAURUS For Bedroom (huayi.light.tau023) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO TAURUS For Bedroom" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO TAURUS For Living Room (huayi.light.taurus) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO TAURUS For Living Room" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO VIRGO For Bedroom (huayi.light.vir063) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO VIRGO For Bedroom" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
# HUIZUO VIRGO For Living Room (huayi.light.virgo) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO VIRGO For Living Room" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# HUIZUO SAG Downlight (BLE Mesh) (huayi.light.wy201) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"HUIZUO SAG Downlight (BLE Mesh)" <status>Switchon"Light - Power" (G_light){channel="miio:basic:light:on"}Dimmerbrightness"Light - Brightness" (G_light){channel="miio:basic:light:brightness"}Number:Temperaturecolor-temperature "Light - Color Temperature" (G_light){channel="miio:basic:light:color-temperature"}
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (curtain) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (airer) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (airer) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (airer) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Robot Vacuum-Mop Essential (mijia.vacuum.v2) item file lines
note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_vacuum"Mi Robot Vacuum-Mop Essential" <status>Stringvacuumaction"Vacuum Action" (G_vacuum){channel="miio:basic:vacuum:vacuumaction"}Numberstatus"Robot Cleaner - Status" (G_vacuum){channel="miio:basic:vacuum:status"}Numberfault"Robot Cleaner - Device Fault" (G_vacuum){channel="miio:basic:vacuum:fault"}Numbermode"Robot Cleaner - Mode" (G_vacuum){channel="miio:basic:vacuum:mode"}Numbertarget-water-level "Robot Cleaner - Target Water Level" (G_vacuum){channel="miio:basic:vacuum:target-water-level"}Numberfan-level "Robot Cleaner - Fan Level" (G_vacuum){channel="miio:basic:vacuum:fan-level"}Numberbattery-level "Battery - Battery Level" (G_vacuum){channel="miio:basic:vacuum:battery-level"}Numbercharging-state "Battery - Charging State" (G_vacuum){channel="miio:basic:vacuum:charging-state"}Switchalarm"Alarm - Alarm" (G_vacuum){channel="miio:basic:vacuum:alarm"}Numbervolume"Alarm - Volume" (G_vacuum){channel="miio:basic:vacuum:volume"}Numberfilter-life-level "Filter - Filter Life Level" (G_vacuum){channel="miio:basic:vacuum:filter-life-level"}Numberfilter-left-time "Filter - Filter Left Time" (G_vacuum){channel="miio:basic:vacuum:filter-left-time"}Numberbrush-life-level "Brush Cleaner - Brush Life Level" (G_vacuum){channel="miio:basic:vacuum:brush-life-level"}Numberbrush-left-time "Brush Cleaner - Brush Left Time" (G_vacuum){channel="miio:basic:vacuum:brush-left-time"}Numberbrush-life-level1 "Brush Cleaner - Brush Life Level" (G_vacuum){channel="miio:basic:vacuum:brush-life-level1"}Numberbrush-left-time1 "Brush Cleaner - Brush Left Time" (G_vacuum){channel="miio:basic:vacuum:brush-left-time1"}Number:Area clean-area "Clean Record - Clean Area" (G_vacuum){channel="miio:basic:vacuum:clean-area"}Number:Timeclean-time "Clean Record - Clean Time" (G_vacuum){channel="miio:basic:vacuum:clean-time"}Numbertotal-clean-area "Clean Record - Total Clean Area" (G_vacuum){channel="miio:basic:vacuum:total-clean-area"}Numbertotal-clean-time "Clean Record - Total Clean Time" (G_vacuum){channel="miio:basic:vacuum:total-clean-time"}Numbertotal-clean-count "Clean Record - Total Clean Count" (G_vacuum){channel="miio:basic:vacuum:total-clean-count"}Numberlanguage"Language - Language" (G_vacuum){channel="miio:basic:vacuum:language"}Switchnot-disturb-switch "Language - Not Disturb Switch" (G_vacuum){channel="miio:basic:vacuum:not-disturb-switch"}Numbermop-status "Other Status - Mop Status" (G_vacuum){channel="miio:basic:vacuum:mop-status"}
note: Autogenerated example. Replace the id (coffee) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (coffee) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Philips Wi-Fi bulb E27 White (philips.light.hbulb) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mijia Philips Color Bulb (philips.light.cbulb) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"Mijia Philips Color Bulb" <status>Switchpower"Power" (G_light){channel="miio:basic:light:power"}Dimmerbrightness"Brightness" (G_light){channel="miio:basic:light:brightness"}Dimmercct"Correlated Color Temperature" (G_light){channel="miio:basic:light:cct"}Numberscene"Scene" (G_light){channel="miio:basic:light:scene"}Colorcid"Color" (G_light){channel="miio:basic:light:cid"}Switchswitchscene"Switch Scene" (G_light){channel="miio:basic:light:switchscene"}Switchswitch_en"Switch Enabled" (G_light){channel="miio:basic:light:switch_en"}Switchdelayoff"Delay Off" (G_light){channel="miio:basic:light:delayoff"}
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mijia Philips Study Desk Lamp (philips.light.rwread) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"Mijia Philips Study Desk Lamp" <status>Switchpower"Power" (G_light){channel="miio:basic:light:power"}Dimmerbrightness"Brightness" (G_light){channel="miio:basic:light:brightness"}Numberscene"Scene" (G_light){channel="miio:basic:light:scene"}Numberflm"Follow Me" (G_light){channel="miio:basic:light:flm"}Numberdv"DV" (G_light){channel="miio:basic:light:dv"}
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Zhirui Ceiling Lamp Black 80W (philips.light.obceil) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"Zhirui Ceiling Lamp Black 80W" <status>Switchon"Power" (G_light){channel="miio:basic:light:on"}Numbermode"Mode" (G_light){channel="miio:basic:light:mode"}Numberbrightness"Brightness" (G_light){channel="miio:basic:light:brightness"}Numbercct"Color Temperature" (G_light){channel="miio:basic:light:cct"}Numberdv"Delayed Turn-off" (G_light){channel="miio:basic:light:dv"}SwitchWallSceneEn"Wall Scene Enable" (G_light){channel="miio:basic:light:WallSceneEn"}StringWallScene"Wall Scene" (G_light){channel="miio:basic:light:WallScene"}StringautoCct"Auto CCT" (G_light){channel="miio:basic:light:autoCct"}NumberdimmingPeriod"Dimming Period" (G_light){channel="miio:basic:light:dimmingPeriod"}StringMibandStatus"Mi Band Status" (G_light){channel="miio:basic:light:MibandStatus"}
# Zhirui Ceiling Lamp Black 40W (philips.light.obceim) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light" Zhirui Ceiling Lamp Black 40W" <status>Switchon"Power" (G_light){channel="miio:basic:light:on"}Numbermode"Mode" (G_light){channel="miio:basic:light:mode"}Numberbrightness"Brightness" (G_light){channel="miio:basic:light:brightness"}Numbercct"Color Temperature" (G_light){channel="miio:basic:light:cct"}Numberdv"Delayed Turn-off" (G_light){channel="miio:basic:light:dv"}SwitchWallSceneEn"Wall Scene Enable" (G_light){channel="miio:basic:light:WallSceneEn"}StringWallScene"Wall Scene" (G_light){channel="miio:basic:light:WallScene"}StringautoCct"Auto CCT" (G_light){channel="miio:basic:light:autoCct"}NumberdimmingPeriod"Dimming Period" (G_light){channel="miio:basic:light:dimmingPeriod"}StringMibandStatus"Mi Band Status" (G_light){channel="miio:basic:light:MibandStatus"}
# Zhirui Ceiling Lamp Black 28W (philips.light.obceis) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_light"Zhirui Ceiling Lamp Black 28W" <status>Switchon"Power" (G_light){channel="miio:basic:light:on"}Numbermode"Mode" (G_light){channel="miio:basic:light:mode"}Numberbrightness"Brightness" (G_light){channel="miio:basic:light:brightness"}Numbercct"Color Temperature" (G_light){channel="miio:basic:light:cct"}Numberdv"Delayed Turn-off" (G_light){channel="miio:basic:light:dv"}SwitchWallSceneEn"Wall Scene Enable" (G_light){channel="miio:basic:light:WallSceneEn"}StringWallScene"Wall Scene" (G_light){channel="miio:basic:light:WallScene"}StringautoCct"Auto CCT" (G_light){channel="miio:basic:light:autoCct"}NumberdimmingPeriod"Dimming Period" (G_light){channel="miio:basic:light:dimmingPeriod"}StringMibandStatus"Mi Band Status" (G_light){channel="miio:basic:light:MibandStatus"}
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Smart Power Plug (chuangmi.plug.v1) item file lines
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_plug"Mi Smart Power Plug" <status>Switchpower"Power" (G_plug){channel="miio:basic:plug:power"}Switchusb"USB" (G_plug){channel="miio:basic:plug:usb"}Number:Temperaturetemperature"Temperature" (G_plug){channel="miio:basic:plug:temperature"}
# Mi Smart Power Plug v2 (chuangmi.plug.v2) item file lines
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_plug"Mi Smart Power Plug v2" <status>Switchpower"Power" (G_plug){channel="miio:basic:plug:power"}Switchusb"USB" (G_plug){channel="miio:basic:plug:usb"}
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Smart Plug (Wi-Fi) Basic (chuangmi.plug.m3) item file lines
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Smart Plug WiFi (chuangmi.plug.hmi205) item file lines
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Smart Plug (WiFi) (chuangmi.plug.hmi206) item file lines
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# CHINGMI Smart Power Strip v1 (qmi.powerstrip.v1) item file lines
note: Autogenerated example. Replace the id (powerstrip) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_powerstrip"CHINGMI Smart Power Strip v1" <status>Switchpower"Power" (G_powerstrip){channel="miio:basic:powerstrip:power"}NumberpowerUsage"Power Consumption" (G_powerstrip){channel="miio:basic:powerstrip:powerUsage"}Switchled"wifi LED" (G_powerstrip){channel="miio:basic:powerstrip:led"}Numberpower_price"power_price" (G_powerstrip){channel="miio:basic:powerstrip:power_price"}Numbercurrent"Current" (G_powerstrip){channel="miio:basic:powerstrip:current"}Number:Temperaturetemperature"Temperature" (G_powerstrip){channel="miio:basic:powerstrip:temperature"}Numberlp_autooff"Low Power Auto Off" (G_powerstrip){channel="miio:basic:powerstrip:lp_autooff"}Numberlp_autooff_delay"Low Power Limit Time" (G_powerstrip){channel="miio:basic:powerstrip:lp_autooff_delay"}Numberlp_threshold"Low Power Threshold" (G_powerstrip){channel="miio:basic:powerstrip:lp_threshold"}
# Mi Smart Power Strip (zimi.powerstrip.v2) item file lines
note: Autogenerated example. Replace the id (powerstrip) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_powerstrip"Mi Smart Power Strip" <status>Switchpower"Power" (G_powerstrip){channel="miio:basic:powerstrip:power"}NumberpowerUsage"Power Consumption" (G_powerstrip){channel="miio:basic:powerstrip:powerUsage"}Switchled"wifi LED" (G_powerstrip){channel="miio:basic:powerstrip:led"}Numberpower_price"power_price" (G_powerstrip){channel="miio:basic:powerstrip:power_price"}Numbercurrent"Current" (G_powerstrip){channel="miio:basic:powerstrip:current"}Number:Temperaturetemperature"Temperature" (G_powerstrip){channel="miio:basic:powerstrip:temperature"}Numberlp_autooff"Low Power Auto Off" (G_powerstrip){channel="miio:basic:powerstrip:lp_autooff"}Numberlp_autooff_delay"Low Power Limit Time" (G_powerstrip){channel="miio:basic:powerstrip:lp_autooff_delay"}Numberlp_threshold"Low Power Threshold" (G_powerstrip){channel="miio:basic:powerstrip:lp_threshold"}
note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Robot Vacuum-Mop P (viomi.vacuum.v7) item file lines
note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
# Mi Robot Vacuum-Mop P (viomi.vacuum.v8) item file lines
note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_switch"PTX OneKey Switch (WIFI)" <status>Numberswitch1state"Switch 1" (G_switch){channel="miio:basic:switch:switch1state"}Stringswitch1name"Switch Name 1" (G_switch){channel="miio:basic:switch:switch1name"}
note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_switch"PTX Twokey switch(wifi)" <status>Numberswitch1state"Switch 1" (G_switch){channel="miio:basic:switch:switch1state"}Numberswitch2state"Switch 2" (G_switch){channel="miio:basic:switch:switch2state"}Stringswitch1name"Switch Name 1" (G_switch){channel="miio:basic:switch:switch1name"}Stringswitch2name"Switch Name 2" (G_switch){channel="miio:basic:switch:switch2name"}
note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_switch"PTX ThreeKey Switch (WIFI)" <status>Numberswitch1state"Switch 1" (G_switch){channel="miio:basic:switch:switch1state"}Numberswitch2state"Switch 2" (G_switch){channel="miio:basic:switch:switch2state"}Numberswitch3state"Switch 3" (G_switch){channel="miio:basic:switch:switch3state"}Stringswitch1name"Switch Name 1" (G_switch){channel="miio:basic:switch:switch1name"}Stringswitch2name"Switch Name 2" (G_switch){channel="miio:basic:switch:switch2name"}Stringswitch3name"Switch Name 3" (G_switch){channel="miio:basic:switch:switch3name"}
# Mi Water Purifier v1 (yunmi.waterpurifier.v1) item file lines
note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_waterpurifier"Mi Water Purifier v1" <status>Switchpower"Power" (G_waterpurifier){channel="miio:basic:waterpurifier:power"}Numberrun_status"Run Status" (G_waterpurifier){channel="miio:basic:waterpurifier:run_status"}Number:Temperaturetemperature"Temperature" (G_waterpurifier){channel="miio:basic:waterpurifier:temperature"}Numberrinse"Rinse" (G_waterpurifier){channel="miio:basic:waterpurifier:rinse"}Numbertds_in"TDS in" (G_waterpurifier){channel="miio:basic:waterpurifier:tds_in"}Numbertds_out"TDS out" (G_waterpurifier){channel="miio:basic:waterpurifier:tds_out"}Numberf1_totalflow"Filter 1 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_totalflow"}Numberf1_totaltime"Filter 1 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_totaltime"}Numberf1_usedflow"Filter 1 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_usedflow"}Numberf1_usedtime"Filter 1 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_usedtime"}Numberf2_totalflow"Filter 2 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_totalflow"}Numberf2_totaltime"Filter 2 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_totaltime"}Numberf2_usedflow"Filter 2 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_usedflow"}Numberf2_usedtime"Filter 2 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_usedtime"}Numberf3_totalflow"Filter 3 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_totalflow"}Numberf3_totaltime"Filter 3 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_totaltime"}Numberf3_usedflow"Filter 3 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_usedflow"}Numberf3_usedtime"Filter 3 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_usedtime"}
# Mi Water Purifier v2 (yunmi.waterpurifier.v2) item file lines
note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_waterpurifier"Mi Water Purifier v2" <status>Switchpower"Power" (G_waterpurifier){channel="miio:basic:waterpurifier:power"}Numberrun_status"Run Status" (G_waterpurifier){channel="miio:basic:waterpurifier:run_status"}Number:Temperaturetemperature"Temperature" (G_waterpurifier){channel="miio:basic:waterpurifier:temperature"}Numberrinse"Rinse" (G_waterpurifier){channel="miio:basic:waterpurifier:rinse"}Numbertds_in"TDS in" (G_waterpurifier){channel="miio:basic:waterpurifier:tds_in"}Numbertds_out"TDS out" (G_waterpurifier){channel="miio:basic:waterpurifier:tds_out"}Numberf1_totalflow"Filter 1 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_totalflow"}Numberf1_totaltime"Filter 1 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_totaltime"}Numberf1_usedflow"Filter 1 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_usedflow"}Numberf1_usedtime"Filter 1 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_usedtime"}Numberf2_totalflow"Filter 2 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_totalflow"}Numberf2_totaltime"Filter 2 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_totaltime"}Numberf2_usedflow"Filter 2 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_usedflow"}Numberf2_usedtime"Filter 2 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_usedtime"}Numberf3_totalflow"Filter 3 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_totalflow"}Numberf3_totaltime"Filter 3 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_totaltime"}Numberf3_usedflow"Filter 3 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_usedflow"}Numberf3_usedtime"Filter 3 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_usedtime"}
# Mi Water Purifier (Under sink) v3 (yunmi.waterpurifier.v3) item file lines
note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_waterpurifier"Mi Water Purifier (Under sink) v3" <status>Switchpower"Power" (G_waterpurifier){channel="miio:basic:waterpurifier:power"}Numberrun_status"Run Status" (G_waterpurifier){channel="miio:basic:waterpurifier:run_status"}Number:Temperaturetemperature"Temperature" (G_waterpurifier){channel="miio:basic:waterpurifier:temperature"}Numberrinse"Rinse" (G_waterpurifier){channel="miio:basic:waterpurifier:rinse"}Numbertds_in"TDS in" (G_waterpurifier){channel="miio:basic:waterpurifier:tds_in"}Numbertds_out"TDS out" (G_waterpurifier){channel="miio:basic:waterpurifier:tds_out"}Numberf1_totalflow"Filter 1 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_totalflow"}Numberf1_totaltime"Filter 1 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_totaltime"}Numberf1_usedflow"Filter 1 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_usedflow"}Numberf1_usedtime"Filter 1 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_usedtime"}Numberf2_totalflow"Filter 2 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_totalflow"}Numberf2_totaltime"Filter 2 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_totaltime"}Numberf2_usedflow"Filter 2 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_usedflow"}Numberf2_usedtime"Filter 2 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_usedtime"}Numberf3_totalflow"Filter 3 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_totalflow"}Numberf3_totaltime"Filter 3 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_totaltime"}Numberf3_usedflow"Filter 3 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_usedflow"}Numberf3_usedtime"Filter 3 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_usedtime"}
# Mi Water Purifier v4 (yunmi.waterpurifier.v4) item file lines
note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_waterpurifier"Mi Water Purifier v4" <status>Switchpower"Power" (G_waterpurifier){channel="miio:basic:waterpurifier:power"}Numberrun_status"Run Status" (G_waterpurifier){channel="miio:basic:waterpurifier:run_status"}Number:Temperaturetemperature"Temperature" (G_waterpurifier){channel="miio:basic:waterpurifier:temperature"}Numberrinse"Rinse" (G_waterpurifier){channel="miio:basic:waterpurifier:rinse"}Numbertds_in"TDS in" (G_waterpurifier){channel="miio:basic:waterpurifier:tds_in"}Numbertds_out"TDS out" (G_waterpurifier){channel="miio:basic:waterpurifier:tds_out"}Numberf1_totalflow"Filter 1 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_totalflow"}Numberf1_totaltime"Filter 1 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_totaltime"}Numberf1_usedflow"Filter 1 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_usedflow"}Numberf1_usedtime"Filter 1 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f1_usedtime"}Numberf2_totalflow"Filter 2 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_totalflow"}Numberf2_totaltime"Filter 2 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_totaltime"}Numberf2_usedflow"Filter 2 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_usedflow"}Numberf2_usedtime"Filter 2 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f2_usedtime"}Numberf3_totalflow"Filter 3 Total Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_totalflow"}Numberf3_totaltime"Filter 3 Total Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_totaltime"}Numberf3_usedflow"Filter 3 Used Flow" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_usedflow"}Numberf3_usedtime"Filter 3 Used Time" (G_waterpurifier){channel="miio:basic:waterpurifier:f3_usedtime"}
# Mi Water Purifier lx2 (yunmi.waterpuri.lx2) item file lines
note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_waterpuri"Mi Water Purifier lx2" <status>Switchpower"Power" (G_waterpuri){channel="miio:basic:waterpuri:power"}Numberrun_status"Run Status" (G_waterpuri){channel="miio:basic:waterpuri:run_status"}Number:Temperaturetemperature"Temperature" (G_waterpuri){channel="miio:basic:waterpuri:temperature"}Numberrinse"Rinse" (G_waterpuri){channel="miio:basic:waterpuri:rinse"}Numbertds_in"TDS in" (G_waterpuri){channel="miio:basic:waterpuri:tds_in"}Numbertds_out"TDS out" (G_waterpuri){channel="miio:basic:waterpuri:tds_out"}Numberf1_totalflow"Filter 1 Total Flow" (G_waterpuri){channel="miio:basic:waterpuri:f1_totalflow"}Numberf1_totaltime"Filter 1 Total Time" (G_waterpuri){channel="miio:basic:waterpuri:f1_totaltime"}Numberf1_usedflow"Filter 1 Used Flow" (G_waterpuri){channel="miio:basic:waterpuri:f1_usedflow"}Numberf1_usedtime"Filter 1 Used Time" (G_waterpuri){channel="miio:basic:waterpuri:f1_usedtime"}Numberf2_totalflow"Filter 2 Total Flow" (G_waterpuri){channel="miio:basic:waterpuri:f2_totalflow"}Numberf2_totaltime"Filter 2 Total Time" (G_waterpuri){channel="miio:basic:waterpuri:f2_totaltime"}Numberf2_usedflow"Filter 2 Used Flow" (G_waterpuri){channel="miio:basic:waterpuri:f2_usedflow"}Numberf2_usedtime"Filter 2 Used Time" (G_waterpuri){channel="miio:basic:waterpuri:f2_usedtime"}Numberf3_totalflow"Filter 3 Total Flow" (G_waterpuri){channel="miio:basic:waterpuri:f3_totalflow"}Numberf3_totaltime"Filter 3 Total Time" (G_waterpuri){channel="miio:basic:waterpuri:f3_totaltime"}Numberf3_usedflow"Filter 3 Used Flow" (G_waterpuri){channel="miio:basic:waterpuri:f3_usedflow"}Numberf3_usedtime"Filter 3 Used Time" (G_waterpuri){channel="miio:basic:waterpuri:f3_usedtime"}
# Mi Water Purifier (Under Counter) (yunmi.waterpuri.lx3) item file lines
note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace basic with generic in the thing UID depending on how your thing was discovered.
GroupG_waterpuri"Mi Water Purifier (Under Counter)" <status>Switchpower"Power" (G_waterpuri){channel="miio:basic:waterpuri:power"}Number