/HassMonitorMqtt

Home assistant component that integrates the python client of MonitorMqtt

Primary LanguagePython

HassMonitorMqtt

HassMonitorMQTT is an integration for HomeAssistant that receives system data from different computers (that work together as MQTT clients) and provides commands and sensors. Client-side script for this integrations can be found here

Available information:

  • RAM in use (%)
  • CPU in use (%)
  • Hard Disk used space (%)
  • CPU Temperature (°C)
  • Battery Level (%)
  • Charging status
  • Timestamp of the data
  • Running Operating System

Actions:

  • Shutdown
  • Reboot
  • Lock

HomeAssistant with PyMonitorMQTT preview

HomeAssistant Example

Getting Started

Install the component

To install the component, copy the entire repo in your custom-component folder:

$CONFIG_FOLDER$/custom-component/monitor-mqtt

Now your configuration folder should look like this:

CONFIG_FOLDER/custom_components/monitor_mqtt/
├── binary_sensor.py
├── funcs.py
├── __init__.py
├── Home Assistant Monitors.png (YOU CAN DELETE THIS)
├── README.md
├── sensor.py
└── switch.py

Configure

In your configuration.yaml add the 'monitor-mqtt' component with all your clients:

monitor_mqtt:
  monitor_list:
    - client_name: PcName1
    - client_name: PcName2

where PcName1 and PcName2 are the client names that are chosen by the client (passed to the client script with -n argument)

Lovelace layout

Here you can find my Lovelace preset for monitor-mqtt

Authors

Riccardo Briccola - Project development - Github Account

Elupsus - Error solver