1
0
Fork 0

새 시스템으로 적용

This commit is contained in:
Sangbum Kim 2017-10-22 17:43:45 +09:00
parent 52db18af21
commit 27f5c49aec
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
from mirobo.airpurifier import AirPurifier, OperationMode, LedBrightness
from miio.airpurifier import AirPurifier, OperationMode, LedBrightness
from collections import namedtuple
from datetime import datetime
import time
@ -35,7 +35,7 @@ if __name__ == '__main__':
metric = InfluxDBClient('db', database='core',
use_udp=True, udp_port=8089)
dev = AirPurifier('10.0.1.13', '7e538c9fb31f6f6bfcc3354f46c421ca')
dev = AirPurifier('air', '6e1e05b87d9f7cd10a3f8f43616896fa')
tags = {
'source': 'mi_air_2',
'position': 'center_room',

View File

@ -1,3 +1,3 @@
https://github.com/rytilahti/python-mirobo/archive/master.zip
https://github.com/rytilahti/python-miio/archive/master.zip
influxdb
git+https://github.com/systemd/python-systemd.git#egg=systemd