1 Answer
- Newest
- Most votes
- Most comments
0
Answering to my own question, after some further testing. I did not manage to interpolate the topic dynamically on-the-fly as I wanted. Instead, I found a workaround by declaring a variable that contains the resolved interpolation in a previous state. For instance, the variable leds_topic is initialized with 'gate/' + $input.gate_sensors.gateid + '/leds' Aterwards, I can publish to that topic using as Topic name ($variable.leds_topic)
answered 4 years ago
Relevant content
- asked a year ago
- asked 3 years ago
- AWS OFFICIALUpdated 4 years ago
