athombv / com.tuya

Tuya app for Homey
https://homey.app/a/com.tuya
3 stars 4 forks source link

Action Battletron light capabilities missing #13

Open Plantje1978 opened 1 month ago

Plantje1978 commented 1 month ago

The Action Battletron light cannot be dimmed. And as soon as it is controlled (changed color) and I check it in the Tuya Smart app it is dimmed to 0%. Not sure if this is the right location and way to log an issue. Please let me know if I need to add something.

ricardo777 commented 1 month ago

I have a TuYa random AliExpress rgbw led strip that does the same. So it looks like it is not only your product doing it.

WeeJeWel commented 4 weeks ago

Please share the device's properties by following the instructions here: https://github.com/athombv/com.tuya/blob/master/.github/ISSUE_TEMPLATE/new-device-request.md

Plantje1978 commented 3 weeks ago

Trying my best here. I can connect with my Homey using Windows command prompt and Node.js installed. Also tried the same thing on Git Bash. However, these commands I cannot run: $ git@github.com:athombv/com.tuya.git $ cd com.tuya $ homey app run

WeeJeWel commented 3 weeks ago

My mistake! I added ‘git clone’ in the instructions.

Plantje1978 commented 3 weeks ago

Great stuff! Copilot also helped me and using the Git CLI I was able to get that far. However, it seems I need Docker as well as I get an error "× Error: Could not connect to Docker. Is it running?" So, let's do that! Edit: I love Copilot! Getting a little bit further step by step...

Plantje1978 commented 3 weeks ago

