pschmitt / docker-plantgateway

ARMHF Docker image for plantgateway
https://hub.docker.com/r/pschmitt/plantgateway/
5 stars 1 forks source link

Error connection refused #5

Open Martinvdm opened 6 years ago

Martinvdm commented 6 years ago

Hi i am getting Connection Refused.

Fri, 03 Aug 2018 22:52:36 INFO     PlantGateway version 0.5.0
Fri, 03 Aug 2018 22:52:36 INFO     loaded config file from /root/.plantgw.yaml
Fri, 03 Aug 2018 22:52:36 INFO     Getting data from sensor Achtertuin
Fri, 03 Aug 2018 22:52:36 ERROR    could not read data from C4:7C:8D:66:E8:89 (Achtertuin) with reason: [Errno 111] Connection refused
Fri, 03 Aug 2018 22:52:36 WARNING  fail_silent is set for sensor Achtertuin, so not raising an exception.

plantgw:

    - mac: C4:7C:8D:66:E8:89
      alias: Achtertuin
      fail_silent:

using latest version in Docker. Docker config:

  plantgateway:
    image: this_image:latest
    container_name: PlantGateway
    restart: always
    network_mode: host
    volumes:
      - /home/docker/plantgateway/config:/config
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
pschmitt commented 6 years ago

Maybe your plant sensor is out of range..?

Martinvdm commented 6 years ago

No because Gattool is working ok Never solved the issue but did direct Bluetooth to HA, so No need for plant gateway any more

tringler commented 6 years ago

I have the same issue and can confirm, that the sensors definitely in range - In example I can see that device in ' bluetoothctl' as [NEW] Device C4:7C:8D:65:C9:09 Flower care - In the docker log I get:

Wed, 19 Sep 2018 13:50:43 ERROR    could not read data from C4:7C:8D:65:C9:09 (livingroom_1) with reason: [Errno 111] Connection refused
JBS5 commented 6 years ago

Have had the same problem and the errors means the connection to the MQTT broker can not be made. In my case I used the wrong port number.