Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Map size different to Valetudo-Mapper Hassio-Addon and "normal" Docker #466

Open
thundergreen opened this issue Sep 11, 2021 · 0 comments

Comments

@thundergreen
Copy link
Contributor

thundergreen commented Sep 11, 2021

Describe the bug

When i install Valetudo Mapper via docker (not Hassio-Addon) my Map is small than the Hassio addon
How to Reproduce

Steps to reproduce the behavior:

  1. start docker container with config file (I use docker-compose.yaml)
  2. camera is added to Home-Assistant but smaller
  3. Both site codes (Lovelace) are identical!

Expected behavior

Both camera Images should be the same size

Screenshots

With Valetudo Mapper Hassio-Addon:

image

With Valetudo-Mapper "normal" Docker run

image

Vacuum Model:
Gen1
Valetudo Version:
latest Docker Image
User-Agent

Additional context

My config file:

{
  "mqtt": {
    "identifier": "upstairs",
    "topicPrefix": "valetudo",
    "autoconfPrefix": "homeassistant",
    "broker_url": "mqtt://hass:[email protected]:1883",
    "caPath": "",
    "mapDataTopic": "valetudo/upstairs/map_data",
    "minMillisecondsBetweenMapUpdates": 10000,
    "publishMapImage": true,
    "publishMapData": true
  },
  "mapSettings": {
    "colors": {
      "background": "#33a1f5",
      "background2": "#046cd4",
      "floor": "#56affc",
      "obstacle_strong": "#a1dbff",
      "path": "white",
      "forbidden_marker": "red",
      "forbidden_zone": "rgba(255, 0, 0, 0.38)",
      "cleaned_marker": "rgba(53, 125, 46, 1.0)",
      "cleaned_zone": "rgba(107, 244, 66, 0.3)",
      "cleaned_block": "rgba(107, 244, 36, 0.34)"
    },
    "drawPath": true,
    "drawCharger": true,
    "drawRobot": true,
    "drawCurrentlyCleanedZones": true,
    "drawCurrentlyCleanedBlocks": true,
    "drawForbiddenZones": true,
    "drawVirtualWalls": true,
    "scale": 4,
    "gradientBackground": false,
    "autoCrop": 20
  },
  "webserver": {
    "enabled": true,
    "port": 3000
  }

My Docker-compose.yaml:

---
version: "2.1"
services:
  valetudo-mapper:
    image: rand256/valetudo-mapper
    container_name: valetudo-mapper
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
    volumes:
      - /media/hassio/Storage/Docker/Valetudo-Mapper/config.json:/app/config.json
    ports:
      - 4050:3000
    restart: unless-stopped
@thundergreen thundergreen changed the title [Question] Map size different to Valetudo mapper hassio affon and "normal" Docker [Question] Map size different to Valetudo mapper Hassio-Addon and "normal" Docker Sep 11, 2021
@thundergreen thundergreen changed the title [Question] Map size different to Valetudo mapper Hassio-Addon and "normal" Docker [Question] Map size different to Valetudo-Mapper Hassio-Addon and "normal" Docker Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant