Page 2 sur 2

Re: Prise commandée WIFI- Smart Life - Tuya - aide ?

Publié : 08 mai 2020, 13:46
par etttoutoi
merci pour ta réponse.

J'ai aussi essayé sans ma ça change rien.

EDIT: j'ai enlevé tous les >< et les [] et maintenant ca me demande bien l'association. Je test après manger ;)

Re: Prise commandée WIFI- Smart Life - Tuya - aide ?

Publié : 08 mai 2020, 13:53
par Jerome69
C'est une bonne avancée.

Bon appétit 😁

Re: Prise commandée WIFI- Smart Life - Tuya - aide ?

Publié : 08 mai 2020, 15:29
par etttoutoi
Bon ben erreur

ca me mets ca:

✖ Device(s) failed to be registered!
{ code: 'SING_VALIDATE_FALED_4',
message: 'Permission validation failed 4' }

une idée de l'erreur?

quand je debug ca me mets ca.

DEBUG=* tuya-cli link --api-key y**** --api-secret **** --ssid LA-MAIZ --password ******* --saveAPI
⠋ Registering devices(s)... @tuyapi/cloud Sending parameters: +0ms
@tuyapi/cloud { a: 'tuya.m.user.email.register',
@tuyapi/cloud deviceId: 'qk1j1x9s6s7v5bh48b2eb1rs3t0vioiwkxgg3wmr4g3y',
@tuyapi/cloud os: 'Linux',
@tuyapi/cloud lang: 'en',
@tuyapi/cloud v: '1.0',
@tuyapi/cloud clientId: 'ye9u8sg7ywac9dv87ayg',
@tuyapi/cloud time: 1588946193,
@tuyapi/cloud postData:
@tuyapi/cloud '{"countryCode":"AZ","email":"johndoe@example.com","passwd":"8ac4253450b2e0eccdfe0fa24036b6d5"}',
@tuyapi/cloud sign: '52296375da96c7fdb88bbfcf7a82e728' } +4ms
⠏ Registering devices(s)... @tuyapi/cloud Received response: +972ms
@tuyapi/cloud {"t":1588946194313,"success":false,"errorCode":"SING_VALIDATE_FALED_4","status":"error","errorMsg":"Permission validation failed 4"}
@tuyapi/cloud +0ms
✖ Device(s) failed to be registered!
{ code: 'SING_VALIDATE_FALED_4',
message: 'Permission validation failed 4' }