Closed sciaio closed 3 years ago
I don't think the local key is correct, it's supposed to be a hex string. Product id and local key are not the same thing, so I think you should verify your crendentials.
Thanks a lot! was difficult to configure the npm to get the local key but finally I managed to get it and now all work flawlessly
Yeah, it's a bit tricky at first but once everything is set up it's very easy to add new devices. Great that it works now! 👍
Hello everyone, I'm trying to add smart sockets via this integration but I get 2 errors. I'll briefly explain the situation and then I'll attach the error logs.
I own 6 smart sockets from 2 different brand, teckin and bakibo both have the possibility to track the energy consumption and both brands works fine the official "Tuya" integration. I obtained, via the tuya developer account both the Device ID and the product ID (or the Local key) list of all my product (How will I proceed once the trial will end?)
I firstly removed the official Tuya Integration and then, after reboot, I installed the integration via HACS, rebooted, and, via the auto discovery feature, try to add my sockets, it found but when I tried to config it gets an error. Here it's the error in the GUI:
I'm sure both the Devide ID and the product ID are exact (direct copy). On the logs I got:
and also:
--------------EDIT:
Sometimes, at the first try it gives me "An unknown error occurred. See log for details."
in the logs:
Unable to find referenced entities switch.xxxxxxxxxxxxxxxxxxxxx
---------------------------------- finish edit------------------
So I tried the traditional way:
and I get:
and also:
as you can see I tried also another socket. Anyone could help me? Thank you