Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

walden

@walden@sub.wetshaving.social

This profile is from a federated server and may be incomplete. Browse more on the original instance.

walden ,

Lemmy is little too complex for a one click install.

Lemmy consists of:

  1. Lemmy
  2. Lemmy-ui
  3. Postgresql
  4. Pict-rs
  5. Probably something else I'm forgetting.

Each one of those has a number of environmental config options that need to be set before running it all. You need a domain name so that other instances can reach your instance. Your database needs a password, Pict-rs needs to know where to store things, etc.

walden ,

The docker instructions are a hot pile of garbage, unfortunately. The referenced docker compose file, for example, is for installing via Ansible I think. There's another Docker Compose file somewhere in the GitHub which is formatted for regular installation.

walden ,

Some folks in that thread had problems after trying to upgrade. Make sure you take a backup before attempting this.

walden ,

The only downside to keeping everything in a lossless format is that over the years new formats emerge. mp3 used to be the only game in town, but now we have multitudes of lossy formats to pick from. By having your collection in mp3 format, you aren't able to say "hey, this new format looks cool, let me switch to that". By storing everything in a lossless format (FLAC), you can convert for mobile as you see fit.

walden ,

Just flexibility and future proofing. Having/building a music library is very time consuming, so I've chosen to do it properly so there's no work in the future.

Since my stuff is all FLAC it doesn't matter what new lossy formats become popular 25 years from now. My music server will convert it on the fly to stream it to my phone.

Problems with creating my own instance

I am currently trying to create my own Lemmy instance and am following the join-lemmy.org docker guide. But unfortunately docker compose up doesn't work with the default config and throw's a yaml: line 32: found character that cannot start any token error. Is there something I can do to fix this?...

walden , (edited )

I'm not a pro at Docker, but I've spun up over 30 different services using Docker Compose so I'm more than a novice. I would say that Lemmy's documentation is the worst I've ever seen.

The website points you at that compose file which is (I think?) designed for Ansible. I think there's another example somewhere without all the jibbery joo, but I can't search for it right now.

Edit: here it is https://github.com/LemmyNet/lemmy/blob/main/docker/docker-compose.yml

No idea why they don't link to that one in the first place. I'd fix it if I knew how.

walden ,

I just updated my comment above with more info, FYI.

walden ,

Cool. There's a db fail bug elsewhere that I didn't run into thankfully.

I had to switch from ConfusedPolarBear(archived on GitHub now) to this fork for intro skipping. Works great.

I'm still scanning for the new trickplay function but I've been hoping for something like that. It was disabled in the settings by default, plus you have to enable it on a per-library basis, and of course you can either wait for the schedule to start the scan, or start it yourself in scheduled tasks.

walden ,

I guess not. To be fair, if I wanted intro skipping to be baked in to whatever I'm using, I'd pay $5 or $6/month for Plex or Emby. I paid for Plex Pass for years, but I'm switching away because I think Plex is getting too "commercial" if that makes sense.

Jellyfin is great so far, and if I have to spend 5 minutes installing an add-on to get intro skipping, that's fine with me.

walden ,

I think the docs recommend (and this is how I have it set up) leaving the go2rtc stream as you have it currently, and changing the stream path for the camera config to rtsp://127.0.0.1:8554/nursery

walden ,

Is the problem that the bags aren't long enough? Fill the bottom of the can with something the bag can rest on.

Pi.Alert is dead...💀 Long live NetAlert X 🚀 (network monitoring) (lemmy.world)

After thinking for about a year about it I decided to rename the project to 🚀NetAlertX. This will help prevent confusion about which fork someone is using, and differentiate it from the now stale upstream project. With about 1800 or so commits over the stale project, I thought, this project deserved a new name. It will also...

walden ,

Nice! I'm just getting a blank screen at http://myip:20211 after installing it with docker compose. I'll try again later and see if I can figure it out.

walden ,
walden ,

It was a typo in my compose file. Oops!

walden ,

Looks like OP might need SFF-8482 type connectors?

Increase your Linux Server Internet Speed with TCP BBR Congestion-Control (www.cyberciti.biz)

I recently found this on Reddit while looking into why jellyfin is effected so much by latency. I found that this worked and thought I would share it because it is generally applicable, takes five minutes to setup, and helps a lot with bandwidth on higher latency connections. I admit I am not sure of the technical stuff behind...

walden ,

Interesting. I'd be interested in hearing other people's experience with this. Is this BBR stuff enabled by default on any distros?

walden ,

My work has something similar, but I can change the default.

Selfhosted Wireless Cameras

