Spyke

Posts

Self hosted multi room audio with yt music and ability to play from ytm app?

I've got active speakers that have optical in, and rpi zeros connected to them via hdmi via an audio extractor. Installed snapclient on the rpis connected to the speakers, and music assistant on my server.

I have yt music which is our only source of music.

It works well, but I can't cast from the yt music app. Librespot is included in snapcast, but would mean switching to Spotify. I've read a topic on snapcast that they can't support chromecast due to it being closed source / hard to develop against.

Would lms be an option? I've no experience with lms.

So, is there any solution with yt music that allows me to control music to my rpi clients via the ytm app?

View original on lemmy.nz
34
newzealand·Aotearoa / New Zealandbysylverstream

USB Switch for docking station to switch between PC and Desktop

I've got a laptop and a PC. I've connected my monitors, keyboard, camera, etc to this docking station

This works like a charm from both my laptop as well as my PC. However, switching between the two is annoying as it involves unplugging & plugging in.

Is there a USB switch I can connect the docking station to, and then a cable each to my PC and Desktop? The docking station has host charging, so it charges my laptop, so I guess the USB switch needs to be powered, or not?

I saw this one which has good reviews.

View original on lemmy.nz
16

Unifi AP behind an extra switch: 2.4Ghz network stops working after ~30 minutes

/edit: did a firmware upgrade of the AP and can't replicate it anymore. Thanks all for the input, much appreciated. In case it happens again I will use your tips.

I have a very weird issue. I've got a relatively simple network setup:

  • router connected to ONT (Fibre)
  • 10 port switch A connected to router, cables to various places in house
  • 4 port switch B connected to switch A, with TV & Xbox connected
  • Unify WiFi AP connected to switch A, both 2.4Ghz and 5Ghz networks

That works well. However, when I connect the WiFi AP to switch B I'm having issues. Initially it all works well, but after ~30 minutes the wifi stops working; I can no longer ping e.g. the router. It only happens to one of the WiFi networks (2.4Ghz or 5Ghz), not both. A reboot of the AP solves it again, but then it stops working after ~30 minutes.

Both switch A and B are 1Ghz switches, zero issues with other devices.

Any idea what I can try?

View original on lemmy.nz
23

Easiest way to create player targets for Music Assistant to connect to an active speaker via SPDIF for <$30 ? Squeezelite seems like a good candidate, but unsure how to connect to SPDIF

I'm struggling to find the easiest solution to connect a set of active speakers that have BT/Optical (Toslink)/Coax. I currently use a tablet to stream Deezer via BT, but I want to be able to use them in Music Assistant. I tried Bubblepnp on the tablet, but it's too slow for that, it wasn't reliable.

I don't want to spend 100s of dollars on e.g. Sonos stuff. I see Squeezelite as a good option, but I'm unsure how to connect an SPDIF speaker. The docs say you can connect to one of the pins. Do I just cut the plug of an SPDIF cable and then connect to it?

I don't have a 3D printer, ideally I want a box around it.

Ideally there's an out-of-the-box solution. Any tips or help appreciated.

View original on lemmy.nz
24
newzealand·Aotearoa / New Zealandbysylverstream

How to make bathroom switches smart? They currently have 4 manual switches.

In our two bathrooms we have a switch panel with 4 switches: one for a light, 2 for heat lamps, and 1 for a fan extractor. As we tend to forget the fan extractor I want to make this smart. Something like

It has to work well with Home Assistant. WiFi is fine, Zigbee would probably be better. Should not have a cloud dependency, I can't sell this stuff to my SO saying that she can't turn on the lights if the internet is down. I've flashed Tuya based switches and RF emitters with ESPHome using LibreTiny.

As it's obviously 220v I'd like to avoid Aliexpress stuff. Probably also needs a good IP rating as it's in the bathroom.

Any tips?

View original on lemmy.nz
13

How to remotely reboot a Linux host if SSH fails to connect?

Edit2: Thanks all for your responses! I have checked the logs, https://lemmy.nz/comment/6192604, and based on that removed tracker-miner-fs as it's a search/index tool which I don't need. No idea why it took over all memory. I'll also get a WiFi Smartplug as a kill switch. Hopefully that solves it. Thanks again heaps!


I've got a HP ProDesk G3 which I'm using as home server, I've installed Ubuntu on it. Earlier this week the services I host on it stopped (Immich & Frigate). I tried to SSH, but it just hung after asking for a password. I could ping it, but it was just unresponsive.

I had to force reboot it manually. This is fine, but I'm not always at home.

The chip has Intel vPro as far as I know, which could be an option, but I have no idea how this works. The documentation on the Intel site seems focused on enterprises. I tried to connect with RealVNC which does not work, so I think I've got to install/configure something on the server first.

I also asked Bing Chat but it came up with non existing packages & commands. Welcome your thoughts!

/edit: I just found this, which seems to be exactly what I need: https://manpages.ubuntu.com/manpages/focal/en/man7/amt-howto.7.html

View original on lemmy.nz
64

What is easiest solution to automatically resolve missing mounts due to e.g. a power outage?

I've got a QNAP NAS and two Linux servers. Whenever the power goes down, the UPS kicks in and shut downs the NAS and the Linux servers, all good. The servers + NAS are automatically started when the power comes back on line using WOL. All good.

The problem is that I have apps running using Docker which heavily rely on connections to the NAS. As the Linux servers boot quicker than the NAS, the mount points are not mounted, and thus everything falls apart. Even when I manually re-mount, it's not propagated to the Docker instances. All mount points use NFS.

