Search found 9 matches
- 2024年 Dec 6日 09:45
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 308
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
import time import hmac import hashlib # Definição da função generate_tuya_sign def generate_tuya_sign(client_id, secret, http_method, url, query_params=None, body=None, access_token=None): # Timestamp atual em milissegundos timestamp = str(int(time.time() * 1000)) # 1. Criar o stringToSign # Métod...
- 2024年 Dec 6日 09:10
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 288
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
I'm trying to control a lamp I have in my room through an HTTP request using curl. Analyzing the documentation at the links: https://developer.tuya.com/en/docs/iot/new-singnature?id=Kbw0q34cs2e5g https://developer.tuya.com/en/docs/cloud/e2512fb901?id=Kag2yag3tiqn5#title-1-Request%20parameter I under...
- 2024年 Dec 6日 09:10
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 276
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
I'm trying to control a lamp I have in my room through an HTTP request using curl. Analyzing the documentation at the links: https://developer.tuya.com/en/docs/iot/new-singnature?id=Kbw0q34cs2e5g https://developer.tuya.com/en/docs/cloud/e2512fb901?id=Kag2yag3tiqn5#title-1-Request%20parameter I under...
- 2024年 Dec 6日 09:09
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 234
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
I'm trying to control a lamp I have in my room through an HTTP request using curl. Analyzing the documentation at the links: https://developer.tuya.com/en/docs/iot/new-singnature?id=Kbw0q34cs2e5g https://developer.tuya.com/en/docs/cloud/e2512fb901?id=Kag2yag3tiqn5#title-1-Request%20parameter I under...
- 2024年 Dec 6日 09:02
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 188
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
I'm trying to control a lamp I have in my room through an HTTP request using curl. Analyzing the documentation at the links: https://developer.tuya.com/en/docs/iot/new-singnature?id=Kbw0q34cs2e5g https://developer.tuya.com/en/docs/cloud/e2512fb901?id=Kag2yag3tiqn5#title-1-Request%20parameter I under...
- 2024年 Dec 6日 09:02
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 197
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
I'm trying to control a lamp I have in my room through an HTTP request using curl. Analyzing the documentation at the links: https://developer.tuya.com/en/docs/iot/new-singnature?id=Kbw0q34cs2e5g https://developer.tuya.com/en/docs/cloud/e2512fb901?id=Kag2yag3tiqn5#title-1-Request%20parameter I under...
- 2024年 Dec 6日 08:59
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 172
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
I'm trying to control a lamp I have in my room through an HTTP request using curl. Analyzing the documentation at the links: https://developer.tuya.com/en/docs/iot/new-singnature?id=Kbw0q34cs2e5g https://developer.tuya.com/en/docs/cloud/e2512fb901?id=Kag2yag3tiqn5#title-1-Request%20parameter I under...
- 2024年 Dec 6日 08:58
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 167
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
I'm trying to control a lamp I have in my room through an HTTP request using curl. Analyzing the documentation at the links: https://developer.tuya.com/en/docs/iot/new-singnature?id=Kbw0q34cs2e5g https://developer.tuya.com/en/docs/cloud/e2512fb901?id=Kag2yag3tiqn5#title-1-Request%20parameter I under...
- 2024年 Dec 6日 08:57
- Forum: Developer Platform
- Topic: sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
- Replies: 0
- Views: 187
sign invalid | POST: /v1.0/iot-03/devices/{device_id}/commands
I'm trying to control a lamp I have in my room through an HTTP request using curl. Analyzing the documentation at the links: https://developer.tuya.com/en/docs/iot/new-singnature?id=Kbw0q34cs2e5g https://developer.tuya.com/en/docs/cloud/e2512fb901?id=Kag2yag3tiqn5#title-1-Request%20parameter I under...