Download and extract folder to custom_components.
Reboot HA.
Go to integrations and add VeSync formatBCE there.
Will work
P.S. pyvesync is Python library, and HA integration works on top of it. Donāt try to install pyvesync directly into HA - you have to use integration instead.
Ok another question. by using the integration you provided above I am now able to turn the fan on and off on my 400S Air purifier through home assistant, but iām unable to see anything else (air quality, fan speed, etc).
As you might see, theyāre adding template sensors to see attributes as separate entities.
Short word: there is āfanā entity, created by integration.
It has state switch (on/off) - itās main property. As entity can have only one main state, other properties are added like āattributesā.
If you navigate to Dev Tools section, and find your fan entity there, you will see attributes with all available info there. They also can be used in automations, for example, as triggers. But to add them to UI, youāll need to create another entities manually (template sensors), which will use fan attributes as main state property.
Hi everyone, I have loaded this custom component, but I am not able to see any entities related to it. I currently have a Dual 200s Humidifier. I noted it shows as supported in pyvesync, and am curious if its simply not supported in HA via this component. If not, am I able to edit anything to obtain basic functionality? Been at it a couple hours now.
Hello, folks. Anybody else suddenly lost the humidifier?
It worked very well via the @formatBCE integration, and then suddenly in the morning all greyed-out
Hey.
It happens to me time to time, looks like VeSync servers lag or so.
Just delete integration and re-add it - you donāt have to even reboot HA. Should work.
If itās not, try to delete humidifier from VeSync app, and re-add it there first.
Actually. I apologies. Looks like my humidifier lost wifi connection. Nothing changed about the network. Humidifier kept running, but showed unavailable in the app too. Removing and adding it back in the app solved for it.
Thanks for making this custom extension BCE. Works great. Also educational in this thread I learned you can find state names and all possible attributes for a given entity in Developer Tools - which is super super helpful!
I canāt really say actually - itās from pyvesync library, and it takes them from official API.
I can only guess, that one setting is related to mode, and another one is current level. At least for me in auto mode they always differ.
@formatBCE First, I want to say thank you for being so active on this thread. Second, Iāve followed the steps to get this repo installed but Iām not seeing it show in the integrations. Here are my steps.
Great Work! But sadly i got a Problem finding my Dual 200S after adding the Integration. I can input my username etc. when setting the Integration up, and the Humidifier also shows up in the app, but there is no entity added. I tried to remove the Integration and also the Device in the App, but nothing shows up, what could also be a possible Problem? I start to feel stupid since its working for everyone elseā¦
You may try to debug with downloading pyvesync, and running it fromm console. It has good README.
But first try to check HA Core logs right after restart - it should give you an error.
Sometimes vendor API site is slow, and pyvesync canāt get dataā¦
I created a dev instance with these changes and tested that the humidifier operation works as intended. Please take a look at this PR to make sure Iāve implemented the changes as expected. Thanks!