Format conventions and examples
JSONPath convention
Example 1: Simple query from a JSON payload
{
"devices": [
{
"id": "A8032A13B850",
"name": "WiFi Switch 4",
"type": "ws2",
"wifiSwitchTemp": 23.75
},
{
"id": "F008D1C4B034",
"name": "WiFi Switch 3",
"type": "ws2",
"wifiSwitchTemp": 23.93
}
]
}
Example: Function to generate a GAI/related ID when the payload does not contain an identifier
Scenario: No identifier in the payload
Solution: Create a function
Configuration in Eliona
Using MQTT wildcards for GAI/related ID creation
MQTT topic structure in the example:
Unexpected error with integration mermaid: Integration is not installed on this space
Wildcards in MQTT
How MQTT wildcards work
Examples of using MQTT wildcards
Example 1: Using # to capture rooms
Example 2: Using + to identify a level
Example 3: Combination of + and # to capture multiple levels
Important notes
Was this helpful?

