Closed hardlock75 closed 8 months ago
I spent some time trying to add support for the water level. HomeKit has characteristics for Humidifiers and Dehumidifiers which include the water level. I can't just add that characteristic without adding the Service.HumidifierDehumidifier. The issue is that I don't see any attributes in the Hubitat device that state when the device is actively running or is idle There are requirements to adding a service and the driver currently is missing an attribute to use to complete the last service requirement.
I found drivers in the hubitat community. With the help of old link I was able to add the waterLevel attribute. In Hubitat is working great. when is empty 0% and full 100%. it works as follows 0%-25%-50%-75%-100%
{ "name": "D\u00e9shumidificateur", "basename": "Midea Dehumidifier", "deviceid": "7", "status": "ACTIVE", "manufacturer": "Unknown", "model": "Midea Dehumidifier", "deviceNetworkId": "e8de8f7a-957f-41a7-a757-d15ec60795de", "lastActivity": "2023-09-21T05:33:34+0000", "capabilities": [ "Initialize", "Refresh", "RelativeHumidityMeasurement", "Switch" ], "capabilities_processed": { "RelativeHumidityMeasurement": 1, "Switch": 1 }, "capabilities_filtered": [ "Refresh", "Initialize" ], "commands": [ "initialize", "off", "on", "refresh", "setFanSpeed", "setMode", "setTargetHumidity" ], "commands_processed": { "off": 1, "on": 1, "setFanSpeed": 1, "setTargetHumidity": 1 }, "commands_filtered": [ "initialize", "refresh", "setMode" ], "customflags": {
},
"attributes": {
"FanSpeed": "High",
"FilterIndicator": 16,
"Mode": "Set",
"TargetHumidity": 40,
"WaterLevel": 0,
"humidity": 40,
"switch": "on"
},
"attributes_processed": {
"humidity": 40,
"switch": "on"
},
"attributes_filtered": [
"FanSpeed",
"TargetHumidity",
"FilterIndicator",
"Mode"
],
"eventHistory": [
"2023-09-21 01:33:34.673 | [humidity] | (40 %)",
"2023-09-21 01:32:34.67 | [humidity] | (41 %)",
"2023-09-21 01:31:34.673 | [humidity] | (40 %)",
"2023-09-21 00:48:34.67 | [humidity] | (41 %)",
"2023-09-21 00:22:34.546 | [humidity] | (42 %)",
"2023-09-21 00:11:34.679 | [humidity] | (43 %)",
"2023-09-20 23:59:34.667 | [humidity] | (44 %)",
"2023-09-20 23:52:34.671 | [humidity] | (45 %)",
"2023-09-20 23:47:34.666 | [humidity] | (46 %)",
"2023-09-20 23:40:34.678 | [humidity] | (47 %)",
"2023-09-20 23:39:34.671 | [humidity] | (48 %)",
Please read my reply again
ok i read it, i understand de problem.. sorry my english is not my first language
This issue has been marked stale automatically after no activity for the last 180 days.
first thank for this
is it possible, to add the Water Level info on Homekit? there is device Data { "name": "D\u00e9shumidificateur", "basename": "Midea Dehumidifier", "deviceid": "7", "status": "ACTIVE", "manufacturer": "Unknown", "model": "Midea Dehumidifier", "deviceNetworkId": "e8de8f7a-957f-41a7-a757-d15ec60795de", "lastActivity": "2023-06-29T15:16:34+0000", "capabilities": [ "Initialize", "Refresh", "RelativeHumidityMeasurement", "Switch" ], "capabilities_processed": { "Refresh": 1, "RelativeHumidityMeasurement": 1, "Switch": 1 }, "capabilities_filtered": [
the screenshot come to other plugin, but not working well for me.
now i had my dehumidifer on hubitat, and with Homebridge hubitat-Tonesto7 I pushit on homekit.
thank you very much