I got it
It seems that there is another major change in w1thermsensor 2.0.0 module. This is not good because it is not possible to make the code work with both old and new versions so I have forced updating to 2.0.0 on next openplotter-gpio app version to avoid these issues you have found.
quick fix:
/usr/lib/python3/dist-packages/openplotterGpio/openplotterGpioRead.py
Line 22
Replace:
by:
Line 49
replace:
by
reboot or type:
and it should work
It seems that there is another major change in w1thermsensor 2.0.0 module. This is not good because it is not possible to make the code work with both old and new versions so I have forced updating to 2.0.0 on next openplotter-gpio app version to avoid these issues you have found.
quick fix:
/usr/lib/python3/dist-packages/openplotterGpio/openplotterGpioRead.py
Line 22
Replace:
Code:
try: from w1thermsensor import W1ThermSensor
Code:
try: from w1thermsensor import W1ThermSensor, Unit
Line 49
replace:
Code:
value = str(offset+sensor.get_temperature(W1ThermSensor.KELVIN))
Code:
value = str(offset+sensor.get_temperature(Unit.KELVIN))
reboot or type:
Code:
sudo systemctl restart openplotter-gpio-read
and it should work