Coder Social home page Coder Social logo

Comments (15)

jarvismeier avatar jarvismeier commented on August 29, 2024 1

from homebridge-levoit-humidifiers.

jarvismeier avatar jarvismeier commented on August 29, 2024 1

That worked! Thanks for all the hard work. It’s much appreciated.

from homebridge-levoit-humidifiers.

pschroeder89 avatar pschroeder89 commented on August 29, 2024

Hey @jarvismeier, I can take a look at this over the weekend. Thanks for the logs!

from homebridge-levoit-humidifiers.

eoddc5 avatar eoddc5 commented on August 29, 2024

+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.

pschroeder89 avatar pschroeder89 commented on August 29, 2024

@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.

jarvismeier avatar jarvismeier commented on August 29, 2024

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.

IMG_0016

IMG_0015

IMG_0013

IMG_0017

from homebridge-levoit-humidifiers.

pschroeder89 avatar pschroeder89 commented on August 29, 2024

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.

pschroeder89 avatar pschroeder89 commented on August 29, 2024

1.9.2-beta4 is up with a bunch of fixes.

  1. 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.
  2. Humidity slider: The slider should now enable Humidity mode as well as control the target humidity.
  3. 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.

jarvismeier avatar jarvismeier commented on August 29, 2024

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.

pschroeder89 avatar pschroeder89 commented on August 29, 2024

@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.

jarvismeier avatar jarvismeier commented on August 29, 2024

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.

pschroeder89 avatar pschroeder89 commented on August 29, 2024

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.

jarvismeier avatar jarvismeier commented on August 29, 2024

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.

pschroeder89 avatar pschroeder89 commented on August 29, 2024

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.

pschroeder89 avatar pschroeder89 commented on August 29, 2024

Published 1.10.1

from homebridge-levoit-humidifiers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.