Added function to send CPU temperature to the client.
This commit is contained in:
parent
8540fcddd2
commit
9e944b231f
|
|
@ -415,6 +415,9 @@ class OpenWebRxReceiverClient(OpenWebRxClient, SdrSourceEventClient):
|
|||
def write_cpu_usage(self, usage):
|
||||
self.mp_send({"type": "cpuusage", "value": usage})
|
||||
|
||||
def write_temperature(self, temp):
|
||||
self.mp_send({"type": "temperature", "value": temp})
|
||||
|
||||
def write_clients(self, clients):
|
||||
self.mp_send({"type": "clients", "value": clients})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue