A Sonos like application hosted on a Raspberry Pi. Host Spotify and route real time audio between devices on a network to enable multi room audio in the home. With a front end PWA written in React.
link local addresses break the program, possibly in the find() finction of autoDiscovery, or in getIp/configure. Also wipes the config file so bricks the unit.
sometimes the file gets corrupted whilst writing. you either get a blank file or extra charicters where they are not meant to be, maybe look at the debounce thing. device will then get stuck in a boot loop and is essentially bricked untill you SSH on and delete the empty/corrupted config file.
If devices get powered off without closing the node app and shutting down correctly the device will appear to still be online from the user interface of another device. solution: poll the connected devies at some time interval and remove unconnected devices.
add hidden inputs on rx devices for things like doorbells, alerts etc. could possibly use an always listenening alert socket? if you can merge roc send on the same socket. if not then create another device type called alert and make all receivers create a new roc-recv when and alert device is found.