Open mistrello96 opened 10 months ago
I have found a workaround that works for me.
Using the IOT TUYA API, I have discovered all the device properties and found out that 唤醒通知 is a property called "week_up_btn" (probably misspelled wake).
If you set that property to true, it triggers the device to report the status and then reset to default.
The workaround is setting this property to true every x seconds, making the device report regularly.
I'm not sure if this applies to other devices, but for my thermostat works.
@mistrello96 which API have you used to see and set the property? I've tried multiple ones and only see the same properties as in android app / HASS
I used the "query things data model" to extract the correct property, should be
Once you identify the property you want to edit, i used the "send property" api to set it/trigger it
I've tried that but the model for my temperature sensor don't have that property
Tried POST to v2.0/cloud/thing/{{device_id}}/shadow/properties/issue
but no luck, got a 501 request fail with unkown error
{
"properties": {
"week_up_btn": true
}
}
@mistrello96 where did you get the low level logs to know what messages are sent when the smart life app is open?
I got them in the device log
this is still not solved ?
I have the same problem with key holder Lockin L1
Describe the bug
Thermostat current_temperature is updated only when smart life app is opened on the phone
Expected behavior
The thermostat current_temperature should be updatet regurarly, without the smart life opened on the phone
Diagnostics for integrations and devices
config_entry-tuya-f2e10bb6901610d9d311082b6b9011bd.json.txt
Screenshots
The problem is that the thermostat reports the current temperature only when smart life app is opened. As soon as the app is opened, this call is made to tuya servers that triggers a new data report from the thermostat. The same call should be done regurarly from the integration to "ask" the updated data from the thermostat
Home Assistant Version