12-01-2024, 11:51 PM
my_device.mcu_dp_update(DPID_TEMP_CURRENT, temperature, 1);
my_device.mcu_dp_update(DPID_HUMIDITY_CURRENT, humidity, 1);
these two command use for upload sensor data. you can change the vaule upload to tuya app, check whether work well.
my_device.mcu_dp_update(DPID_HUMIDITY_CURRENT, humidity, 1);
these two command use for upload sensor data. you can change the vaule upload to tuya app, check whether work well.