Hypfer / ICantBelieveItsNotValetudo

A Valetudo companion service which renders maps to pngs
Apache License 2.0
129 stars 80 forks source link

help with configuration #87

Closed pcace closed 1 year ago

pcace commented 1 year ago

Hi there,

i am trying to find some information about how to config, but without any luck. i think i am having wrong informations in the config - maybe someone could point me in the right direction what i am doing wrong here? this is the config:

{
  "mapSettings": {
    "drawPath": true,
    "drawCharger": true,
    "drawRobot": true,
    "scale": 2,
    "rotate": 0,
    "colors": {
      "floor": "#0076ff",
      "obstacle": "#52aeff",
      "path": "#ffffff"
    }
  },
  "mqtt": {
    "identifier": "saubStauger,
    "topicPrefix": "valetudo",
    "autoconfPrefix": "homeassistant",
    "broker_url": "mqtt://192.168.1.173:1883",
    "caPath": "",
    "mapDataTopic": "valetudo/saubStauger/MapData/map-data",
    "minMillisecondsBetweenMapUpdates": 10000,
    "publishMapImage": true,
    "publishAsBase64": false
  },
  "webserver": {
    "enabled": true,
    "port": 3000
  },
  "logLevel": "debug"
}

and this is mqtt:

Bildschirm­foto 2023-02-10 um 14 26 57

the problem is that i dont get an image on http://192.168.1.173:3000/api/map/image it just returns "not found" -> so server is up and running, but not finding any image?

Cheers and thanks a lot!

pcace commented 1 year ago

Ok, never mind - i had not enabled "Provide map data" in valentudo :/