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
    13 Posts 2 Posters 37 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 Offline
      sdetweil @ChrisKelley
      last edited by

      @ChrisKelley can you show the end of the error—- build lines

      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

        Lets see if this is better… When I hit the </> button it moves half the code hard right…

        @sde/home/chris/.pm2/logs/MagicMirror-error.log last 15 lines:
        0|MagicMir | [2025-12-03 15:00:35.444] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | /home/chris/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
        0|MagicMir | [2025-12-03 15:00:52.085] [WARN] You’re using a full whitelist con figuration to allow for all IPs
        0|MagicMir | [2025-12-03 15:00:55.458] [ERROR] [MMM-Remote-Control] Could not fi nd main module js file for MMM-homeassistant-sensors-old
        0|MagicMir | [2025-12-03 15:01:35.732] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:02:35.439] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:03:35.542] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:04:35.450] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:05:35.449] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:06:35.564] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:07:35.437] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:08:35.680] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:09:35.585] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:10:35.488] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        0|MagicMir | [2025-12-03 15:11:36.010] [ERROR] MMM-homeassistant-sensors - build Url: http://homeassistant.local:8123/api/states
        tweil

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

          @ChrisKelley did you change the config to .local??

          Can you ping that from the MagicMirror system

          i have grandson duty for 2 hours now
          Then I will install that module

          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

            Yep that works…

            chris@MagicMirror:~ $ ping 10.10.28.134
            PING 10.10.28.134 (10.10.28.134) 56(84) bytes of data.
            64 bytes from 10.10.28.134: icmp_seq=1 ttl=64 time=0.027 ms
            64 bytes from 10.10.28.134: icmp_seq=2 ttl=64 time=0.032 ms
            64 bytes from 10.10.28.134: icmp_seq=3 ttl=64 time=0.029 ms
            64 bytes from 10.10.28.134: icmp_seq=4 ttl=64 time=0.062 ms
            64 bytes from 10.10.28.134: icmp_seq=5 ttl=64 time=0.036 ms
            64 bytes from 10.10.28.134: icmp_seq=6 ttl=64 time=0.035 ms
            64 bytes from 10.10.28.134: icmp_seq=7 ttl=64 time=0.022 ms
            64 bytes from 10.10.28.134: icmp_seq=8 ttl=64 time=0.022 ms
            64 bytes from 10.10.28.134: icmp_seq=9 ttl=64 time=0.025 ms
            64 bytes from 10.10.28.134: icmp_seq=10 ttl=64 time=0.025 ms

            code_text
            
            S C 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @ChrisKelley
              last edited by

              @ChrisKelley ping by name?

              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 @ChrisKelley
                last edited by

                Yep sorry that makes more sense

                chris@MagicMirror:~ $ ping homeassistant.local
                PING homeassistant.local (10.10.28.211) 56(84) bytes of data.
                64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=1 ttl=64 time=2.91 ms
                64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=2 ttl=64 time=3.81 ms
                64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=3 ttl=64 time=4.07 ms
                64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=4 ttl=64 time=3.88 ms
                64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=5 ttl=64 time=1.18 ms
                64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=6 ttl=64 time=3.95 ms
                64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=7 ttl=64 time=4.10 ms
                64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=8 ttl=64 time=1.52 ms

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @ChrisKelley
                  last edited by

                  @ChrisKelley no issue, it’s useful as we know it generates the same address

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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