Yeah we need to support this. The developer is out this week but I’ll file it and we’ll come up with some kind of solution for letting people splice together their stats when a machine is swapped out or whatever.
Hey karl, I suppose one option to be able to migrate to new hardware is to not only use the MAC of the Pi’s eth0, but to maybe also include the MAC of the Pi’s wlan0 for the feeder site.
I use wireless to feed PiAware, and in my case my old Pi died, I just swapped the Wifi USB dongle to the new Pi.
My solution currently is Mac spoofing so PiAware sees my new Pi as the old Pi. It’s a bit of a hassle and something I may forget about in the future.
So using wlan0’s MAC as a supplement MAC ID for the feeder site may be beneficial. Just a thought.
Just wondering if anything ever came of this discussion. I tried out a new raspberry pi tonight that I’m hoping to eventually use to set up a new site, and didn’t realize that I’d end up with two sites on my page, one of which isn’t actually active since I switched everything back to Pi #1…
Why not use a GUID for the site feeder ID. It could manually be entered/changed by a user or randomly generated at first start up. It could be persisted in a simple config file somewhere to allow easy editing if needed.
An extra bonus would be that the GUID has more uniqueness than a MAC address to prevent guessing/spoofing of a site feeder ID.
Run sudo dpkg-reconfigure piaware-mutability after upgrading - there will be a new question about site ID - put the MAC address you want to use in there.
(The config option actually ends up in /etc/piaware.adept.conf)
Sorry to engage in thread necromancy, but I’ve just hit this issue too, having upgraded to a Pi2 and I was unable to locate any more recent threads on the topic. Thanks to the tip from the O.P. I have spoofed my old Pi’s MAC as a work-around, but it would be really nice if this could be undone at some point in the future.
Any update on this feature being added, as it seems like quite some time ago that this enhancement request was raised?