diff --git a/miflora-mqtt-daemon.py b/miflora-mqtt-daemon.py index dfc3f8b..41e0604 100755 --- a/miflora-mqtt-daemon.py +++ b/miflora-mqtt-daemon.py @@ -23,7 +23,8 @@ project_name = 'Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon' project_url = 'https://github.com/ThomDietrich/miflora-mqtt-daemon' sensor_type_miflora = "Mi Flora" -sensor_type_mitempbt = "Mi Temp & Humidity" +sensor_type_mitempbt = "Mi Smart Temperature & Humidity" + miflora_parameters = OrderedDict([ (MI_LIGHT, dict(name="LightIntensity", name_pretty='Sunlight Intensity', typeformat='%d', unit='lux', device_class="illuminance")), (MI_TEMPERATURE, dict(name="AirTemperature", name_pretty='Air Temperature', typeformat='%.1f', unit='°C', device_class="temperature")), diff --git a/requirements.txt b/requirements.txt index 8717c2f..39ee074 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,5 @@ wheel==0.29.0 sdnotify==0.3.1 colorama==0.3.9 Unidecode==0.4.21 +bluepy==1.3.0 +mitemp-bt==0.0.1 \ No newline at end of file