Etekcity WiFi Smart Plug

I have two of these WiFi plugs and I’d like to get them working with HA. I’ve searched but haven’t found a solution. Is there any way I could make it work as a smart plug? TIA

https://www.etekcity.com/product/100276

1 Like

IF there’s an api I’m sure someone could get something working. In the meantime you might could snoop some traffic between the app and device and maybe find out what kind of communication they’re using. It might be as simple as http or mqtt or json or whatever. It’s probably just simple http sending some json. Figure that out and you could send it yourself via a script or switch.

Don’t have them but someone over on slick deals has a couple of links. ~13th response or so. Maybe a place to start?

Those links from the Slickdeals post are a good place to start. Guess i have more reading to do. Thanks!

These things are cheaper than many zwave or zigbee plugs! I searched for the API docs online but I couldn’t find them. Maybe I’ll email the company and see if they’ll point me in the right direction. Many of these devices use a simple REST API and if that’s the case, it’s trivial to get it to work.

Anyone got anywhere with these. Looks like there is an api https://www.npmjs.com/package/etekcity-smartplug

Ugh. I was looking at how cheap these were too and getting excited until I looked at that API you sent. It uses a cloud-based service. It’s not as much of an API as much as someone having written JS to log into the website and perform actions and grab data. Not a REST API and it’s cloud based. And the URL seems shady. Convinced me not to buy these things unless someone can provide an API to talk directly with these things.

I’m working on getting these working too. It looks like either someone else is working on it, or it was working at one time:

http://www.pythonexample.com/snippet/vesyncpy_tylergets_python

There is a library available for this already that works with the VeSync account.

Also this plug now works with Google Assistant so it should be easy to integrate.

Yes. That is the API that the code I linked to in the first post uses. If you take a look at the code, you’ll see it requires this API package to work.

Yep, would be nice if these could be flashed so that control could me made locally instead. i have 4 of these and i regret buying them after moving everything to hass.

I know that these devices can be operated locally without connecting to the cloud service because the first time I set them up I bypassed account creation and connected and used them just fine. I tried to do a wireshark on my WiFi network to capture the traffic but could not see them. Anyone have any idea how I could capture that WiFi traffic so I could start RE these things?

I looked into that, it looks like it creates an anonymous profile but behind the scenes it uses the same logic/web calls with that anonymous user is.