-
Notifications
You must be signed in to change notification settings - Fork 0
Description
DEBUG:root:Entering sensor polling loop
05.02.21 14:48:27 (-0500) sense-python DEBUG:root:BH1750 at 0x23 failed to read [Errno 121] Remote I/O error
05.02.21 14:48:27 (-0500) sense-python DEBUG:root:Traceback (most recent call last):
05.02.21 14:48:27 (-0500) sense-python File "src/main.py", line 198, in append_bh1750_data
05.02.21 14:48:27 (-0500) sense-python msg['value'] = bh1750.readLight(LightAddress)
05.02.21 14:48:27 (-0500) sense-python File "/usr/src/app/src/bh1750.py", line 61, in readLight
05.02.21 14:48:27 (-0500) sense-python data = bus.read_i2c_block_data(addr, ONE_TIME_HIGH_RES_MODE_1, 32)
05.02.21 14:48:27 (-0500) sense-python File "/usr/local/lib/python3.6/site-packages/smbus2/smbus2.py", line 596, in read_i2c_block_data
05.02.21 14:48:27 (-0500) sense-python ioctl(self.fd, I2C_SMBUS, msg)
05.02.21 14:48:27 (-0500) sense-python OSError: [Errno 121] Remote I/O error
05.02.21 14:48:27 (-0500) sense-python
05.02.21 14:48:27 (-0500) sense-python DEBUG:root:b'{"message_type": "measurement", "sensor_name": "light_internal_sensor", "measurement_name": "light_internal", "sample_timestamp": 1612554507616, "deviceid": 70000007, "container_name": "sense-python", "executable_version": "9.9.9 "}'
05.02.21 14:48:27 (-0500) sense-python DEBUG:root:sequence: 200001
05.02.21 14:48:27 (-0500) sense-python type_id: "sensor"
05.02.21 14:48:27 (-0500) sense-python result: "OK"
05.02.21 14:48:27 (-0500) sense-python
05.02.21 14:48:28 (-0500) store-and-forward DEBUG: forwarding key=2021-02-05T19:48:27Z (200001), value={"message_type": "measurement", "sensor_name": "light_internal_sensor", "measurement_name": "light_internal", "sample_timestamp": 1612554507616, "deviceid": 70000007, "container_name": "sense-python", "executable_version": "9.9.9 "} from MessageBucket
05.02.21 14:48:28 (-0500) store-and-forward