• 0 Posts
  • 12 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