-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error: communicating with device. Make sure nothing else is trying ... #2
Comments
Is it connected to an Alexa Skill by chance? Also, try to increase your timeout levels in the config.json |
No alexa. |
I use on my network:
You can tweak those values out but the big one is the apiDebug so you can see what's going on. Show me some logs, comment out your localKey when you share. Thanks! |
here are a log file. |
Ahhh!!! Humidifier] Ëœ---Humidifier { '[object Object]': undefined } Look at the dps values you’re sending. It’s really silly but.... dps[“1”] is how it’s required, not dps[1] like we would assume... I had hell with this, and that’s why I forked the tuyapi in the first place. Next, if you send a bad value to the device function points (dps) it will cause the light to not respond. Open up the original app, change the values then completely exit the Tuya app and try to change the settings again. Repeat until you figure it out... this was a blast to “hack” into the Tuya color lights. I hope you get it working! |
also look in my homebridge-tuya-colorlight code, I believe I switched the dps to an object.. So it constructs like this: var dps = {}; dps[‘“1”’] = false; I’m on mobile at the moment but if you can’t figure it out I’ll look when I get back... |
colorlight code: var dpsTmp = { this.tuyaColorLight.set(this, {'id': this.devId, 'dps' : dpsTmp}).then(result => { |
I updated index.js with the latest change I made and your suggestion. here the latest log |
When was the last time you synced the homebridge-tuyapi-extended package? I did some work a few days back before you forked the light project... maybe update that and go from there!
… On Apr 1, 2018, at 8:08 PM, avenger11 ***@***.***> wrote:
I updated index.js with the latest change I made.
I think i'm closer but still doesn't work
here the latest log
homebridge.log
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'm able to get the status of the device and discuss with it.
But I receive this error when I try to set a value.
NB: apps closed, try timeout, removed persist and accessories folder
I see two options:
The text was updated successfully, but these errors were encountered: