Skip to content

Commit 983fa14

Browse files
committed
add the commanddemoplaceholder telemetry item to support demoing the
sending of a command to the client
1 parent 9ff238f commit 983fa14

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

IoTSonnenUploader/DigitalTwin/HomeBatteryDTMI.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@
147147
"displayName": "Time Of Use Schedule",
148148
"name": "TimeOfUseSchedule",
149149
"schema": "string"
150+
},
151+
{
152+
"@type": [
153+
"Telemetry"
154+
],
155+
"displayName": "Command Demo Placeholder",
156+
"name": "CommandDemoPlaceholder",
157+
"schema": "string"
150158
}
151159
]
152-
}
160+
}

IoTSonnenUploader/DigitalTwin/SonnenSpecificDTMI.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@
138138
"displayName": "Time Of Use Schedule",
139139
"name": "timeOfUseSchedule",
140140
"schema": "string"
141+
},
142+
{
143+
"@type": [
144+
"Telemetry"
145+
],
146+
"displayName": "Command Demo Placeholder",
147+
"name": "commandDemoPlaceholder",
148+
"schema": "string"
141149
}
142150
]
143151
}

IoTSonnenUploader/DigitalTwin/sonnen-to-generic-mapping-multiple-routes.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@
4343
"softwareVersion": "1.18.4",
4444
"time": 1764004099418,
4545
"timeOfUseSchedule": "[{\"start\":\"23:30\",\"stop\":\"00:00\",\"threshold_p_max\":22500},{\"start\":\"00:00\",\"stop\":\"05:30\",\"threshold_p_max\":20000}]",
46-
"timestamp": "2025-11-24T17:08:19.41809Z[Europe/London]"
46+
"timestamp": "2025-11-24T17:08:19.41809Z[Europe/London]",
47+
"commandDemoPlaceholder": "Placeholder"
4748
}
4849
},
4950
"payload-mapping": {
5051
"$.SoftwareVersion": "$.softwareVersion",
5152
"$.TimeOfUseSchedule": "$.timeOfUseSchedule",
52-
"$.ConfigurationTimestamp": "$.timestamp"
53+
"$.ConfigurationTimestamp": "$.timestamp",
54+
"$.CommandDemoPlaceholder": "$.commandDemoPlaceholder"
5355
}
5456
}
5557
]

0 commit comments

Comments
 (0)