Skip to content
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

Syntax Payload get command #18

Closed
FreeTechNick opened this issue Oct 22, 2020 · 2 comments
Closed

Syntax Payload get command #18

FreeTechNick opened this issue Oct 22, 2020 · 2 comments

Comments

@FreeTechNick
Copy link

Hi,
the installation is fin and I can switch on and off. But I can't execute the get Command. Can you help? perhaps with an example script? Thank you.

@Biscotte312
Copy link

I've got the same problem, trying some thing, never really work.

The best way I've found is (pass in a function node) :

msg.payload ={
dps : 1,
set : null
}
return msg;

but it's not perfect, sometime it give me a wrong value

@vinodsr
Copy link
Owner

vinodsr commented Oct 25, 2020

This is a know issue with Tuya library. They are near to releasing a new fix. (6.0.1) issue

I had made an alternate fix for the same issue. but you have to be in the god mode.

See this issue comment for more details and a sample flow.

Hope this helps.

@vinodsr vinodsr closed this as completed Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants