# Configuration file for RPi-Reporter-MQTT2HA-Daemon # Source: https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon # # Uncomment and adapt all settings as needed. # Some settings can be configured by environment variables. # If an env variable is set, it takes precedence over settings in this file [Daemon] # Enable or Disable an endless execution loop (Default: true) #enabled = true # This script reports RPi values at a fixed interval in minutes [2-30], [Default: 5] #interval_in_minutes = 5 # This script checks for pending os updates at a fixed internal in hours [2-24], [Default: 4] #check_updates_in_hours = 4 # default domain to use when hostname -f doesn't return a proper fqdn #fallback_domain = home [Commands] #shutdown = /usr/bin/sudo /sbin/shutdown -h now 'shutdown rqst via MQTT' #reboot = /usr/bin/sudo /sbin/shutdown -r now 'reboot rqst via MQTT' #restart_service = /usr/bin/sudo systemctl restart isp-rpi-reporter.service [MQTT] # The hostname or IP address of the MQTT broker to connect to (Default: localhost) # Also read from the MQTT_HOSTNAME environment variable #hostname = localhost # The TCP port the MQTT broker is listening on (Default: 1883) # Also read from the MQTT_PORT environment variable #port = 1883 # Maximum period in seconds between ping messages to the broker. (Default: 60) #keepalive = 60 # by default Home Assistant listens to the /homeassistant but it can be changed for a given installation # likewise, by default this script advertises on the same default topic. If you use a different # discovery prefix then specify yours here. [default: homeassistant] #discovery_prefix = homeassistant # NOTE: The MQTT topic used for this device is constructed as: # {base_topic}/{sensor_name} # # The MQTT base topic under which to publish the Raspberry Pi sensor data topics. #base_topic = home/nodes # The MQTT name for this Raspberry Pi as a sensor #sensor_name = rpi-{hostname} # The MQTT broker authentification credentials (Default: no authentication) # Will also read from MQTT_USERNAME and MQTT_PASSWORD environment variables #username = user #password = pwd123 # Enable TLS/SSL on the connection #tls = false # Path to CA Certificate file to verify host #tls_ca_cert = # Path to TLS client auth key file #tls_keyfile = # Path to TLS client auth certificate file #tls_certfile =