Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install pynx584 via Docker_Compose in Pi4 with Home Assistant (HA) #42

Open
egtltd opened this issue May 18, 2020 · 5 comments
Open

Install pynx584 via Docker_Compose in Pi4 with Home Assistant (HA) #42

egtltd opened this issue May 18, 2020 · 5 comments

Comments

@egtltd
Copy link

egtltd commented May 18, 2020

Dear Dan.
I have made a serial to wifi web server with esp8266 listen in 23 port. When install from terminal the pynx584 server in HA all work ok. The pynx584 connect to nx584 via wifi and get the zone status, arm disarm etc. When reboot the HA the installation of pynx584 server is lost.
I try to install with Portainer.io via Docker Compose but add-on in home assistant portainer only compose file format version 2 supported at the moment. I try a lot to find something in web but I can't install the pynx584.
Please if you can write to me how I can install the pynx584 in Pi4 with home assistant and hassio container.
Now i have this 2 containers on my Pi4.
hassio_multicast - homeassistant/aarch64-hassio-multicast:2
homeassistant - homeassistant/raspberrypi4-64-homeassistant:0.109.6
image

@rayzorben
Copy link

@egtltd

I got it working fairly easily. First you need to install docker-compose via

sudo apt-get update
sudo apt-get install docker-compose

Next, clone this project. I put everything in ~/docker myself.

cd ~/docker
git clone https://github.com/kk7ds/pynx584.git

Then it is just as easy as

cd ~/docker/pynx584
docker-compose up -d

@egtltd
Copy link
Author

egtltd commented May 22, 2020

Dear Ray thank you for your answer. I am noob in Home Assistant.
Try to write commands with ssh PuTTY and take this answer:
image

next try to find files or folder with name docker an take this:
image

when write cd ~/docker take this:
image

I make something mistake ???

@rayzorben
Copy link

Not sure if you are still looking at this. I decided to use hassos myself the other day and hit the same issue.

Because of that I had to release an aarch64/arm64 version of the docker container. You can find this on docker hub at rayzorben/pynx584

I installed it in portainer on HASS with no issues

@hunted5
Copy link

hunted5 commented Jan 21, 2021

thank you for creating that Image, I can grab the image, although it is crashing on start and the only log feedback is

No handlers could be found for logger "root"

I am new to docker, I don't know if I have misconfigured the container. Also, how is the interface port and baud for pynx584 configured with it inside the container?

do I need to export an re-import the image?

@kk7ds
Copy link
Owner

kk7ds commented Sep 17, 2022

Is this still an issue or can I close this? I don't use hass, but I'm guessing the repo mentioned in #72 might help now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants