Leakbot integration

Not sure if anyone has one of these, got one arriving with my home insurance renewal. Hopefully there is a way of integrating but currently not a single thing on GitHub I can use or any other information currently. Anyone out there with any information I can look at?

https://leakbot.io/

How did you get on?
Did you manage to build an integration?
I have also purchased a Leakbot, and would be keen to integrate with HA.

I have one but am unsure on how easy it would be to integrate with HA, their app guides you through the whole set up process and it has helped me identify leaks in both of my toilets which I have since fixed. Really powerful idea.

I don’t see any developer API that can be utilised so not sure how long before any integrations of it with other products let alone HomeAssistant will come about

Any updates on leakbot. Have someone tried to integrate it into Hassio?
I’ve installed it with the leakbot app but would really like to integrate it into Hassio. :slight_smile:

I’ve got one too, just installed - Its now training (whatever that means). Hoping I can modify the notifications if they come through on my phone to action them through HA. Shame it doesn’t have an open API.

Sadly there is no public APIs

Thanks for getting in touch.

Currently there are no integrations available.

Kind Regards,

LeakBot Support Team

no updates on this?

Got this from the leakbot team the other day:

Hi

Thank you for your email.

At present no LeakBot will not link up to any other Smart Home Solutions.

It maybe something we look at in the future.

Kind Regards

LeakBot Support Team

//F

In short of an api, it should be possible to at least parse the alert emails with IMAP Integration for now.

Reverse enigneering the app should probably be doable also but since the app does not expose much useful information atm it’s probably not worth the effort.

Edit: The terms and conditions for the app explicitly forbids reverse engineering efforts

I sent them the same question too. Perhaps the more that ask, the more likely they’ll be to consider it

I am going to start working on this for Home Assistant, not sure how fast as don’t have massive amounts of time and really depends how easy it is.

Will be done here sHedC (Richard Holmes) · GitHub

1 Like

I have a leakbot too, and I’m no stranger to programming. Please say so if you need help coding/testing. I don’t have too much time/energy, but maybe you’ll catch me on a good day :wink:

2 Likes

Bit slow as been busy at work, but have released a 0.1.0 early release, it has 3 sensors and 1 device tracker (which I might remove).

I have submitted to HACS default, last time my integration took weeks to be added lets see.

  • battery status
  • leak status
  • leak free days

Translations started but don’t know all the states yet, also update is every 4 hours as initial look my device only updates a couple of times a day.

NOTE: This loggs you out of the mobile app as they can’t be logged in at the same time, limitation of the leakbot token setup.

Repo: GitHub - sHedC/homeassistant-leakbot: Leakbot Integratio for Home Assistant
HACS Pull Request: Adds new integration [sHedC/homeassistant-leakbot] by sHedC · Pull Request #2450 · hacs/default · GitHub

Could do with help on status’s for Leak and battery status, also not sure when you get notified of a leak (mine didn’t actually detect my leak I had, have to contact them about that).

Great job. Running the integration right now and everything works as expected.
Thank you for your effort.
Btw. The information about leak-free days is in hours, but when you click on “more” and get a graph, it is measured in days.
Maybe a HA thing
/Lars. Denmark

Found out.

Just commented the following in sensor.py. Now the sensor shows days

  # device_class=SensorDeviceClass.DURATION,
    # native_unit_of_measurement=UnitOfTime.DAYS,
    # suggested_unit_of_measurement=UnitOfTime.DAYS,
    # unit_of_measurement=UnitOfTime.DAYS,