Closed thib5 closed 5 years ago
Same for me,... STATE returns the actual state but all others time out,... Any ideas?
You should just be able to ignore the warning. It will work fine otherwise. You problem is elsewhere. Status should be quite gentle since the key can be wrong. Make sure the your id and ip are correct.
If you don't want a warning install an earlier version of tuyapi say 2.0.3
Same for me,... STATE returns the actual state but all others time out,... Any ideas?
@burroz Your key is probably wrong. The status function doesn't rely on the key but the other function do.
@burroz Your key is probably wrong. The status function doesn't rely on the key but the other function do.
You're right, I had some difficulties finding the keys - using https://github.com/TuyaAPI/cli helped me. Now using the correct keys the console command works as expected.
Thanks
Hi,
When I test your thing with the command line and test : node njstuya.js -ip 192.168.X.X -id 062007as2qedsdsc2e7d888 -key 881da7sdasdasdas4fd5a State I get :
and then I receive the State.
When I try : node njstuya.js -ip 192.168.X.X -id 062007as2qedsdsc2e7d888 -key 881da7sdasdasdas4fd5a ON or OFF I get :
And nothing happen ...