bmartin5692 / bumper

A standalone and self-hosted implementation of the central server used by Ecovacs vacuum robots.
GNU General Public License v3.0
301 stars 50 forks source link

Create Home Assistant Add-on? #54

Open backcountrymountains opened 5 years ago

backcountrymountains commented 5 years ago

So I have a N79 (XMPP) bot that I currently control using SUCKS through Home Assistant. It usually works but internet outages cause persistent failures that require a reboot of the Home Assistant server.

Ideally, bumper could solve connectivity issues by interacting directly with SUCKS and Home Assistant through Home Assistants Add-on functionality.

https://developers.home-assistant.io/docs/en/hassio_addon_tutorial.html

I don't know how to do this.

My understanding is that Add-ons are just docker containers that are run by Hassio, so I should be able to just configure Hassio to run the bumper docker image?

Can you give me any advice here?

Thanks.

bmartin5692 commented 5 years ago

Interesting. I don't use Hassio, but this seems relatively straightforward.

It looks like you could go two ways:

  1. Let hassio build the docker image itself (I believe this is what the addon tutorial you provided shows. a. You may be able to clone bumper and use the existing Dockerfile or modify it slightly. Then you'll need to create the config.json required by Hassio to identify the addon.
  2. Find a way to use the existing docker image from dockerhub.

Are you using Bumper today? Maybe start with seeing how it works outside of a Hassio addon first, then trying the addon method after you know things will work.

thib5 commented 4 years ago

Hi ! I have the same need ( bumper for Hassio ) ... my issue in home assistant it won't update the robot status so I give a try to bumper and I was able to set it up ( even use the app on my iPhone ) but I was not able to make home assistant work with bumper... my robot was always offline I guest it's a certificate issue but I don't know how to tell home assistant not to check ssl or give a specific certificate

Marcoske23 commented 2 years ago

I dont know if exist but i was searching AND nothing. I upvote this idea