Hello Stefano, here I am to ask you again how to see the daemon information for a single raspberry on Home Assistant?
As I mentioned previously, I have 4 Raspberry divided as follows:
Home Assistant
Deluge
Volumio
NAS
Now when they are all up and running, I find myself that on the Home Assistant board dedicated to collecting the Raspberry temperature monitoring information, sd occupation etc, I only see the info for Raspberry Deluge and Volumio and I donât see those of the NAS.
If I turn off Deluge and restart Home Assistant then I see those of Volumio and the NAS.
In this regard, I looked at the DAEMON configuration of each one that I am attaching below and they are the same in everything. I cannot understand if the distinction between the Raspberry NAS and Deluge must be made within this configuration if you could tell me where?
For completeness using MQTT Explorer I also captured the info of both the Raspberry NAS and Deluge individually and I saw that both have a unique âid identifiersâ, but when they are both active I can monitor either only the Raspberry NAS or only the Deluge it is as if one wrote on the other.
I premise that the Home Assistant configuration is completely new.
Can you help me?
Thanks Claudio
NAS
{âinfoâ: {âtimestampâ: â2022-07-18T16:43:56+02:00â,
ârpi_modelâ: âRPi 4 Model B r1.5â,
âifacesâ: âe,w,bâ,
âhost_nameâ: âraspberrypiâ,
âfqdnâ: âraspberrypiâ,
âux_releaseâ: âbullseyeâ,
âux_versionâ: â5.15.32-v7l+â,
âup_timeâ: â4 days, 19:27â,
âlast_updateâ: â2022-07-13T20:13:38+02:00â,
âfs_total_gbâ: 32,
âfs_free_prcntâ: 13,
ânetworkingâ: {âeth0â: {âIPâ: â192.168.178.35â,
âmacâ: âe4:5f:01:b0:91:80â},
âwlan0â: {âIPâ: â192.168.178.36â,
âmacâ: âe4:5f:01:b0:91:81â}},
âdrivesâ: {ârootâ: {âsize_gbâ: 32,
âused_prcntâ: 13,
âdeviceâ: â/dev/rootâ,
âmount_ptâ: â/â},
âmnt-musicaâ: {âsize_gbâ: 1024,
âused_prcntâ: 53, âdeviceâ: â/dev/sda1â,
âmount_ptâ: â/mnt/musicaâ},
âmnt-backupâ: {âsize_gbâ: 1024,
âused_prcntâ: 81, âdeviceâ: â/dev/sdb1â,
âmount_ptâ: â/mnt/backupâ}},
âmemoryâ: {âsize_mbâ: â7898.922â,
âfree_mbâ: â7415.949â},
âcpuâ: {âhardwareâ: âBCM2711â,
âmodelâ: âARMv7 Processor rev 3 (v7l)â,
ânumber_coresâ: 4,
âbogo_mipsâ: â432.00â,
âserialâ: â10000000561b74bfâ,
âload_1min_prcntâ: 0.0,
âload_5min_prcntâ: 0.0,
âload_15min_prcntâ: 0.0},
âthrottleâ: [âthrottled = 0x0â,
âNot throttledâ], âtemperature_câ: 41.3,
âtemp_gpu_câ: 41.3, âtemp_cpu_câ: 40.4,
âreporterâ: âISP-RPi-mqtt-daemon v1.6.0â,
âreport_intervalâ: 5}}
{ânameâ: âRpi Used Raspberrypiâ,
âuniq_idâ: âRPi-e45f01Monb09180_disk_usedâ,
âunit_of_measurementâ: â%â,
âstat_tâ: â~/monitorâ,
âval_tplâ: â{{ value_json.info.fs_free_prcnt }}â,
â~â: âhome/nodes/sensor/rpi-raspberrypiâ,
âpl_availâ: âonlineâ,
âpl_not_availâ: âofflineâ,
âicâ: âmdi:sdâ,
âavty_tâ: â~/statusâ,
âdevâ: {âidentifiersâ: [âRPi-e45f01Monb09180â]}}
DELUGE
{âinfoâ: {âtimestampâ: â2022-07-18T21:04:40+02:00â,
ârpi_modelâ: âRPi 4 Model B r1.4â,
âifacesâ: âe,w,bâ,
âhost_nameâ: âraspberrypiâ,
âfqdnâ: âraspberrypiâ,
âux_releaseâ: âbullseyeâ,
âux_versionâ: â5.15.32-v7l+â,
âup_timeâ: " 3:51",
âlast_updateâ: â2022-07-13T09:55:16+02:00â,
âfs_total_gbâ: 32, âfs_free_prcntâ: 13,
ânetworkingâ: {âeth0â: {âIPâ: â192.168.178.33â,
âmacâ: âe4:5f:01:67:f1:8dâ},
âwlan0â: {âIPâ: â192.168.178.34â,
âmacâ: âe4:5f:01:67:f1:8eâ}},
âdrivesâ: {ârootâ: {âsize_gbâ: 32, âused_prcntâ: 13,
âdeviceâ: â/dev/rootâ, âmount_ptâ: â/â},
âmnt-torrentsâ: {âsize_gbâ: 64, âused_prcntâ: 29,
âdeviceâ: â/dev/sda1â,
âmount_ptâ: â/mnt/torrentsâ}},
âmemoryâ: {âsize_mbâ: â3838.922â,
âfree_mbâ: â3463.617â},
âcpuâ: {âhardwareâ: âBCM2711â,
âmodelâ: âARMv7 Processor rev 3 (v7l)â, ânumber_coresâ: 4,
âbogo_mipsâ: â504.00â, âserialâ: â10000000844dfbe2â,
âload_1min_prcntâ: 0.0, âload_5min_prcntâ: 0.5,
âload_15min_prcntâ: 0.0}, âthrottleâ: [âthrottled = 0x0â, âNot throttledâ],
âtemperature_câ: 41.8, âtemp_gpu_câ: 41.8,
âtemp_cpu_câ: 41.4,
âreporterâ: âISP-RPi-mqtt-daemon v1.6.0â, âreport_intervalâ: 5}}
{ânameâ: âRpi Monitor Raspberrypiâ,
âuniq_idâ: âRPi-e45f01Mon67f18d_monitorâ,
âdev_claâ: âtimestampâ, âstat_tâ: â~/monitorâ,
âval_tplâ: â{{ value_json.info.timestamp }}â,
â~â: âhome/nodes/sensor/rpi-raspberrypiâ,
âpl_availâ: âonlineâ, âpl_not_availâ: âofflineâ,
âicâ: âmdi:raspberry-piâ,
âavty_tâ: â~/statusâ,
âjson_attr_tâ: â~/monitorâ,
âjson_attr_tplâ: â{{ value_json.info | tojson }}â,
âdevâ: {âidentifiersâ: [âRPi-e45f01Mon67f18dâ],
âmanufacturerâ: âRaspberry Pi (Trading) Ltd.â,
ânameâ: âRPi-raspberrypiâ,
âmodelâ: âRPi 4 Model B r1.4â,
âsw_versionâ: âbullseye 5.15.32-v7l+â}}
Dati per configurazione file: config.ini
Configuration file for 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
default domain to use when hostname -f doesnât return a proper fqdn
#fallback_domain = home
[MQTT]
The hostname or IP address of the MQTT broker to connect to (Default: localhost)
Also read from the MQTT_HOSTNAME environment variable
hostname = 192.168.178.30
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 = mqtt_user
password = bioversityundesa2018
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 =