I’m new with MQTT, I have a mosquitto MQTT broker on a Raspberry Pi.
I have some topics from a client in this format /topic/lighton
can be true
or false
.
In other hand I can invoke some topics like /topic/light_on
with value replay
and /topic/light_off
value replay
.
I just need to push one of this two topic if I get the first topic true or false. Is there any kind of transformation or some software client subscribed to first topic that publish the second topics.