Skip to content

Commit

Permalink
feat: add support for PCA20065+asset_tracker_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed May 31, 2024
1 parent 48d1820 commit 405b7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/resources/ConvertDeviceMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class ConvertDeviceMessages extends Construct {
AND (${['SOLAR', 'BATTERY', 'HUMID', 'TEMP', 'AIR_QUAL', 'AIR_PRESS', 'BUTTON']
.map((appId) => `appId = '${appId}'`)
.join(' OR ')})
AND get_dynamodb("${devicesTable.tableName}", "deviceId", topic(3), "${topicRuleRole.roleArn}").model = 'PCA20035+solar'
AND get_dynamodb("${devicesTable.tableName}", "deviceId", topic(4), "${topicRuleRole.roleArn}").model IN ["PCA20035+solar", "PCA20065+asset_tracker_v2"]
`,
actions: [
{
Expand Down

0 comments on commit 405b7a4

Please sign in to comment.