diff --git a/camera/vacuum.yaml b/camera/vacuum.yaml new file mode 100644 index 0000000..34ee2c7 --- /dev/null +++ b/camera/vacuum.yaml @@ -0,0 +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 diff --git a/configuration.yaml b/configuration.yaml index 81ef125..97de051 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -71,42 +71,7 @@ sp_key: 009ec0de-b75e-4c62-aaad-c2a67074e1bb country: DK -camera: - - 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 +camera: !include_dir_merge_list camera/ influxdb: host: a0d7b954-influxdb