Hello,
I created a product using Arduino Pro Mini and Tuya WRB3 WiFi and Bluetooth module..
Imam using BME680 environmental sensor.
I am able to add the device in Tuya app and when I add it, I can see all the readings in the Custom Console which I created.
However, the readings are not getting updated.
I used the Tuya Debugging Assistant software and found that I am getting the readings only once.
Please see attached image
I have the below in my code already
Code: Select all
void dp_update_all(void)
{
// Update all DPs with current LED state
my_device.mcu_dp_update(DPID_BME680_Hum, humidity, 1);
my_device.mcu_dp_update(DPID_BME680_Temp, temperature, 1);
my_device.mcu_dp_update(DPID_BME680_Press, atmpress, 1);
my_device.mcu_dp_update(DPID_BME680_Gas, voc, 1);
// Update other DPs as needed
}
Any clue what could be wrong?