Describe the bug
Installed the Enclosure Plugin, wired up a DS18B20 with a 4.7K resistor. I can see the sensor and the values however the plugin is not reading the data.
This is what I'm seeing in the log:
2022-04-25 12:05:30,594 - octoprint.plugins.enclosure - WARNING - An exception of type IndexError occurred on log_error. Arguments:
('list index out of range',)
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_enclosure/__init__.py", line 1009, in get_sensor_data
temp = self.read_18b20_temp(sensor['ds18b20_serial'])
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_enclosure/__init__.py", line 1319, in read_18b20_temp
lines = self.read_raw_18b20_temp(serial_number)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_enclosure/__init__.py", line 1334, in read_raw_18b20_temp
device_folder = glob.glob(base_dir + str(serial_number) + '*')[0]
IndexError: list index out of range
2022-04-25 12:05:30,596 - octoprint.plugins.enclosure - WARNING - An exception of type TypeError occurred on log_error. Arguments:
('cannot unpack non-iterable NoneType object',)
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_enclosure/__init__.py", line 827, in check_enclosure_temp
temp, hum, airquality = self.get_sensor_data(sensor)
TypeError: cannot unpack non-iterable NoneType object
/sys/bus/w1/devices:
pi@snt-mo-3d01:/sys/bus/w1/devices $ ls
28-000005b4b535 w1_bus_master1
Describe the bug Installed the Enclosure Plugin, wired up a DS18B20 with a 4.7K resistor. I can see the sensor and the values however the plugin is not reading the data.
This is what I'm seeing in the log:
/sys/bus/w1/devices:
cat w1_slave:
cat /boot/config.txt | grep w1:
Any help would be appreciated.