diff --git a/configuration.yaml b/configuration.yaml index 42a4924..5c1eab8 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -29,7 +29,6 @@ influxdb: max_retries: 3 default_measurement: state - # Obývák / hlavní světlo light: - platform: group @@ -40,3 +39,12 @@ light: - light.0x84fd27fffe80415b - light.0x84fd27fffed7b8a4 +camera: + - platform: xiaomi_cloud_map_extractor + host: 192.168.88.22 + token: !secret xiaomi_vacuum_token + username: !secret xiaomi_cloud_username + password: !secret xiaomi_cloud_password + draw: ["all"] + attributes: + - calibration_points diff --git a/secrets.yaml b/secrets.yaml index c5b900c..5888261 100644 --- a/secrets.yaml +++ b/secrets.yaml @@ -2,3 +2,7 @@ # Use this file to store secrets like usernames and passwords. # Learn more at https://www.home-assistant.io/docs/configuration/secrets/ some_password: welcome + +xiaomi_vacuum_token: 54553270474f35576e55325450506261 +xiaomi_cloud_username: habad@hotmail.cz +xiaomi_cloud_password: Maska.MiAccount