Do you have a pullup resistor (4k7 - 10k) between the data and VCC?
IIRC without an external resistor, it didn't work properly with the ESP32, I think it's internal pullup resistor is not strong enough.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
memory is ok. but rh and temp -1. why?..