I currently have a couple of (amazon) Blink cameras. I would like similar cameras but that are self hosted. Yes these basically are however the HW-Sync module sucks its slow. I've tried other chinese brands which are slower. I was about to buy the Eufy Homebase setup it seemed perfect easy low power cameras. However their "self...

walden ,

I don't know anything about Blink, but for self hosted camera stuff, Frigate is wonderful.

walden ,

I have 2 Amcrest cameras. One PoE that's super solid, and an inexpensive WiFi camera. I ended up buying another wifi access point just for the camera, and ever since it has been very solid. More a symptom of my house having tons of IoT devices than a problem with the camera, really.

walden ,

Does it work after a reboot? I vaguely remember having this problem on my old motherboard. Adding a PCIe LAN adapter and switching everything over solved it for me. Now I have a new mobo and it doesn't have any network problems.

nginx proxy manager changes IP. How to get static container IP?

all the containers change IP addresses frequently. For home assistant a static IP address of the proxy manager is mandatory in order to reach it. For jellyfin it is useful to see which device accesses jellyfin. If the IP always changes, it doesn't work properly....

walden ,

For my setup/workflow, individual containers don't get static IPs, but the machine that they run on gets a static IP. Docker is running on some sort of machine (either bare metal or a VM) which gets a static IP in my router's settings.

walden ,

TLDR; It's local only by default.

Your router is what determines what has access to what. By default, things can access the internet on ports 80 (http) and 443 (https). Jellyfin has access to the internet to download metadata, art, etc. If you want to block this activity, I don't know the answer to that.

Your router is split between LAN and WAN. Local Area Network (your house) and Wide Area Network (the world). LAN to LAN doesn't have restrictions by default, which is why you can access Jellyfin on port 8096 while you're connected to your home network.

LAN<->WAN has restrictions in place via your firewall. Your router has a default firewall. Some routers allow you to change the firewall rules. Firewalls are very important. Port 8096 is not forwarded to the WAN by default, and you have to change a setting in your router to do that.

walden ,

I think the default firewall rules allow all VLANs to talk to each other, so you have to add a rule to prevent that.

This traffic will go through the CPU (I think), so benchmarks are heavily dependent on hardware.

If traffic on two different VLANs needs to talk with high throughput, you might ask yourself why they're on different VLANs.

I have 2 cameras on their own VLAN and they're only allowed to talk to my NVR. The amount of traffic is pretty low and the CPU use is negligible, so I haven't bothered to put the NVR on that VLAN.

walden ,

Adding another Mikrotik recommendation with the standard warnings -- a bit of a learning curve, although it has a default configuration that "just works". If you mess something up you can just apply the default config to get back online.

Don't buy from Amazon. For whatever reason people have problems with those units. Fakes maybe? Who knows. If you're in the US buy from streakwave, roc-noc, ISP supplies, Double Radius, or Getic (international shipping).

The RB5009 series is very good if you want something beefier with more ports.

walden ,

Why not in a VM? All my stuff runs in VM's.

walden ,

There are many benefits to VMs. You can limit how much RAM is available to each one, so one app doesn't eat all of your RAM. Same with CPU. Virtual Machines can be backed up, uploaded to remote storage, and restored. When it's time to do a big update on your main machine (either changing OS or getting new hardware), restoring VM's is super simple compared to the alternative.

walden ,

If that's the way you'd prefer to do it, I highly recommend taking that approach.

walden ,

Docker is great, and I have it running in multiple VM's. For me to restore everything without VM's would be a little tedious.

I'd have to search for Docker install instructions, follow the instructions like importing keys, adding the repository, doing the post-install stuff (adding my user to the docker group), etc. Not a big deal, but it's something.

Then I'd start copying data, making sure to keep the same folder structure so my compose files work. Then I start running all the commands to get all the containers back up and running (or in my case, creating 20+ stacks in Portainer).

