Replies: 1 comment 2 replies
-
Well, that with the config is unfortunately an issue with the ui and i already tried to do my best to fix that, but it is quite hard... Hence i usually recommended to manually update the json as this seems more safe! It might be that the issue with the occupancy sensor is that it requires to be a specific value, in version 1.6.1 you will be able to set the equal or below as a modifier for the property monitor hence that might help with your issue. Please let me know after the update if it got better. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have successfully configure homebridge-miot v1.6.0 to control my dehumidifier. One setup that took me sometime to figure out is to setup the Tank Full alarm. From the documentation I figured one should use property monitor to get the Tank Full alarm and present it as a homekit occupancy event. However, setting it up directly using the configure UI does not work. After some trail and error, I figured that editing the configuration to the following works:
{
"name": "Living Room Dehumidifier",
"ip": "172.16.88.xx",
"token": "xxxxxx",
"deviceId": "xxxx",
"model": "dmaker.derh.22l",
"pollingInterval": 10,
"deepDebugLog": true,
"onlyMainService": true,
"buzzerControl": false,
"ledControl": false,
"childLockControl": false,
"modeControl": true,
"suppressAutoServiceCreation": [
"temperature",
"relativeHumidity",
"illumination"
],
"propertyMonitor": [
{
"property": "dehumidifier:fault",
"value": 1,
"name": "LRD Tank Full"
}
],
"fanLevelControl": false
}
In particular, the propertyMonitor param must be in this order: property, value, name. The UI writes the param in this order: property, name, value, does not work. May be it is a bug in parsing the configuration data.
The other thing I noticed is that when the tank is full, the Tank Full occupancy sensor on Homekit will oscillate between True and False every 30 seconds. Is it possible to keep it constantly in True state until the tank full alarm is clear?
Thanks for the great work. Previously I have modified another xiaomi plugin to work with this dehumidifier, now I can use this plugin without hacking the code!
Beta Was this translation helpful? Give feedback.
All reactions