hey there,
I have this fella in my system which I try to integrate into Mycodo via ccs811_CP.py script. I get “Error 101: Device not set up. See Error Codes - Mycodo for more info.” each time no matter what I try but interestingly, I can get eco2 and tvoc values from the sensor with the same code when I try to initialize it in python terminal. It is enough for me to grab;
import adafruit_ccs811 from adafruit_extended_bus import ExtendedI2C sensor = adafruit_ccs811.CCS811(ExtendedI2C(1), 0x5b) print(sensor.eco2, sensor.tvoc)
What could be the problem in here? Thanks in advance!