-
-
Save brianhanifin/45e439b8b9b3bde3fcedcbc5876e466f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fri, 08 Jun 2018 05:35:04 INFO try 1 of 6: could not process sensor(s) FlowerCare01. W | |
aiting 1 sec for next try | |
Fri, 08 Jun 2018 05:35:05 INFO Getting data from sensor FlowerCare01 | |
Fri, 08 Jun 2018 05:35:05 DEBUG Connecting to device C4:7C:8D:64:3B:0E using interface | |
0 ... | |
Fri, 08 Jun 2018 05:35:05 ERROR could not read data from C4:7C:8D:64:3B:0E (FlowerCare0 | |
1) with reason: Failed to connect to peripheral C4:7C:8D:64:3B:0E, addr type: public | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 210, in process_ | |
all | |
self.process_mac(sensor) | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 186, in process_ | |
mac | |
sensor = Sensor(sensor_config.mac, self.config.interface) | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/misensor.py", line 24, in __init__ | |
self.peripheral = Peripheral(deviceAddr=mac, iface=interface) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 353, in __init__ | |
self._connect(deviceAddr, addrType, iface) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 402, in _connect | |
"Failed to connect to peripheral %s, addr type: %s" % (addr, addrType)) | |
BTLEException: Failed to connect to peripheral C4:7C:8D:64:3B:0E, addr type: public | |
Fri, 08 Jun 2018 05:35:05 INFO try 2 of 6: could not process sensor(s) FlowerCare01. Waiting 2 sec for next try | |
Fri, 08 Jun 2018 05:35:07 INFO Getting data from sensor FlowerCare01 | |
Fri, 08 Jun 2018 05:35:07 DEBUG Connecting to device C4:7C:8D:64:3B:0E using interface 0 ... | |
Fri, 08 Jun 2018 05:35:07 ERROR could not read data from C4:7C:8D:64:3B:0E (FlowerCare01) with reason: Failed to connect to peripheral C4:7C:8D:64:3B:0E, addr type: public | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 210, in process_all | |
self.process_mac(sensor) | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 186, in process_mac | |
sensor = Sensor(sensor_config.mac, self.config.interface) | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/misensor.py", line 24, in __init__ | |
self.peripheral = Peripheral(deviceAddr=mac, iface=interface) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 353, in __init__ | |
self._connect(deviceAddr, addrType, iface) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 402, in _connect | |
"Failed to connect to peripheral %s, addr type: %s" % (addr, addrType)) | |
BTLEException: Failed to connect to peripheral C4:7C:8D:64:3B:0E, addr type: public | |
Fri, 08 Jun 2018 05:35:07 INFO try 3 of 6: could not process sensor(s) FlowerCare01. Waiting 4 sec for next try | |
Fri, 08 Jun 2018 05:35:11 INFO Getting data from sensor FlowerCare01 | |
Fri, 08 Jun 2018 05:35:11 DEBUG Connecting to device C4:7C:8D:64:3B:0E using interface 0 ... | |
Fri, 08 Jun 2018 05:35:16 ERROR could not read data from C4:7C:8D:64:3B:0E (FlowerCare01) with reason: Error from Bluetooth stack (comerr) | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 210, in process_all | |
self.process_mac(sensor) | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 187, in process_mac | |
sensor.get_data() | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/misensor.py", line 34, in get_data | |
self._fetch_35() | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/misensor.py", line 52, in _fetch_35 | |
self.peripheral.writeCharacteristic(0x33, bytes([0xA0, 0x1F]), True) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 502, in writeCharacteristic | |
return self._getResp('wr') | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 369, in _getResp | |
resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 332, in _waitResp | |
raise BTLEException(BTLEException.COMM_ERROR, "Error from Bluetooth stack (%s)" % errcode) | |
BTLEException: Error from Bluetooth stack (comerr) | |
Fri, 08 Jun 2018 05:35:16 INFO try 4 of 6: could not process sensor(s) FlowerCare01. Waiting 8 sec for next try | |
Fri, 08 Jun 2018 05:35:24 INFO Getting data from sensor FlowerCare01 | |
Fri, 08 Jun 2018 05:35:24 DEBUG Connecting to device C4:7C:8D:64:3B:0E using interface 0 ... | |
Fri, 08 Jun 2018 05:35:24 ERROR could not read data from C4:7C:8D:64:3B:0E (FlowerCare01) with reason: Failed to connect to peripheral C4:7C:8D:64:3B:0E, addr type: public | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 210, in process_all | |
self.process_mac(sensor) | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 186, in process_mac | |
sensor = Sensor(sensor_config.mac, self.config.interface) | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/misensor.py", line 24, in __init__ | |
self.peripheral = Peripheral(deviceAddr=mac, iface=interface) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 353, in __init__ | |
self._connect(deviceAddr, addrType, iface) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 402, in _connect | |
"Failed to connect to peripheral %s, addr type: %s" % (addr, addrType)) | |
BTLEException: Failed to connect to peripheral C4:7C:8D:64:3B:0E, addr type: public | |
Fri, 08 Jun 2018 05:35:24 INFO try 5 of 6: could not process sensor(s) FlowerCare01. Waiting 16 sec for next try | |
Fri, 08 Jun 2018 05:35:40 INFO Getting data from sensor FlowerCare01 | |
Fri, 08 Jun 2018 05:35:40 DEBUG Connecting to device C4:7C:8D:64:3B:0E using interface 0 ... | |
Fri, 08 Jun 2018 05:35:43 ERROR could not read data from C4:7C:8D:64:3B:0E (FlowerCare01) with reason: Error from Bluetooth stack (comerr) | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 210, in process_all | |
self.process_mac(sensor) | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/__init__.py", line 187, in process_mac | |
sensor.get_data() | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/misensor.py", line 34, in get_data | |
self._fetch_35() | |
File "/usr/local/lib/python2.7/dist-packages/plantgw/misensor.py", line 52, in _fetch_35 | |
self.peripheral.writeCharacteristic(0x33, bytes([0xA0, 0x1F]), True) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 502, in writeCharacteristic | |
return self._getResp('wr') | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 369, in _getResp | |
resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout) | |
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 332, in _waitResp | |
raise BTLEException(BTLEException.COMM_ERROR, "Error from Bluetooth stack (%s)" % errcode) | |
BTLEException: Error from Bluetooth stack (comerr) | |
Fri, 08 Jun 2018 05:35:43 INFO Disconnected MQTT connection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment