diff --git a/camera/vacuum.yaml b/camera/vacuum.yaml index 34ee2c7..3f3623c 100644 --- a/camera/vacuum.yaml +++ b/camera/vacuum.yaml @@ -1,35 +1,35 @@ - - platform: xiaomi_cloud_map_extractor - host: 10.0.1.103 - token: 42464e4350587248734d6c7a66697742 - username: rolf@fambagge.dk - password: J-zyGAaVGdh-UZlC - country: de - draw: ['all'] - scan_interval: 10 - colors: - color_map_outside: [19, 87, 148] - color_grey_wall: [19, 87, 148] - room_colors: - #Outside rooms:26,1,19 - 1: [19, 87, 148] - 19: [19, 87, 148] - 26: [19, 87, 148] - #Room numbers: 18,23,22,20,16,24,25,21,17 - 18: [240, 178, 122] - 23: [133, 193, 233] - 22: [217, 136, 128] - 20: [52, 152, 219] - 16: [205, 97, 85] - 24: [243, 156, 18] - 25: [88, 214, 141] - 21: [245, 176, 65] - 17: [252, 212, 81] - map_transformation: - trim: - top: 20 - bottom: 22 - left: 15 - right: 17 - attributes: - - calibration_points - - vacuum_position +- platform: xiaomi_cloud_map_extractor + host: 10.0.1.103 + token: !secret xiao_ming_token + username: !secret xiaomi_user + password: !secret xiaomi_password + country: de + draw: ["all"] + scan_interval: 10 + colors: + color_map_outside: [19, 87, 148] + color_grey_wall: [19, 87, 148] + room_colors: + #Outside rooms:26,1,19 + 1: [19, 87, 148] + 19: [19, 87, 148] + 26: [19, 87, 148] + #Room numbers: 18,23,22,20,16,24,25,21,17 + 18: [240, 178, 122] + 23: [133, 193, 233] + 22: [217, 136, 128] + 20: [52, 152, 219] + 16: [205, 97, 85] + 24: [243, 156, 18] + 25: [88, 214, 141] + 21: [245, 176, 65] + 17: [252, 212, 81] + map_transformation: + trim: + top: 20 + bottom: 22 + left: 15 + right: 17 + attributes: + - calibration_points + - vacuum_position diff --git a/configuration.yaml b/configuration.yaml index 90e320a..3027844 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -109,6 +109,13 @@ stecamonitor: ip: 10.0.1.4 +fan: + - platform: xiaomi_miio_airpurifier + name: Smartmi Evaporative Humidifier + host: 10.0.1.226 + token: !secret xiaomi_humidifier1_token + model: zhimi.humidifier.cb1 + scrape: - resource: https://www.aarhusvand.dk/privat/priser/ scan_interval: 604800