update client to SN mode
This commit is contained in:
parent
eea55f928d
commit
e31750a340
6
main.py
6
main.py
|
@ -4,7 +4,7 @@ import psutil
|
|||
##############################################
|
||||
####### User Defined Area 用户自定义区 ########
|
||||
|
||||
uuid = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
|
||||
sn = "V0000T0000"
|
||||
mount_point0 = '/'
|
||||
mount_point1 = '/'
|
||||
|
||||
|
@ -12,7 +12,7 @@ mount_point1 = '/'
|
|||
##############################################
|
||||
|
||||
|
||||
url = "http://iot.vvzero.com/topuino/putdata"
|
||||
url = "https://iot.vvzero.com/topuino/putdata"
|
||||
|
||||
while True:
|
||||
try:
|
||||
|
@ -30,7 +30,7 @@ while True:
|
|||
net_recv_after = psutil.net_io_counters().bytes_recv
|
||||
|
||||
data = {
|
||||
'UUID': uuid,
|
||||
'SN': sn,
|
||||
'CPU_PERCENT': cpu_percent,
|
||||
'MEM_PERCENT': mem_percent,
|
||||
'DISK_PERCENT': disk_percent,
|
||||
|
|
Loading…
Reference in New Issue