8 ms·
> Now I have a whole bunch of Pi 3's and 4's scattered around my home with no local storage at all doing cool things Elaborate? I have a single pi3 as a Plex s
by umvi 6y ago
> Now I have a whole bunch of Pi 3's and 4's scattered around my home with no local storage at all doing cool things
Elaborate? I have a single pi3 as a Plex server, looking for more ideas.
- threentaway 6y agohttps://github.com/badaix/snapcast https://github.com/badaix/snapcast this seems really cool, although I haven't got around to doing it myself.
- geekuillaume 6y agoSnapcast is really cool, Johannes did an awesome job! I used it for a long time at home on multiple RaspberryPis. I've been working for some time on a more user-friendly and cross-OS alternative. It's available here: https://github.com/geekuillaume/soundsync https://github.com/geekuillaume/soundsync I think I'm going to try to integrate net-boot in Soundsync this weekend. It would be awesome to be able to install Soundsync on any computer on the network, turn on an option and then just start the rPi to get it to play music.
- LeoPanthera 6y agoTwo play music, one into my hifi, one into my home audio distribution system. One is setup for RetroPie. One has LibreELEC installed, showing TV from my HDHomeRun. One has a GPS hat and is a local NTP server. And one boots into an Amiga emulator because I'm very old and nostalgic.
- joshspankit 6y ago(If you’re able to play to both simultaneously) Do the music playback devices stay in sync?
- LeoPanthera 6y agoNo they're independent. But if I want multiroom audio I just use my very low-tech home audio system. Most rooms have ceiling speakers that are all wired back to the garage where one of the Pi's lives.
- deleted 6y ago[deleted]
- blibble 6y agoI actually tried this and it turned out to be quite a bit more complicated than predicted, due to clocks on the pis being slightly different "I'll just sling udp multicast of the PCM samples around the network, can't be that hard right?" ended up using MPD with pulseaudio over TCP, and they get out of sync after a few minutes, but good enough
- deleted 6y ago[deleted]
- joshspankit 6y agoThe different clocks is a real hurdle. I have to give credit to Apple on this one, as they had the genius idea to make the buffer >1s, and send control messages independent of the audio stream. There’s gotta be a way to do it with PTP and the same ideas but clearly it’s either an extremely difficult problem, too niche, or both.
- MisterAV 6y agoWhat is the requirement for synched audio? milliseconds, microseconds, nanoseconds,... I'm currently working on devices that synchronises themselves wirelessly indoor over a large area and I'm now wondering if music could be an application I haven't though about...
- londons_explore 6y ago10 ms is fine. 100ms works but you get odd echoes like a speaker system in a big building. You need some way to compensate for clock drift between different playback devices. Even good clocks will drift 10ms in a few hours.
- loxias 6y ago1ms is barely "ok". with 1ms you'll still hear ugly comb filter effects. (see my other comments)
- 6y ago
- rainbowzootsuit 6y agoI successfully used shareport-sync and forked-daapd back a while ago with PogoPlugs and USB audio interfaces for multiroom audio. It worked without too much effort. https://github.com/mikebrady/shairport-sync https://github.com/mikebrady/shairport-sync http://ejurgensen.github.io/forked-daapd/ http://ejurgensen.github.io/forked-daapd/
- silicon2401 6y agodo you have a blog about this, or willing to share any more info? This sounds like something I'd like to start working towards
- LeoPanthera 6y agoI haven't documented it, but it's very simple.
- thisisbrians 6y agoI, too, would appreciate a brief Google Doc or Pastebin on this if you can spare the time. I've never setup netboot before, but have been interested for years... reply
- pbalau 6y agoUnless you are running your own router, like the op, most likely his setup won't help you. You should start by understanding all the components of the system and then figure out how to make it fit in your environment and maybe what changes you need to make. Start here [0] 0. https://en.wikipedia.org/wiki/Preboot_Execution_Environment https://en.wikipedia.org/wiki/Preboot_Execution_Environment
- LeoPanthera 6y agoThe Pi doesn't use PXE. It's different, but documented here: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/net.md https://www.raspberrypi.org/documentation/hardware/raspberry...
- pbalau 6y agoYou probably should read that link, section "DHCP Request / Reply". Virtually the entire world uses PXE. Anyway, I find it funny that we are arguing about the proper name for network boot in a thread about usb boot.
- enobrev 6y agoCan I ask what software you're using for music on your home audio system? I have an HTD system with speakers throughout and while Chromecast Audio was great for a while, stability has been an issue that I'm no longer interested in hassling with. (Also looking forward to researching this netboot solution you speak of)
- entropie 6y agoDo you know homeassistant? https://github.com/home-assistant/plugin-audio https://github.com/home-assistant/plugin-audio
- enobrev 6y agoYes. I have a lot of respect for the HA project, but I stopped using it last year. It changed far too much for me too much keep up at the time, and I ran into too many issues with the zwave support at the time. Thanks for the link.
- hanklazard 6y agoNot the parent but I have a similar setup. I use volumio music software on 4 raspberry pi 3b+, each with a hifiberry amp to drive speakers. If you couple these with snapcast, you have a diy whole house sonos-like setup. Works well and I control volumes through home assistant. Not familiar with netbooting, but will be looking into it!
- enobrev 6y agoI had been considering a similar setup and then got a notification for a barely used htd lync12 with amps on Craigslist at an insanely good price and hopped right on it. I've spent the past year or so wiring up the house a room at a time, which has been painful and sometimes stressful. But I've become such a huge fan of the simplicity and stability of a wired setup that it's all been absolutely worth it. Thanks for the recommendation. I'll give volumio a closer look.
- LeoPanthera 6y ago
- sambf 6y agoEmby also offers the ability to control and play stuff on other Emby devices on the same network. LibreELEC/Kodi + the Emby plugin [0] on a Pi makes it appear as an Emby device on other devices. Been using that for more than a year an it works like a charm. Plus the data is fetched from the Emby server and not device to device, so you can play something from your phone to your TV, then continue to control from your tablet while your phone is off. [0] http://kodi.emby.media/ http://kodi.emby.media/
- fredley 6y agoSurprised not to see Pi Hole on that list!
- ukyrgf 6y agoAny old SBC can run that reliably on it's own, the parent is talking about swapping out the OS with netboot on the fly.
- LeoPanthera 6y agoMy router runs pfSense so I don't need Pi Hole, I can use pfBlockerNG instead, which is built in.
- cbzbc 6y agoHow do you serve up images to the retropie box?
- boneitis 6y agoNot related to the rest of the thread, but this popped up the other week and, honestly to my shock, worked well on my Pi3. https://news.ycombinator.com/item?id=24441112 https://news.ycombinator.com/item?id=24441112 You may or may not get some latency with video. Seemed to vary for me.
- MayeulC 6y agoI thought this was going to be about NymphCast, an open source alternative to chromecast http://nyanko.ws/product_nymphcast.php http://nyanko.ws/product_nymphcast.php https://github.com/MayaPosch/NymphCast https://github.com/MayaPosch/NymphCast
- boneitis 6y agoOh, yes! I should have remembered this one, since I am particularly interested in it. But, I have not actually tried it myself. I wish I had the immediate chops to contribute to the project.
- OnACoffeeBreak 6y agopihole works really well for me as a LAN-wide ad blocker.
- bane 6y agoDoes anybody know of something that will serve up tracker and game music files (e.g. .mod, .xm, .it, and .spc, .nsf, etc.)? I'd really love to be able to use one of my Pis as a compact music server with a web interface that will on-the-fly transcode and stream these old formats. I have literally tens of thousands of these sorts of files and outside of converting them all to TBs of mp3s wouldn't mind at all to serve these up from their smaller original formats.
- menybuvico 6y agoMOC will play mods as well as other audio, and since it can be controlled over the console, you can probably hook it up to a web page too, if you're prepared to tinker with it.
- 3np 6y agomopidy/mpd
- bane 6y agoWoah, this might be it. Thanks!
- Abishek_Muthian 6y ago>looking for more ideas 1. MotionEye can help set your own local security camera setup. 2. PiHole with Unbound can help setup network wide ad blocking and DNS over TLS. 3. SDR (DVB-T dongle) with rtl_433 can receive 433Mhz communication from your sensors like Fire Alarm, Gas Sensor, Car key etc. and notify you. 4. MQTT server on a Pi can act as a local notification server, MQTT client on your phone can receive notifications. Of course, the possibilities with a SBC are endless, but I included just those projects which I feel can be implemented without much effort but provides huge lifestyle/cost-benefit improvements.
- 3np 6y agoOn 4, what MQTT broker(s) would you recommend? I’be been reading up a bit on different alternatives[0] for something lightweight with not too many dependencies to run clustered/HA and haven’t figured out which one to try yet. [0] https://github.com/hobbyquaker/awesome-mqtt https://github.com/hobbyquaker/awesome-mqtt
- herbcso 6y agoMosquitto seems to be the de-facto "standard" choice for a Pi. Easy to set up and definitely lightweight.
- Abishek_Muthian 6y agoYes, Mosquitto from default repo works as it should without any trouble. As for android client, I recommend this[1] but it requires Tasker Autonotification plugin to display notifications. [1]https://play.google.com/store/apps/details?id=in.dc297.mqttclpro https://play.google.com/store/apps/details?id=in.dc297.mqttc...