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.

Unreadable data returned

See original GitHub issue

device = new TuyAPI({ id: ‘bfd008ca31be4f556d3nbb’, key: '************* })

device.on(‘data’, (data) => console.log(deviceData = data)) await device.find() await device.connect() deviceStatus = await device.get();

The data in deviceData contains:

3.3�;�������{���a��K�h����lܳG��x{ ���S^m`X�

It is unreadable and I do not know how to handle it

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kueblccommented, Mar 13, 2020

You need to set the version to 3.3. After your id and key, add version: 3.3.

0reactions
louisvangeldropcommented, Apr 2, 2020

It is from the Action. Brandname is LSC Led Lamp. It is cheap (7,95 euro) and works very well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does indy return unreadable data but chrome loads it fine?
1 Answer 1 ... If the server has Content-Encoding: gzip in the headers, so you must decompress the data. Here is a full...
Read more >
What to Do When File Record Segment is Unreadable?
The only safe way to get back the inaccessible and lost data due to File Record Segment is Unreadable issue is by using...
Read more >
Unreadable Data - CloudBees Support
Resolution. In most cases, these messages can be dismissed. This can occur when you configure a plugin, and later disable it.
Read more >
How to Fix the File or Directory is Corrupted And Unreadable?
Step-by-step text guide: https://bit.ly/36SYJXX Recover lost data due to the directory is corrupted and unreadable error: ...
Read more >
Flow returns unreadable content after control step
Solved: I'm building a flow that uses Forms data as its trigger. After receiving the Forms data, it has a control step to...
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