token changed
This commit is contained in:
parent
bf7acafbb1
commit
fca4ed9426
2
main.py
2
main.py
|
@ -81,7 +81,7 @@ if __name__ == '__main__':
|
||||||
metric = InfluxDBClient('db', database='core', use_udp=True, udp_port=8089)
|
metric = InfluxDBClient('db', database='core', use_udp=True, udp_port=8089)
|
||||||
air_addr = socket.gethostbyname("air")
|
air_addr = socket.gethostbyname("air")
|
||||||
# dev = create_device(air_addr, AirPurifier)
|
# dev = create_device(air_addr, AirPurifier)
|
||||||
dev = AirPurifier(air_addr, '6e1e05b87d9f7cd10a3f8f43616896fa')
|
dev = AirPurifier(air_addr, 'b370cd7d111f74949f2cc7023d9c3bea')
|
||||||
|
|
||||||
signal.signal(signal.SIGTERM, signal_handler)
|
signal.signal(signal.SIGTERM, signal_handler)
|
||||||
signal.signal(signal.SIGINT, signal_handler)
|
signal.signal(signal.SIGINT, signal_handler)
|
||||||
|
|
Loading…
Reference in New Issue