Comments (15)
from homebridge-levoit-humidifiers.
That worked! Thanks for all the hard work. It’s much appreciated.
from homebridge-levoit-humidifiers.
Hey @jarvismeier, I can take a look at this over the weekend. Thanks for the logs!
from homebridge-levoit-humidifiers.
+1 on this request @pschroeder89 - would be cool to see this.
just got this from VeSync to test out and would love to add it to HomeKit. thanks!
from homebridge-levoit-humidifiers.
@eoddc5 @jarvismeier Please try 1.9.2-beta1. There should not be a cool mist slider for this model, it will only support "auto" mode.
from homebridge-levoit-humidifiers.
This is how your functionality works right now.
power: On/off works.
Current humidity: reads accurately.
Mist slider: will auto switch to manual mode and adjust the fan speed accordingly.
Humidity set point slider: will adjust humidity only if set to humidity mode in the Levoit app.
Other on/off switch: when on switches to sleep mode. When switch off it does nothing.
I’ve been looking at the logs and have skimmed the following when adjusting settings in the vesync app
workMode: is used for the current mode (autoPro, sleep, manual, humidity)
powerSwitch: turn on or off the device (0, 1)
targethumidity: humidity set point for humidity mode (30 to 80)
mistLevel: fan speed in manual and humidity modes (1 to 9)
I’ve attached more log screen shots.
from homebridge-levoit-humidifiers.
Thanks so much for the detailed logs! I have some changes ready to go that I think might help the issues you brought up.
Question:
What is the difference between Humidity and AutoPro modes?
It looks like Humidity works like Auto works on other models, where you set the target humidity and it turns off once it reaches that level.
from homebridge-levoit-humidifiers.
1.9.2-beta4 is up with a bunch of fixes.
- Mist slider: The mist slider was not supposed to be visible for this model, so that was bug number 1. I'm also unsure why it was working for you, it should be following the new API structure that I haven't been able to figure out. The good news is that someone discovered the correct API structure to get it working, so now in beta3 it's supposed to be visible. If it breaks things, I'll revert to the previous implementation, but I'll be confused about it lol.
- Humidity slider: The slider should now enable Humidity mode as well as control the target humidity.
- Sleep mode: Using the sleep switch should now turn on Sleep Mode and when turned off, go to Auto mode. It might be better to set this to Humidity mode instead of Auto mode, but I'll wait to see your response of what Auto mode does on this model.
from homebridge-levoit-humidifiers.
thanks for the changes. autoPro mode dynamically selects the best humidity level based on the current detected room temperature. It also dynamically adjusts the fan level. It’ll spin down as it gets closer to the ideal humidity level. In humidity mode the fan level is a static set value.
from homebridge-levoit-humidifiers.
@eoddc5 @jarvismeier Ok I made an additional change and would appreciate some testing of the 1.9.2-beta6 version when you have time.
- AutoPro mode is now a separate switch. It can be exposed from the config or in the Homebridge plugin UI. It will switch from AutoPro mode (on) to Manual mode (off).
Thanks!
Edit: Also, make sure to remove the accessory from cache in your Homebridge settings, first, otherwise you may see 2 mist sliders.
from homebridge-levoit-humidifiers.
Thanks for the update. It mostly works well except for the AutoPro switch. Turning it on engages AutoPro Mode but turning it off does nothing. From how the sleep switch works each mode seems to require its own switch. A manual mode would require a separate switch. Other than that small issue everything else works.
from homebridge-levoit-humidifiers.
Hmm, when you turn on and off AutoPro from HomeKit, does the VeSync app stay on AutoPro mode? It should switch to Manual mode and the mist level should be the previous mist level.
I'll double check my logic in the code, too. Edit: The code looks ok, but maybe you can share your device with my account so I can debug? My email is [email protected] if you want to do that
from homebridge-levoit-humidifiers.
When switching it to off nothing is logged and it immediately goes back to showing on. VeSync doesn’t show anything either.
i’ve shared the device. Let me know when you are done and I’ll remove the share.
from homebridge-levoit-humidifiers.
I didn't get the share invite, but I did find a piece of wrong logic that I fixed. Can you try again with beta7?
If that doesn't work, please try to revoke the share and then try again with the email in a downcased format like [email protected].
Thanks!
from homebridge-levoit-humidifiers.
Published 1.10.1
from homebridge-levoit-humidifiers.
Related Issues (20)
- Humidifier disappearing from Home app HOT 3
- OasisMist 451S HOT 9
- [Device Request] OasisMist 1000S HOT 37
- v1.8.9-beta4 release marked as latest production release HOT 1
- [Request] Toggle to Disable Humidity Sensor Reporting in Homekit HOT 4
- Logs indicating that the plugin slows down homebridge HOT 3
- Login Restriction HOT 10
- [Device Request] Superior 6000S
- Trailing blank in user e-mail causes homebridge crash HOT 3
- Latest version doesn't 'see' the Classic S200 HOT 2
- 1.12 Can't find humidifier HOT 1
- Can't see OasisMist 600S HOT 24
- Not showing target humidity for LEVOIT Superior 6000S HOT 5
- Adding additional humidifiers HOT 2
- [Device Request] Vista 200 Air Purifier HOT 3
- This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. HOT 3
- characteristic value 0 is not contained in valid values array HOT 3
- Got a new OAsisMist 600S.....none of the HomeKit buttons work except the warm mist. HOT 10
- Unhandled Rejection in HOOBS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-levoit-humidifiers.