-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for New Widetech Dehumidifier (nwt.derh.312en) #1
Comments
@gerliczky Can you find the miot-spec type for me. This is one of the ways to get it:
|
@al-one I have followed your instructions.
Did I miss something? |
@gerliczky I'm sorry. You can get |
Found it: |
@gerliczky You can test it use add-dehumidifier branch. |
Thanks a lot. |
@gerliczky What's your python-miio and home-assistant version ? |
miiocli, version 0.5.4 |
Try this command and check your lan network. |
The result: |
I am still using the humidifier branch. I chaged log level to debug. When I add the dehumidifier I see the followig entries on the log:
So the device added without error, but no entity was created and no new device is added. Could you help me to fix this? |
Try lasest commit of branch add-dehumidifier. |
Unfortunately there is no change. The same message on log and neither devices nor entities are created. I noticed that on the integration UI, when I try to add the device, only climate and sensor can be selected, so I left it empty. |
Download lasest and try again. |
Now I got the folllowing error:
|
Hi @al-one, |
Does it happened, because the device is currently not supported in python-miio? |
miiocli -d device --ip 192.168.lan.ip --token xxxxxx raw_command get_properties "[{'did': 'result', 'siid': 2, 'piid': 1}]" Run this shell in HA host. |
My dehumidifier works correctly. I can contro and get information with miiocli command.
I still receive the error above when I try to add my device in HA on the Integration page. |
Sorry. I have no idea. |
I just updated to the most recent version, and just recognised, that the device and a new sensor entity is created. :) |
You can try last commit of master. # turn on/off
service: xiaomi_miot.set_miot_property
data:
entity_id: sensor.dehumidifier_entity_id
siid: 2
piid: 1
value: true # false
# switch mode
service: xiaomi_miot.set_miot_property
data:
entity_id: sensor.dehumidifier_entity_id
siid: 2
piid: 3
value: 1 # 1 - Tagget-humid 2 - Dry-cloth
# target humidity
service: xiaomi_miot.set_miot_property
data:
entity_id: sensor.dehumidifier_entity_id
siid: 2
piid: 5
value: 30 # 30-70 |
It works perfectly. Thanks. |
Dear @al-one ,
I have successfully added hass-xiaomi-miot addon in HACS as custom repository. I managed to add my New Widetech Dehumidifier (nwt.derh.312en) device on the integration page in Home Assistant.
My problem is that I do not see my device neither devices nor in entities.
I assume this device is not yet supported by the addon. Can I help you somehow to support this device?
The text was updated successfully, but these errors were encountered: