selfhosted

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

TCB13, in What should I use my RPi4 for?
@TCB13@lemmy.world avatar

First, you should something decent, not DietPi. You’ve Armbian for a ready to go experience or official Debian.

Once you get into something Debian 12, you can run LXD/LXC as a containerization / virtualization solution and use the same Pi to run the official HA VM image and whatever else you would like.

taaz,

Why is dietpi a worse choice? it’s still basically debian (11).
I’ve chosen DietPi because of their sane defaults that I would have to setup myself like vm swappiness, fs noatime, tmp journal, and some more I am not even aware of.

TCB13, (edited )
@TCB13@lemmy.world avatar

Armbian has sane defaults for SBCs as well (yes log2ram so you won’t burn SD cards) and it is way more stable and polished than DietPi with less overhead. About bare Debian, you’ve the images I linked to and you can make it log to the ram with a simple line in systemd’s config.

Storage= Controls where to store journal data. One of “volatile” (…) If “volatile”, journal log data will be stored only in memory, i.e. below the /run/log/journal hierarchy (which is created if needed).

poVoq, in Should i host LinguaCafe or are there better alternatives?
@poVoq@slrpnk.net avatar

Seems like a decent idea if you have ebooks in the language you are interested to learn.

Shadow_Zwiebel,

What exactly do you mean?

poVoq, (edited )
@poVoq@slrpnk.net avatar

Well, the main purpose of this seems to be an eBook reader that integrates language learning and translation.

Its a good idea, but few language learners start out with a backlog of foreign language texts that they would like to read.

The exception would be your typical manga/light novel weebo, and this seems to be precisely what this is developed for with the Japanese language tools included.

moonpiedumplings, (edited )

your typical manga/light novel weebo

No chinese support :(

I read a ton of web novels translated from Chinese, and reading the untranslated versions would be a fun way to learn Chinese. Or Korean.

I don’t really like the Japanese light novels as much.

Edit: hmmm, it seems like their are similar projects, and some have custom language support. I may need to look into those into the future.

Shadow_Zwiebel,

Seems like i didnt read enough. I didnt really notice that the purpose is a ebook reader… But this concept seems actually very promising. I like it

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

This is just plainly not illegal.

ShortN0te,

Sadly it does not matter. The company could keep the battle going for close to a decade until there is a final decision. It is financially draining and you have to give up a lot of time in order to attend the hearings (or even travel to the correct jurisdiction).

fine_sandy_bottom,

That’s not how legal matters work.

Firstly, imposing on someone else’s intellectual property is not “illegal”, because that usually refers to crimes. This is a civil issue, as in the some company is demanding the dev stops or else they’ll sue him or something.

Secondly, it doesn’t really matter whether the dev is “right” or could prevail against a legal claim - because you just wouldn’t bother trying. Imagine you have an ok job, take care of your family, and made this plugin on a whim just because you can. Your days are full of taking your kids to the park, spending time with your wife, playing around with your hobbies, that stuff. Maybe you’re not wealthy, but your salary is enough to look after your family and make your mortgage repayments. Then Haier threatens to sue you, and although you could likely prevail mounting a defense would probably cost you a years worth of mortgage repayments. Maybe you could represent yourself but that might take a years worth of saturdays writing and responding to legal stuff that you don’t really know much about. Bear in mind that there’s no financial support from the open source community.

It just doesn’t really matter whether Haier has a legit claim.

FiskFisk33,

Yeah, you’re right, that’s the problem. That system makes sense if big corpos use it to “test” each other for copyright infringement, but when an individual gets involved they just get steamrolled wether they’re in the right or not, since the system assumes they have a team of lawyers on retainer in order to work as intended.

folkrav, in Proxmox Ubuntu VM has "graphical" console

I have a feeling you’re talking about the TTY. You can’t use the mouse cause there’s no graphical interface to begin with. You’re in “pure” console mode. It’s probably why fonts look weird too. It’s probably just not running at your monitor’s native resolution.

As other people said though, it’s pretty much expected. Servers are more or less expected to run “headless”. You’d typically SSH in rather than plug a monitor directly in the machine.

NeoNachtwaechter,

I have a feeling you’re talking about the TTY.

I got the same creepy feeling.

Like someone trying to talk about fork and knife who has never seen fork and knife before :-)

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

There we go. Haier is now on my personal “do not ever buy from” list. Congratulations, Haier.

jol,

TAKE THIS COMMENT DOWN. YOU’RE CAUSING US GREAT FINANCIAL HARM. MILLIONS!!

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.

atzanteol, in What should I use my RPi4 for?

Most people seem to just want to use RPIs as a very slow Linux server for some reason…

Use it to play around with hardware integration with the GPIO pins. Get a sensor HAT and start recording temperatures, write some code that turns on/off an LED, build a robot controller, etc. There are lots of kits and documentation on the various things you can do!

anamethatisnt,

