-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
[Device Request] OasisMist 1000S #51
Comments
Hi @vernlazaro, does this model have High, Medium, and Low cool mist levels? Or are there more than that? |
You should have a display toggle, sleep mode toggle, cool mist slider that goes from 0-9 (0 will turn it off), and an auto slider that goes from 40-80% (setting below and above those numbers will force them to 40 or 80). |
It's getting this error starting up the plugin: [Levoit Humidifiers] Failed to updateInfo due to unreachable device: Cannot read properties of undefined (reading 'auto_target_humidity') |
Ah, this might be a more difficult device, then. I've published Could you post that response? I don't think it will have any credentials or anything, but please double check first before posting. You can also DM me if that's easier |
Here you go: |
Thanks! They've changed a bunch of the fields 🤦🏼 . I will try to get this completed later tonight or tomorrow |
Thanks! |
I pushed beta3 with a fix for your first error message, but I don't think things will work 100%. I do think you should get past your original error message now. Could you let me know what the next error you see is, or which functionalities are broken? Thanks for the help! |
The error is gone but now there's this warning: [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. I've attached a screenshot of the accessories. Power on/off does not work. |
Ok beta4 has been pushed. I think the As for power not working, I'm really hoping that the above error was causing the failure. There's a decent chance that Levoit changed the API command though. If that's the case, I won't be able to find the new command due to some recent security changes they made in the app, so we may not be able to support this model until someone figures out the new command. Fingers crossed that it works now! |
There's a different warning this time. Here's the message with debug info. None of the controls work. [Levoit Humidifiers] [DEBUG]: [DEVICE INFO] {"traceId":"1674562867328","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1674562867328","code":0,"result":{"powerSwitch":1,"humidity":41,"targetHumidity":55,"virtualLevel":9,"mistLevel":3,"workMode":"auto","waterLacksState":0,"waterTankLifted":0,"autoStopSwitch":1,"autoStopState":0,"screenSwitch":1,"screenState":1,"scheduleCount":0,"timerRemain":0,"errorCode":0}}} [1/24/2023, 7:22:51 AM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. |
beta5 is published. The above error should be resolved. For context, this model returns values in @vernlazaro There is a Discord server channel for this plugin if that's a simpler way to communicate for you:
|
The warning message is gone but the controls still don't work. Here are the debug logs trying to turn several on/off options. [1/24/2023, 5:53:28 PM] [Levoit Humidifiers] Setting Display to false |
The I'll leave this bug open and will check other projects for updates periodically. Sorry and thanks for helping debug! |
Ah, I see. Thanks for trying and for your patience. |
@vernlazaro thanks for the donation! I had an idea of something to try. I've pushed Please also post the logs for
If this doesn't work and returns the same |
Thanks, Here are the logs turning it off/on, seems to be working now: 1/26/2023, 2:08:36 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Humidifier LR with ({"powerSwitch":0,"id":0})! Response: {"traceId":"1674760116612","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1674760116612","code":0}} Accessory controls don't work:
[1/26/2023, 2:09:39 PM] [Levoit Humidifiers] Setting Display to true
1/26/2023, 2:11:37 PM] [Levoit Humidifiers] Changing Mode to manual |
I made similar changes to all of the other accessories, please let me know what works and what doesn't with 1.8.9-beta.7. Thanks! |
Sleep works now but Display and Power get the 11000000 error. 1/26/2023, 3:22:39 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setDisplay to Humidifier LR with ({"screenSwitch":false,"id":0})! Response: {"traceId":"1674764559652","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1674764559652","code":11000000}} [1/26/2023, 3:23:34 PM] [Levoit Humidifiers] Setting Power to false |
Beta 9 is up with potential fixes for both |
Awesome! Everything looks to be working. Thanks! |
Great! Does the cool mist slider work correctly too? Could you send me a log after moving the slider? Just want to make sure we are getting the right response. Thanks! |
The Mist Slider is getting the 11000000 error when moved up/down. 1/26/2023, 4:07:13 PM] [Levoit Humidifiers] Setting Mist Level to 2 |
Beta 10 is published with a possible fix. If that doesn't work, I have 1 or 2 other things I will try |
Still the same: |
Beta 11 is up, trying a slightly different name of the field |
Same error: |
Beta 12 is pushed. If we can't figure it out, I will hide the cool slider for this model. I think most people use Auto / Sleep modes anyway, but it would be nice to get this working. Fingers crossed this change works |
Slider still doesn't work. [1/26/2023, 4:36:38 PM] [Levoit Humidifiers] Setting Mist Level to 4 |
I think that last log is from the previous version, maybe a cached instance ...Could you restart homebridge and try again with beta 12? |
Still the same after restarting 1/26/2023, 4:45:00 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Humidifier LR with ({"powerSwitch":1,"id":0})! Response: {"traceId":"1674769500369","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1674769500369","code":0}} |
Published beta 13, trying to send the command using another method (which we use to send warm level controls on other models). If this doesn't work, beta 14 will be the removal of the slider. Thanks again for testing! |
Still the same: [1/26/2023, 5:29:21 PM] [Levoit Humidifiers] Setting Mist Level to 4 |
beta 14 is pushed. the mist slider should no longer be visible and the other accessories should work. |
Yes, the Mist Slider is no longer displayed. The power, display and sleep mode controls all work. Thanks! |
Awesome, thanks for all of your help! Hopefully someone figures out the cool mist request soon. I've published 1.9.0 non-beta for public release. Closing this issue. |
Model number: LUH-M101S-WUS
Number of cool mist levels:
Number of warm mist levels:
Auto mode? Yes
Sleep mode? Yes
Night Light?
Any other features not listed above?
The text was updated successfully, but these errors were encountered: