Newer
Older
homeassistant_config / camera / vacuum.yaml
@root root on 30 Aug 2022 909 bytes Moved camera vacuum into own yaml
  - 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