Ok, I think I have all data now not just from the Battletron lights: `─────────────── Logging stdout & stderr ─────────────── Debugger listening on ws://0.0.0.0:9229/daa6124c-9af8-4408-bd55-0924e3880c56 For help, see: https://nodejs.org/en/docs/inspector 2024-06-11T20:01:11.418Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] Initialized 2024-06-11T20:01:11.423Z [log] [ManagerDrivers] [Driver:light] [Device:fd56ab46-5db4-44cc-a2ba-5979633b57fa] Syncing... 2024-06-11T20:01:11.424Z [log] [ManagerDrivers] [Driver:light] [Device:fd56ab46-5db4-44cc-a2ba-5979633b57fa] Inited: Lamp bijkeuken 2024-06-11T20:01:11.424Z [log] [ManagerDrivers] [Driver:light] [Device:44eea94c-9195-45bc-b55e-2c1608e0101f] Syncing... 2024-06-11T20:01:11.424Z [log] [ManagerDrivers] [Driver:light] [Device:44eea94c-9195-45bc-b55e-2c1608e0101f] Inited: LED strip 2024-06-11T20:01:11.424Z [log] [ManagerDrivers] [Driver:light] [Device:22a1628e-318d-4cfa-bc8a-e984011d2786] Syncing... 2024-06-11T20:01:11.425Z [log] [ManagerDrivers] [Driver:light] [Device:22a1628e-318d-4cfa-bc8a-e984011d2786] Inited: Badkamer spiegel rechts 2024-06-11T20:01:11.425Z [log] [ManagerDrivers] [Driver:light] [Device:46a005b4-6440-489f-ac65-ad60be5a6229] Syncing... 2024-06-11T20:01:11.426Z [log] [ManagerDrivers] [Driver:light] [Device:46a005b4-6440-489f-ac65-ad60be5a6229] Inited: Badkamer spiegel links 2024-06-11T20:01:11.426Z [log] [ManagerDrivers] [Driver:light] [Device:03742f11-3571-4cbe-ac3b-1f322af92c95] Syncing... 2024-06-11T20:01:11.427Z [log] [ManagerDrivers] [Driver:light] [Device:03742f11-3571-4cbe-ac3b-1f322af92c95] Inited: Battletron Ball Slaapkamer Jorg 2024-06-11T20:01:11.427Z [log] [ManagerDrivers] [Driver:light] [Device:c4c489ad-8a64-4ba7-b330-fb3b08721a61] Syncing... 2024-06-11T20:01:11.427Z [log] [ManagerDrivers] [Driver:light] [Device:c4c489ad-8a64-4ba7-b330-fb3b08721a61] Inited: Links Battletron Ball Slaapkamer Sanne 2024-06-11T20:01:11.428Z [log] [ManagerDrivers] [Driver:light] [Device:61d8e7e9-569a-4aee-af22-e55c8f45a004] Syncing... 2024-06-11T20:01:11.429Z [log] [ManagerDrivers] [Driver:light] [Device:61d8e7e9-569a-4aee-af22-e55c8f45a004] Inited: Rechts Battletron Ball Slaapkamer Sanne 2024-06-11T20:01:11.430Z [log] [ManagerDrivers] [Driver:light] [Device:b2043c42-2c89-4d7c-a806-54c49c8046a2] Syncing... 2024-06-11T20:01:11.433Z [log] [ManagerDrivers] [Driver:light] [Device:b2043c42-2c89-4d7c-a806-54c49c8046a2] Inited: Battletron Ball Bureau Jorg 2024-06-11T20:01:11.433Z [log] [ManagerDrivers] [Driver:light] [Device:39f4052b-9684-4e42-8853-305a9f03f924] Syncing... 2024-06-11T20:01:11.434Z [log] [ManagerDrivers] [Driver:light] [Device:39f4052b-9684-4e42-8853-305a9f03f924] Inited: Lamp voordeur 2024-06-11T20:01:11.438Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/bf46dced80af8a0553gqhn 2024-06-11T20:01:11.438Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.438Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071437 2024-06-11T20:01:11.439Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: 985464e90d6d87f15730802192104f99 2024-06-11T20:01:11.439Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.439Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.439Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: BBF011FFFF53C5BF4F3F7A437EC872DE09600178F90D5C3079F9C32CECB50317 2024-06-11T20:01:11.439Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.456Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/bfe6ab8366cef8496belh9 2024-06-11T20:01:11.456Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.456Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071437 2024-06-11T20:01:11.456Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: e67469ca273830070b0b8c94d33b3bf7 2024-06-11T20:01:11.456Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.457Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.457Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: 75FCE1F1FFF151B13DFEA9DEEE9A111AB6A84D2B021DD7769318B2729AA208E0 2024-06-11T20:01:11.457Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.459Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/bf934787d0bbdcf1e2w6ta 2024-06-11T20:01:11.459Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.460Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071437 2024-06-11T20:01:11.460Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: 4e4a42a4d04ea969094d68c1d994d329 2024-06-11T20:01:11.460Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.460Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.460Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: C3D01FF082E4377EFEA19C263251EAD055C21B729C0AF1EA3AE24599E8E07266 2024-06-11T20:01:11.460Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.462Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/bf4e106803e9d5abbdwnit 2024-06-11T20:01:11.462Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.462Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071437 2024-06-11T20:01:11.463Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: 930e83a054cae72a81e520c0f545b158 2024-06-11T20:01:11.463Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.463Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.463Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: 6365081EF756689B083FFE8E338E9B272AB55C96E473D4FD5BB53E907A222B63 2024-06-11T20:01:11.464Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.467Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/bfcc3cce725b5003b4xlqe 2024-06-11T20:01:11.468Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.468Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071437 2024-06-11T20:01:11.468Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: e3f96d700c1000097b4a53e688722e68 2024-06-11T20:01:11.469Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.469Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.470Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: 6B4269CB65FF3996B975AA6BF55DF04B54174F5478E6F72D4FB76CF7D88579CD 2024-06-11T20:01:11.470Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.472Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/bf97e7bde512daa79epfwk 2024-06-11T20:01:11.472Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.472Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071438 2024-06-11T20:01:11.472Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: 595e8d8f57aa1439998043ac78bdf6b4 2024-06-11T20:01:11.472Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.473Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.473Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: F147C386FAC7C6C1FC2B94DF1D56A63798789AA979B509EE2D31D254B122EE3C 2024-06-11T20:01:11.473Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.475Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/bfa391a48dfeed0986ttzo 2024-06-11T20:01:11.475Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.475Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071438 2024-06-11T20:01:11.475Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: 956bcd29ac15e60cc57585301d7a6571 2024-06-11T20:01:11.476Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.476Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.476Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: EEC7144DF02A8C2FBF8D45CB761D7312AA171DE4F236843F208E4AF1D94A4D0F 2024-06-11T20:01:11.476Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.477Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/bfd29132078f624af4f2oa 2024-06-11T20:01:11.477Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.478Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071438 2024-06-11T20:01:11.478Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: 4c26bd5fc5c1f316ac03a7453f60cdc8 2024-06-11T20:01:11.478Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.478Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.478Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: 7E13760CB850B484020E5A1841462948BE5A8E12BA6066CF86A22D143E3C9318 2024-06-11T20:01:11.490Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.492Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] GET https://openapi.tuyaeu.com/v1.0/devices/00025054c82b96c775ed 2024-06-11T20:01:11.492Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] Authorization: Bearer a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.493Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] t: 1718136071438 2024-06-11T20:01:11.493Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] nonce: a5b1297488aac8eccbe71be501c34419 2024-06-11T20:01:11.493Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] client_id: ypx5nej9gtpqrnqc8jca 2024-06-11T20:01:11.493Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign_method: HMAC-SHA256 2024-06-11T20:01:11.493Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] sign: BF93AB31214509A648F76CB12C571DC6E9D05C8948433B09A446335FB90C256E 2024-06-11T20:01:11.493Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [req] access_token: a7e110d68f14acf6be2e3a80df41f51c 2024-06-11T20:01:11.662Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.666Z [log] [ManagerDrivers] [Driver:light] [Device:61d8e7e9-569a-4aee-af22-e55c8f45a004] onTuyaStatus {"switch_led":false,"work_mode":"colour","colour_data":{"h":338,"s":883,"v":1000},"countdown":0,"online":true} 2024-06-11T20:01:11.672Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.672Z [log] [ManagerDrivers] [Driver:light] [Device:fd56ab46-5db4-44cc-a2ba-5979633b57fa] onTuyaStatus {"switch_led":false,"work_mode":"white","bright_value_v2":990,"temp_value_v2":750,"colour_data_v2":{"h":0,"s":1000,"v":1000},"scene_data_v2":{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]},"countdown_1":0,"control_data":"","remote_switch":true,"online":true} 2024-06-11T20:01:11.675Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.676Z [log] [ManagerDrivers] [Driver:light] [Device:44eea94c-9195-45bc-b55e-2c1608e0101f] onTuyaStatus {"switch_led":false,"work_mode":"colour","bright_value_v2":1000,"temp_value_v2":1000,"colour_data_v2":{"h":288,"s":1000,"v":410},"scene_data_v2":{"scene_num":8,"scene_units":[{"bright":0,"h":0,"s":1000,"temperature":0,"unit_change_mode":"gradient","unit_gradient_duration":40,"unit_switch_duration":40,"v":1000},{"bright":0,"h":120,"s":1000,"temperature":0,"unit_change_mode":"gradient","unit_gradient_duration":40,"unit_switch_duration":40,"v":1000},{"bright":0,"h":240,"s":1000,"temperature":0,"unit_change_mode":"gradient","unit_gradient_duration":40,"unit_switch_duration":40,"v":1000},{"bright":0,"h":61,"s":1000,"temperature":0,"unit_change_mode":"gradient","unit_gradient_duration":40,"unit_switch_duration":40,"v":1000},{"bright":0,"h":174,"s":1000,"temperature":0,"unit_change_mode":"gradient","unit_gradient_duration":40,"unit_switch_duration":40,"v":1000},{"bright":0,"h":275,"s":1000,"temperature":0,"unit_change_mode":"gradient","unit_gradient_duration":40,"unit_switch_duration":40,"v":1000}]},"countdown_1":0,"music_data":"","control_data":"","remote_switch":true,"online":true} 2024-06-11T20:01:11.678Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.678Z [log] [ManagerDrivers] [Driver:light] [Device:46a005b4-6440-489f-ac65-ad60be5a6229] onTuyaStatus {"switch_led":false,"work_mode":"white","bright_value_v2":891,"temp_value_v2":750,"colour_data_v2":{"h":360,"s":890,"v":1000},"scene_data_v2":{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]},"countdown_1":0,"music_data":"","control_data":"","remote_switch":true,"online":true} 2024-06-11T20:01:11.686Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.687Z [log] [ManagerDrivers] [Driver:light] [Device:b2043c42-2c89-4d7c-a806-54c49c8046a2] onTuyaStatus {"switch_led":false,"work_mode":"colour","colour_data":{"h":220,"s":255,"v":1000},"countdown":0,"online":true} 2024-06-11T20:01:11.690Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.691Z [log] [ManagerDrivers] [Driver:light] [Device:c4c489ad-8a64-4ba7-b330-fb3b08721a61] onTuyaStatus {"switch_led":false,"work_mode":"colour","colour_data":{"h":2,"s":966,"v":1000},"countdown":0,"online":true} 2024-06-11T20:01:11.694Z [err] [ManagerDrivers] [Driver:light] [Device:61d8e7e9-569a-4aee-af22-e55c8f45a004] Error: Invalid Capability: dim at Remote Process at HomeyClient.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/HomeyClient.js:44:23) at Object.emit (/node_modules/@athombv/homey-apps-sdk-v3/manager/drivers.js:78:54) at Object.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/Driver.js:126:50) at /node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:570:27 at processTicksAndRejections (node:internal/process/task_queues:96:5) at TuyaOAuth2DeviceLight.setCapabilityValue (/node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:562:23) at TuyaOAuth2DeviceLight.onTuyaStatus (/app/lib/TuyaOAuth2DeviceLight.js:114:16) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async TuyaOAuth2DeviceLight.onTuyaStatus (/app/lib/TuyaOAuth2Device.js:89:5) at async /app/lib/TuyaOAuth2Device.js:113:7 { statusCode: 404 } 2024-06-11T20:01:11.700Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.701Z [log] [ManagerDrivers] [Driver:light] [Device:22a1628e-318d-4cfa-bc8a-e984011d2786] onTuyaStatus {"switch_led":false,"work_mode":"white","bright_value_v2":891,"temp_value_v2":750,"colour_data_v2":{"h":0,"s":1000,"v":1000},"scene_data_v2":{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]},"countdown_1":0,"music_data":"","control_data":"","remote_switch":true,"online":true} 2024-06-11T20:01:11.703Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.703Z [log] [ManagerDrivers] [Driver:light] [Device:39f4052b-9684-4e42-8853-305a9f03f924] onTuyaStatus {"switch_led":true,"work_mode":"white","bright_value_v2":891,"temp_value_v2":250,"colour_data_v2":{"h":0,"s":1000,"v":1000},"scene_data_v2":{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]},"countdown_1":0,"music_data":"","control_data":"","online":true} 2024-06-11T20:01:11.706Z [err] [ManagerDrivers] [Driver:light] [Device:b2043c42-2c89-4d7c-a806-54c49c8046a2] Error: Invalid Capability: dim at Remote Process at HomeyClient.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/HomeyClient.js:44:23) at Object.emit (/node_modules/@athombv/homey-apps-sdk-v3/manager/drivers.js:78:54) at Object.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/Driver.js:126:50) at /node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:570:27 at processTicksAndRejections (node:internal/process/task_queues:96:5) at TuyaOAuth2DeviceLight.setCapabilityValue (/node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:562:23) at TuyaOAuth2DeviceLight.onTuyaStatus (/app/lib/TuyaOAuth2DeviceLight.js:114:16) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async TuyaOAuth2DeviceLight.onTuyaStatus (/app/lib/TuyaOAuth2Device.js:89:5) at async /app/lib/TuyaOAuth2Device.js:113:7 { statusCode: 404 } 2024-06-11T20:01:11.706Z [err] [ManagerDrivers] [Driver:light] [Device:c4c489ad-8a64-4ba7-b330-fb3b08721a61] Error: Invalid Capability: dim at Remote Process at HomeyClient.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/HomeyClient.js:44:23) at Object.emit (/node_modules/@athombv/homey-apps-sdk-v3/manager/drivers.js:78:54) at Object.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/Driver.js:126:50) at /node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:570:27 at processTicksAndRejections (node:internal/process/task_queues:96:5) at TuyaOAuth2DeviceLight.setCapabilityValue (/node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:562:23) at TuyaOAuth2DeviceLight.onTuyaStatus (/app/lib/TuyaOAuth2DeviceLight.js:114:16) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async TuyaOAuth2DeviceLight.onTuyaStatus (/app/lib/TuyaOAuth2Device.js:89:5) at async /app/lib/TuyaOAuth2Device.js:113:7 { statusCode: 404 } 2024-06-11T20:01:11.712Z [log] [TuyaOAuth2App] [dbg] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] [res] { ok: true, status: 200, statusText: 'OK' } 2024-06-11T20:01:11.712Z [log] [ManagerDrivers] [Driver:light] [Device:03742f11-3571-4cbe-ac3b-1f322af92c95] onTuyaStatus {"switch_led":false,"work_mode":"colour","colour_data":{"h":117,"s":1000,"v":1000},"countdown":0,"online":true} 2024-06-11T20:01:11.734Z [err] [ManagerDrivers] [Driver:light] [Device:03742f11-3571-4cbe-ac3b-1f322af92c95] Error: Invalid Capability: dim at Remote Process at HomeyClient.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/HomeyClient.js:44:23) at Object.emit (/node_modules/@athombv/homey-apps-sdk-v3/manager/drivers.js:78:54) at Object.emit (/node_modules/@athombv/homey-apps-sdk-v3/lib/Driver.js:126:50) at /node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:570:27 at processTicksAndRejections (node:internal/process/task_queues:96:5) at TuyaOAuth2DeviceLight.setCapabilityValue (/node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:562:23) at TuyaOAuth2DeviceLight.onTuyaStatus (/app/lib/TuyaOAuth2DeviceLight.js:114:16) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async TuyaOAuth2DeviceLight.onTuyaStatus (/app/lib/TuyaOAuth2Device.js:89:5) at async /app/lib/TuyaOAuth2Device.js:113:7 { statusCode: 404 } 2024-06-11T20:01:12.794Z [log] [TuyaOAuth2App] [TuyaOAuth2Client] [c:default] [s:eu1633884783385gZ4NF] Registered Webhook

`

Plantje1978 commented 3 weeks ago

Cool! As soon as I switch one of them on in the logging I see that happening. And it also shows: 2024-06-11T20:11:33.230Z [err] [ManagerDrivers] [Driver:light] [Device:61d8e7e9-569a-4aee-af22-e55c8f45a004] Error: Invalid Capability: dim

Now for the more constructive part: what do I do next?