[APP][CLOUD] Official Tuya App for Homey

I did not know that. Thanks!

It took some days to find out, but now I have the AdlarCastra Aurora 2 heatpump connected to Homey Pro. I can read many variables in Homey and made a flow to activate my floor heatpump the moment the Aurora 2 starts working.

For those who are dummies like myself:

  • Add in Devices “Tuya - Unknown” and follow all the steps.
  • In the Advanced Flow select the “Status xxx gets a new number value”
  • For xxx I selected “compressor-strength” which returns a value in Hz: when 0 the Aurora is off.

I still cannot control the Aurora with Homey but the first steps have been made :grinning: .

Hi,

I am getting this error: Invalid Value: led_type_2

It is a Tuya 2 Gang dimmer. These are the device specifications:

{ “device”: { “active_time”: 1723816911, “biz_type”: 18, “category”: “tgq”, “create_time”: 1650747401, “icon”: “smart/icon/ay15327721968035jwx9/158754172045f19c21b2e.jpg”, “id”: “bf7cf056557c7a9f18qvnd”, “ip”: “”, “lat”: “”, “local_key”: “”, “lon”: “”, “model”: "105B ", “name”: “Eet tafel lamp”, “online”: true, “owner_id”: “”, “product_id”: “kqm0mqzb5zazewsb”, “product_name”: “WiFi 2Gang Dimmer Module”, “status”: [ { “code”: “switch_led_1”, “value”: false }, { “code”: “bright_value_1”, “value”: 802 }, { “code”: “brightness_min_1”, “value”: 21 }, { “code”: “led_type_1”, “value”: “incandescent” }, { “code”: “switch_led_2”, “value”: false }, { “code”: “bright_value_2”, “value”: 651 }, { “code”: “brightness_min_2”, “value”: 10 }, { “code”: “led_type_2”, “value”: “LED” }, { “code”: “countdown_2”, “value”: 0 }, { “code”: “work_mode”, “value”: “white” } ], “sub”: false, “time_zone”: “+02:00”, “uid”: “”, “update_time”: 1727382043, “uuid”: “” }, “specifications”: { “category”: “tgq”, “functions”: [ { “code”: “switch_led_1”, “type”: “Boolean”, “values”: “{}” }, { “code”: “bright_value_1”, “type”: “Integer”, “values”: “{"min":10,"max":1000,"scale":0,"step":1}” }, { “code”: “brightness_min_1”, “type”: “Integer”, “values”: “{"min":10,"max":1000,"scale":0,"step":1}” }, { “code”: “led_type_1”, “type”: “Enum”, “values”: “{"range":["incandescent","halogen"]}” }, { “code”: “switch_led_2”, “type”: “Boolean”, “values”: “{}” }, { “code”: “bright_value_2”, “type”: “Integer”, “values”: “{"min":10,"max":1000,"scale":0,"step":1}” }, { “code”: “brightness_min_2”, “type”: “Integer”, “values”: “{"min":10,"max":1000,"scale":0,"step":1}” }, { “code”: “led_type_2”, “type”: “Enum”, “values”: “{"range":["incandescent","halogen"]}” }, { “code”: “countdown_2”, “type”: “Integer”, “values”: “{"min":0,"max":86400,"scale":0,"step":1}” }, { “code”: “work_mode”, “type”: “Enum”, “values”: “{"range":["white"]}” } ], “status”: [ { “code”: “switch_led_1”, “type”: “Boolean”, “values”: “{}” }, { “code”: “bright_value_1”, “type”: “Integer”, “values”: “{"min":10,"max":1000,"scale":0,"step":1}” }, { “code”: “brightness_min_1”, “type”: “Integer”, “values”: “{"min":10,"max":1000,"scale":0,"step":1}” }, { “code”: “led_type_1”, “type”: “Enum”, “values”: “{"range":["incandescent","halogen"]}” }, { “code”: “switch_led_2”, “type”: “Boolean”, “values”: “{}” }, { “code”: “bright_value_2”, “type”: “Integer”, “values”: “{"min":10,"max":1000,"scale":0,"step":1}” }, { “code”: “brightness_min_2”, “type”: “Integer”, “values”: “{"min":10,"max":1000,"scale":0,"step":1}” }, { “code”: “led_type_2”, “type”: “Enum”, “values”: “{"range":["incandescent","halogen"]}” }, { “code”: “countdown_2”, “type”: “Integer”, “values”: “{"min":0,"max":86400,"scale":0,"step":1}” }, { “code”: “work_mode”, “type”: “Enum”, “values”: “{"range":["white"]}” } ] }, “data_points”: [ { “code”: “led_switch_1”, “custom_name”: “”, “dp_id”: 1, “name”: “Switch1”, “time”: 1727425264035, “type”: “bool”, “value”: false }, { “code”: “bright_value_1”, “custom_name”: “”, “dp_id”: 2, “time”: 1727386681411, “type”: “value”, “value”: 802 }, { “code”: “brightness_min_1”, “custom_name”: “”, “dp_id”: 3, “time”: 1727020771960, “type”: “value”, “value”: 21 }, { “code”: “led_type_1”, “custom_name”: “”, “dp_id”: 4, “time”: 1727020772585, “type”: “enum”, “value”: “incandescent” }, { “code”: “countdown”, “custom_name”: “”, “dp_id”: 6, “time”: 1727020769595, “type”: “value”, “value”: 0 }, { “code”: “led_switch_2”, “custom_name”: “”, “dp_id”: 7, “name”: “Switch2”, “time”: 1727020770058, “type”: “bool”, “value”: false }, { “code”: “bright_value_2”, “custom_name”: “”, “dp_id”: 8, “time”: 1727020770437, “type”: “value”, “value”: 651 }, { “code”: “brightness_min_2”, “custom_name”: “”, “dp_id”: 9, “time”: 1650747401925, “type”: “value”, “value”: 10 }, { “code”: “led_type_2”, “custom_name”: “”, “dp_id”: 10, “time”: 1727020772779, “type”: “enum”, “value”: “LED” }, { “code”: “countdown_2”, “custom_name”: “”, “dp_id”: 12, “time”: 1727020769598, “type”: “value”, “value”: 0 }, { “code”: “work_mode”, “custom_name”: “”, “dp_id”: 13, “time”: 1650747401925, “type”: “enum”, “value”: “white” } ] }

