Hi,
Recently, I was looking for a plugin that could display the hard disk temperature, since high temperature is one of the most critical factors that can damage HDDs. As I couldn’t find any plugin that provided this feature, I decided to develop one myself, I successfully created the plugin, and it works seamlessly with both Python 2 and Python 3. I have tested it on Dreambox and Vu+ receivers without encountering any issues. I named the plugin
“” Disk & CPU Temperature by iet5 “”.
Main Features:
- Display CPU and internal/external HDD temperature.
- Accurate readings: attempts to read temperature from multiple sources (sysfs for CPU, smartctl for HDD).
- Dynamic colors changing with temperature levels (Green → Yellow → Red).
- Multi-stage warnings: First – Second – Final.
- Visual alert: Popup + warning bar at the top of the screen.
- Configurable alert duration: 5 – 20 seconds.
- Toggle button to enable/disable warnings when needed.
- HDD management: wakes up HDD from sleep mode to read its temperature.
- Detailed log with events saved in /tmp/diskcputemp.log.
- Automatic refresh of readings every 5 seconds.
- Easy graphical interface with buttons (Exit – Save – Default – Disable Warning).
- Customizable settings with save/restore to default options.
- Support for multiple HDDs simultaneously.
- Logs every reading and warning with date & time.
- Lightweight performance without slowing down the device.
Temp to Color Function:
- Lightweight performance without slowing down the device.
- Low temperature → Light Green (Good condition).
- Medium temperature → Yellow / Orange (Warning: temperature is rising).
- High temperature → Red (Danger: very high temperature).
- Error or no data → White (Default).
New Gradient Mapping:
- Blue → Cyan (0–20%): Low temperatures.
- Cyan → Green (20–40%): Moderate temperatures.
- Green → Yellow (40–60%): Warm temperatures.
- Yellow → Orange (60–80%): High temperatures.
- Orange → Red (80–100%): Very high temperatures.
This gradient better matches human perception of temperature: blue is associated with cold, and red with heat.
User Benefits:
- Protects your device from overheating that may cause slowdown or damage.
- Allows real-time monitoring of CPU and HDD status directly from the Enigma2 interface.
- Provides early warnings before temperatures reach dangerous levels.
- Flexible configuration of warning thresholds without manual file editing.
- Optimized for continuous operation: lightweight and logs everything.
This is a screenshot of the plugin icon.
This is a picture of the plugin screen.
Best wishes to the users
