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.

    Home Assistant Sensor

    Scheduled Pinned Locked Moved Utilities
    17 Posts 2 Posters 267 Views 2 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 Do not disturb
      sdetweil @ChrisKelley
      last edited by

      @ChrisKelley so I installed, did npm install in the module folder
      here is my config , two sensors from my entities list in HA

      so now all I can think is your token string is bad…

            {
                module: 'MMM-homeassistant-sensors',
                position: 'top_left',
                classes: "page4",
                config: {
                  host: "homeassistant.local",
                  port: "8123",
                  https: false,
                  token: " my fresh token ",
                  values: [
                    {
                      sensor: "binary_sensor.athom_garage_door_status",
                    },
                    {
                      sensor: "sensor.foo_battery_percentage",
                    },
                  ]
                }
            },
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • C Offline
        ChrisKelley @sdetweil
        last edited by

        @sdetweil
        Sam
        Thank you for all the help… I tried deleting the token. I made a new token in HA and used that one still nothing… I deleted the module from MM and I will try again this afternoon. Which fork did you use for your test? There are at least two just want to make sure I use the same one as you did…
        Thanks
        Chris

        S 1 Reply Last reply Reply Quote 1
        • S Do not disturb
          sdetweil @ChrisKelley
          last edited by

          @ChrisKelley I used this one

          https://github.com/Snille/MMM-homeassistant-sensors.git

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            ChrisKelley @sdetweil
            last edited by

            @sdetweil

            SAM!!!
            Thank You!! It works… I was using a different fork then the one you used… plus I think my sensor strings were malformed. but all good now!

            Thank You Again!

            S 1 Reply Last reply Reply Quote 1
            • S Do not disturb
              sdetweil @ChrisKelley
              last edited by

              @ChrisKelley woohoo… great news… thanks for the feedback!!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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