fix broken anchors in README.md (#175)

This commit is contained in:
Masoko
2024-12-07 12:10:01 +02:00
committed by GitHub
parent 3cf041f9f2
commit d69ec4fe8d
2 changed files with 34 additions and 27 deletions

View File

@@ -29,18 +29,19 @@ The easiest way to track your Raspberry Pi or Ubuntu computer system health and
- [Installation](#installation) - [Installation](#installation)
- [Automated](#automated) - [Automated](#automated)
- [Manual](#manual) - [Manual](#manual)
- [Configuration](#configuration) - [How to update](https://github.com/hjelev/rpi-mqtt-monitor/wiki/How-to-update)
- [External Sensors](#external-sensors) - [Configuration](https://github.com/hjelev/rpi-mqtt-monitor/wiki/Configuration)
- [Test Raspberry Pi MQTT Monitor](#test-raspberry-pi-mqtt-monitor) - [External Sensors](https://github.com/hjelev/rpi-mqtt-monitor/wiki/External-Sensors)
- [Schedule Raspberry Pi MQTT Monitor execution as a service](#schedule-raspberry-pi-mqtt-monitor-execution-as-a-service) - [Schedule Raspberry Pi MQTT Monitor execution as a service](https://github.com/hjelev/rpi-mqtt-monitor/wiki/Manual-Installation#schedule-raspberry-pi-mqtt-monitor-execution-as-a-service)
- [Schedule Raspberry Pi MQTT Monitor execution](#schedule-raspberry-pi-mqtt-monitor-execution) - [Schedule Raspberry Pi MQTT Monitor execution with a cron](https://github.com/hjelev/rpi-mqtt-monitor/wiki/Manual-Installation#schedule-raspberry-pi-mqtt-monitor-execution-with-a-cron)
- [How to update](#how-to-update)
- [Home Assistant Integration](#home-assistant-integration) - [Home Assistant Integration](#home-assistant-integration)
- [To Do](#to-do) - [To Do](#to-do)
- [Feature request](#feature-request) - [Feature request](#feature-request)
## What is new ## What is new
* 2024-12-06: Output File by @pallago
* 2024-12-06: Allow overwriting of hostname from config by @sudhaus
* 2024-12-01: Support for Home Assistant API (no MQTT needed) * 2024-12-01: Support for Home Assistant API (no MQTT needed)
* 2024-11-06: External sensors by @pallago * 2024-11-06: External sensors by @pallago
* 2024-10-25: Apt updates sensor * 2024-10-25: Apt updates sensor
@@ -115,7 +116,6 @@ Use '''rpi-mqtt-monitor --hass_wake''' to display the configuration for Home Ass
## To Do ## To Do
- fix uptime sensor to use timestamp
- improve hass api integration - improve hass api integration
## Feature request ## Feature request

View File

@@ -2,6 +2,7 @@ from random import randrange
# Script version # Script version
version = "0.6.2" version = "0.6.2"
# MQTT server configuration # MQTT server configuration
mqtt_host = "ip address or host" mqtt_host = "ip address or host"
mqtt_user = "username" mqtt_user = "username"
@@ -10,12 +11,29 @@ mqtt_port = "1883"
mqtt_discovery_prefix = "homeassistant" mqtt_discovery_prefix = "homeassistant"
mqtt_topic_prefix = "rpi-MQTT-monitor" mqtt_topic_prefix = "rpi-MQTT-monitor"
# Below hass_ configuration is only needed if you use Home Assistant API instead of # Retain flag for published topics
retain = True
# QOS setting for published topics: 0,1,2 are acceptable values
qos = 0
# Home Assistant API configuration
hass_token = "your_hass_token" hass_token = "your_hass_token"
hass_host = "your_hass_host" hass_host = "your_hass_host"
# Messages configuration # Messages configuration
# Interval in seconds between probes when running the script as a service (--service option)
service_sleep_time = 120
# Interval for checking git_update and apt_updates
update_check_interval = 3600 # 1 hour
# Random delay in seconds before taking probes
# - this is used for de-synchronizing message if you run this script on many hosts.
# - if you want a fixed delay you can remove the randrange function and just set the needed value.
# random_delay = randrange(10)
# Uncomment the line bellow to send just one CSV message containing all values (this method don't support HA discovery_messages) # Uncomment the line bellow to send just one CSV message containing all values (this method don't support HA discovery_messages)
# group_messages = True # group_messages = True
@@ -23,12 +41,17 @@ hass_host = "your_hass_host"
# Only works when group_messages is not used # Only works when group_messages is not used
discovery_messages = True discovery_messages = True
# System control configuration
# Enable remote restart button in Home Assistant # Enable remote restart button in Home Assistant
restart_button = True restart_button = True
# Enable remote shutdown button in Home Assistant # Enable remote shutdown button in Home Assistant
shutdown_button = True shutdown_button = True
# Enable remote update of the script via Home Assistant
update = True
# Enable control of attached display(s) via Home Assistant # Enable control of attached display(s) via Home Assistant
display_control = False display_control = False
@@ -39,27 +62,11 @@ os_user = 'os_user_to_be_replaced'
# To set a custom device name, uncomment the following line and set the custom name. # To set a custom device name, uncomment the following line and set the custom name.
# ha_device_name = 'device_name_to_use' # ha_device_name = 'device_name_to_use'
# Binary sensor that displays when there are updates # Sensors configuration
# Binary sensor that displays when there is an update for the script
git_update = True git_update = True
# Enable remote update of the script via Home Assistant
update = True
# Retain flag for published topics
retain = True
# QOS setting for published topics: 0,1,2 are acceptable values
qos = 0
# Random delay in seconds before taking probes
# - this is used for de-synchronizing message if you run this script on many hosts.
# - if you want a fixed delay you can remove the randrange function and just set the needed value.
# random_delay = randrange(10)
# Interval in seconds between probes when running the script as a service (--service option)
service_sleep_time = 120
update_check_interval = 3600 # 1 hour
cpu_load = True cpu_load = True
cpu_temp = True cpu_temp = True
used_space = True used_space = True