pschmitt / docker-plantgateway Goto Github PK
View Code? Open in Web Editor NEWARMHF Docker image for plantgateway
Home Page: https://hub.docker.com/r/pschmitt/plantgateway/
ARMHF Docker image for plantgateway
Home Page: https://hub.docker.com/r/pschmitt/plantgateway/
So im trying to run this on a PI 3 running ´HypriotOS` (old version).
But when i run the docker container with the following command: docker run --rm --cap-add NET_ADMIN --net=host --device /dev/ttyAMA0 -v /data/plantgateway:/root:ro pschmitt/plantgateway
i get the following output:
Mon, 14 May 2018 17:37:48 INFO PlantGateway version 0.5.0
Mon, 14 May 2018 17:37:48 INFO loaded config file from /root/.plantgw.yaml
Mon, 14 May 2018 17:37:48 INFO Getting data from sensor plant1
Mon, 14 May 2018 17:37:48 ERROR could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:48 INFO Getting data from sensor plant2
Mon, 14 May 2018 17:37:48 ERROR could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:48 INFO Getting data from sensor plant3
Mon, 14 May 2018 17:37:48 ERROR could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:48 INFO Getting data from sensor plant4
Mon, 14 May 2018 17:37:48 ERROR could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:48 INFO Getting data from sensor plant5
Mon, 14 May 2018 17:37:48 ERROR could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:48 INFO Getting data from sensor plant6
Mon, 14 May 2018 17:37:48 ERROR could not read data from C4:7C:8D:63:7C:15 (plant6) with reason: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:48 WARNING fail_silent is set for sensor plant6, so not raising an exception.
Mon, 14 May 2018 17:37:48 INFO try 1 of 6: could not process sensor(s) plant1, plant2, plant3, plant4, plant5, plant6 (fail silent). Waiting 1 sec for next try
Mon, 14 May 2018 17:37:49 INFO Getting data from sensor plant1
Mon, 14 May 2018 17:37:49 ERROR could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:49 INFO Getting data from sensor plant2
Mon, 14 May 2018 17:37:49 ERROR could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:49 INFO Getting data from sensor plant3
Mon, 14 May 2018 17:37:49 ERROR could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:49 INFO Getting data from sensor plant4
Mon, 14 May 2018 17:37:49 ERROR could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:49 INFO Getting data from sensor plant5
Mon, 14 May 2018 17:37:49 ERROR could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:49 INFO Getting data from sensor plant6
Mon, 14 May 2018 17:37:49 ERROR could not read data from C4:7C:8D:63:7C:15 (plant6) with reason: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:49 WARNING fail_silent is set for sensor plant6, so not raising an exception.
Mon, 14 May 2018 17:37:49 INFO try 2 of 6: could not process sensor(s) plant1, plant2, plant3, plant4, plant5, plant6 (fail silent). Waiting 2 sec for next try
Mon, 14 May 2018 17:37:51 INFO Getting data from sensor plant1
Mon, 14 May 2018 17:37:51 ERROR could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:51 INFO Getting data from sensor plant2
Mon, 14 May 2018 17:37:51 ERROR could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:51 INFO Getting data from sensor plant3
Mon, 14 May 2018 17:37:51 ERROR could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:51 INFO Getting data from sensor plant4
Mon, 14 May 2018 17:37:51 ERROR could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:51 INFO Getting data from sensor plant5
Mon, 14 May 2018 17:37:51 ERROR could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:51 INFO Getting data from sensor plant6
Mon, 14 May 2018 17:37:51 ERROR could not read data from C4:7C:8D:63:7C:15 (plant6) with reason: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:51 WARNING fail_silent is set for sensor plant6, so not raising an exception.
Mon, 14 May 2018 17:37:51 INFO try 3 of 6: could not process sensor(s) plant1, plant2, plant3, plant4, plant5, plant6 (fail silent). Waiting 4 sec for next try
Mon, 14 May 2018 17:37:55 INFO Getting data from sensor plant1
Mon, 14 May 2018 17:37:55 ERROR could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:55 INFO Getting data from sensor plant2
Mon, 14 May 2018 17:37:56 ERROR could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:56 INFO Getting data from sensor plant3
Mon, 14 May 2018 17:37:56 ERROR could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:56 INFO Getting data from sensor plant4
Mon, 14 May 2018 17:37:56 ERROR could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:56 INFO Getting data from sensor plant5
Mon, 14 May 2018 17:37:56 ERROR could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:56 INFO Getting data from sensor plant6
Mon, 14 May 2018 17:37:56 ERROR could not read data from C4:7C:8D:63:7C:15 (plant6) with reason: [Errno 111] Connection refused
Mon, 14 May 2018 17:37:56 WARNING fail_silent is set for sensor plant6, so not raising an exception.
Mon, 14 May 2018 17:37:56 INFO try 4 of 6: could not process sensor(s) plant1, plant2, plant3, plant4, plant5, plant6 (fail silent). Waiting 8 sec for next try
Mon, 14 May 2018 17:38:04 INFO Getting data from sensor plant1
Mon, 14 May 2018 17:38:04 ERROR could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:04 INFO Getting data from sensor plant2
Mon, 14 May 2018 17:38:04 ERROR could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:04 INFO Getting data from sensor plant3
Mon, 14 May 2018 17:38:04 ERROR could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:04 INFO Getting data from sensor plant4
Mon, 14 May 2018 17:38:04 ERROR could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:04 INFO Getting data from sensor plant5
Mon, 14 May 2018 17:38:04 ERROR could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:04 INFO Getting data from sensor plant6
Mon, 14 May 2018 17:38:04 ERROR could not read data from C4:7C:8D:63:7C:15 (plant6) with reason: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:04 WARNING fail_silent is set for sensor plant6, so not raising an exception.
Mon, 14 May 2018 17:38:04 INFO try 5 of 6: could not process sensor(s) plant1, plant2, plant3, plant4, plant5, plant6 (fail silent). Waiting 16 sec for next try
Mon, 14 May 2018 17:38:20 INFO Getting data from sensor plant1
Mon, 14 May 2018 17:38:20 ERROR could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:20 INFO Getting data from sensor plant2
Mon, 14 May 2018 17:38:20 ERROR could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:20 INFO Getting data from sensor plant3
Mon, 14 May 2018 17:38:20 ERROR could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:20 INFO Getting data from sensor plant4
Mon, 14 May 2018 17:38:20 ERROR could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:20 INFO Getting data from sensor plant5
Mon, 14 May 2018 17:38:20 ERROR could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 212, in process_all
self.process_mac(sensor)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 190, in process_mac
self._publish(sensor_config, poller)
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 163, in _publish
self.start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 137, in start_client
self._start_client()
File "/usr/local/lib/python3.6/site-packages/plantgw/plantgw.py", line 159, in _start_client
self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 768, in connect
return self.reconnect()
File "/usr/local/lib/python3.6/site-packages/paho/mqtt/client.py", line 895, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:20 INFO Getting data from sensor plant6
Mon, 14 May 2018 17:38:20 ERROR could not read data from C4:7C:8D:63:7C:15 (plant6) with reason: [Errno 111] Connection refused
Mon, 14 May 2018 17:38:20 WARNING fail_silent is set for sensor plant6, so not raising an exception.
could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:62:D3:19 (plant1) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:7D:BE (plant2) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:40:8A (plant3) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:BE (plant4) with reason: [Errno 111] Connection refused
could not read data from C4:7C:8D:63:81:C5 (plant5) with reason: [Errno 111] Connection refused
Could not get data from 6sensor(s): plant1, plant2, plant3, plant4, plant5, plant6 (fail silent).
Mon, 14 May 2018 17:38:20 INFO Disconnected MQTT connection
And i have the following configuration file:
mqtt:
server: 192.168.0.7
prefix: plants/
client_id: PlantGateway
sensors:
# bluetooth mac of the sensor, mandatory
- mac: C4:7C:8D:62:D3:19
alias: plant1
- mac: C4:7C:8D:63:7D:BE
alias: plant2
- mac: C4:7C:8D:63:40:8A
alias: plant3
- mac: C4:7C:8D:63:81:BE
alias: plant4
- mac: C4:7C:8D:63:81:C5
alias: plant5
- mac: C4:7C:8D:63:7C:15
alias: plant6
fail_silent:
I have verified my MAC addresses by using sudo hcitool lescan
and even tried to read some data with sudo gatttool --device=C4:7C:8D:63:7C:15 --char-read -a 0x35
and it worked!!
What am i doing wrong?
Additional question will this run once or repeat every hour?
Thank you for this! I was going to do the same but found your project.
No problem at all using it with Hass.io ;-) Just had to google around for docker hub image.
Thank you @pschmitt !
Atleast what parameters to use!
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
After downloading the docker image https://hub.docker.com/r/pschmitt/plantgateway/, edited the .plantgw.yaml in the home folder of the RPi3, the docker image can not start:
pi@raspberrypi:~ $ sudo docker run pschmitt/plantgateway
Initializing hci0
Can't open serial port: No such file or directory
Can't initialize device: Invalid argument
Retrying initialization
Can't open serial port: No such file or directory
Can't initialize device: Invalid argument
Because the bluetooth interface seems to be on hci0, I did not change that part in the .plantgw.yaml.
Here is a prinscreen where I scan for bluetooth devices, list the bluetooth interfaces and then start the docker: https://i.imgur.com/US433nV.png
Can you point me in the right direction?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.