They work well, do everything I need, and their own app on iphone is nice, but of course I want them in HA! But I cant for the life of me work out how. They seem to work with lots of smart systems, such as Alexa.
I’ve got a few of these set up using the Tuya integration (see here: Tuya - Home Assistant).
Once you’ve got them added and setup with the Tuya integration, you can also set up the energy monitoring (if you have those ones) in HA too. I found this to be helpful in showing how to do this and would probably explain it better than I could!
When setting up devices you can set the ‘Scan Interval’ to 10 and it will update the energy values every 10s. I found with the Tuya integration, they didn’t update very often. It would only update when I had the Smart Life app open and monitoring it through there.
This has the bonus of running locally (without relying on cloud) and helps your energy calculations be more accurate.
It took me some time to understand what I was doing, but after doing one plug, it was easier to understand. Once HACS is installed, navigate to HACS > Integrations > Click “Explore & Download Repositories”, search for “Local Tuya” and continue following the ‘Adding the Integration’ section in the GitHub link above.
Hi,
I know this is an old post, but I just both a few of those Eightree smart plugs and I’m trying to get them to work with HA, so far no juice. I’m having trouble getting the Energy Usage (kWh) and the total Energy Usage (sum kWh) into HA.
Did you manage to get it working with localtuya?
Also How do I get it into the Energy dashboard? (if I get it to work at all)
Could you or someone else help me out with a small step-by-step guide?
TIA
p.s. I have read all the above and all the suggestions mention but couldn’t get it to work.
How did you get these working in HA? I’ve got some and got them added in the Tuya app and they work but in Home Assistant, they just show as unsupported and I can’t do anything with them as they have no entities or anything?
Edit: Having seen other people using these plugs with HA, last night I decided to have another look at them and this time they seem just fine HA, not sure what was going on originally when they showed up as not supported and they didn’t work. All is good now.
I’ve just purchased two of them, and can connected them easily with Matter to Apple HomeKit, but Home Assistant’s Matter gets through “Connecting…” and then gets stuck “setting up…”. I’ve not yet tried Tuya with them…
After updating to yesterday’s Home Assistant 2024.26.0 (with yesterday’s new matter server beta), I still cannot directly connect to these smart plugs via Matter, whereas Apple Home manages that just fine.
However, what does now work (but failed repeatedly before), is that I can first join the plugs to Apple Home, then in Apple Home do the “Put device in pairing mode”, copy the code across to Home Assistant (add device->matter->…), and then it does finally connect. So clearly some bugs to be worked out here, but I have found a means of getting things running with Matter only (no Tuya involved…).
Unsure if any energy monitoring will work via Matter… to be seen.