MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-homeassistant-sensors no icons after MM upgrade to 2.19.0

    Scheduled Pinned Locked Moved Solved Troubleshooting
    38 Posts 5 Posters 12.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wmx
      last edited by wmx

      @Snille said in MMM-homeassistant-sensors no icons after MM upgrade to 2.19.0:

        icons: [{
        	"default": "https://www.snille.net/img/magicmirror/users/jane.png"
        }]
      

      (think in the example there is one closing bracket missing “]”)

      Had the time right now to test this one issue. I insertet the URL to the image from ha :-) (which is a static one here)

      http://<my-ha-url>:8123/local/images/hem.png
      

      but after restart of MM the problem still exists.

      karsten13K 1 Reply Last reply Reply Quote 0
      • karsten13K Offline
        karsten13 @wmx
        last edited by

        @wmx

        should be

        icons: [{
          "default": "http://localhost:8080/cors?url=http://<my-ha-url>:8123/local/images/hem.png"
        }]
        
        1 Reply Last reply Reply Quote 1
        • W Offline
          wmx
          last edited by

          @karsten13
          Ok, tried this new config, but it does not change anything. :-(

          1 Reply Last reply Reply Quote 0
          • B Offline
            borrmi @Snille
            last edited by borrmi

            @karsten13

            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’)

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @borrmi
              last edited by

              @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
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                borrmi @sdetweil
                last edited by

                @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”

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @borrmi
                  last edited by

                  @borrmi u replaced ha_url with the right value, correct?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    borrmi @sdetweil
                    last edited by

                    @sdetweil yes. My ha is under 192.168.2.100 and reachable via Browser(8123) and also in ssh

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @borrmi
                      last edited by

                      @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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        borrmi @sdetweil
                        last edited by

                        @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)

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 2 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy