Connecting Avidsen Home Plugs to Home Assistant via Tasmota

A while a go I bought these Avidsen branded smart plugs in a local hardware store.

These plugs work fine. The only downside they have is you need the Avidsen Home app on your phone to control them.

A while ago I installed home assistant on a raspberry pi to make my home "smarter". HA integrates flawlessly with Home Wizard which I use to monitor my gas and electricity consumption. It also integrates with my recently purchased tado thermostats.

So everything started to get integrated ... except for the Avidsen plugs.

After doing some research, I found that these plugs are actually rebranded tuya plugs and home assistant seems to integrate with these. This integration, however, is a bit tedious. You need to re-register all your plugs in the Tuya Smart app and after that you need to set up integration with home assistant on tuya's IoT cloud.

Although this works, it seemed like a lot of hassle to have home assistant running in my study, talking to a cloud in a different country to control a smart plug in the living room.

After some more research, I found that some tuya devices can be re-flashed with tasmota ... and tasmota has local integration (so, no cloud!) with your home assistant.
So I grabbed a raspberry pi 3 I had lying around, installed a fresh OS on it and followed the instructions from the Tuya Convert readme.
This did not work. The master branch in the project seems a bit outdated, but I had better luck re-flashing using the development branch.

After applying the correct template, you should now have tasmota installed on the Avidsen Home plug.

    {"NAME":"Avidsen HomePlug","GPIO":[0,0,0,0,224,35,0,0,289,288,0,0,0,0],"FLAG":0,"BASE":18}

Comments

Popular posts from this blog

Remove copy protection from PDF documents

The story of the Cobalt Qube

Jori Hulkkonen feat. Jerry Valuri - Lo-Fiction