This is awesome. Could this python module (or similar) eventually be extended to eufy’s other smart products, like the switches and vacuum?
I have a switch, but not a vacuum. With luck the vacuums speak a similar protocol in which case things will be easy enough if someone’s willing to send me debug logs from the Android app.
Hey @mjg59, im a student in Honduras, and im trying to make a little app to turn on or off a Eufy Bulb but i cant find any documentation or api for any Eufy product. How do found the way for connecting HA to a Eufy Bulb? Thanks!
mjg59, I have the smart plug (linked above), so let me know if I can provide any assistance or some form of testing. Happy to help, if at all possible.
Thanks!
I recently purchased some Eufy bulbs for a chandelier that I have in my dining room (5 bulbs). This would be awesome to have. How close are you to having this ready @mjg59?
I’m still waiting for permission to release the code - I’m trying to get it done via a separate process at the moment. Sorry it’s taking so long!
Ok this code is now up at https://github.com/google/python-lakeside - I’ll look at integrating it into HA this weekend
Ok, https://github.com/mjg59/home-assistant/tree/eufy works here. You’ll need configuration like:
light:
- platform: eufy
username: email@address
password: Passw0rd
so that the access credentials can be pulled down from the cloud service. Right now this will only work for lights and may go quite wrong if you have any switches or vacuums on your account, but I’ll try to sort that out before too long.
Fantastic! Thanks for the update.
I don’t mean to be dense, but is it active now in the current version as a custom component or will it be included in the upcoming release?
I need to handle a couple of corner cases and write the docs, but I’ll be submitting it for inclusion
Thanks for the light modification! How difficult would it be to enable the switches and plugs made by Eufy? I’ve been looking at the eufy.py file for the lights, and realizing I don’t know enough python to try this myself, at least right now…
Thanks again!
Is the component active now in .66? I was looking for it in the release docs, but didn’t see it. Figured that it required a little more for inclusion into potentially .67.
I got switches working today, so I just need to unify the platform and add components for switches and lights and this will be good to go. No idea about vacuums though, I’m afraid!
Excellent news! Any chance the energy monitoring smart plug might be easy to add? I’m pretty sure the answer is “no”, but had to ask!
[Link above in thread]
Easy to add the switching aspect of it, the energy monitoring side looks trickier
Good to hear about the switching, and completely understandable about the energy monitoring. Thanks!
https://github.com/home-assistant/home-assistant/pull/13773 is the PR for basic bulb and switch support
This was merged, 0.68 will support Eufy bulbs and switches
Fantastic news! Thanks for all the work you put into this!