Ich bin weiter und das Gerät konnte nun über das Terminal verlinkt werden.
Code
pi@raspberrypi-3BPlus:~ $ tuya-cli link --api-key dxj9hd3kamcxxxxx --api-secret 2d17bd8c512b4adf92dxxxxx --schema hbstarprojector --ssid MyWifi --password ab12cd34ef56 --region eu
✔ Device(s) registered!
[
{
id: 'bf98a7747cxxxxx',
ip: '178.200.169.122',
localKey: '291c29219xxxxx',
name: 'Smart Star Projector'
}
]
Allerdings erhalte ich im HB-Log immer noch "Key is missing or incorrect"
Code
TypeError: Key is missing or incorrect.
at new TuyaDevice (/usr/local/lib/node_modules/homebridge-star-projector/node_modules/tuyapi/index.js:73:13)
at StarProjector.connect (/usr/local/lib/node_modules/homebridge-star-projector/src/platform.js:136:22)
at HomebridgeAPI.emit (events.js:388:22)
at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)
TypeError: Key is missing or incorrect.
at new TuyaDevice (/usr/local/lib/node_modules/homebridge-star-projector/node_modules/tuyapi/index.js:73:13)
at StarProjector.connect (/usr/local/lib/node_modules/homebridge-star-projector/src/platform.js:136:22)
at HomebridgeAPI.emit (events.js:388:22)
at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)
Alles anzeigen
Config mit
"tuyaId": "dxj9hd3kamcxxxxx",
"tuyaKey": "2d17bd8c512b4adf92dxxxxx",
Also die, welche ich auch oben im Terminal angegeben habe bei Device linken.
Die Id und Key habe ich verwendet aus der Tuya IoT Platform Cloud Projects Authorization Key.