Home Assistant on rPi3 using WiFi

Hi all!

Just purchased a UPS for my router and MQTT server. I also purchased a small power bank for the rPi running home assistant.

Now when power goes down, a router that is situated with the rPi will go down as well. So I was contemplating using WiFi as a back-up for my rPi. Would that work?

Would like to primary run hard-wired, as not to congest my wifi…

Thanks!

I just set up WiFi and it seems to be working as I want. LAN is the primary, WiFi is secondary. When LAN is lost, WiFi takes over. I added the WLAN interface to my overview and little data is being used there.

Would you be willing to share a link to the power bank you are using for the Pi? This has been discussed here a number of times, seems many don’t charge and power a device at the same time.

Also did you do something to setup the wifi as a failover? Having both wired and wifi on my Pi caused havoc for my Pi as it was actually connecting the wired and wireless at the same time.

Hi,

I haven’t actually received mine but this one came recommended by someone (who is using it) and is the one that is sold for that purpose by adafruit.

Mine should be here Monday, will tell you how it work then :slight_smile:

Got mine today, doesn’t seem to be working as intended :frowning: … It blinks for about a second when I unplug AC. It does charge while using it. Will fully charge and do some more tests.

Quick update.

When I unplug AC. The rPi reboots, but the blink is incredibly short. That is likely why this unit works for some people.

Can you share how you set up your wifi as secondary to wired on your Pi? I want to do the same.

Thanks!

I moved on from the Pi many moons ago. But as far as I remember, I just enabled WiFi and it used it as a second connection.

Regarding the power bank, I had that same issue too.
After doing lots and lots of Googling, I decided to get this GeekWorm X728 UPS & Power Management Board which charges and powers the Pi at the same time.

It isn’t a very pretty solution, but it works very well for me.

Hi,
could you describe how to read UPS state from x728?
I bought it too, but when i try Beduir’s x720, i got:

X720 sensor not detected at 0x36

I have hass.io

Thanks

Have you followed the script install guide towards to bottom of this page? https://geekworm.com/blogs/news/new-x728-max-5-1v-8a-18650-ups-power-management-board-with-ac-power-loss-detection-auto-on-safe-shutdown-function

Option 6 will then show you the state.

I have hass.io
Whole image on RPi 4B.
I don’t know how to install necessary sw in hass.io :frowning:

I am also a geekworm X728 UPS Hat owner and just installed the HassOS image for my 8G RPi4.

So it sounds like we need to use scripts to preset the I2C values to HA to use?

Were you successful?