I’ve been wanting to use multiple raspberry pi zero w with sensory hats to feed data to a central home monitoring system. Would be a fun project.

atzanteol,

It is! Especially if you want to write the code yourself. It’s an interesting design problem if you start to consider cases where the PI may be offline (mobile on a battery in my case). Do you lose that data? Store and forward? In memory or to a local data store? It’s a fun rainy-weekend project.

Word of caution - HATs can be a rather inaccurate in their temperature monitoring. The Pi gets warm. I had done my work using a PTC thermistor that was distanced from the Pi itself. I’ve got a friend using a HAT and it’s been very off (up to 10C above ambient!). A Pi Zero may not give off as much heat as, say a Pi4 though. YMMV.

taaz, (edited )

Unluckily last time I wanted to do sensor stuff the ~20 euro air quality multi-sensor (co2, pm1-10, humidity, voc?) board got lost in transit and I didn’t bother since :(
The original plan was use it with my esp32 dev board (wroom32, so wifi) to have a portable sensor, this RPi was supposed to be the collection server (mqtt, influx, grafana).

I should revisit this idea soon, thanks for reminding me!

mlaga97,

SBCs like the RPi are kind of awkwardly in-between a microcontroller like an Arduino or ESP32 that you can actually trust with handling GPIO and data logging, and a real Linux system that can actually do meaningful computational work.

Pretty much the only task I’ve found them reliably appropriate for is running OctoPrint, really really light computer vision tasks for robotics, or hooking up an RTL-SDR to use as a police/HAM scanner. Outside of those, it’s so much easier to use either a cheaper and more reliable MCU or a much more powerful old laptop or desktop.

atzanteol,

That’s one of the nice things about them.

You can write code that has access to more resources. I had a RPI once that showed code build status on an led strip (red failed, green passed). It was a Java program that connected to AWS SQS for build event notifications. A micro controller would be much harder to do that on.

kittykittycatboys, in What software does the Internet Archive run?
@kittykittycatboys@lemmy.blahaj.zone avatar

afaik, archive.org isnt open source. id recommend something like archivebox.io

possiblylinux127,

Archive box is a piece of software and the Internet archive is a organization that is focused on predicting the content on the internet.

The Internet Archive has PBs worth of data. I doubt any home user could manage that.

z00s, (edited )

archive

predicting

?

recapitated,

They’re beating the algorithm

mosiacmango,

Protecting

kittykittycatboys,
@kittykittycatboys@lemmy.blahaj.zone avatar

i dont think op is looking to mirror archive.org, my take was that they wanted someyhing like archive.org but selfhosted and for personal / small-scale use

avidamoeba,
@avidamoeba@lemmy.ca avatar

Exactly. I’m already running a local wiki, but I don’t want stuff I link to in my wiki to result in 404 in a few years. Or worse, to some AI-ridden ad-infested dumpster fire.

laserjet,

You can use something as simple as a browser extension like SingleFile that can automatically download complete, contained copies of anything bookmarked or only certain URLs.

avidamoeba, (edited )
@avidamoeba@lemmy.ca avatar

Oh yes, this looks like a winner. Thanks!

It seems like it’s written in Python too, which means I can maintain it if need be.

Oh boy I wish I had set this up many years ago. I wouldn’t have to resort to scouring !antiquememesroadshow for the top quality memes of the past when I need them…

On a far side of the moon note, I wonder if ActivityPub could be used to federate multiple archiveboxes to create a more resilient Internet Archive alternative. 🤔 Then integrate that with Lemmy to autoarchive links from posts. Aaand lemmy.world ran out of disk space. 🤣

Dehydrated,

+1 for ArchiveBox

genie, in Radarr: Path: Folder '/data/' is not writable by user 'abc'

There are a few ways around it. The simplest is to add the –privileged option.

The more secure method with podman is by specifying a user (ex -u 10001:10001) from your extended subuid:subgid range after your full and proper setup of rootless podman :-)

Then instead of chown you’ll want to use the oddly named podman unshare tool to automatically set the permissions of the host directory. You would then want to start your service with systemctl --user instead of sudo systemctl

PrivateNoob, (edited )

Okay so I’ve done these steps (it seems rootless podman have been setup by Rocky automatically):

  1. Get subuid:subgid with /etc/subuid:

privatenoob:100000:65536

2.:Changed ExecStart to this:

ExecStart=podman run --name=radarr -u 100000:65536 -p 7878:7878 -v radarr-config:/config -v /home/privatenoob/media/storage1/Filmek:/data --restart unless-stopped lscr.io/linuxserver/radarr:latest

3.: podman unshare chown -R 100000:65536 /home/privatenoob/media/storage1/Filmek/

Unfortunately unsharing gave me invalid arguments.

chown: changing ownership of ‘/home/privatenoob/media/storage1/Filmek/’: Invalid argument

I have tried by leaving the -e PUID=1000 parts on but those didn’t work either. Yeah and I’m using systemctl --user. Thanks for your help!