See screenshot:

I have tried restarting, re-adding device etc. Nothing works. Does this something to do with the Tuya Homey app which is not supported with this dimmer?

I cannot add devices at all. Tried both official and experimental app versions. Tried uninstall and re-install app. Updated homey to latest version. When logging in to add devices from mobile it loads forever. When trying from pc it loads and says token already authenticated if I try again. No devices will add to homey however I try. I have 3 plugs that just won’t add…

1 Like

Followed these instructions?

INSTRUCTIONS
The Tuya App for Homey is compatible with both the ‘Tuya Smart’ and ‘Smart Life’ apps for iOS and Android. Before connecting your Tuya-enabled devices to Homey, ensure they are first linked to one of these apps.

Your 3 plugs are connected to one of these 2 apps?

Yes.
Devices works great from the tuya smart app.

OK!
Update on the 10th try:

Another laptop with win11 and chrome (instead of win10 and edge).
connected to ssid WiFi for IoT at home (same network, just different SSID)

When empty box comes up with text “new devices found” I clicked the empty space and THEN it loaded icons for my plugs to connect.

Seems like a render issue of the popup window that won’t populate with devices unless user inputs on the box. Like an invisible “confirm button” after message of new devices found.

Changed it

1 Like

Don’t know exactly what you did, because it looked really weird. That’s why I corrected it myself.
The reason why codes should be written in pre-formatted text is, that a post is not several pages long. In addition, the code can now be easily copied.

I understand sorry for the misunderstanding. Not very active on forums.

I also just saw that the Tuya dimmer is fully functional now. I didn’t do anything and don’t see any new updates. Did something change?

