@firehopper I solved the problem by downloading the M5StickC Master from GitHub (https://github.com/m5stack/M5StickC) and use the library from there in my project. The M5.I2C Method is quite new as you can see here: https://github.com/m5stack/M5StickC/commit/6e590f8e4ed5ffaaf989af7628bf421587e15eb8
Best posts made by hague
RE: issue compiling m5stickc joyc.ino in arduino.
RE: M5 Stickc Arduino samples - Temperature reading issue
I can confirm that it is related to the radiation from the M5StickC. When I connect the ENV-HAT with cables away from the stick, the sensor measures reasonable values.
Incorrect values if the ENV-HAT is directly connected:
Correct values if the ENV-HAT is connected via a cable extension: