selfhosted

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

qjkxbmwvz, in Haier hits Home Assistant plugin dev with takedown notice

Not a lawyer; would this likely stand up in court? Obviously I wouldn’t risk it were I the dev, but just curious.

It’s pathetic that I’ll happily recommend my Emporia Vue2 energy monitor to folks running HA — not because it works out of the box, but because the company is aware of the community integration projects and seems ok with it, even if they don’t actually support it. (ESPHome Firmware flash gives you local control — It’s been pretty great!)

dan, (edited )
@dan@upvote.au avatar

Not a lawyer; would this likely stand up in court?

I’m not a lawyer either, but I don’t think so.

The developer of this Home Assistant integration is German. European law allows people to reverse engineer apps for the purpose of interoperability (Article 6 of the EU software directive), so observation of the app’s behaviour or even disassembling it to create a Home Assistant integration is not illegal.

In general, writing your own code by observing the inputs to and outputs from an existing system is not illegal, which is for example how video game emulators are legal (just talking about the emulator code itself, not the content you use with it).

If it’s a Terms of Service violation, it’d be the users that are violating the ToS, not the developer. In theory, the Home Assistant integration could have been developed without ever running the app or agreeing to Haier’s Terms of Service, for example if the app is decompiled and the API client code is viewed (which again is allowed by the EU software directive if the sole purpose is for interoperability).

The code in this repo is likely original Python code that was written without using any of Haier’s code and without bypassing any sort of copy protection, so it’s not a DMCA infringement either.

baseless_discourse, (edited )

Likely no, and fortunately the developer has legal insurance and plan to fight the case if it happens.

github.com/Andre0512/hon/issues/147#issuecomment-…

So this repo is not going down any time soon.

RootBeerGuy, in What should I use my RPi4 for?
@RootBeerGuy@discuss.tchncs.de avatar

A local jellyfin installation so you can watch/listen to your media even if your internet is down.

ArbiterXero, in Tailscale help needed

What do the links look like on the start page?

The problem is that Tailscale gives your server a “magic” ip, which isn’t the same one as on your local network. On your local network, do you access them by port? Or reverse proxy?

Machine:8080 or service.machine.localdomain

schmurian, (edited )
@schmurian@lsmu.schmurian.xyz avatar

I think this is what you should look into. Are the services in Heimdall listed with the local IP or host names? Or are they referenced with the tailscale IP?

Three things I want to add here:

  • On tailscale I can only access my home lab’s root page with the services being accessible with something like domain.tld/service.
  • service.domain.tld is not supported by tailscale. (See github issue)
  • The local domain is different to the tailscale domain. If you want to use them with a reverse proxy (nginx, caddy) you need to have rules configured for your tailscale magic DNS domain too.

I hope this helps.

Darkassassin07, in Noob question about PiHole
@Darkassassin07@lemmy.ca avatar

I setup a second pihole for redundancy.

90% of network traffic uses the primary, but some things like to use both or exclusively the secomd one on random days.

I use Gravity-Sync to keep the settings/lists between them identical. (lots of local dns records for local self-hosted stuff, and each device has a static ip + dns record to identify it easily in logs)

seedd, (edited ) in Noob question about PiHole

I tried that, devices just request to alternate dns when they get nothing from pihole. I use adgh, and ig there is a setting where you can set the answer to blocked stuff, like 0.0.0.0, empty…etc. if you set thay to 0.0.0.0, devices won’t query 2nd dns (i hope) when adgh is up. But it is best to have a 2nd pihole/adgh, i have one on my proxmox and another on a pi, synced with adgh sync Edit: if you don’t have another pi, use nextdns

voracitude, in Hetzner Server auction worth it?

Throwing my +1 behind Hetzner, it’s so much more bang for your buck than with a VPS and I’ve been pleased with the stability and uptime I get out of my auction box.

Codilingus, in Pi-Hole or something else for network ad blocking?

Adguard home is like pihole, but has built in encrypted DNS options. For easy mode NextDNS.

They pretty much all have the same block lists to choose from.

KyuubiNoKitsune,

I use 2 cloudflare containers that the pihole points to. That gives me DNS over https but it’s more of a mission to set up.

lemming741, in Pi-Hole or something else for network ad blocking?

I run pihole on proxomox, and also opnsense in the same box. Then you can forward all port 53 traffic to your pihole. Some devices have hard-coded DNS that will bypass the DHCP DNS.

AbidanYre,

Some chromecasts stop working when you do that.

DeltaTangoLima,
@DeltaTangoLima@reddrefuge.com avatar

Really? I run several Chromecasts, and I block their access to all DNS services except my internal Pi-holes. They work just fine.

4am,

It’s probably not blocking DNS-over-HTTPS

DeltaTangoLima,
@DeltaTangoLima@reddrefuge.com avatar

Lol - not my first rodeo. I’m blocking dns.google as well, and I’m 99.999% certain Google won’t have coded Chromecasts to use anyone else’s DNS servers.

AbidanYre,

Yeah, I don’t know if it’s all models, but the ultras do at least.

reddit.com/…/chromecast_ultra_just_updated_and_no…

DeltaTangoLima,
@DeltaTangoLima@reddrefuge.com avatar

Ah - I only have the Chromecast GTVs. Good to know I don’t need to pay for an upgrade then!

zzzz,

Chuck 'em in the garbage and get something that doesn’t break when you insist on privacy.

ApathyTree,
@ApathyTree@lemmy.dbzer0.com avatar

Ha! This is my new way of looking at my smart devices. I’ll sell you off if you don’t do what I want, and buy something that does. Very much a threat.

I recently factory reset all my Roku TVs, and didn’t connect them to the internet… and they work much better now.

Roku broke big time when I insisted on privacy. blocked the entire Roku domain, it broke the apps on a 1-month schedule like clockwork to get the network release for reinstall which allowed for phone home. lol no. I trashed it. They are dumb TVs now.

zzzz,

I’ve done the same! It’s impossible to buy dumb TVs nowadays, but you can always prevent them from connecting to the network.

StreetKid, in Pi-Hole or something else for network ad blocking?

I am very happy with Blocky github.com/0xERR0R/blocky

No UI, just a simply config file if that is your thing.

theit8514, in How do you work / mount with files stored on your Synology NAS on Ubuntu linux?

Since you’ve probably been using the SMB protocol to access the NAS you probably need to understand a few things about the NFS protocol which functions differently. The NFS mount acts like a mapping of the entire system, rather than a specific user. That means that if there are differences in the systems, you may get access errors. For example the default user in Synology has a uid of 1024, but most client systems have a default of 1000. This means your user may not have access to the share or files, even if you have it mounted on the client.

One thing to check is what your Shared Folder’s NFS permissions squash is set to. This is found in Control Panel > Shared Folder the the NFS permissions tab. If it’s set to “no mapping” then uids must match. The easiest setup is to “map all users to admin” but you may encounter issues with that later if you switch back to SMB since new files will be owned by admin.

nameisnotimportant,
@nameisnotimportant@lemmy.ml avatar

Thanks for your help! I did setup my NAS share as NFS capable, and I mapped the users as admin. Using the command mentioned in my other comment I could mount the share successfully and find it in several applications. Cheers!

chiisana, (edited ) in selfhosted service to share files to SSO-authenticated users ?

You could use just a simple Apache (or even some simpler static file server) with no authentication what so ever, but only accessible to your own network. Then, add a Reverse Proxy Gateway such as Traefik, Caddy or whatever else, and add Authentik as a Middleware. User heads to the site (I.e.: files.yourdomain.ext), Reverse Proxy Gateway bounces the request to the Middleware (I.e. Authentik), requires the SSO via whatever authority you’ve got setup, gets bounced back, and then your Reverse Proxy Gateway serves up the static content via the internal network without authentication (i.e.: 172.16.10.3).

Check out Forward Auth section of Authentik docs here: goauthentik.io/docs/providers/proxy/forward_auth

kristoff,

Yes, that’s a very useful idea. Thanks!

foggy, in Alternative github frontends?

I mostly use GitHub through vscode’s terminal. They’ve got plenty of extensions/plugins for git/github

scott, in Looking for a Calendar-Syncing Solution with support for subscribing to external Ical Calendars.
@scott@lem.free.as avatar

Nextcloud does all of this.

Neon,

I currently have Nextcloud and am looking to move away from it. Mainly because my calendar-subscriptions somehow broke and all calendars i subscribe to now are just empty (the old ones are still populated), but also because it makes the subscribed-to calendars available as WebCal, which Thunderbird doesn’t recognize.

possiblylinux127, in I want to set up plex server, no windows.. any simple options?

The simplest solution would be to install Debian. The thing to note is that the Debian installer is designed to be multipurpose so it will default to installing a GUI.

Assuming you can boot off of a live USB with the Debian installer, you can follow the steps until you get to tasksel software selection from there uncheck gnome and check system utilities and ssh server. Also Debian defaults to separate root and user accounts. I would recommend disabling root (see steps below)

On a different machine, ssh into the server (I’m using debian.local but you should replace that with a hostname or IP)


<span style="color:#323232;">ssh username@debian.local
</span>

Once you have access run the following commands to switch to root.


<span style="color:#323232;">su - 
</span>

Install sudo and give yourself access


<span style="color:#323232;">sudo apt update
</span><span style="color:#323232;">sudo apt install sudo
</span><span style="color:#323232;">sudo usermod -aG sudo username 
</span>

Now type exit twice to exit the shell entirely. Once that’s done log back in.


<span style="color:#323232;">ssh username@debian.local
</span>

Lock root


<span style="color:#323232;">sudo passwd -l root
</span>

Now you have a system to set things up. I would start by enabling automatic updates and installing docker compose. (Docker compose allows you to deploy software very quickly in co trainers via a yaml spec)


<span style="color:#323232;">#enable automatic updates
</span><span style="color:#323232;">sudo apt install unattended-upgrades
</span><span style="color:#323232;">sudo dpkg-reconfigure unattended-upgrades
</span><span style="color:#323232;">sudo systemctl start unattended-upgrades #probably not needed
</span><span style="color:#323232;">
</span><span style="color:#323232;">#install updates and install docker and docker-compose
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo apt update
</span><span style="color:#323232;">sudo apt upgrade 
</span><span style="color:#323232;">sudo apt install docker.io docker-compose
</span><span style="color:#323232;">sudo systemctl start docker
</span><span style="color:#323232;">sudo usermod -aG docker username
</span><span style="color:#323232;">
</span>

You will need to log out and then back in to apply the docker permission.

I hope that gets you started.

Fashtas,

Thanks, I decided to see what happened with a Mint Install (Before I saw your reply) so as a Toe-in-water thing to learn more about the OS and see what stuff was like. I only Kitty into a Linux server for work and do some basic tasks on it occasionally so was interested.

An … interesting experience… trivial install, easy enough to understand the UI, entirely failed to get a Plex server working though… Nothing on the network can see it (Local works fine) which doesn’t make much difference because Plex has nothing to server since it can’t see the folder with movies on it due to, I believe, ownership issues (The files are on a portable USB drive)

Still fiddling but most help documents descend into arcane command line arguments very quickly and are generally “wrong” in that they suggest editing files that don’t exist in folders that aren’t there.

Still… a learning experience :) (Easy enough to kill it and tried Debian if I can’t work out chown!

Fashtas,

Hah! Apparently in the long list of UFW commands I was running, the first one didn’t run or I missed it, can see the server now at least, just need it to see the files!
Entertaining but the wife is getting impatient :/

possiblylinux127,

Just a disclaimer I have never used Plex has I use Jellyfin.

For your firewall mint has a GUI for it. I’m not sure why your firewall is even turned on as it should be off by default.

Fashtas,

Could be, dunno yet how to tell these things but the issue was a port was not open. Once opened the server was seen fine!

b1g_bake, in Running immich, HA and Frigate on a RPi4 with Coral or on a HP Prodesk 700 g4 (Intel 8th gen)
@b1g_bake@sh.itjust.works avatar

I personally graduated from a Rpi3b to an Intel NUC years ago and never looked back. Real RAM slots and Storage options internally and you can get as nice a processor as your budget allows. So my vote is to move to the SFF PC and let your Pi stick around for other projects.

sylverstream,

Thanks for your insights. Thought about a NUC as well, but AFAIK it doesn’t have pcie slots? So I won’t be able to install eg a graphics card or pcie coral?

b1g_bake,
@b1g_bake@sh.itjust.works avatar

I wouldn’t go NUC if you need a PCIe slot. The HP you were talking about would fit the bill though.

I believe they make a Coral that fits where the wifi chip goes too. As long as you are ok ditching the wifi/bt functionality for a TPU. For a server doing image processing that’s almost a no-brainer to me.

sylverstream,

Interesting re the wifi chip, as all posts I’ve found said it only works for a wifi card. Do you have a source for that?

Yeah, no wifi is no problem. It’ll be connected via cable

b1g_bake,
@b1g_bake@sh.itjust.works avatar

Oh I’m not sure if it actually works. I thought they just made one to fit that slot

three,

Three versions that I know of have it but you’re right it’s not common. www.intel.com/content/www/us/en/…/intel-nuc.html

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #