diff --git a/main.py b/main.py index 452be6d..27cfe70 100644 --- a/main.py +++ b/main.py @@ -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', diff --git a/requirements.txt b/requirements.txt index 2d387f4..dd695ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 \ No newline at end of file