for my floor heating system I had to manage quite a few sensors. I put all sensors in one flow and all my different rooms in seperate flows. I used a flow router (input) to bring the sensor data to the rooms.
I actually used the same method for my outputs to actors. All outputs like http request, mqtt, websocket, telegram are in one flow with an output router. This turned out to be very effectiv if you had to add new sensors or outputs.
Attached a basic example:
sensor.txt (16.7 KB)
As the flow was to big to post it here just download the txt file.