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 stopped working after HA 2021.10 update

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    9 Posts 4 Posters 1.5k 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.
    • I Offline
      Ivanov_d
      last edited by

      Has anyone figured out how to fix MMM-homeassistant-sensors to work with HA 2021.10 version?

      I believe that the module was using API Discovery which is now deprecated:

      The API endpoint /api/discovery_info now only return blank values. This endpoint is scheduled to be removed in Home Assistant Core 2022.1.
      
      As a regular user of Home Assistant, this change should not affect you.
      
      (@ludeeus - #56097) (api docs)
      

      https://www.home-assistant.io/blog/2021/10/06/release-202110/#breaking-changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        JohnBachini
        last edited by

        yep, I’m holding off updating homeassistant so this doesn’t happen…

        @Snille

        1 Reply Last reply Reply Quote 0
        • I Offline
          Ivanov_d
          last edited by

          Yeah, but the new versions of HA have some nice features and improvements and it is a shame that the MMM module is not being updated to support the new authentication methods.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            asifnabi @Ivanov_d
            last edited by

            @ivanov_d that sucks! I just installed the module and learned it outdated

            SnilleS 1 Reply Last reply Reply Quote 0
            • SnilleS Offline
              Snille Module Developer @asifnabi
              last edited by

              @asifnabi Where are you getting the errors?
              I’m on Core Version core-2022.2.8 and Supervisor Version supervisor-2022.01.1 and it works.

              If you cant find it, make it and share it!
              Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

              A 1 Reply Last reply Reply Quote 1
              • A Offline
                asifnabi @Snille
                last edited by asifnabi

                @snille i get fetching error. I am using duckdns to access locally so got rid of port option, is that why I’m getting this error?

                SnilleS 1 Reply Last reply Reply Quote 0
                • SnilleS Offline
                  Snille Module Developer @asifnabi
                  last edited by

                  @asifnabi Hi, if you don’t specify the port, it will default to port 8123. And if you are using ssl (https) you need the port to be set to 443. Otherwise it will not work.

                  So, either do not use ssl (https) and you can skip the port option (because it will default to 8123).
                  Or use ssl (https) but then you need to specify the port option to 443.

                  Both options are working for me at least. I hope this clarify things…

                  If you cant find it, make it and share it!
                  Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                  A 1 Reply Last reply Reply Quote 1
                  • A Offline
                    asifnabi @Snille
                    last edited by

                    @snille thank you! That solved my problem. It’s now streaming data from HA. I have a question, can I achieve something like this with your module? I’m talking about Mail & Package section. Can it fetch image like that?
                    https://external-preview.redd.it/lLLFj9rtFIFLirIsy_FHfVMFAzpSXYbWuzE1K-ffOnk.jpg?auto=webp&s=ed704cfe952efe5a53ddcf81490617c639920286

                    SnilleS 1 Reply Last reply Reply Quote 0
                    • SnilleS Offline
                      Snille Module Developer @asifnabi
                      last edited by

                      @asifnabi Hi, not with my module “only”, but if you have the information in HA, you can get it to the mirror using my module. I also believe there are modules that do fetch package data to the mirror directly, I just have not used any. :)
                      Take a look here: https://github.com/MichMich/MagicMirror/wiki/3rd-Party-Modules

                      If you cant find it, make it and share it!
                      Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • 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