Hey I am also interfacing Temperature and PIR sensor with NodeMCU and having the same problem as you are. Did you solve it? I followed this ESP8266 MQTT Tutorial and got everything working without any trouble. But then problem starts when I connect my Temperature and PIR Sesnor. So, are the sleep functions not implemented yet? If this does not work my only option is to go back to Arduino and push the data serially to ESP-01. Kindly suggest me a way out. I can provide circuit and code if required