[App][Pro] Tuya Cloud

For me, sensors are kept alive by restarting the app every 2 hours.

.
For the other issues, is your iot core trail period still valid?

.

Hi Peter,

Thanks for your response. I have a valid IOT Core plan.

I have stumbled upon information which I might think what can be the problem. I don’t know if Tuya has a maximum API request handler but somewhere I read it was 500 request per hour max.


NOTE: This is API request from Homey only and is still connected with my Homey.

What I did is create a flow automation which starts all automated flow every 15 seconds. For example the flow for hall is started every 15 seconds and checks if the sensors/lights are on off. If it’s already turned off it will still send a request to turn it off. I need to add a IF rule to prevent this from happening an make less more API request.

I don’t know for sure if this is the problem. Can’t think of anything else.
I will try this strategy for a week and look forward to if it will be working stable again.

My IoT Core Plan is also valid. These are my statistics. I don’t have any Error Requests. Also, it was working yesterday untill about 22.30hr. But I don’t see any statistics for yesterday.

On the IoT Platform all my devices are online. I can control them via SmartLife, but not via Homey. So I asume the connection between Homey and Tuya is broken in some way.

I also asked Tuya if they are planning to support Homey. This is their answer;

Hi,

Yeah this looks like a Homey > Tuya cloud connection problem. My devices work without latency through my Smart life app and everything is actively connected with Tuya IOT. I don’t really understand what is happening. I don’t have the rights to look in the diagnostic rapport which frustates me aswell. I think Homey should make this available for everyone.

Also Homey needs to hire people to do the job for third party applications. I payed 400 euro’s for the pro version but it depends on third party people maintaining the apps for free which makes the quality in contrast of the high price of Homey really bad in reputation. I even am thinking to try out Home Assistant. The problem is that I like the GUI and simplicity of Homey.

As it is right now Tuya Cloud doesn’t have a developer at the moment and my whole lifestyle depends on the automations working with Tuya Cloud and that frustrates me aswell. The forum itself needs to find a developer and not everyone is open to do this for free. Maybe an idea to start Patreon and accept tickets for solving device problems when someone is subscribed for contribution?

As for today I have 0 API request and the devices are still not working.

2 Likes

Hi there,

I solved a problem with a switch not responding from Homey to switch on/off a light returning into a “Missing capability listener: onoff” message. I created 2 “Tap-2-Run” scenes in the Tuya App: one to switch on the light and one to switch it off. Then I reconfigured my Homey flows using the “Execute a scene” flow card from the Tuya Cloud app on my Homey. Obviously, you can use whatever logic you like to execute this flow card, but I’m using a VD (Virtual Device) which I switch on/off and the status change then triggers my Tuya Cloud scene action card. It actually works fine.

Hi Jonny, was the suggestion of Peter helpful, or do you still need my example?

Hi Bert,

I’m glad that it works for you. I am guessing that your Tuya cloud could make connection from your Homey.

My scenes don’t work and when I add a new scene, reconfigure app within Homey and restart Tuya Cloud app (even restart my Homey) it still doesn’t work and my new made scenes don’t show up. I can’t even find new devices to add.

I think this issue is person related with API request to the Tuya IOT cloud. I don’t know what the policies are and what exactly is causing this issue and why it is being fixed by itself at some time


1 Like

Same issue here, working 2 days ago after removing all device from homey and added them again and restarted tuya cloud but now its not working again
 frustating when I have bought 20+ plugs, but all work in the tuya app, but still not happy with that solution


Yeah, same here. Also Tuya Zigbee app doesn’t support a lot of device and I know that the developer is struggling to react and bring out new versions. I had a solution to add the Zigbee devices to Smart Life and add it through Tuya Cloud app which is also not working now and struggling with finding new developer.

These 2 apps need serious attention and I hope Homey is reading this.

1 Like

In the future maybe consider buying sensors that connect directly to homey instead of stuff that’s connected to a cloud service, if tuya pulls the plug tomorrow nothing is going to work anymore, And you can trow the stuf in the garbage can. Not to mention the security risk of all the wifi connected stuff.

Yes, I have wifi plugs, but very frustating situasion.

I also hope that Homey guys look at this problem, I have not the knowledge too fix it


That is a great solution indeed. But I am a person of cheap Tuya IOT devices which should work properly right now still Tuya Cloud IOT is up and running. I can’t throw them away and replace with other devices because of the reason that the Tuya Cloud app doesn’t work properly. That will cost a fortune. I rather pay the developer to make things working again without spending +/- 20 euros for new device. And I have devices over 10+ which works with Tuya only.

1 Like

Easy to say, but if I knew this for 2 years ago I have not bought this plugs

Hi, i think i am not experienced enough to understand what Peter sent. I changed everything to flows to switch sockets on/off but i can’t get the energy reading. So i would appreciate your example as well, perhaps that makes me understand what i should do to get the readings.

That is correct indeed. My connection between Tuya IoT cloud and Homey is working and whenever I create new scenes, they show up in the Tuya Cloud app on my Homey after restarting this app (no need to restart the entire Homey). I recently also extended my Tuya IoT (free) subscription with 6 months and they are working fine.

wie kan mij helpen. sinds vandaag werken mijn apparaten niet meer van de tuya cloud. de Tuya IoT cloud is niet verlopen . inloggen lukt ook alleen blijft hij melding geven geen apparaten gevonden.

who can help me. since today my devices no longer work from the tuya cloud. the Tuya IoT cloud has not expired . logging in also succeeds, but it keeps reporting no devices found.

Hi Jonny,

firstly, you will need to create an Advanced Virtual Device (AVD) via the “Device Capabilities” app on your Homey. And then define numeric variables for the device. Here is an example for one of my power plugs:

image
image

Make sure you configure “Show as” with “Power (Sensor)” and select “Devices” next to “Reflect”, then select the power plug you want to reflect. You can select a “Capability” if you want, but it is not necessary. Configure the rest as you see fit.

I created 3 numeric fields: one for power consumption, one for current and one for voltage.

Next, you will need to find the DeviceID of your power plug. You do that via https://tools.developer.homey.app/ and click on “Devices”. It will take some time for the list to build up. Then find your device in the list and look for the ID field, which should look like this:

image

Copy that number and create an Advanced Flow like this one:

The Tuya Cloud app provides you with a flow card that captures numeric values from the Tuya IoT cloud as raw messages. You will now need to deduct them into the AVD.

You will need your DeviceID in the Logic comparison card. As you can see I have created 3 numeric fields in my ADV, which I fill with power consumption (divided by 10, as Tuya IoT cloud provides you that as such), the current (in mA) and voltage.

Hope this example helps you!

1 Like

Can you also do this with lights and sensors? I don’t really have power sockets which run through Tuya Cloud.

My connection between Tuya IoT cloud and Homey is working aswell but the API request is broken and the communication between Homey and Tuya IoT is like two different languages trying to communicatie but don’t understand each other.

I also have a 6 months valid IoT subscription. I literaly tried everything. I’m seriously guessing that there is a hidden policy which Tuya IoT is not accepting some API requests and blocks them. I have 80% failure and the 20% succes is when my devices work sometimes from their selfs.

It looks like your Tuya IoT cloud is fine and your Tuya app on Homey is receiving raw messages, but something within the Tuya app on your Homey is not communicating the values to your devices. To check this, try this simple flow:

Once you enable this flow you will get timeline messages in your Homey App on your smartphone like this:

image

Don’t keep it running too long, you may get a lot of timeline messages!

1 Like