genie,

Ah! I think I see the confusion.


<span style="font-style:italic;color:#969896;"># /etc/subuid
</span><span style="color:#323232;">privatenoob:100000:65536
</span>

This denotes the range of subuids that are available to your user.

-u 100000:65536

This part specifies two things ([UID]:[GID]) even though it’s the same syntax as the earlier part that specifies one range :)

I suspect what you will want to do is use the following:


<span style="font-style:italic;color:#969896;"># change ownership of the directory to the UID:GID that matches something in your subuid:subgid range, in this case 10000:10000
</span><span style="color:#323232;">podman unshare chown -R 100000:10000 /home/privatenoob/media/storage1/Filmek/
</span>

Then we can specify that the user in the container can match the user (UID) we specified above:


<span style="color:#323232;">ExecStart</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">podman </span><span style="color:#323232;">run --name</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#323232;">radarr -u 10000:10000 -p 7878:7878 -v radarr-config:/config -v /home/privatenoob/media/storage1/Filmek:/data --restart unless-stopped lscr.io/linuxserver/radarr:latest
</span>

As a note, if you copy/pasted that ExecStart line, you might have gotten the invalid argument error because you entered 100000 (outside of your subuid range, i.e. >65536) instead of 10000.

There’s a nice guide that gives a great walkthrough. I’ll dig through my bookmarks and add it here when I get some time.

Hope this helps!

supervent, (edited ) in What should I use my RPi4 for?

A tor guard/middle relay or bridge/snowflake and i2pd node.

taaz,

I might have a look actually, though if any of these require publicly accessible IP then that won’t be possible because of CGNAT :(

supervent,

Snowflake and i2pd could work but not in the best conditions.

deafboy, in Open casting alternative (by Amazon?)
@deafboy@lemmy.world avatar

What’s wrong with miracast? Almost every device sold these days has some kind of radio, but no way to talk to each other. Releasing a new standard every few years won’t help much.

teawrecks,

I don’t know the specifics of Miracast, but my impression was that it is specifically used to cast a video stream from one device to another device. That is sometimes useful, but not what I typically use my Chromecast for.

The most useful feature of my Chromecast is the ability to be logged into Plex/Netflix/HBO/Spotify/YouTube/etc on my (or my guest’s) mobile device, and effectively send a link and a (probably ephemeral) token to the Chromecast so that it can stream directly from the server to the Chromecast without my mobile device spending battery power and bandwidth being a middle-man.

And I assume the difficult part here is down to copyright reasons. Most of those streaming sites already limit the number of devices you can permit to stream content (which sucks, but is besides the point), so my impression is that they need to have some kind of under-the-table agreement with the Chromecast/Roku/Firestick/Apple TV/etc. folks to ensure that the device will correctly validate the credentials, not save any of the content, and properly dispose of everything when it’s done. And I assume Google has similar talks about when a device on the network is allowed to be listed as a casting device to apps.

Does Miracast already handle this?

wreckedcarzz,
@wreckedcarzz@lemmy.world avatar
BakedCatboy,

Isn’t Miracast for sending video data? The thing I like about Chromecast is that the phone or remote app just tells the Chromecast where to load the media directly from, and then only sends playback control commands. That makes it a lot lighter resource wise because you don’t need to proxy the stream through a device like a phone that wants to go to sleep to save battery.

Darkassassin07, in What should I use my RPi4 for?
@Darkassassin07@lemmy.ca avatar

OpenVPN host to keep mobile devices behind pihole and able to access non-public lan services.

taaz,

got CGNAT here :( that’s why I am renting the hetzner machine

Darkassassin07, (edited )
@Darkassassin07@lemmy.ca avatar

Ah; then host the OpenVPN server from hetzner, the pi as a client, then configure the server to route traffic out through the pi client into your LAN. Your own little vpn tunnel, instead of using something like cloudflare tunnels.

Wan client > Hetzner > pi client > lan service

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

Everybody can send an email to support.hon@haier-europe.com and ask for support of HomeAssistant.

(email address is published on their website hon-smarthome.com under ‘contact us’)

Lifebandit666,

I had 5 minutes so I’ve just sent em a snotty email. I don’t have an air conditioner and won’t buy one anytime soon, but shit like this gets my goat.

djoot, in Radarr: Path: Folder '/data/' is not writable by user 'abc'

On my OpenSuse server I had to add :Z after /data in the bind, dont know if it applies to your setup, but it is easy to test and see if it works

PrivateNoob,

It doesn’t even start unfortunately, but thanks for your help tho!

un_ax, in Radarr: Path: Folder '/data/' is not writable by user 'abc'

Try running the chown outside of the container: chown -R 1000:1000 /home/privatenoob/media/storage1/Filmek

PrivateNoob,

Doesn’t work either with both running this before starting/building the container and also while running it. Thanks for the help tho!

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