Hello @jesus-valencia
which M5Stack device (Fire, Base, Core2, Stick, Atom, ...) are you using? I am asking because I've tried with M5StickC Plus, M5Stack Base and M5Atom Lite and 2 m of cable between M5Stack device and ENV sensor and it worked just fine. (Note: I used UIFlow for this test.) Care to share your code?
have you measured the voltage on the ENV sensor? (Maybe the voltage is ok?) since you have multiple ENV sensors, do all of them fail? (Maybe one is faulty?) have you tried a different power source? (Maybe the USB power supply is weak?) have you tried a different USB cable? (Maybe the USB cable is bad or too long?)Thanks
Felix