Home Assistant on Banana Pi BPI-M2 1 GB RAM?

HI ! I want to install Home Assistant on Banana Pi BPI-M2 1 GB. What do you think I can do? Everywhere it says there’s not enough memory. But I can physically replace it — I can solder a BGA chip from another module. Thanks ! p.s I need to monitor the Lifepo4 battery capacity remotely BMS JK-B2A8S20P

Home Assistant requires at least 2GB of RAM.

For your BMS monitoring it would probably be easiest to write a custom RS485 ESPHome component.

I can physically replace it — I can solder a BGA chip 2GB from another module.

RAM soldering aside, will the Banana Pi run HAOS…or be another victim of the pending Core/Supervised/32-bit deprecations in a few months???

https://community.home-assistant.io/t/deprecating-core-and-supervised-installation-methods-and-32-bit-systems/893617

3 Likes

Have you tried running HA on the Pi?

Yeah, 1G is pretty tight. But if you’re not adding a bunch of add-ons and integrations, a minimal HA system should work. I’ve put off upgrading from my 1G RPi, and so far I’ve been OK. My system sits at about 60% memory utilization, with occasional spikes.

The 32 bit depreciation is another good point.

2 Likes

It’s not about whether you can physically solder the ram. There’s other issues that will bite you that make soldering ram a moot point

Im with Tom for your specific monitor needs that’s probably an esp32 esphome device reporting to a ha box and for that it’s probably not this box. Sorry.

1 Like

CaptTom, I understand you have the system installed on the BPI-M2. How did you do that and what image did you upload?

NathanCu the idea is to monitor the battery through the esp32 esphome and it is only intended for the battery, I will not add anything else to the home assistant

No :put_litter_in_its_place:

1 Like

I understand and you will be fighting the platform.

First ha does not support direct GPIO. So first you must combat that. It doesn’t support 32 bit. So no it won’t load.

The correct solution is esp32… Thus the plan is broken before you start.

Ok workaround gpio. There’s a community addon. That takes even MORE ram (see where this is going)

It is a non starter

2 Likes

So why HA at all? What features are missing that you can’t incooperate directly in esphome? :thinking:

https://xyproblem.info/

I suggest to think about what your requirements are and make a new thread in the correct category, this thread should also help you :point_down:

1 Like

OK, I see now. Yeah, HA isn’t the right tool for this. Lack of GPIO support would be an issue. It irritated me when they dropped that, but I have to admit ESPHome is more suited for this sort of thing.

To the specific question, I’m still running an old RPi 3B+. I’ve been able to keep it running with some effort, but HA has moved on. Yes, I’m watching for a NUC or N100 machines to replace it. At this point it’s more a matter of finding the time.

Thank you for the answers. Could you please explain how to configure the ESP32 for remote battery monitoring?

With this

Designed tk do exactly what you want

And the ha box still won’t be the banana pi.

I’m setting up an ESP32 and need to monitor sensor data remotely.
How can I access the ESP32’s parameters remotely without using Home Assistant?

You don’t. You wi still need esphome and home assistant. That’s why everyone jumped the thread.

Yes you have a good idea but the methyand hardware is off.

That Banana is a non starter. Yes J get you can solder and stuff but that’s not your problem you need a completely different box for HA. That one won’t do.

Then you ALSO need a cheap esp32. You load the custom components into an esphome sketch (from home assistant) and then place the esp32 next. To the device it proxy for the HA box.

You had two issues one was thinking ha direct to the battery kit. No that’s esp32. HA is server kit it goes In a closet. Yojr SECOND issue is that pi is not fit for HA.

So yes monitor battery
Yes battery moniyjs esp32
Yes HA. On a different box than that banana pi

Thanks! Do I need to look for another device, or maybe could I use an old Android phone somehow?

The current minspec for HA is something like a pi3-4 as long as it can do 64 bit and has at least two g ram

If it were mine. I’d build ha on my pc and use that and a cheap esp32 for dev to test and see how it works. Fine tune. Then when you’re comfortable bite the bullet on a ha rig (I’m a fan of a garden variety $150-200 USD minipc or any old used pc less than three years old) that way you can spend as little as possible while investigating.

Thank you, but how would you use something like this? Industrial Grade Serial Server RS232/485 To WiFi and Ethernet, Modbus Gateway, MQTT Gateway, Metal Case, Wail-mount And Rail-mount Support, Optional PoE Function | RS232/485 TO WIFI ETH (B)

+in esp32, you can link a telegram bot as an option for monitoring and management.