Hi Jerzy,
You could do this using a server that supports bridging. This means
that the server can connect to another server, acting as a client.
Each Pi would bridge to all other Pis and send only the data that it
has received from the sensors. Your client app could then connect to
any of the Pis and receive all of the information.
Using mosquitto config file syntax as an example:
# On Pi1, which collects sensor data for the kitchen
connection To_Pi2
address 192.168.0.12
topic sensors/kitchen/# out
connection To_Pi3
address 192.168.0.13
topic sensors/kitchen/# out
# On Pi2, which collects sensor data for the garden
connection To_Pi1
address 192.168.0.11
topic sensors/garden/# out
connection To_Pi3
address 192.168.0.13
topic sensors/garden/# out
Cheers,
Roger
> --
> To learn more about MQTT please visit
http://mqtt.org
> ---
> You received this message because you are subscribed to the Google Groups
> "MQTT" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mqtt+uns...@googlegroups.com.
> To post to this group, send email to
mq...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/mqtt.
> For more options, visit
https://groups.google.com/d/optout.