Open Mickinator opened 3 years ago
@Mickinator The desktop README file is more for the user. You're the builder, so you're the one who needs to set the ID and put a label on the box.
If you only have a single box on your network, you don't need to tell urlrelay which box id you want. Default ID is "1", but it doesn't matter if there is only one box. urlrelay will just send you there.
If you have more than 1 box, you need to give the boxes different NODE_IDs when you build them, then tell urlrelay which box you want with the id= argument in the url. If you don't do that, you'll get redirected to the box that most recently registered with urlrelay.
there's a "how it works" section in the github README with more detail: https://github.com/kdoren/jambox-pi-gen#web-browser-access-to-raspberry-pi-desktop---how-it-works
You could flash a card, boot to it, then get into it via the default URL or urlrelay.com/go?id=1, which should work because it registered most recently. then change the ID ("sudo leafpad /etc/urlrelay/urlrelay.conf"), save, and reboot. It's best to power off your other box while you do this, as you'll need to reboot it to reclaim id=1.
I prefer to change the urlrelay NODE_ID after flashing, but before booting. This is faster, and avoids conflicts with other boxes.
After flashing the microSD card, there is a way to edit some of the config files, before you ever boot to the card, You might need to unplug/plug your SD card reader after flashing to make the boot: partition visible. Any files in the /payload directory will be copied on boot to the main partition. So, to assign a different NODE_ID to a card:
Hi Kevin,
I' m new to jamulus but very intersted. (good stuff 👍🎶). My wife uses jamulus with her choir and I use it with my band. I've read in the read me folder that I have to "use the full url from the label of the box". I don't know, what that means, because I have no label and my boxes are buildt by myself. I wouldt be very glad if you can help. Regards Micki