Closed hrabbach closed 1 month ago
Looks like you have 8 Tuya devices: the updates for the other devices do work as expected? Looks like no update has been recorded since app start and when you generated the report, so I cannot validate it from the report in the current state.
Correct, 8 devices and the others, which are all sockets/switches, work as expected, but there's also not a lot of reporting /state changes happening on them. The app has now been running for a while (and readings have updated in SmartLife since), so I've generated a new report: eb590ec4-f00b-40bf-90d7-9724d843f928
Still not seeing any webhooks coming in. Can you try to trigger a status update for one of your other devices?
I'm also seeing a permission error in your logs, but it is unclear where it originates from. Did you use this same account/device with another app on Homey or another platform?
I'm assuming I can only trigger a useful status update by pressing a button on one of the devices, not by switching its state via Homey? In that case it will have to wait until I get home later.
The device is brand new and hasn't been used with any other app yet - the account has previously been used with the TuyaCloud app, which I uninstalled when my developer API key stopped working and I discovered that there's now an official Tuya app.
Controlling it with the Tuya Smart of SmartLife app on your phone should also trigger an update. Turning it on/off with that app should also be reflected in Homey.
My current suspicion is that it is indeed related to the old Tuya Cloud app, but I am absolutely not sure. That would be the next step: using a completely fresh Tuya account to see whether that solves anything.
Ok, I switched one of the sockets off and on again a few times: eb590ec4-f00b-40bf-90d7-9724d843f928
Certainly happy to try with a new Tuya account once I have a chance to connect my device to it... will report back whether that makes any difference.
That's the wrong id, but I found it anyways. Literally nothing happened (so you should also not have seen it update in the Homey app), so I am indeed going to ask you to create a completely new account to see whether that helps. If it doesn't work with a new Tuya account please make sure to have installed version 1.3.4 (which has some additional webhook logging) before generating a new report.
Added the device in question to a brand new Tuya account. Readings are still not updating, switching device state in the Tuya app doesn't change it in Homey. This is with 1.33.4, so new diagnostic log created here: 5868aa6e-f0c9-49bb-a656-74bd3cb52dab
You migrated the device to the new account by using "remove", and not "remove and clear data". Can you remove the device again using the latter option, and re-add afterwards?
I have no idea where the "remove and clear data" option would be. I am only offered a "delete" option in both the Tuya Smart and SmartLife apps, and there's also never an additional dialogue that would offer to also clear data.
You will need to remove it using the device settings. For example:
Step 1 | Step 2 | Step 3 |
---|---|---|
Thanks bit of a UI fail there in the Tuya app... anyway, that's not the main subject here. Did that, re-added the device, which was now also no longer recognized under its old name. Still no readings coming through, though: 8c144b1c-17fb-4551-b966-07326435cccc
Alright, I see that it received a new identifier, but I am at a loss as to why it doesn't generate updates. Would you be open to share this particular device with me (which allows me to control it)? If so, you can send the invite to homey-tuya[at]drenso.nl
.
Happy to - invite just sent your way. There's no harm in you knowing the temperature in my office ;)
Quick update: the issue seems to be on the Tuya cloud side but it is currently unknown why. I have forwarded it to one of our contacts to look into, but unfortunately I do not have any ETA on an answer and/or solution at this time.
The source of this issue has been found on the Tuya cloud side: they are working on a solution and hopefully this issue should fix itself somewhere next week for existing users.
It might be the case that a device repair solves the issue already, so you can try that. Otherwise you will have to wait until it is fixed on the cloud side.
The incorrect state has now been resolved on the Tuya cloud side, so I am closing this as I assume it now just works as it should.
Homey version
2019 Homey Pro 12.0.1
Tuya app version
1.3.3
App diagnostics report ID
0867d3c3-ea48-455b-805e-d517be0fed92
Description
Sensor readings of the Temperature & Humidity sensor don't get updated. They do update in the SmartLife app, but on Homey they only change when the app is restarted. Version 1.3.3 did not fix this.
Data points in the device spec keep showing as "not available" even after adding as other/unknown
Device specification