I reinstalled Raspberry pi OS and Mycodo, and i updated to master.
But still not works.
This is the log:
Traceback (most recent call last):
File “/var/mycodo-root/env/lib/python3.7/site-packages/adafruit_bus_device/i2c_device.py”, line 154, in __probe_for_device
self.i2c.writeto(self.device_address, b"")
File “/var/mycodo-root/env/lib/python3.7/site-packages/busio.py”, line 130, in writeto
return self._i2c.writeto(address, buffer, stop=stop)
File “/var/mycodo-root/env/lib/python3.7/site-packages/adafruit_blinka/microcontroller/generic_linux/i2c.py”, line 49, in writeto
self._i2c_bus.write_bytes(address, buffer[start:end])
File “/var/mycodo-root/env/lib/python3.7/site-packages/Adafruit_PureIO/smbus.py”, line 308, in write_bytes
self._device.write(buf)
OSError: [Errno 121] Remote I/O error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/var/mycodo-root/env/lib/python3.7/site-packages/adafruit_bus_device/i2c_device.py”, line 160, in __probe_for_device
self.i2c.readfrom_into(self.device_address, result)
File “/var/mycodo-root/env/lib/python3.7/site-packages/busio.py”, line 120, in readfrom_into
return self._i2c.readfrom_into(address, buffer, stop=stop)
File “/var/mycodo-root/env/lib/python3.7/site-packages/adafruit_blinka/microcontroller/generic_linux/i2c.py”, line 56, in readfrom_into
readin = self._i2c_bus.read_bytes(address, end - start)
File “/var/mycodo-root/env/lib/python3.7/site-packages/Adafruit_PureIO/smbus.py”, line 179, in read_bytes
return self._device.read(number)
OSError: [Errno 121] Remote I/O error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/pi/Mycodo/mycodo/functions/display_ssd1306_oled_128x64_i2c.py”, line 353, in initialize_variables
self.device = LCD_Pioled_Circuitpython(lcd_settings_dict=lcd_settings_dict)
File “/var/mycodo-root/mycodo/devices/lcd_pioled_circuitpython.py”, line 62, in init
addr=int(str(self.i2c_address), 16))
File “/var/mycodo-root/env/lib/python3.7/site-packages/adafruit_ssd1306.py”, line 220, in init
self.i2c_device = i2c_device.I2CDevice(i2c, addr)
File “/var/mycodo-root/env/lib/python3.7/site-packages/adafruit_bus_device/i2c_device.py”, line 50, in init
self.__probe_for_device()
File “/var/mycodo-root/env/lib/python3.7/site-packages/adafruit_bus_device/i2c_device.py”, line 163, in __probe_for_device
raise ValueError(“No I2C device at address: 0x%x” % self.device_address)
ValueError: No I2C device at address: 0x60