cosmic-pi-deprecated / cosmicpi-rpi_V1.5

Our web interface and data collection software for Raspberry Pi
Other
4 stars 5 forks source link

Multiple cosmic pi's on the same network #17

Open pingud98 opened 6 years ago

pingud98 commented 6 years ago

We need to test the scenario where we have more than one cosmic pi on a local network; how does it work if they all have the same name (cosmicpi)?

pingud98 commented 6 years ago

There's a solution to this; which is to customise/randomise the device name at first boot (using the uuid of the Pi hardware.. so we'd get cosmicpi#####.local, of course it's hard to tell this number beforehand/and remember it. Other solutions are to not bother with this and use IP addressing; For V2 it would be nice to extract a UUID from the STM32 (possible) and mark it on the label at production.