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 =