• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 8th, 2023

help-circle


  • Something weird happened… So I edited my comment: Ive used those exact relays, 3 in a single prototype that I was tinkering with quite a lot, so what worked best for me in the end was mounting a DIN rail into my enclosure (Any box would probably work for you? I needed IP65 so I used a proper box with glands for incoming wires.) And then the relay boards were hot glued to DIN rail mounts… (The relay boards are then lined perpendicular to the DIN rail) That ensured that I could add or remove the rails as needed.

    The rest of my circuit is also mounted on another DIN rail… Also allowing me to swap out main boards as I programmed/ upgraded them with minimal effort.

    This was all connected by DIY ‘ribbon cable’ so that plugging and unplugging was also a breeze…

    Granted this all might be overkill for you? Ive also have had projects that still live in shoeboxes and they work but obviously it all depends on your use cases?

    Just remember, if you go the box route, to make your life easier, make sure the box is big enough to work in if anything is to be mounted permanently. Its a massive headache trying to feed one wire past all the others into the hole if you are working 20mm from the edge of your box.

    Hope this helps!

    (Second edit):

    I read like my arse… If youre installing inside the switchboard and already have din rails, then a rail mount would be the most convienient solution




  • I use newpipe to not have to struggle with all the ads.

    My goto channels that id always recommend and support via patreon/ donations:

    (General stuff) Clickspring Ben Eater Sebastian Lague Steve Wallis Luetin09 JunsKitchen

    (Gaming) TomatoAnus Pete Complete Rhadamant Nivarias

    I absolutely hate all the screaming that some youtubers think they have to do…

    If anyone has any great (calm) youtubers, especially something strategy gaming related, please drop them!!


  • You can edit the hosts file on your local device, but I would recommend you take a look at using the rpi for a pihole/ DNS server. Then you can edit the hosts file on the PI to make it so that any device on your network redirects with the custom name.

    Hell if you want to have fun install nginx proxy manager then you can set up routing so that anything is easily accessible from inside you net ie: rpi/jellyfin or rpi/soju.

    If youre interested in doing anything like that and youre stuck ill help with any questions. I setup docker containers with proxies all the time




  • I wanted to say exactly this.

    I started out on Ubuntu and it was this scary thing that just worked. If something broke id run to google and see what I did wrong and blindly follow answers that added a lot of crap to my system. I was so afraid of poking anything that lay outside my /home.

    Eventually I hopped around a bit and landed on Arch after a few other systems that never really seemed right.

    3 years later If I break something I can actually understand why most of the time and if I cant, the Arch forums explain what I need.

    Using arch made me slow down trying to fix stuff because there was less to break. And if something broke, it was something that I installed myself and thus knew about. (Apart from some really horrible python and js that refused to be purged back to the fires of hell)

    All in all Id never go back to a hand- holdy system, Its my system, yes its wonky as hell sometimes, but I know whats going on there and on tge off chance something vreaks on a deadline, ive got an arch stick with all my important scripts to reinstall my system if needs be.