Oh, I didn’t pay attention, that you have separate branch…
That would mean, you can’t just install pyvesync and play with it.
You will have to install it manually at your PC/Mac.
Install Python first, and try to make “pip install pyvesync” from ready-to-use release. Then get yourself familiar with its usage (follow guides in pyvesync repo).
After that you’ll have to download code from that branch, unzip it and run setup.py, as far as I can tell.
Then you will have that version installed on your computer, and will be able to test, if it works with your device.
@formatBCE I have a Dual200s which if I have read this thread correctly, is not yet supported by the core Integration. I have therefore downloaded your integration into custom_components and restarted HA, but it is not finding the unit. Have I missed a step?
@formatBCE hi, i have version LAP-C401S-WAAA (sea/apac version of Core400S), I added this into DEV_TYPE_TO_HA and PRESET_MODES part of fan.py, but after integration my device still not discovered. am i doing it wrong?
Added the vesync_formatbce to custom_components but don’t see it pop up trying to add integrations.
Am I doing something wrong ?
I see it being loaded … but still doesn’t pop up when trying to add
2022-03-28 19:21:07 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration vesync_formatbce which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
It’s not supported by this integration, unfortunately.
Right now I have lack of time for adding new devices.
If you have time to check it’s work with pyvesync to be sure, you can add it by yourself by modifying humidifier.py and fan.py files.
Or you can wait for war in Ukraine to end - I will do it.
There is a PR running that will hopefully mean that the HA integration will support any device defined in the pyvesync library. Title of the PR is a little misleading…
Doesn’t quite do it yet and there are a few other wrinkles to fix.
I’ll bring my own contribution to the subject. I made a HACS installable version of @baz123’s repo. I also started a bit of refactoring and cleaning up. Don’t hesitate to try it out and report problems. I only own the Dual 200S humidifier, so I can’t really do much on my own for other devices.
Cheers
NB: This has the same domain as the core integration for vesync on purpose to override it. Don’t install it if you rely on core capabilities that aren’t present in the custom one. Open an issue, I’ll try to add it.
@formatBCE for the past few days, my humidifiers are becoming unavailable every few hours. I am able to get them back only by manually reinstalling the integration and restarting HA. That works for a few hours, and then repeat… Are you seeing this elsewhere? Any ideas?