I have connected sockets, a ceiling fan, all work well with this node because they are constantly powered.
I bought a TH08 battery-powered thermometer/hygrometer, which works well with the TUYA app on a smartphone : measurements are uploaded every hour, and which I can find in the "tuya iot platform" :
that's what I said to myself, so I waited for the sensor to wake up after 1 hour and try to send a CONNECT ACTION in this "opening window" of 4 seconds but the connection failed (and I don't can't retrieve the measurements).
Tuya IOT platform receives measurements every hour for 4 seconds
That's why I ask myself the question does this node-red-contrib-tuya-smart-device work with battery sensors in deep sleep? And maybe update it to make it compatible :Sniff the sensor and wait for it to wake up to retrieve the measurements like Tuya iot platform does?
the node should connect first, and then the sensor sends the data to it, I think? The tuya-smart-device node has reconnection delays, I test on 1000ms to see... it will fall well when the sensor wakes up?
I put a DEBUG node as output if it picks up something it should display it (as I do on the other permanently powered nodes)?
how does "Tuya IOT platform" capture measurements without visibly logging in? he waits for him to connect and wait for a measurement...