Read the statement by Michael Teeuw here.
MMM-homeassistant-sensors no icons after MM upgrade to 2.19.0
-
@karsten13
Ok, tried this new config, but it does not change anything. :-( -
I tried this(in the brackets)
default": "http://mm_url:8080/cors?url=http://ha_url:8123/media/borrmi.png but this doesn’t work. :-(
can i also use a local path on my mm instead? (e.g. ‘~/MagicMirror/pictures/person.png’)
-
@borrmi said in MMM-homeassistant-sensors no icons after MM upgrade to 2.19.0:
http://ha_url:8123/media/borrmi.png
does that work from a browser or curl on the system running MagicMirror?
curl -sL http://ha_url:8123/media/borrmi.png >borrmi.png
-
@sdetweil said in MMM-homeassistant-sensors no icons after MM upgrade to 2.19.0:
curl -sL http://ha_url:8123/media/borrmi.png >borrmi.png
no “404: Not Found”
-
@borrmi u replaced ha_url with the right value, correct?
-
@sdetweil yes. My ha is under 192.168.2.100 and reachable via Browser(8123) and also in ssh
-
@borrmi ok, I just copy/pasted your url…
if it says 404, then thats the wrong URL to get the image
http://192.168.2.100:8123/
is right… its the rest that is not
-
@sdetweil
i checked the ha path via ssh
the pictures are in /media.
should i put them in another directory (e.g. /home/borrmi/pictures) -
@borrmi i have no idea where ha server makes them available to outside the ha machine consumers…
what did u have before this latest MM update?
-
nothing, it is a new installation. first time with a running ha instance in the house
funfact:
in a browser on my pc i can see the pictures with only
{ sensor: "person.borrmi", name: "Borrmi ist %v%", displayvalue: false, replace: [{ "home": "zu Hause", "not_home": "nicht zu Hause", } ] },