HomeAssistant + Yarbo?

So I’ve recently set up home assistant on my Pi5 and have been noodling some ideas back and forth with Gemini. Check out what we came up with:

Google Photos

3 Likes

Are you getting images from the app somehow?

Nope, I’ve been monitoring the charging curve using a smart plug

Let’s keep this quiet, we don’t want to give any reason for a delay of Yarbo opening it up for HomeAssistant tie in. :grin:

All joking aside, this is a pretty great approach to extracting some sort of status info out of the Yarbo walled garden. I really like your approach.

I want to add an actuator to my gate so Yarbo can open and close as needed. My thought would be to tie in line crossing and region exiting for an automation to trigger when Yarbo would be heading to the gate vs working inside the gate.

4 Likes

Have you looked at reading the json requests and responses?

1 Like

Like using Wireshark over LAN or something? Are they plaintext or encrypted? I would assume/hope the latter for security

They might be encrypted. I think it’s using ROS2, and so the commands would be easy to read if they’re not. I will try it after I get done fiddling with the basics.

Has anyone tried using an ADB (Android debugging) connection to a phone that has the app, and then wrapping that in an api?

My first attempt was a smidge too simple, now I got it to even switch to “track” the upper % charging curve and the top offs/balancing…although some might also be the battery heater: https://photos.google.com/share/AF1QipN8orTA3FJU8QICNuQBYZWPqgocF4Lv-Bw5ogXNrVk3g77hx9_qTC581X88opL_hA/photo/AF1QipP46a1XHPaUNACyds-fWnxMKlG-Tapsa9rxo2cH?key=eGJXdWJBbTF4dl96VElVdXk3UWpmT3gxdmI4Z2N3

Got this set up: GitHub - markus-lassfolk/home-assistant-yarbo: Home Assistant integration for Yarbo robot mowers — local MQTT control with zero-config auto-discovery · GitHub
Looks like battery care does let the percentage drop:

3 Likes

NICE! Thanks for sharing and hopefully once you get a fully fleshed out Yarbo dashboard you’ll share it with us. :wink:

The Yarbo app is pretty good for that, I’m more excited about the automations and alerts! We can actually schedule work plans and execute them if there’s snow…and this just came out now that winter is winding down​:sweat_smile:

2 Likes

I agree. I’ve just sent some pretty amazing looking HA dashboards that are so well made they can keep you from using the vendors app for nearly everything.

2 Likes

I played a little with the markus-lassfolk/python-yarbo Yarbo HA integration. The first thing I noticed was the Yarbo app reported 84% whereas this integration reported 82%. I’ll check back when the app says 100% to see what my dashboard says.

Update: Yarbo is reporting 100% with Battery Care Active and HA is reporting a steady 100%

The docking status doesn’t seem to change if it’s plugged in or not. The light controls are bit buggy. Sometimes they work, sometimes they don’t, and sometimes only some lights turn on. Some of the other entities are unavailable and some others I’ll check into later.

I truly hope Yarbo let’s this ride, but since this is gaining a lot of traction, I’m betting the first thing that gets “fixed” in the next update is blocking access.

lol. Unfortunately you’re probably right.

Great work!

So, I did the download on HACS and restarted Yarbo. Does that mean I do not have to install it through Devices and services as a regular HACS integration?

Yarbo does not seem to pop up for the moment.

Thanks

In Devices and Services did you add the Yarbo Integration? If not, you’ll need to do that then if it doesn’t find the Yarbo Core IP automatically, you’ll need to manually type that in. After that it should work.

2 Likes

Honestly it seems like a “bug” to allow un-encrypted MQTT data over LAN…someone opens the wrong port on their router/firewall or gets an infected device onto that network and your yarbo will be a formidable physical attack and surveillance vector. It should at least require a certificate or credentials. EcoFlow recently went through this, they now have a very usable API

2 Likes