Skip to content

Map calibration in FloleVac

Piotr Machowski edited this page Feb 12, 2020 · 5 revisions

Preparation

  1. Install and configure FloleVac application on your Android device
  2. Make sure you have an image editor installed on your PC
  3. Download and open this calibration spreadsheet (it is also compatible with Google Docs) flole_0

FloleVac

  1. Open a map view
  2. Select a "Zoned cleanup" mode
  3. Draw a zone covering whole map flole_1
  4. Take a screenshot of a whole map
  5. Hold a "Cleanup" button to copy zones coordinates to a clipboard. Example result: [[21628,25321,36028,31971,1]]
  6. Paste copied coordinates in "Zone - FloleVac" row of the calibration spreadsheet
  7. Check approximated coordinates of three corners of the zone drawn in previous step:
    1. Select a "Go" mode
    2. Mark a point near the chosen corner
      1. flole_2
      2. flole_3
      3. flole_4
    3. Hold a "Go there" button to copy points coordinates to a clipboard
      1. Example result a: [21800,31800]
      2. Example result b: [21800,25250]
      3. Example result c: [35800,25450]
    4. Paste copied coordinates in corresponding rows of the calibration spreadsheet ("Point a - FloleVac", etc.)

Gimp

  1. Open the screenshot of a map taken at point 4 in an image editor (e.g. GIMP or Paint)
  2. Crop it according to your requirements flole_6
  3. Check coordinates of corners chosen in step 7 of FloleVac section flole_7
  4. Write pairs of coordinates in correct format ([x,y]) to corresponding rows of the calibration spreadsheet ("Corner a - GIMP", etc.).

Once all 7 rows of calibration spreadsheet are filled with correct values you can copy cards calibration to Home Assistant.

calibration_points:
  - vacuum:
      x: 21628
      y: 31971
    map:
      x: 47
      y: 98
  - vacuum:
      x: 21628
      y: 25321
    map:
      x: 47
      y: 665
  - vacuum:
      x: 36028
      y: 25321
    map:
      x: 1278
      y: 665
Clone this wiki locally