in , ,

Domotical Box Rail Din

intégration d'un raspberrypi rail din dans un coffret électrique

For a long time I had the home automation system integrated into docker on the family NAS. But over time the installation has grown and as everyone knows the physical hardware is an integral part of a home, apart from a NAS is rather personal. The question of a move does not pose a problem for the NAS but with regard to home automation it must continue to function without its personal effects. This is why I decided to integrate the Home-Assistant home automation box on din rail into the electrical panel.

Material Prerequise

boitier rail din raspberry pi4


Acheter ici
Module waveshare poe+ type C


Acheter ici
raspberry pi4 4gb


Acheter ici
Dissipateur thermique cuivre


Acheter ici
sdcard sandisk extreme pro 128


Acheter ici
  1. boitier rail din raspberry pi4
  2. Module waveshare poe+ type C
  3. raspberry pi4 4gb
  4. Dissipateur thermique cuivre
  5. sdcard sandisk extreme pro 128

For my part the installation of the system is mounted on an sd card 128GB of sandisk brand in extreme pro version , never skimp on the quality of the sd card! . As there is a din rail compatible box for Raspberrypi 4, I naturally turned to this card in 4Gb, the 2Gb version under home-assistant can quickly become limited , but the PI4 processor has tendency to heat up. As I have a POE + compatible switch above the board, I decided to buy a Waveshare type C complementary card in POE +

Why this Waveshare poe + type C card,compared to the official raspberry pi cards

  • It is compatible with the latest POE + standards
  • GPIOs are always accessible ( if you want to add a 2.2 inch tft-lcd screen, that’s better)
  • It has an additional USB type A output in 3.0
  • Finally you can connect a 12V fan for optimal cooling.
  • It has a small fan to cool the Raspberry processor
  • Possibility to control the onboard fan

To be sure not to experience overheatingI bought 5mm copper heatsinks , during assembly it works but you have to position according to the components of the waveshare, if you want a little more freedom go on 3mm heatsinks, but they will be less effective .

The Temperature

  • Open din rail box 28°C
  • Closed Box 38°C
  • Electrical panel closed and reassembled 42°C

No additional opening on the din rail box was made when measuring the temperatures, and the end result I manage to hold 42°C with peaks at 48°C,now it remains to be seen in full summer season if the peaks are not too high.

Above: The installation of the 5mm thick heatsinks is easy, but you still have to orient the positioning according to the additional waveshare poe + type C card.

Above: Integration into the din rail electrical panel is carefree, the power supply by poe + is a positive point in the integration.

Below: thanks to Home-Assistant and the systemmonitor integration we can control the general state of the Raspberrypi, you can see that the 128GB of sdcard is more than enough, the memory used is 25% of 4Gb knowing that the integration of additional plugins is relatively complete (z-wave, esphome, zigbee, mosquitto, xiaomi, doorbird, etc …), the addition of a 2.2″ tft/lcd screen fits perfectly into the box or we could do monitoring, see the presentation of the Jeedom integration . But according to a feedback From experience adding such a screen increases the temperature by almost 10 ° C. Maybe I’ll upgrade but for now I don’t find it essential.

In conclusion

The home automation installation under home assistant is now an integral part of the home, it’s more wafer and for me more logical, the fact of integrating it into the board is undeniably a place of choice by positioning the home automation controller in the center of the home electricity network for a total cost of around € 120.



Written by Nicolas

Community ModeratorVerified UserStory MakerYears Of MembershipContent Author


Leave a Reply

GIPHY App Key not set. Please check settings


    Jeedom Amber VS Home Assistant Atlas

    Home-Assistant Amber VS Jeedom Atlas