Added interference detection status and history to rnstatus output for RNode interfaces

This commit is contained in:
Mark Qvist
2025-11-21 15:56:17 +01:00
parent a63dd67a07
commit bf2fcbba37
4 changed files with 27 additions and 4 deletions

View File

@@ -1028,6 +1028,13 @@ class Reticulum:
if hasattr(interface, "r_noise_floor"):
ifstats["noise_floor"] = interface.r_noise_floor
if hasattr(interface, "r_interference"):
ifstats["interference"] = interface.r_interference
if hasattr(interface, "r_interference_l") and type(interface.r_interference_l) == list:
ifstats["interference_last_ts"] = interface.r_interference_l[0]
ifstats["interference_last_dbm"] = interface.r_interference_l[1]
if hasattr(interface, "cpu_temp"):
ifstats["cpu_temp"] = interface.cpu_temp