Ecoflow River 3 Plus to MQTT via USB

Not sure why I’m sharing this, it’s a bit niche. I was struggling to get the official API working with my Ecoflow account, I think i registered in a different country and have given up trying to sort that out. Instead I took another approach to go completely offline.

I have designed my own PCB which takes the telemetry from the USB Type-B port on the back of the River 3 Plus and sends it over WiFi to my HA MQTT service, which Home Assistant can make use of. Probably a bit over the top to be honest as it’s always plugged in, always at 80% charge and always drawing ~17 watts.

Some images below of the PCB and dashboards.



Note: I did the PCB, Claude did the firmware and the MQTT integration. Amazing what Claude can do, it probably would have taken me 12 months messing about finding time in the evenings, Claude nailed it in about 3 weeks of occasional evening work.

Nice!
Just in case you haven't seen this, if you can plug the river into your home assistant host you could also use this: GitHub - makerwolf/ecoflow-river3-plus-usb: HACS Component supporting Ecoflow River 3 Plus connected via USB · GitHub

Thanks, I hadn’t seen that.

It probably does make sense to use a direct usb connection - as it’s probably a good idea to have your Home Assistant server plugged in to the ups.

Well it really depends on your use case, but if you use the river as a ups in your server room right next to the device running home assistant, it may certainly make sense to do so :sweat_smile:

It's how I use it at least, powers my HA, Modem and Network including PoE, NAS and KNX Bus for a few hours and HA shuts stuff down progressively with level of charge.

But I totally feel your project, very nice work you've done there!

I have some spares if you want one. Onboard led doesn’t work but functional otherwise. If in the UK I’ll send it free :wink:

Would it be possible to share the code?

I want to make a nut server on the esp32 serving the data from the river 3 from usb.
The river 3 has been working great as a ups for my Mac mini but the lack of proper support on the Intel Mac is annoying and running nut server works but if the Mac is asleep then nothing can react to the power loss event.

I have something working with a rpi but want to try with an esp32.

Thanks