Comments (10)
This is interesting, thanks for writing this up and including their response. Levoit has consistently worked hard to prevent this plugin and its use in HomeBridge, and I wonder if this is a new attempt to do that.
I'll try to investigate what triggers the logout and see if I can mitigate it later today.
from homebridge-levoit-humidifiers.
@atwoodjw Does this happen consistently for you? I don't see this on my setup. Do you have any steps to trigger it?
Also, which device do you have?
from homebridge-levoit-humidifiers.
@atwoodjw I'm having a hard time understanding how VeSync determined the requests were coming specifically from HomeKit. We use the Android app's user agent for all requests, so if they knew we were spoofing the agent, they couldn't possibly know the requests were coming from HomeKit / this plugin and not some other homebrew home ecosystem. Can you give me some more details when you have a chance?
from homebridge-levoit-humidifiers.
Sorry for the radio silence. I have 3x LV600S. Yes, this happens consistently. If the Homebridge plugin is enabled, I can't sign into the VeSync iOS app when on my home WiFi (same external IP address). If I toggle WiFi off and use cellular data, I can sign into the iOS app. If I disable the Homebridge plugin and wait a day, I can sign into the iOS app on my home WiFi again.
Very strange. If Levoit is able to determine that logins are coming from HomeKit, I would expect them to block them, yet the plugin seems to be working flawlessly; it's their first-party app that breaks as a result of the login restriction. 🤷♂️
Ultimately, this isn't that big a deal. I rarely use the iOS app now, in favor of the Home app. Just a minor annoyance. Feel free to close.
from homebridge-levoit-humidifiers.
Thanks for the info! Would you mind removing showOffWhenDisconnected from your config and seeing if the issue persists? I'm intrigued by this issue tbh.
from homebridge-levoit-humidifiers.
Issue persists, even with showOffWhenDisconnected set to false.
from homebridge-levoit-humidifiers.
Experiencing identical behavior as @atwoodjw. Was constantly getting logged out of the Vesync app on iOS after setting up the Homebridge plugin.
Here's my config:
{
"name": "Levoit Humidifiers",
"email": "XXXXX",
"password": "XXXXX",
"accessories": {
"humidity_sensor": true,
"mist": true,
"warm_mist": false,
"sleep_mode": true,
"display": true,
"night_light": true,
"auto_pro": false
},
"options": {
"showOffWhenDisconnected": false
},
"_bridge": {
"username": "XXXXX",
"port": 56704
},
"platform": "LevoitHumidifiers"
}
However, I did find a workaround to continue to use both Homebridge and the Vesync iOS app (which I've done for other plugins). I created a new Levoit account using a gmail alias ([email protected]
) and then shared the humidifier device to the new account (sharing the home isn't enough for the devices to show up). I then updated my plugin config to use the new account and kept my original account signed into the Vesync iOS app. So far 24 hours later I've stayed logged into the app.
This of course doesn't help solve the auth issue. No clue what kind of auth they are doing for their APIs, but it seems like access/id tokens are being revoked for that user due to the login behavior/attempts from the Homebridge plugin.
from homebridge-levoit-humidifiers.
Thanks for the info and workaround. I'm wondering if they're only allowing a single token for some users (slow rollout). I can't repro with my setup.
More questions:
What devices / firmwares?
Which VeSync app version?
Is your account verified in VeSync? (Go to the app, settings, account and security, Account and it will tell you).
Country?
Can you turn debug mode on in the plugin config and post the logs from the child bridge?
from homebridge-levoit-humidifiers.
@pschroeder89 - Sorry for the delayed response:
- What devices / firmwares? - Levoit Classic 300S Humidifier firmware version 1.3.04 (2.0.00)
- Which VeSync app version? - iOS app version 5.0.61
- Is your account verified in VeSync? (Go to the app, settings, account and security, Account and it will tell you).
Country? - Verified, USA - Can you turn debug mode on in the plugin config and post the logs from the child bridge? Now that I've switched it over to the alias account there's no issue to log. I'd need to go back to my main account to get it to start kicking me out again. Let me know if you cannot recreate this and really want me to try this again.
from homebridge-levoit-humidifiers.
Thanks for the info, unfortunately there's nothing glaring that I can see that would cause this for some users. Whatever it is seems to be on VeSync's end. I'll pass around your workaround to other users as needed, and will close this issue.
from homebridge-levoit-humidifiers.
Related Issues (20)
- Night light support for Dual 200S HOT 16
- 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
- [Device Request] HOT 15
- Logs indicating that the plugin slows down homebridge HOT 3
- [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
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.