Hello Peter,
It suddenly works spontaneously, but only with the scene legacy command
I was going to ask: what setting u use at the app configâs authentication settings
At Choose desired api(s)
, did you select legacy and official
?
Did you hit Refresh scenes
at the bottom of the config page? (Or restarted the app?)
btw I have it set at use official only
while I donât want to use legacy devices anymore.
Wondering if you got the airco connected to Homey? I have one in the Smart Life app that I would also like to connect.
Hello, not sure if this has been asked earlier, i did look through a lot of these comments. But I can not seem to add contact sensors. When I add a device, i get these options only.
No way to add a contact sensor via the other devices either. PIR sensors work and relay/switches. Latest app and firmware. Tuya latest also.
Hi
in the tuya iot is my device not showing up,
my account is connected and i can control it with the homey only the rgb isnât working
Copy last message from PB:
âYou are still using old API. The old API is depricated. The old API is not supporting color for your type of light, only new API supports this. Plz read first post on forum thread about new API and follow instructions carefully. There are also several links in the forum thread to a good howto and details about issues and solutions.â
There is a new test version live. In the new version the pressence sensor is added by @Adrian_Rockall
Smart Life should work the same as Tuya.
I found the problem for myself. I was using everything correctly except the datacenter. That fixed the âPlease configure app firstâ problem for me.
I found this site which has the right information for datacenter linked to country. I was using Western Europe in Tuya IOT. I changed to Central Europe and it worked,
Hi @Jurgen_Heine I play a bit with code base this evening and I add new two devices.
Air conditioner and smart star projector.
Itâs my first steps in homey app, still donât know how to properly debug apps
Star projector for now is just a copy of lights. But air conditioner kind works. I can send commands, but state is not refreshed when I turn AC by remote. Will try to fix it soon. Anyway. Can I create PR to your repo and ask for review when everything will be working and ready?
Thank you @Grzegorz_Zalewski, I like contributions to my app. When itâs finished I will of course look at the pull request. The getting started guide of Homey is good start to read: Getting Started - Homey Apps SDK. If you have installed Homey sdk on your node.js environment, you have to navigate into your node.js command prompt to root folder of the Tuya app on your machine. Then you can run the Homey commands. If you are using Visual Studio Code, you can attach the debuger after running the app on your Homey. When attached, you can set breakpoints and it can also break on errors. This last part I resently find out thanks to @Adrian_Rockall. One thing more, log as much as possible. All the logging is send when someone has a problem with app en sends a diagnostics report. Otherwise itâs verry hard to find problems.
Thanks @Jurgen_Heine I will try to fallow the rules.
I was able to connect debugger to WebStorm
Good job
Just created PR to your repo. Please let me know if I should move it to APIv3 branch.
Driver works well, tested on two different devices.
Just approved pull request, thanks for adding the device . I have merged it to APIV3 branch, some small conflicts, but quickly solved. I canât publish it to test yet, validation is failing on image size of large image. This should be 500x500 and is now 800x800. I will look to it this evening I think.
Some small fixes waiting on PR
Fix for three issues
NOTE! Devices need to be removed and added again, because of capabilities name changes.
I promise no more PR in this week
Hello,
Tuya Cloud does not detect an air conditioner controlled by an IR Wi-Fi or IR Zigbee remote. Can you see if this is possible in the future?
Thanks.
I assume IR Wi-Fi or IR Zigbee remote Is a universal remote controller. In this case, API allow only to send the commands names to remote. Without option to read the device status. Itâs a good idea to look into it but this need to be separate device and driver with class remote