mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 11:34:53 +00:00
changed device log table
This commit is contained in:
@ -16,7 +16,7 @@ export class TuyaWebSocketService {
|
||||
accessId: this.configService.get<string>('tuya-config.TUYA_ACCESS_ID'),
|
||||
accessKey: this.configService.get<string>('tuya-config.TUYA_ACCESS_KEY'),
|
||||
url: TuyaWebsocket.URL.EU,
|
||||
env: TuyaWebsocket.env.TEST,
|
||||
env: TuyaWebsocket.env.PROD,
|
||||
maxRetryTimes: 100,
|
||||
});
|
||||
|
||||
@ -40,6 +40,7 @@ export class TuyaWebSocketService {
|
||||
await this.deviceStatusFirebaseService.addDeviceStatusToFirebase({
|
||||
deviceTuyaUuid: message.payload.data.bizData.devId,
|
||||
status: message.payload.data.bizData.properties,
|
||||
log: message.payload.data.bizData,
|
||||
});
|
||||
|
||||
this.client.ackMessage(message.messageId);
|
||||
|
||||
Reference in New Issue
Block a user