Xiaomi Mi Air Purifier (Xiaomi Mi IO)

Marcel: many thanks! That worked perfectly!
(I had some trouble with the json syntax with missing the the “,” after the last “}” - I forgot the simple rule: do not copy the last item in a list, because it does not contain the item delimiter :slight_smile: - this took me nearly two days )

I did not add specific values for the status, because 0 / 1 is not language specific.
Now the description file ended like this:

			{
				"property": "waterstatus",
				"friendlyName": "Water Status",
				"channel": "waterstatus",
				"type": "Number",
				"stateDescription": {
					"pattern": "%.0f",
					"readOnly": true
				},
				"refresh": true,
				"actions": []
			},
			{
				"property": "TemperatureValue",
				"friendlyName": "Temperature",
				"channel": "TemperatureValue",
				"type": "Number",
				"stateDescription": {
					"pattern": "%.0f",
					"readOnly": true
				},
				"refresh": true,
				"actions": []
			}

And this is the result :slight_smile: :

As a new user I cannot upload attachments and therefore cannot upload the adjusted json - file, but the modifications are pretty simple.

And as a hint for others: the conf/misc/miio - folder on an openhabian distribution is /etc/openhab/misc/miio - and you have to create the misc/ and misc/miio folder by yourself.

1 Like