koleo9am / hass_max_home_automation

Home Assistant support for MAX! Cube via MAX! Home Automation - HTTP API
The Unlicense
3 stars 7 forks source link

Install on Hassio. #9

Open tantararin opened 4 years ago

tantararin commented 4 years ago

Hello: I'm trying to install Max Home Automation in the same RPI 3 B + What is your Home Assistant? Hassio, hassbian,... I can not install in the same RPI Can you help me?

tantararin commented 4 years ago

I have Home Assistant installed with Hassio. I have Docker and access via Portainer, but I don't know anything about the operation of this system. How do I install Max Home Automation on Docker?

koleo9am commented 4 years ago

In Portainer go to "Containers" and download and run image "koleo9am/max-home-automation" from Docker Hub. The initial setting is exposing ports 5800 (web access to max-home-automation application) and 8080 (for access to JSON API). When creating container I recomend to set up a volume for configuration (Host/volume=max_home_automation, Path in container=/config) to store configuration in named volume - this will help to persist configuration in future during upgrades.

After container start go to http://IPofYourDocker:5800/ where you will see max-home-automation. Go to settings page and setup the application. Enable HTTP server on port 8080. Set the CUBE address and disable LAN discovery - MHA finds the cube faster.

Then configure the Home Assistant to connect to HMA in docker.

Hope this helps.

Ondrej.

tantararin wrote on 09.11.2019 3:40:

I have Home Assistant installed with Hassio. I have Docker and access via Portainer, but I don't know anything about the operation of this system. How do I install Max Home Automation on Docker?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/koleo9am/hass_max_home_automation/issues/9?email_source=notifications&email_token=ABIIPGMQXBDAAZAU5F6VZE3QSYPIFA5CNFSM4JIKUMT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDT3YYI#issuecomment-552057953, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIIPGMXVSJUUIVUFQWVFZ3QSYPIFANCNFSM4JIKUMTQ.

-- Sent from Postbox https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach

tantararin commented 4 years ago

Hello again: Today he saw your message and tried to do it. Portainer makes the attempt to load it, but in the end the container does not appear in the list and I cannot start it.

I have RPI 3 b + and installed directly in Hass.io (101.3) Later I installed the Portainer Addon. Is it a configuration problem, chosen system, ...? Thank you very much for your attention !!!!!!!

koleo9am commented 4 years ago

Hello, sorry for late answer. If the image from Docker Hub doesn't start build it by yourself. I guess, it is probably caused by different processor architecture. I run the MHA on Asustor NAS.

Go to porainer to "Images". Use "Build new Image". Choose "URL" option and set URL to git repo https://github.com/tantararin/max-home-automation. Click "Build the Image".

Then You should see the image in your container.