Adding motherboard sensors into Domoticz

0
3081
Tutorial-install domoticz on a PI

Contents

Introduction

When you have Domoticz running on your Pi it would be handy to monitor the Raspberry Pi. You can do this through Domoticz by adding the motherboard sensors, the only thing to do is selecting the right hardware and include the devices.

What kind of data do you get?

What can you monitor by adding the motherboard sensors?

  • Harddisk space (the partitions on your SD-card)
  • Memory usage.
  • CPU usage.
  • Temperatures.

Adding the sensors

In Domoticz, go to the Setup menu and click on Hardware

Here, select as Type Motherboard sensors, provide a useful name (e.g. ‘Pi Motherboard sensors’) and press the Add button.

pi motherboard sensors

After adding the hardware go to Setup > Devices
If you already had a lot of devices listed, use the filter buttons at the top to only show the devices that are not used.

pi motherboard sensors 5 devices

The sensors show up in the list as five new devices (it can take a minute before all five are listed).

  • Memory Usage
  • HDD /boot
  • HDD /
  • Internal Temperature
  • CPU_Usage

By clicking on the green button in each line you can add the devices to your Domoticz pages.
The Add Devices window pops up and you can provide a logical name for the sensor.

pi motherboard sensors add device
Because some of the Domoticz themes can group devices with the same name into one widget, I advise using similar prefixes. So you get something like:

  • Pi – Diskspace
  • Pi – Temperature
  • Pi – Memory Usage
    and so on.

pi motherboard sensors dashboard

What can you do next?

The motherboard sensors now are added into Domoticz. The system now logs the values of the sensors, add a description and you can set simple notifications. As a start, the devices will show up on the different pages in Domoticz, based on the sensor type. The temperature sensors will show up in Temperature and the rest will show in Utility. From there you can add them to your Dashboard and build more complex events based on the sensor values.