Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

🏕️ my adventures in #selfhosting: day 300 (new project edition) 💡a blog post that discusses my next self-hosting project.

Uncategorized
21 11 34 1

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    1 Views
    Commitin programming crimes }:->Few weeks ago I seriously looked to the mine OpenHAB installation and asked a question for myself: "Am I really need it?" Look, I have a few ZigBee devices, which are connected to the my server with the help of ZigBee2MQTT. Thusly, all necessary values and knobs are accessible through the MQTT topics.And I'm using the OpenHAB (big Java application which eats ton's of RAM and constantly swapping) just to:1) Read values from MQTT topic2) Read weather forecast from Open-Meteo through simple REST API endpoints3) Store all the data to the PostgreSQL DB.4) Display these data in the nice Web page which works only in browsers with JS engine.So, basically, I trade tons of RAM and processing power just for a nice web-page with few indicators. While retrieving data from my ZigBee devices processed by the another service.After that thought, I started to think about replacing this monster with small hand-written program, which will not eat 700 MB of RAM. Just Nginx, small FastCGI script on C, which will read values from DB and display them on the simple HTML page. And another small daemon (also written in C) which will take data from MQTT topic (and from REST API of Open-Meteo) and will write them to the DB. And possibly some PGSQL procedures to analyze these data.At least I'll have fun #programming #C #smarthome #selfhosting
  • 0 Votes
    2 Posts
    21 Views
    Sono proprio felice di iniziare a vedere altri #admin del #Fediverso riuniti nello stesso angolino.È normale che siamo tutti un po’ sulla difensiva (me compreso), la stanza è nata da un solo giorno… ma siamo già in 20!La verità è che stare ognuno nel proprio fortino e non collaborare è controproducente; se non troviamo un vero punto d’incontro, rischiamo solo di farci schiacciare dai soliti social commerciali che già bussano alla porta con il loro “ciao, vi inglobiamo tutti?”.Chissà, magari tra un po’ ci rilassiamo, abbassiamo gli scudi e iniziamo davvero a fare squadra, aiutarci e costruire qualcosa di bello insieme… senza campanilismi e senza “il mio server è più bello del tuo”.🙏
  • 0 Votes
    4 Posts
    11 Views
    @bex @prinlu I’m a total newbie and I’ve been using - and LOVING - YunoHost for almost a year now.Thanks to it I’m self-hosting GoToSocial (this account!), Pixelfed, PeerTube, NextCloud and LinkStack. I could not recommend it more - it’s the BEST
  • 0 Votes
    1 Posts
    13 Views
    Today's deep dive into #activitypub#selfhosting a #pixelfed instance, I send a Follow request to a selfhosted #wordpress blog with AP plugin. The returned Accept Follow payload gets processed by InboxWorker where it just fizzles.I then send a Follow request to this account hosted on mastodon.social. That payload gets processed by InboxValidator instead, then on to ActivityHandler and down the FollowPipeline as expected.Only message difference is #mastodon adds a 'username' field.Bug?