-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Control without tuya cloud - Pet Feeder #461
Comments
Hi @meluvalli - Can you post what type of device this is (and link to a details about it if you can). That will help others who have a similar device. Keep in mind that Tuya devices are designed to connect to the cloud. That is their primary function. The local access point that many of the Tuya devices have, and TinyTuya uses for local status/control, is a secondary feature. You will need cloud access to register them and to get the local access key. Some devices, once registered, will work perfectly fine offline (no internet), others will refuse to work at all. For your device, you are getting some updates during the monitor loop so at least it isn't fully disabled. You could try sending the updatedps command to see if that helps: d.updatedps(['18','19','20'], nowait=True) |
Well, apparently after more research, some devices doesn't advertise the DPS correctly until the entity has been properly initialized onto Tuya server... So, i'm guessing no way around this at this point. I tried the d.updatedps, but didn't change anything. Device still reports no dps's while offline. This device in question is a pet feeder. Below is the device information:
|
What's strange about it is that I can still control the device using:
It still does the feeder even though the dps isn't there. And even after that, the dps still isn't there! |
Did you try sending updatedps() with that index? I suspect it won't make a difference, but worth trying. d.updatedps(['3'], nowait=True) |
Yep. No difference :(
|
Did you mean |
Yes. Sorry, just coppied and pasted from another script :)
Was the code I used. It is actually d.status :) |
Hello. I have a device that will only get dps once it connects to the cloud.
If I run :
My output if I block my device from the internet is:
But if I unblock it then it changes to:
I blocked it again, rebooted it, then ran monitor on it and this is what it shows:
Any idea how to get dps's without connecting it to Tuya cloud?
The text was updated successfully, but these errors were encountered: