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 15.1k 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.
    • I Offline
      iorifly
      last edited by iorifly

      I am having the following problem with him.

      pi@raspberrypi:~/MagicMirror $ ^C
      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.10.0 start /home/pi/MagicMirror
      > ./run-start.sh
      
      [21:26:31.205] [LOG] Starting MagicMirror: v2.10.0
      [21:26:31.239] [LOG] Loading config ...
      [21:26:31.258] [LOG] Loading module helpers ...
      [21:26:31.265] [LOG] No helper found for module: alert.
      [21:26:31.449] [LOG] Initializing new module helper ...
      [21:26:31.452] [LOG] Module helper loaded: updatenotification
      [21:26:31.457] [LOG] No helper found for module: clock.
      [21:26:32.663] [LOG] Initializing new module helper ...
      [21:26:32.665] [LOG] Module helper loaded: MMM-Screencast
      [21:26:34.035] [LOG] Initializing new module helper ...
      [21:26:34.037] [LOG] Module helper loaded: calendar
      [21:26:34.039] [LOG] No helper found for module: compliments.
      [21:26:35.266] [LOG] Initializing new module helper ...
      [21:26:35.268] [LOG] Module helper loaded: MMM-DarkSkyForecast
      [21:26:35.410] [LOG] Initializing new module helper ...
      [21:26:35.412] [LOG] Module helper loaded: newsfeed
      [21:26:35.524] [LOG] Initializing new module helper ...
      [21:26:35.526] [LOG] Module helper loaded: MMM-HASS
      [21:26:35.529] [LOG] All module helpers loaded.
      [21:26:35.534] [LOG] Starting server on port 8080 ...
      [21:26:35.643] [LOG] Server started ...
      [21:26:35.649] [LOG] Connecting socket for: updatenotification
      [21:26:35.654] [LOG] Connecting socket for: MMM-Screencast
      [21:26:35.659] [LOG] Connecting socket for: calendar
      [21:26:35.663] [LOG] Starting node helper for: calendar
      [21:26:35.669] [LOG] Connecting socket for: MMM-DarkSkyForecast
      [21:26:35.675] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
      [21:26:35.681] [LOG] Connecting socket for: newsfeed
      [21:26:35.686] [LOG] Starting module: newsfeed
      [21:26:35.689] [LOG] Connecting socket for: MMM-HASS
      [21:26:35.693] [LOG] Sockets connected & modules started ...
      [21:26:35.696] [LOG]
      Ready to go! Please point your browser to: http://localhost:8080
      Starting chromium browser now, have patience, it takes a minute
       --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version=
      events.js:174
            throw er; // Unhandled 'error' event
            ^
      
      Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
          at doWrite (_stream_writable.js:411:19)
          at writeOrBuffer (_stream_writable.js:399:5)
          at Socket.Writable.write (_stream_writable.js:299:11)
          at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
          at process.<anonymous> (/home/pi/MagicMirror/js/app.js:40:10)
          at process.emit (events.js:198:13)
          at process._fatalException (internal/bootstrap/node.js:497:27)
      ^C
      pi@raspberrypi:~/MagicMirror $
      

      load MM, but all modules have msg of loading …

      NOTE: I was missing. Because I was without internet for 05 days.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dvbit @iorifly
        last edited by

        what prevents you to prepare a dedicated hass lovelace tab and display that with module smartwebdisplay?

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

          @dvbit said in Which modules with Home Assistant currently work?:

          smartwebdisplay

          I don’t know this module (smartwebdisplay). And I already have a lovelace on my tablet.

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

            @cyberphox said in Which modules with Home Assistant currently work?:

            You are using:
            https://github.com/leinich/MMM-homeassistant-sensors

            I said this one works:

            https://github.com/aserramonner/MMM-HASS

            It’s not working either.

            https://forum.magicmirror.builders/topic/12014/erro-mmm-hass/4

            C 1 Reply Last reply Reply Quote 0
            • C Online
              cyberphox @iorifly
              last edited by

              @iorifly What is not working? Your MagicMirror itself?
              Or can you just not add this module?

              Does your Mirror work fine without this module loaded?

              Full time Dad, DJ and entertainer and lover of technology.

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

                @cyberphox his problem in unrelated to module. I am debugging

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Reply Quote 1
                • C Online
                  cyberphox @sdetweil
                  last edited by

                  @sdetweil I figured it might not be!
                  Thanks!!! You rock as always

                  Full time Dad, DJ and entertainer and lover of technology.

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

                    @cyberphox

                    Yes, my mirror works perfectly without the module.

                    I have some topics here. look at my problems:

                    https://forum.magicmirror.builders/topic/12014/erro-mmm-hass/4

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

                      @iorifly fix reported in other topic

                      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 iorifly

                        With the help of @sdetweil , I was able to solve problems with MM.

                        Now I am having trouble accessing HA with MMM-HASS.

                        If anyone can help I will be happy.

                        alt text

                        My HA configuration looks like this configuration.yam:

                        homeassistant:
                          whitelist_external_dirs:
                            - /tmp
                            - /config/temp/
                          auth_providers:
                              - type: legacy_api_password
                                api_password: "juere3027"
                          
                              - type: trusted_networks
                                trusted_networks:
                                  - 192.168.1.0/24
                                  - 127.0.0.1
                                  - ::1
                                allow_bypass_login: true
                              - type: homeassistant
                        

                        config.js

                        {
                                        module: "MMM-HASS",
                                        position: "middle_center",
                                        config: {
                                                host: "192.168.1.158",
                                                port: "8123",
                                                apipassword: "juere3027",
                                                hassiotoken: true,
                                                https: false,
                                                devices: [
                                                { deviceLabel: "Quintal",
                                                        deviceReadings: [
                                                        { sensor: "sensor.caixa_dagua", icon: "mdi:waves", suffix: "%"}
                                                        
                                                        ]
                                                  }
                                                
                                                       ]
                                                }       
                                
                                     },
                        

                        The mirror executes loads the other modules, but HASS does not load. I have the following output:

                        > magicmirror@2.10.1 start /home/pi/MagicMirror
                        > ./run-start.sh
                        
                        [22:26:04.896] [LOG] Starting MagicMirror: v2.10.1
                        [22:26:04.931] [LOG] Loading config ...
                        [22:26:04.951] [LOG] Loading module helpers ...
                        [22:26:04.959] [LOG] No helper found for module: alert.
                        [22:26:05.139] [LOG] Initializing new module helper ...
                        [22:26:05.146] [LOG] Module helper loaded: updatenotification
                        [22:26:05.151] [LOG] No helper found for module: clock.
                        [22:26:06.647] [LOG] Initializing new module helper ...
                        [22:26:06.650] [LOG] Module helper loaded: calendar
                        [22:26:06.653] [LOG] No helper found for module: compliments.
                        [22:26:07.888] [LOG] Initializing new module helper ...
                        [22:26:07.890] [LOG] Module helper loaded: MMM-DarkSkyForecast
                        [22:26:08.030] [LOG] Initializing new module helper ...
                        [22:26:08.035] [LOG] Module helper loaded: newsfeed
                        [22:26:08.129] [LOG] Initializing new module helper ...
                        [22:26:08.133] [LOG] Module helper loaded: MMM-HASS
                        [22:26:08.137] [LOG] All module helpers loaded.
                        [22:26:08.143] [LOG] Starting server on port 8080 ...
                        [22:26:08.251] [LOG] Server started ...
                        [22:26:08.256] [LOG] Connecting socket for: updatenotification
                        [22:26:08.261] [LOG] Connecting socket for: calendar
                        [22:26:08.265] [LOG] Starting node helper for: calendar
                        [22:26:08.268] [LOG] Connecting socket for: MMM-DarkSkyForecast
                        [22:26:08.271] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
                        [22:26:08.275] [LOG] Connecting socket for: newsfeed
                        [22:26:08.278] [LOG] Starting module: newsfeed
                        [22:26:08.282] [LOG] Connecting socket for: MMM-HASS
                        [22:26:08.288] [LOG] Sockets connected & modules started ...
                        [22:26:08.293] [LOG]
                        Ready to go! Please point your browser to: http://localhost:8080
                        Starting chromium browser now, have patience, it takes a minute
                        [22:26:08.451] [ERROR]  { Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
                            at Server.setupListenHandle [as _listen2] (net.js:1280:14)
                            at listenInCluster (net.js:1328:12)
                            at GetAddrInfoReqWrap.doListen [as callback] (net.js:1461:7)
                            at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:61:10)
                          code: 'EADDRINUSE',
                          errno: 'EADDRINUSE',
                          syscall: 'listen',
                          address: '127.0.0.1',
                          port: 8080 }
                        [22:26:08.444] [LOG]    Whoops! There was an uncaught exception...
                        [22:26:08.510] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        [22:26:08.512] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                         --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version=
                        [22:26:22.272] [LOG]    Use existing news fetcher for url: https://noticias.r7.com/rio-de-janeiro/feed.xml
                        [22:26:22.303] [LOG]    Request URL: http://192.168.1.158:8123/api/states/sensor.caixa_dagua?api_password=juere3027
                        [22:26:22.388] [LOG]    { undefined: undefined, label: 'Quintal' }
                        
                        
                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 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