1
0
Fork 0

브로드케스트 도메인이 달라 그냥 지정

This commit is contained in:
Sangbum Kim 2017-10-22 19:10:17 +09:00
parent 8e0beec40f
commit 5529816d3c
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ if __name__ == '__main__':
metric = InfluxDBClient('db', database='core', metric = InfluxDBClient('db', database='core',
use_udp=True, udp_port=8089) 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')
tags = { tags = {
'source': 'mi_air_2', 'source': 'mi_air_2',
'position': 'center_room', 'position': 'center_room',