This is all a bit tedious for me compared to opening the web interface for Proxmox, clicking on the backup (which is just "there" because it's on a hard drive (or a ZFS pool in my case)), and clicking "restore". Once restored it just boots up and my Docker stuff is good to go.

walden ,

That link has a period at the end, at least in Jerboa. Here's a non-period link. https://github.com/home-assistant/core/pull/110930

walden ,

Just checking, you're using a supported device, right?

walden ,

Yup just checking to eliminate anything obvious.

walden ,

I did this recently and I wish I could answer you, but I'm on mobile and don't remember exactly what got it working. I also referenced the guide linked below, along with the proxmox documentation.

If you start blacklisting drivers, you've gone too far for passing through Intel quicksync. I think I'm the end it was a pretty basic config, like checking motherboard settings and adding text to the grub config.

Also don't guides say you have to use q35 as the machine type for the VM, but that didn't work for me. Only 440fx works for me.

walden ,

I'd say start with getting Lemmy going inside your home network (not accessible to the outside world). That'll give you a chance to play around with Docker if you want to go the Docker route. I like to make Portainer the first docker container I install (I install it with Docker Compose), and then I manage all other docker containers/etc. through Portainer. Just a quick heads up on Portainer... what Docker calls "docker compose", Portainer calls a "Stack", because it can have a "stack" of different stuff running under it.

Anyway, from there I'd figure out a reverse proxy. I use Nginx Proxy Manager, which is nginx under the hood, with a web interface to manage things. I've never tried Caddy, but people like that one, too.

The reverse proxy is what controls security, basically. Someone from outside your network types in lemmy.superspruce.org, and you've told Dynadot to forward that to your home IP address. You open port 80 and 443 on your router, and forward them to the machine running Nginx-Proxy-Manager. So NPM gets everything that's pointed at your house on those ports. It see's the request is for lemmy.superspruce.org, and you've told NPM where to look for that, and it handles it from there.

Just doing these things will open up all sorts of learning challenges that you'll have to figure out through Googling.

It took me years to finally decide to figure out a reverse proxy, and once I wrapped my head around it it makes so much sense. I wish I had learned it sooner.

walden ,

Good timing for this thread. I just finished consolidating 2 computers worth of fun into 1 newer computer that can do it all. I sold my wife on the idea with electricity as the reasoning.

In the end, it uses 30 watts less, which is not as much as I had hoped. That's about $5 a month.

180 watts with an i5-13400, 9 spinning disks, 1 M.2 SSD, no extra GPU, 24 port switch (powers 3 AP's), modem, Mikrotik router, and a large UPS. I wonder if the UPS uses any power as a trickle charge for the batteries.

walden ,

30w x 24 hr./day *30 days/mo. = 21.6 kWh. I pay about $.25/kWh, so $5.40.

walden ,

Thanks for the heads up!

I got Immich running last week and it's impressive.

The only thing I yearn for is a way to get the pictures to easily display on the cloaed-source frame we have.

Anyone know of a way to automatically email pictures added to an Immich album?

walden ,

I just got a 6 channel from Circuit Setup and it's pretty great. I still want to do some tweaking to make sure it's calibrated but so far so good. I'm waiting for some smaller current transformers to come back in stock.

walden ,

I had the same thought. Is it an insult?

tj , to homeassistant
@tj@hometech.social avatar

Currently working on my @homeassistant interface and it's been a real PITA. However, I found this sweet extension that allows you to look up icons so you can easily find the one you want. Genius!

https://github.com/Pictogrammers/Browser-Icon-Picker?tab=readme-ov-file

walden ,

I always use the MDI website to search. It's a little clunky but works. Is this more streamlined somehow?

walden ,

Nice, I just installed FreshRSS (the LinuxServer version) and got it working with 0.9.12.

I had to use https://url.com/api/greader.php as the URL in the app.
I also had add an API password under my profile, and in Administration -> Authentication I enabled API access.

walden ,

There were some big changes in the recent release of 0.13.0. Read through everything here and see if any of it applies. https://github.com/blakeblackshear/frigate/releases/tag/v0.13.0

There's also this, which says it's normal for a Logitech camera https://stackoverflow.com/questions/55439184/getting-unable-to-decode-app-fields-while-playing-usb-webcam-stream-through-ff

walden ,

Based on what other people are recommending, I may be misinterpreting what you mean by "relay". This has 2 switches - a dimmer on/off switch, and an on/off dry contact relay. I use it in my bathroom, with the dry contact switch controlling the exhaust fan. https://www.getzooz.com/zooz-zen30-double-switch/

walden ,

I have an RB5009 and it's great. I'd say they're actually quite easy to get going with the default config. It's when you get the itch to start messing with stuff that the learning ramps up.

walden ,

That sounds cool. I've never messed with scripts on Mikrotik, but would it be possible to share what you have?

I'm guessing a relatively short DHCP lease time is also in play so devices can get the new DNS address? Or do you have Mikrotik set as the DNS server?

walden ,

Thank you, I'll bookmark it for later.

walden ,

This is a screenshot from the HA ESPHome add on. In the ESP32 drop-down there's a WROOM option. Try that.

1000005454

  • All
  • Subscribed
  • Moderated
  • Favorites
  • incremental_games
  • meta
  • All magazines