question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for v3.2 protocol

See original GitHub issue

Bonjour,

J’obtiens cette erreur au demarrage de gladys:

TypeError: Cannot read property '1' of undefined 0|gladys | at _send.then.data (/home/pi/gladys/api/hooks/tuya/node_modules/tuyapi/index.js:123:41) 0|gladys | at <anonymous> 0|gladys | at process._tickDomainCallback (internal/process/next_tick.js:228:7)

et des que j’actionne le device:

0|gladys | (node:18902) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property '1' of undefined 0|gladys | Tuya - Error, undefined device! 0|gladys | Sending 500 ("Server Error") response: 0|gladys | Error: find() timed out. Is the device powered on and the ID or IP correct? 0|gladys | at pTimeout (/home/pi/gladys/api/hooks/tuya/node_modules/tuyapi/index.js:593:19) 0|gladys | at Timeout.setTimeout [as _onTimeout] (/home/pi/gladys/api/hooks/tuya/node_modules/p-timeout/index.js:20:13) 0|gladys | at ontimeout (timers.js:475:11) 0|gladys | at tryOnTimeout (timers.js:310:5) 0|gladys | at Timer.listOnTimeout (timers.js:270:5) 0|gladys | Server Error: 0|gladys |

ligne 123 de tuyapi/index.js: resolve(data.dps['1']);

J’utilise un smart switch: SCW NF101

avec wireshark, je recupere: ip":"192.168.1.xx","gwId":"bfx9268f215ecx78cdkpiv","active":2,"ablilty":0,"encrypt":true,"productKey":"zWxOK04ovOjw0Pxw","version":"3.2"}.B0

Mes identifinats sont de cette forme: [ { id: 'bfx9268f215ecx78cdkpiv', key: 'b6a93451d8f07ga2' } ]

des idees?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:65 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
Apollon77commented, Nov 8, 2022

Hm … ok, but what I saw is that they just had kind of a clone of tinytuya lib in their files … and yes without 3.2 and 3.4 support … but tuyapi is not supported … So in fact they need to update the python stuff

1reaction
Apollon77commented, Nov 8, 2022

Yes, as expected, thank you. Sofor me this would be “kind of fixed” 😃

I will bring this together with the protocol 3.4 changes as a PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

Luminair v3.2 adds support for KiNET, 3D Touch
Today we've released Luminair v3.2 for iOS, which adds support for an additional lighting control protocol… KiNET. This means that Luminair ...
Read more >
New in Java driver 2.1.2: native protocol v3 support | Datastax
The latest version of the DataStax Java driver brings support for version 3 of the native CQL protocol. This post explores what that...
Read more >
Upgrade from V2 to V3 - SAFE Documentation
This guide shows you how to upgrade your v2 project to v3. If you haven't done so already then you will need to...
Read more >
OmniServer Release History - Support - Software Toolbox
V3.2 Build 015 - July 2022. This revision includes the following updates: Adds CSV import/export support for Response Only (Unsolicited) ...
Read more >
How to detect, enable and disable SMBv1, SMBv2, and ...
The SMBv2 protocol was introduced in Windows Vista and Windows ... the check box for SMB 1.0/CIFS File Sharing Support and select Next....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found