No problem, Atilla.

Because I don’t use this Tuya app and therefore I have also no Tuya dimmer in use, I’m not able to help you, sorry.
But I’m sure you will be helped. @Doekse and @Peter_Kawa, do you have any ideas?
(Sorry to mention you, but you are the only Tuya experts I remembered spontaneously)

1 Like

Hello

I got a Tuya presence sensor and I was able to integrate it in Homey, but only:

  • using the official Tuya app
  • declaring is as “other” device type. I tried the sensor device but it did not work (it is for motion sensor I guess)

The device shows up in Homey, but with not much in there at all

Capture d’écran 2024-10-04 à 12.24.03

there is no logo nor any kind of setting. Message when I open the device is pretty clear

In advanced settings, there is a lot of info, but too technical for me

The fact that I cannot control it in Homey is not a problem. i can do the setup in Tuya, all I need is to use the presence detection in a flow in Homey
When I try to create a flow, I need you help, I see these cards

Capture d’écran 2024-10-04 à 12.29.35

When I try one of the cards, I have no idea I should select to get the alarm motion is triggered. I have some kind of list but I don’t know the values

Any idea how I can find info? Maybe in the Tuya documentation (if I find it) or maybe with the info in the adavanced settings?

Thanks

PS: this sensor works very well in Tuya and is very cheap (12€) so I’m really keen on getting it to work

Almost there.
The “you can not control it” is a stupid confusing remark, many think something went wrong.

They mean: you can not turn it on or off for example, but it can trigger your flows.

Add a When “Status code gets a new boolean value” card, and select a value from the dropdown.
Now that sensor value, if Yes/No or True/False can trigger a flow

Peter, thanks for trying to help
The “cannot control” is not that stupid in the sense that I cannot access all the controls I have in the Tuya app, but it’s a side issue

Trying with the “Status code gets a new bolean value” gives me this list

which is not easy to understand and far from complete. For instance in the device there are several notions for motion detection (small move, large moove), I cannot find large move in the list.
Also there is nothing to say motion detector went on / went off (which you need to switch the light off)

Select the “Near Precence” in the Code field, select an AND, choose a LOGIC command, connect it to the WHEN and use the VALUE from the WHEN in the LOGIC command. Then select a THAN to do what you want to do in your flow.

Here I control my second waterpump when the heatpump starts working.
In other words, you need to use the Logic function to create the variable you can use in your flow.

What I learned is that you first create the connection, then the value of the WHEN is on top of your choice-list in the LOGIC function block.

1 Like

YW!
Well, that remark is a common one, not Tuya (app) related :wink:

I agree it’s not easy with this sensor! A light or switch had been an easier start :grimacing:

I would guess “small_mov_start” can be the motion Y/N detection.

You can just add timeline cards to each trigger event to discover what kind of motion / presence event triggers it.

breathe_start” is a funny one, to me it is.
Sounds like “When you lie on the couch not breathing, it detects when you start breathing again” :crazy_face:

Oh, you’ll sort of find similar capability names of the sensor in the phone app btw, when you temporarily add an automation and select “when device status changes”.

@Bernd_Gaykema and @Peter_Kawa
thanks for your precious help.
I have some elements to start working on it and let you know if I’m able to make it work.
It will take me some time as i am not yet familiar with advanced flows and variables.

Thanks a lot

1 Like

The app has been working really well since the issues with the Tuya servers that caused readings updates for my T&H sensors from being registered on Homey. were addressed But sometime last night, it seems that readings updates broke again. I can get new readings by restarting the app, but they don’t get updated when readings change - they still change in the Tuya app…

yes i can confim. No more upates since this morning since 03:00

We are aware of the issues and are looking into it! Thanks for reporting :pray:

1 Like

Hooked up my first 4 tuya wifi temp sensors yesterday evening. Experiencing the same issue: Tuya app updates fine on new readings, but not flowing into Homey unless I restart the Homey Tuya app.

Was looking for support but seems like a general problem.
Hopefully fixed in the coming days.