Currently, I just reboot the Linux servers manually, and then all works well.

Probably easiest would be to run a cron job to check the mounts every x minutes, and if they are not mounted, then just reboot. The only issue is that this may cause an infinite loop of reboots if e.g. the NAS has been turned off.

I could also install a monitoring solution, but I've seen so many options that I'm not sure which one to do. If it's easier with a monitoring solution, I'd like the simplest one.

View original on lemmy.nz
62
newzealand·Aotearoa / New Zealandbysylverstream

Best smoke detectors?

About 7 years ago I installed a bunch of Mitre10 / Bunnings smoke detectors which seem to work well, hardly false alarms, 9v batteries last ~2-3 years I've now found out they are ionization alarms and they are no longer recommended. Also, Fire NZ recommends fire alarms with 10 years batteries built in. I checked both Bunnings & Mitre10 and most of them get crappy reviews.

On Reddit I saw that Cavius is recommended a lot, but they also get bad reviews on Noel Leeming that they stop working after <5 years. However, they have a 10 year warranty, so I guess in such cases I would get a new one? They cost ~$50 at NL, and I know not to always trust their pricing, is there a better/cheaper shop to buy them?

Or should I buy a different brand? I also see good reviews about Nest Protect. A lot more expensive, but I like that I can connect them to Home Assistant. However, I can't seem to find them available in NZ. Some other post suggested these from Aliexpress A bit reluctant to get smoke detectors from Ali though.

I know 220v connected ones are better, but as we'll be selling the place most likely within <10 years, not worth the extra $$.

View original on lemmy.nz
6

Running immich, HA and Frigate on a RPi4 with Coral or on a HP Prodesk 700 g4 (Intel 8th gen)

Currently I've got a RPi4 without Coral, running Frigate with 2 cams, HA, Paperless, Photoview and Qbittorrent. This works well but maxes out the RPi4. As I want to add Immich and more cams, I have to upgrade. Budget allows for either a USB Coral with the existing RPi4 or buy a secondhand HP Prodesk 600 g4 with Intel 8th gen. According to Frigate I can use Openvino for object detection. Otherwise, I could add a Coral mini pcie, with a mini pcie to pcie adapter. But that stretches the budget. Besides frigate the HP should be able to run the rest.

Any thoughts?

View original on lemmy.nz
20
newzealand·Aotearoa / New Zealandbysylverstream

How to find a cheap ex company PC based on which Intel generation?

I'd like to buy an ex company PC to serve as home server, as an upgrade for my raspberry pi. It should run some selfhosted services like Frigate and Immich, and perhaps Jellyfin. I was thinking to buy an 9th gen Intel or later ex company PC. It should be energy efficient as well.

I tried looking at Trademe but you can't filter on CPU generation. I could search on the exact Intel cpu number but that seems too restrictive. Pbtech is too expensive what I saw. I haven't tried Marketplace but guess that's the same. Some reddit post suggested Dell Optiplex, but no idea how their type numbering works.

Any tips?

View original on lemmy.nz
23

I really enjoyed Dead Space! I'm usually not a big horror game fan. Graphically it looks awesome and the gameplay is great.

I never played the original, but as it's on Gamepass via EA play decided to give it a go. It got me hooked immediately and found it hard to put down. Never got boring. It was too difficult for me on normal, easy was better for me. Hopefully they will remake 2 and 3 as well. I enjoy good graphics so not sure I enjoy the originals.

View original on lemmy.nz
28
newzealand·Aotearoa / New Zealandbysylverstream

We are so happy we moved to New Zealand ten years ago. NZ is not perfect, but it's a beautiful country and people generally have respect for each other.

Kia ora! My wife and I were born in The Netherlands. Ten years ago we decided to try living in New Zealand for two years. At that time we had a 1 yo, we now have two kids.

It felt really good so we decided to stay longer. Fast forward, here we are, ten years later. The pink clouds are definitely gone, but we've learned to appreciate NZ. Obviously it's a beautiful country and it's not densely populated. The Netherlands is 6 times smaller with 4 times more people.

People in NZ are generally friendly and keen to help. Also, people have respect for service people like police, firemen, train conductors, etc. In the NL it happens daily that they are spat on, verbally abused, or even injured. Kids in NL more and more bring knives to school. People randomly throw rocks, bombs, eg at fireman, police, and ambulance people.

NY eve in NL counted more than 200 arrests and counting. People were injured or killed because of fireworks. In every major city police was bombarded with illegal fireworks, multiple officers hurt with hearing damage. Buildings were set on fire, firemen came, were bombarded with fireworks as well.

Talking to other friends in Europe it's not getting better in other countries.

Writing this makes me emotional. Why can't we treat other people like we want to be treated?

NZ isn't perfect, there is crime here of course, but it definitely seems better than the rest of the world at the moment.

I love New Zealand. I've become a proud citizen 2 years ago and definitely now call this home. The Netherlands is now just a place where my family lives and where I can celebrate holidays.

Thanks for reading and I want to wish you all an awesome 2024. Stay strong.

View original on lemmy.nz
53
offtopic·NZ Off topicbysylverstream

Hard wire a Sureflap cat flap with battery backup?

I've got a Sureflap cat flap operated by 4 AA batteries. It doesn't work well on rechargeables, it seems to need 1.5v batteries.

I'm thinking to hardwire it with battery backup (like a Ups). I'm not very experienced in electronics, are there any off the shelf products I could use? I'm assuming the flap runs at 6v and that I can just attach two cables, one to plus, one to min.

If there are no off the shelve products, any recommendations for what I should buy?

View original on lemmy.nz
12