Skip to content
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

Added WaterLevel (depth) for SmartMi Humidifier - model: zhimi.humidifier.ca1 #144

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

leoneleone
Copy link

@leoneleone leoneleone commented Apr 12, 2018

@aholstenson
The new Xiaomi Humidifier (zhimi.humidifier.ca1) has a Water Level sensor, the capability is named 'depth' according to the Mi API

I've added WaterLevel using RelativeHumidity as a template.
Please let me know if this looks alright.

I've also submitted a pull request for abstract-things
thingbound/abstract-things#3

I would like to test my changes, but I'm running into miio handshake timeout errors.

ERROR:  { Error: Could not connect to device, handshake timeout
    at Timeout.handshakeTimeout.setTimeout [as _onTimeout] (/usr/local/lib/node_modules/miio/lib/network.js:427:17)
    at ontimeout (timers.js:460:11)
    at tryOnTimeout (timers.js:298:5)
    at Timer.listOnTimeout (timers.js:261:5) code: 'timeout', device: null }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant