e1z0 / nbe-blackstar-homeassistant

NBE Blackstar+ Pellet Burner MQTT Integration into Home Assistant via Home Assistant Auto Discovery protocol
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Docker Container doesn't work #1

Open hrsteffen opened 1 year ago

hrsteffen commented 1 year ago

Hi,

first, thanks for sharing your project. I tried ro install it for getting some information of my nbw pheonix pellet burner. After starting the docker container i recieve the following log: standard_init_linux.go:219: exec user process caused: exec format error

My docker compose looks like this

version: '3.0'
services:
    nbe:
        container_name: nbe
        image: nulldevil/nbe:aarch64
        hostname: nbe
        restart: unless-stopped
        environment:
           NBE_SERIAL: "xxx"
           NBE_IP: "192.168.0.xxx"
           NBE_PORT: "8483"
           NBE_PASS: "xxx"
           MQTT_IP: "192.168.0xxx"
           MQTT_PORT: "1883"
           MQTT_USER: "user"
           MQTT_PASS: "password"
           MQTT_CLIENT_NAME: "pellet-burner"
           REFRESH_RATE: 10
           DEBUG: 1
           HA_PREFIX: "homeassistant"

TRUE for debug didn't work, so i replaced it with 1.

Any ideas what causes the problem?

br from germany,

Steffen

e1z0 commented 1 year ago

Hi, the default architecture for docker container was ARM x64, now i've switched it to Intel x86_64 and committed changes, the new image is already built and pushed with support for x86_64 also. Update your downloaded repository with git pull command and make up should work just fine!

hrsteffen commented 1 year ago

Hi,

thank you for the quick response. Unfortunately it still doesn't work with the same error. I'm runnning docker on a raspi 4. Mosquitto and HA are running on the same pi.

br

e1z0 commented 1 year ago

Well, the images are built only for x86_64 and aarch64 architectures. For ARM x64 you should run make up_aarch64. ARM 32bit is currently is not supported. But you can build images by yourself. There are the commands for this task:

docker build -t nbe:arm32 -f docker/Dockerfile --no-cache=true .
COMPOSE_PROJECT_NAME=nbe COMPOSE_IGNORE_ORPHANS=True docker-compose -f docker-compose.yml up -d

Make sure you replaced nulldevil/nbe:latest with nbe:arm32 in docker-compose.yml before running it.

elvis7 commented 8 months ago

Does this still work? I get error "Unable to query nbe for this time..." Also checked the port and noticed that it's closed.

e1z0 commented 8 months ago

Hi, make sure you have compatible NBE model.

elvis7 commented 8 months ago

I have NBE BS+ (Blackstar+) 16

On Tue, Oct 31, 2023 at 7:23 AM e1z0 @.***> wrote:

Hi, make sure you have compatible NBE model.

— Reply to this email directly, view it on GitHub https://github.com/e1z0/nbe-blackstar-homeassistant/issues/1#issuecomment-1786468672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYBYGO32GKDXGRSKQEXPL3YCCDNXAVCNFSM6AAAAAATQ3WBYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGQ3DQNRXGI . You are receiving this because you commented.Message ID: @.***>

elvis7 commented 8 months ago

My BS+ says, controller version 16.0000.319 Maybe they closed or changed the port on the new controler version?

MadsALarsen commented 7 months ago

For me i had to put (debug: "true" ) then it worked for me