Questions tagged [tuya]

The tuya integration is the main integration to integrate Tuya Smart related platforms, except the Zigbee hub. This includes devices linked with the Tuya, Smart Life, and Jinvoo Smart apps.

Tuya Smart is an IoT platform that helps with developing and integrating Enterprise IoT solutions, product development and big data.

See: https://www.home-assistant.io/integrations/tuya/

24 questions
4
votes
1 answer

What is Tuya expecting for the "message"in API calls?

I'm trying to interact with the Tuya API from a PHP webapp. I have to authenticate the user with user ID and sign to receive the TOKEN. The main problem - I can understand what I shoude write in "message" field when I'm generating SIGN. Following is…
3
votes
2 answers

A problem occurred configuring project ':@volst_react-native-tuya'

I am working on an Expo Project. I have installed @volst/react-native-tuya by using yarn add @volst/react-native-tuya and I'm using their 0.3.14 Version. I read all this documentation from Here and follow all steps. But after I install and try to…
Talha Akbar
  • 462
  • 3
  • 15
1
vote
0 answers

My code never reaches the protocol stub of my delegate class

I'm new on iOS development, I'm making an IoT app using the TuyaSDK (I've already done the Android version of the App), the problem comes when I pair the device, it uses a delegate to listen wether the device is or isn't successfully paired. I can…
1
vote
2 answers

Call to Tuya API via bash

I am having an hard time calling the Tuya API while using curl. Tuya requires to generate a signature as following: HMAC-SHA256(client_id + t, secret). I built a small script that does exactly what Tuya asks. I have also double checked by trying to…
Porcac1x
  • 105
  • 9
1
vote
2 answers

Stuck at 1004 - sign invalid from Tuya API

I tried controlling my GoSund smart socket using Tuya IoT Development Platform, but I'm stuck on this error response when trying to switch its state: {"code":1004,"msg":"sign…
Mateusz
  • 13
  • 4
1
vote
1 answer

Problem inicializacting native SDK on Flutter: java.lang.UnsatisfiedLinkError: No implementation found for java.lang.Object

I am trying to integrate an SDK from the company TUYA (Smart Life App SDK) into a Flutter project as a native SDK using Java. I followed the steps that are posted on the official website, with some adaptations to make it work in a Flutter project.…
1
vote
0 answers

How to use RTSP live stream's link from tuya API?

I've got a link from Tuya API explorer using the service "IoT Video Live Stream". I want to know where I can use this link for stream my camera's video. I have the video on my tuya APP, but I want use this link. Here's an example of the API…
1
vote
0 answers

Control Tuya bluetooth devices from background threads on Android

I want to control Tuya bluetooth devices from background threads on Android. But I faced with problem: When I try to do it I received IllegalStateException. I found that tuya libraries contains singleton public class OoooO00 { public…
user2069363
  • 193
  • 1
  • 8
0
votes
2 answers

NSException occures while setuping Tuya SDK on IOS

I am new on IOS development and I am trying to create lot app using Tuya Smart Life App SDK. I am facing problem when I try to start the app after adding this SDK configure, with appKey and…
Niskahiki
  • 11
  • 1
0
votes
0 answers

Password Encryption Logic

I am working on Tuya's IOT API, and trying to send a password field using the API. Their documentation states this should be the value for the password field: * Indicates the length of the original password. * Wi-Fi lock: `7`. * Zigbee or Bluetooth…
Broshi
  • 3,334
  • 5
  • 37
  • 52
0
votes
0 answers

How do i encrypt a password for Tuya Smart Lock Open API

Keep in mind that I'm very new and lost when it comes to coding. I'm trying to generate a temporary for a smart lock that uses the Tuya App using Postman. I am currently stuck on the password as it requires it to be encrypted. password requirements…
0
votes
1 answer

Can't get messages from tuyapi to node red

I have a Tuya Mini Switch which doesn't seem to work with the various tuyapi nodes on offer, so I decided to write my own. In node.js I can use tuyapi to control the device and report on the device status. However when I try to port this to node red…
jhorv
  • 1
  • 1
0
votes
1 answer

I can't get acccess to Tuya cloud API

I have been struggling with connecting to Tuya cloud API. Testing in postman gives me this result: The things I have done: I connected the device to Tuya developer account. I configured my developer account and have access to tuya IOT service. I…
Amatis
  • 1
0
votes
0 answers

mosquitto_sub and Tuya TS0601 TRV

Is it possible to send settings to a TS0601 TRV from MQTT? For example: # mosquitto_pub -h localhost -t Home/Bed3/Radiator/set/force -m "open" -d Client mosqpub|19143-mini31 sending CONNECT Client mosqpub|19143-mini31 received CONNACK (0) Client…
Richard Barraclough
  • 2,625
  • 3
  • 36
  • 54
0
votes
2 answers

How to identify a mobile app user when connecting to Wi-Fi?

There is a home automation built with Tuya Smart IoT platform. It is used for guest house and has some scenarios, like welcoming guests, opening doors, powering on the light, etc. Visitors book this house via mobile app (built with React Native). Is…
nikkorfed
  • 15
  • 3
1
2