this post was submitted on 30 Nov 2023
4 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I don’t want to hear about your Plex, your NPM, your notes application or science forbid, your budgeting application. I want to hear the most exotic thing you setup to selfhost, that probably only you and a hand full of people around the world actually use or even need. A problem that you solved in a way, that makes people go WTF. Go!

I’ll start: I live in the mountains, and there is snow, lots of snow. I often tell people “We had 3m of snow last year”, but is that really true? So, I thought to myself: Can you measure snowfall? It seems you can, so I setup a USH-9 ultra sound measuring device, connected it via IC2 to my Home Assistant and now I can tell people with confidence, that we had a total of 3.45m of snowfall last season, with max snow height of 60cm on January 5th.

Future project: I have chickens. They lay eggs. I have cameras. I want to know which hen lays how many eggs. Solution? AI image recognition of the hens (who is who) and if they have laid an egg. Any inputs welcome.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 11 months ago (1 children)

I selfhost text-generation-webui (LLM's), mimic3 (TTS), and whisper (STT) on a pair of GPU's and tie them all together to make self-contained AI voice interactive chatbots and other nasty stuff.

[–] [email protected] 1 points 11 months ago

Same! Would be nice if someone sits down and makes a ready to consumer product for this, turning your house into Jarvis, without any cloud.

[–] [email protected] 1 points 11 months ago (1 children)

The last place I lived was heated with an enormous pellet stove which would run itself out of pellets entirely before letting out an ear-splitting series of beeps and forcibly shutting off for about an hour. To avoid this, I taped an ultrasonic distance sensor to the lid of the hopper and had an ESP32 send me alerts and display the current pellet level on a little OLED.

Not a terribly dumb idea, except for the fact that ultrasonic distance sensors seem to be incredibly bad at measuring a constantly shifting mass of porous pellets. I don't even know how many hours I spent working on an algorithm to get accurate readings, and by the time I moved out it still wasn't quite right. I'll also note that this pellet stove was in the living room, about 5 feet away from where I spent most of my time, and I could've just, ya know, got up and checked the hopper occasionally.

[–] [email protected] 1 points 11 months ago

That’s not what we do here sir! We do not apply common sense, we find fancy automatic solutions to simple problems.

[–] [email protected] 1 points 11 months ago

Love the stuff from the comments here.

For me, not so WTF but still a little overkill. My Parents have a sauna in the Garden which we occasionally use. But in the winter it’s cold and you don’t want to check outside for the temperature of the sauna until you go in. So my cousin and be build a little WebUI and Python script which allows us to monitor the temperature and control the state of the sauna remotely. 10m from living room garden sauna saved 😅

[–] [email protected] 1 points 11 months ago (2 children)

I’m up for the chicken challenge, dad wants to have chickens, we live too far apart. It’s reusable, plus now you can know which chickens will go to nuggets and which give you omelette

[–] [email protected] 1 points 11 months ago

Lol thanks for mealie.io... I didn't know that.

[–] [email protected] 1 points 11 months ago

Problem is training the model which hen is which from different angels. I would need to provide a lot of video material for every single chicken and then apply ML to get a match. With 40 birds, that's a lot of prime video footage per hen. Maybe I'm missing a better solution?

[–] [email protected] 1 points 11 months ago (1 children)

I have 4 kids. I had a kid-management app running at home for a while.

It assigned chores in a rotation, including periodic chores like cleaning out the fridge which didn't need to happen every day. The kid interface had a simple green button they could click to say they'd done their chore.

When THAT happened, their fake bank allowance balance would increase.

The server side piece would track how long they were logged in and lock their screen after 30 minutes of screen time a day

The parent side included a form to track spending (decreasing their balance) and to enable and disable their user accounts on the computer. It could also grant additional screen time if needed.

The kids are older now and like hoarding cash instead of a balance, and they aren't as motivated by screen time as they used to be. So the app is no longer in use.

[–] [email protected] 1 points 11 months ago

Do you have a packaged version of this that could be deployed elsewhere? I know someone who could use exactly this.

[–] [email protected] 1 points 11 months ago

I used to pull AIS data and filter by sightlines to buzz my Blackberry to let me know when I could see boats out my window.

Long-term plans are to put up a tower and get flight data, ionospheric conditions, weather, lightning, particulate, light quality, as well as a pair of cameras to get sunrise and sunset.

[–] [email protected] 1 points 11 months ago (1 children)

Just about all my projects are (or rather were) on github. The hidden ones are due to redditors trolling or being outright shitheads, so I had to hide some projects temporarily.

Timezone aware clocks

I have a wall of eight timezone aware clocks, with the arms controlled via stepper motors to a single raspberry pi. The Raspberry Pi also controls eight separate OLED displays that are made to emulate VFDs. And then I set each clock to the timezone it corresponds to, pull the weather and temps from the internet and send them to each display, and also show some headlines for the region. When you need to talk to a client, you know what time it is there, what the weather is like, and recent news headlines.

Chore list

I have a chore list that displays on 12"x4" touch screen, with physical electromechanical toggle switches that are controlled by a raspberry pi. This chore list reminds me to clean the litter box, water the plants, pay the car insurance, etc. When I complete a chore, I flip the physical toggle switch and the chore gets marked as done until the next time. After a while, the chore disappears from the display, and the raspberry pi releases the electromagnet and resets the physical toggle switch back to the "undone" position.

Jukebox

I have a physical jukebox I built, that mounts on the wall, that streams music from my Synology. It has a bunch of super satisfying to press clicky tactile LED illuminated arcade buttons for track select, and the track lists are shown on two 4K 12"x4" touch screens. There's two more 1920 curved touchscreens for the marquee to show album art and for navigation. That's a single raspberry pi controlling four separate touch screens and about 50 buttons. When you press a button to play a track, the button locks down, like on the old car radios, but the raspberry pi when switching tracks can physically retract or release the buttons too. There's a software defined jog wheel that has an OLED display to control the volume, but the raspberry pi can turn the physical dial too. That's wired into chatgpt, speech to text and text to speech, with cortana as the voice, and I can say things like "whatever happened to the lead singer of this band?" or "Play a random shuffle of more tracks from this year."

Memories

18x 9" OLED screens that display a photo montage and photo gallery of family pictures all controlled by a raspberry pi.

The Wall

It's a half-dozen salvaged OLED displays built into a false wall behind some sliding shoji screens. The displays are driven by some old piece-of-shit computer and GPU. They display nature scenes. It's an enormous digital window.

Home Health

I have a smart dashboard that tracks my cats, phones, wallets, weather, and a bunch of other info that is displayed on an ipad by the coffee machine.

Daily Guk

It's an old 21" android tablet that displays only good headlines, daily funny comics, weather, upcoming calendar, etc.

Cat Toy

It's a 55" touch screen that entertains my cats. Android stick plugged into the back running some custom Unity3D games.

Walking Timer

I built a timer that tracks how long we walk, and how many laps we do around the block, and then I grab the images from the doorbell camera and use computer vision and gait analysis to automatically detects when we leave, when we return, and how many times we walked past the front door on our laps, and calculates our speed.

CNC Controller

I have a CNC controlled by a Raspberry Pi, which in turn is controlled by an Android tablet. So if the UI crashes, the CNC will continue running the gcode. This could now be replaced by other open source projects that have become available since I created this setup.

RV Sync

I have an all flash NAS at the RV which is set to automatically sync the video & music directories, and a few other directories, between my NAS at my home and the NAS in the RV so that all the contents are available when on the road, even if internet is a bit wonky.

Retired Projects

Cat Litter Robot

This was a litter box, with a Kinect, a web cam, a Fujitsu robot arm, and Amazon's Mechanical Turk. The robot arm was controllable via a web UI and it live streamed the litter box. When a cat did their business, the kinect detected that, weighed the litter box, and then sent a request to mechanical turk to have someone clean the litter box for 25 cents. And then when they were done, two more requests were sent to mechanical turk to have other people independently verify that the video showed the litter box being cleaned adequately.

Giant Waterfall Ring Toss

An art gallery in Los Angeles wanted something as an attraction due to the pandemic, so I salvaged a 55" display, built an enclosure, and installed it in the upper glass portion of the door frame of the art gallery, and people could play the classic "Waterfall Ring Toss" game by mashing a great big button.

Remote Control Cat Toy

I built a web browser controlled remote cat toy with one of those feathers on a wand controlled by a number of servos. And also added a laser point option too. Then had a bunch of web cams live stream the adoptable cats in the shelter. And people could donate a $1 to "play the arcade game" with cats that would get unlocked as people contributed more money.

Planetarium

I built a 12 foot wide classic planetarium driven by a raspberry pi and a lot of really strong high torque servos for a science museum exhibit. Kids could use a jog shuttle dial to rotate the planetary orbits.

The Matrix Camera Capture Rig

I built a cheap camera capture rig for a science museum that works like the Bullet Time rigs, but this was done with cheap point & shoot SONY cameras. Patrons sit on a couch, or pose in a movie set, and the capture rig takes a snapshot, puts a video on the monitor for them that orbits the subjects.

Digital Sandbox RTS

A box of physical "wet sand" that you could play in, that projected an image from three overhead projectors, and you controlled a small army you could send into combat against other people playing in the sandbox. Kind of like a simple Populous game. That was on display at one of the Los Angeles kids science museums for a few years.

[–] [email protected] 1 points 11 months ago
[–] [email protected] 1 points 11 months ago (1 children)

My town used to post our garbage pickup schedule as a photo pdf to our town's website.

They tend to change when garbage will be picked up randomly espcially near holidays, so it can be annoying and we'd end up running out in the morning when we heard the truck driving by on 'off' days

The changes always made it into the calendar at least the night before.

I wrote a horrible python abortion to grab the PDF, OCR the data, and then put it into HA so I can have HA turn a light on in my hallway the night before.

These days they make the calendar available as an iCal file so data ingest is way easier.

[–] [email protected] 1 points 11 months ago

At least they improved their system and didn’t just continue with their image!

[–] [email protected] 1 points 11 months ago (1 children)

Would probably get more zanier responses on the Home Automation or Home Assistant subreddits.

[–] [email protected] 1 points 11 months ago

Yet I asked here 😊

[–] [email protected] 1 points 11 months ago (1 children)

Got a server and wanted to know what the temperature was in my room where it runs Installed VMware on it and a SIEM as a virtual appliance on top, poll the VMware API every minute to get the reading from the temperature sensor so that I can look at it from my phone's web browser. Overkill: Quite certainly Useful: Definitely

[–] [email protected] 1 points 11 months ago

Seems like a 3$ Zigbee temperature sensor could do the job 😊

[–] [email protected] 1 points 11 months ago

Newsweek Poland has pdf version and I am a subscriber. Unfortunately there is no mechanism on their page to schedule sending newest magazine to subscriber email. There is only a button in subscriber section to send selected pdf (link) to email. I wrote client which is logging in, bypassing captcha, gets listing of current issues, looks into history of downloaded issues and downloads newest issue for me. They offer in the same subscription other magazines too, so I extended this tool to also download others too.

Second one. I use IPTV service which has time shift functionality. I wrote app which allows me to download any tv program within this 3-4 day window of past tv show. It is using ffmpeg and some logic.

[–] [email protected] 1 points 11 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 1 points 11 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 1 points 11 months ago

I host two exotic solutions beside all other.

Restreamer https://github.com/datarhei/restreamer Complete stack to stream on each plateform without congesting my home network.

Rustdesk https://github.com/rustdesk/rustdesk-server Teamviewer like, very stable and as powerfull as I need.

[–] [email protected] 1 points 11 months ago

I was thinking OP is gonna do something like snow cooling solution thingy.... 😃😃 haha

[–] [email protected] 1 points 11 months ago

I wrote my own SMS gateway API with authentication tokens, quotas, rate-limits. This is because I wanted to send SMS without relying on an external API, so I got a 2€/month SIM card and plugged a USB modem (Huawei E169) into my RPi to use with Gammu. I'm using Gotify to log sent and received SMS, and send an SMS whenever my home internet is down or the IP address changes for example. It's plugged into my systems monitoring for critical alerts, and while I offered API keys to my friends, none of them wanted any so I'm the sole user.

[–] [email protected] 1 points 11 months ago

Using the matrix protocol to let users on Signal talk to ppl on WhatsApp and combined discord telegram etc, I think i made chat apps more like email, interoperability between chat apps are the best.

load more comments
view more: ‹ prev next ›