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.

    Which modules with Home Assistant currently work?

    Scheduled Pinned Locked Moved General Discussion
    39 Posts 7 Posters 17.8k Views 9 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.
    • S Offline
      sdetweil @iorifly
      last edited by

      @iorifly Will be in the terminal window, or pm2 logs output

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        I managed to solve !!! Connected !!! THANKS !!

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

          @iorifly what was it? Can’t keep us guessing!

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            I created another token (in HA). and replace in the module.

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

              but I will try to use this module. It seems to be more complete.

              https://github.com/leinich/MMM-homeassistant-sensors

              I will create another token in the Home assistant (HA) for him.

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

                actually this module is also working. That is,

                operational modules tested by me:

                MMM-HASS
                MMM-homeassistant-sensor

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Babene1 Project Sponsor
                  last edited by Babene1

                  i want to use the modul MMM-HASS
                  but i get the error in HA “Login attempt or request with invalid authentication from”
                  i use Home Assistant 0.116.2

                  here is my MM-Config from the Modul:

                  {
                             module: "MMM-HASS",
                             position: "top_left",
                             config: {
                                     host: "xxx.xxx.xxx.xxx",
                                     port: "8123",
                                     apipassword: "xxxxxx",
                                     hassiotoken: true,
                                     token: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                                     https: false,
                                     devices: [
                                     { deviceLabel: "Temp Test",
                                             deviceReadings: [
                                             { sensor: "sensor.temp1", icon: "wi wi-thermometer", suffix: "°"},
                                             { sensor: "sensor.temp1 _2", icon: "wi wi-humidity", suffix: "%"},
                                             ]
                                     },
                                     ]
                               }
                  

                  In MM:

                  Temp Test undefined°undefined%

                  Log from MM:

                  [2021-01-09 10:36:47.251] [LOG] { undefined: undefined, label: Temp Test }
                  [2021-01-09 10:37:47.408] [LOG] Request URL: http://xxx.xxx.xxx.xxx:8123/api/states/sensor. temp1?api_password= xxxxxx
                  [2021-01-09 10:37:47.408] [LOG] Request URL: http://xxx.xxx.xxx.xxx:8123/api/states/sensor. temp1_2?api_password= xxxxxx
                  [2021-01-09 10:37:47.524] [LOG] { undefined: undefined, label: Temp Test }

                  What I have to config in HA? Would be really grateful for tips

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    Babene1 Project Sponsor @Babene1
                    last edited by

                    Only for information, in case someone has the same problem.
                    The module works for me now, with the above configuration

                    I found the following articles: https://github.com/aserramonner/MMM-HASS/pull/13/commits/bd816304ba146ad84bce5cada65cb3416194aca7

                    I made these changes: In File „node_helper.js“ von MMM-HASS

                    row 130 changed in:

                    post_options.headers = { 'Authorization' : 'Bearer ' + config.token };
                    

                    row 176 changed in:

                    get_options.headers = { 'Authorization' : 'Bearer ' + config.token };
                    
                    Coolie1101C 1 Reply Last reply Reply Quote 0
                    • Coolie1101C Offline
                      Coolie1101 @Babene1
                      last edited by

                      @babene1 Hey, I followed your setup instructions but still get undefined for the sensors, any ideas?

                      Config

                                      {
                                              module: "MMM-HASS",
                                              position: "top_right",
                                              config: {
                                                      host: "hass_ip",
                                                      port: "8123",
                                                      apipassword: "hass_api_password",
                                                      hassiotoken: "true",
                                                      token: "hass_token_for_MMM-HASS"                                
                                                      https: false,
                                                      devices: [
                                                      { deviceLabel: "Interior",
                                                              deviceReadings: [
                                                              { sensor: "sensor.living_room_thermostat_temperature"},
                                                              { sensor: "sensor.living_room_ac_temperature"}
                                                              ]
                                                      },
                                                      ]
                                              }
                                      },
                      
                      
                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        Babene1 Project Sponsor @Coolie1101
                        last edited by

                        @coolie1101 do you make changes in „node_helper.js“ from MMM-HASS?

                        Coolie1101C 1 Reply Last reply Reply Quote 0
                        • Coolie1101C Offline
                          Coolie1101 @Babene1
                          last edited by

                          @babene1 yes

                          B 1 Reply Last reply Reply Quote 0
                          • B Offline
                            Babene1 Project Sponsor @Coolie1101
                            last edited by

                            @coolie1101 do you have an error entry in the home assistant log?

                            Coolie1101C 1 Reply Last reply Reply Quote 0
                            • Coolie1101C Offline
                              Coolie1101 @Babene1
                              last edited by

                              @babene1 No, no errors, in HA.

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1
                              • 2
                              • 2 / 2
                              • 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