Hi folks,
I am using MQTT broker in a scenario in which the broker gets the data through a topic say location/officespace/floor/home where has the payload consists of an xml/json consisting the data and the status of home and there is a subscriber who wants to subscribe to specific topic in the home ( say fan, ac, bulb, etc). Is there any possible way where the broker can redirect to these topics from the payload it received?
In Brief: I want to know if there is any feature in broker where it can publish the message to a topic, generated by using the payload received...
Ex:
>>Topic published to the broker : location/officespace/floor/home
>>payload received : components{
room{ [
fan{
status: off
speed: value
}
]
}
>>Topic to send to subscriber : location/officespace/floor/home/fan
Thanks in Advance
Best,
E