Anybody install HA on your wifi router?

I’m currently running HA on my Raspberry Pi 2B, but am getting occasional crashes, likely due to write events contaminating the SD card.

I’ve just installed OpenWRT on my TP-Link WR841N router. It works great :smiley:. It seems a great fit, putting HA on the router.

Has anyone tried that?

1 Like

The routers nowadays are very similar to single-board computers. Depends on your needs it’s a way to go.

I personally prefer to run HA on a CubieBoard of the SD card.

[quote=“amail”]I’m currently running HA on my Raspberry Pi 2B, but am getting occasional crashes, likely due to write events contaminating the SD card.

I’ve just installed OpenWRT on my TP-Link WR841N router. It works great :smiley:. It seems a great fit, putting HA on the router.

Has anyone tried that?[/quote]

Would you mind to explain how to install HA on TP-link router?
Does it also work with dd-wrt?

Interesting idea, I was thinking about it but don’t know how to implement, I need also a MQTT broker.
The problem you mention may be ported also if you succeed to use the router as HA host if you continue to use USB or memory card. When I used a USB memory for FTP server to store images from a webcam, the memory get blocked often and dies in short time due the many writes.

Good day to everyone!
I also have router (Gl-inet 6416A) with OpenWRT onboard. I want to use it as home automation server. But it’s impossible to install on it pip3 package. How else can i install HA on it?

In the past there was get-pip.py present. Not sure if it’s available for Python 3. There are two other options: use a virtual machine on OpenWRT or do the setup of Home Assistant and it’s dependencies manually. Not sure if there is support for running virtual machines on OpenWRT for the first option. Latter one would require a lot of time and patience.

Hi, is there some guide how to install Home Assistant manually? Has anyone tried that?

No,because the manual way is just

$ pip3 install homeassistant

But this does not solve the issue with the requirements (pip3 install -r requirements_all.txt) which needs be available as the installation during the start-up is likely to fail on a router or similar.