Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Error connection refused #5

Open
Martinvdm opened this issue Aug 6, 2018 · 4 comments
Open

Error connection refused #5

Martinvdm opened this issue Aug 6, 2018 · 4 comments

Comments

@Martinvdm
Copy link

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
Copy link
Owner

Maybe your plant sensor is out of range..?

@Martinvdm
Copy link
Author

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
Copy link

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
Copy link

JBS5 commented Nov 3, 2018

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.

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

No branches or pull requests

4 participants