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.

    Netatmo module will not shown

    Scheduled Pinned Locked Moved Solved Troubleshooting
    40 Posts 5 Posters 4.9k Views 5 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.
    • D Offline
      det
      last edited by

      @kusselin
      Also check that your registration is correct. Make sure you have a current “token.js”.

      kusselinK 2 Replies Last reply Reply Quote 0
      • kusselinK Offline
        kusselin @rkorell
        last edited by

        @rkorell said in Netatmo module will not shown:

        @kusselin Are there any error messages?
        Check log as well as dev-console …
        “Netatmo load” could be an indicator that module stucks in the middle of nowhere…

        Regards,
        Ralf

        Hello, thank you for the information.
        Here from the console in Mozilla Firefox with the F12 key

        Initializing MagicMirror². main.js:582:8
        Bootstrapping module: alert loader.js:151:7
        Bootstrapping module: updatenotification loader.js:151:7
        Bootstrapping module: clock loader.js:151:7
        Bootstrapping module: calendar loader.js:151:7
        Bootstrapping module: compliments loader.js:151:7
        Bootstrapping module: MMM-OpenmapWeather loader.js:151:7
        Bootstrapping module: netatmo loader.js:151:7
        Bootstrapping module: MMM-Blitzer loader.js:151:7
        Bootstrapping module: MMM-F1 loader.js:151:7
        Bootstrapping module: MMM-ApothekenNotdienst loader.js:151:7
        Bootstrapping module: MMM-ioBroker loader.js:151:7
        Bootstrapping module: MMM-Carousel loader.js:151:7
        Bootstrapping module: MMM-PublicTransportHafas loader.js:151:7
        Bootstrapping module: MMM-RNV loader.js:151:7
        Bootstrapping module: MMM-Fuel loader.js:151:7
        Bootstrapping module: MMM-Carousel loader.js:151:7
        Bootstrapping module: MMM-Remote-Control loader.js:151:7
        Bootstrapping module: newsfeed loader.js:151:7
        Starting module: alert alert.js:43:7
        Starting module: updatenotification updatenotification.js:19:7
        Starting module: clock clock.js:43:7
        Starting module: calendar calendar.js:96:7
        Starting module: compliments compliments.js:40:7
        Starting module: MMM-OpenmapWeather MMM-OpenmapWeather.js:127:7
        Starting module: netatmo netatmo.js:71:9
        Starting module: MMM-F1 MMM-F1.js:24:13
        Starting module: MMM-ApothekenNotdienst with identifier: module_10_MMM-ApothekenNotdienst MMM-ApothekenNotdienst.js:13:9
        Starting module: MMM-ioBroker MMM-ioBroker.js:52:9
        Starting module: MMM-Carousel with identifier: module_12_MMM-Carousel MMM-Carousel.js:99:9
        Starting module: MMM-PublicTransportHafas with identifier: module_13_MMM-PublicTransportHafas MMM-PublicTransportHafas.js:61:9
        Starting module: MMM-RNV MMM-RNV.js:14:664
        Starting module: MMM-Fuel MMM-Fuel.js:180:13
        Starting module: MMM-Carousel with identifier: module_16_MMM-Carousel MMM-Carousel.js:99:9
        Starting module: MMM-Remote-Control MMM-Remote-Control.js:22:9
        Starting module: newsfeed newsfeed.js:67:7
        All modules started! main.js:601:8
        sorting events count=0 calendar.js:704:7
        slicing events total maxcount=10 calendar.js:744:7
        sorting events count=63 calendar.js:704:7
        sorting events count=10 calendar.js:704:7
        slicing events total maxcount=10 calendar.js:744:7
        event fullday 10 calendar.js:506:12
        sorting events count=63 calendar.js:704:7
        sorting events count=10 calendar.js:704:7
        slicing events total maxcount=10 calendar.js:744:7
        event fullday 10 calendar.js:506:12
        
        

        Yes, I had them generate a token and ID for me on the developer page like on the Fenner github page.
        Do I have to name my devices like this? I have a wind sensor, rain sensor and an outdoor station. Is that correct with humidity etc…in English?

        1 Reply Last reply Reply Quote 0
        • kusselinK Offline
          kusselin @det
          last edited by kusselin

          @det said in Netatmo module will not shown:

          @kusselin
          Also check that your registration is correct. Make sure you have a current “token.js”.

          Yes, what should I check there…is clearly described…the ClientSecret, the refresh_token and the ClientID…
          the ID and the clientSecret are already there and the token can be generated with the “read station” in the selection.

          Do you also have netatmo running?

          Generally speaking, it’s already running, isn’t it?

          Where can i found the logs? under pm2 or npm?? i installed the MM from here in a proxmox container

          https://community-scripts.github.io/ProxmoxVE/scripts?id=magicmirror

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

            @kusselin so, where does the ui for this module run?

            are you doing npm run server in the container?

            this module depends on the ui running to kick off the helper

            you should see messages wherever you start MagicMirror

            npm start
            pm2 launches a script, which does nom start or npm run server
            then pm2 captures all the output

            in a docker/proxmox container you should see the output in the container logs

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            kusselinK 1 Reply Last reply Reply Quote 0
            • kusselinK Offline
              kusselin @sdetweil
              last edited by

              @sdetweil
              Thank you. I installed MM using the proxmox helpers script. When I restart MM, it always starts automatically

              look please…can you see what:

              root@magicmirror-live:/opt/magicmirror# npm run server
              
              > magicmirror@2.31.0 server
              > node ./serveronly
              
              [2025-04-25 19:25:22.927] [LOG]   Starting MagicMirror: v2.31.0
              [2025-04-25 19:25:22.939] [LOG]   Loading config ...
              [2025-04-25 19:25:22.940] [LOG]   config template file not exists, no envsubst
              [2025-04-25 19:25:23.250] [INFO]  Checking config file /opt/magicmirror/config/config.js ...
              [2025-04-25 19:25:23.343] [INFO]  Your configuration file doesn't contain syntax errors :)
              [2025-04-25 19:25:23.344] [INFO]  Checking modules structure configuration ...
              [2025-04-25 19:25:23.398] [INFO]  Your modules structure configuration doesn't contain errors :)
              [2025-04-25 19:25:23.787] [LOG]   Loading module helpers ...
              [2025-04-25 19:25:23.797] [LOG]   No helper found for module: alert.
              [2025-04-25 19:25:23.814] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:23.822] [LOG]   Module helper loaded: updatenotification
              [2025-04-25 19:25:23.822] [LOG]   No helper found for module: clock.
              [2025-04-25 19:25:24.047] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.047] [LOG]   Module helper loaded: calendar
              [2025-04-25 19:25:24.048] [LOG]   No helper found for module: compliments.
              [2025-04-25 19:25:24.048] [LOG]   No helper found for module: MMM-OpenmapWeather.
              [2025-04-25 19:25:24.052] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.052] [LOG]   Module helper loaded: netatmo
              [2025-04-25 19:25:24.053] [WARN]  No /opt/magicmirror/modules/MMM-OpenWeatherForecast/MMM-OpenWeatherForecast.js found for module: MMM-OpenWeatherForecast.
              [2025-04-25 19:25:24.053] [LOG]   No helper found for module: MMM-OpenWeatherForecast.
              [2025-04-25 19:25:24.053] [LOG]   No helper found for module: MMM-Blitzer.
              [2025-04-25 19:25:24.250] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.251] [LOG]   Module helper loaded: MMM-F1
              [2025-04-25 19:25:24.252] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.252] [LOG]   Module helper loaded: MMM-ApothekenNotdienst
              [2025-04-25 19:25:24.253] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.253] [LOG]   Module helper loaded: MMM-ioBroker
              [2025-04-25 19:25:24.253] [LOG]   No helper found for module: MMM-Carousel.
              [2025-04-25 19:25:24.256] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.263] [LOG]   Module helper loaded: MMM-PublicTransportHafas
              [2025-04-25 19:25:24.464] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.465] [LOG]   Module helper loaded: MMM-RNV
              [2025-04-25 19:25:24.465] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.466] [LOG]   Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.31.0
              [2025-04-25 19:25:24.466] [LOG]   Version is ok!
              [2025-04-25 19:25:24.466] [LOG]   Module helper loaded: MMM-Fuel
              [2025-04-25 19:25:24.494] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.495] [LOG]   Module helper loaded: MMM-Remote-Control
              [2025-04-25 19:25:24.544] [LOG]   Initializing new module helper ...
              [2025-04-25 19:25:24.545] [LOG]   Module helper loaded: newsfeed
              [2025-04-25 19:25:24.545] [LOG]   All module helpers loaded.
              [2025-04-25 19:25:24.549] [LOG]   Starting server on port 8080 ...
              [2025-04-25 19:25:24.550] [WARN]  You're using a full whitelist configuration to allow for all IPs
              [2025-04-25 19:25:24.561] [ERROR] Whoops! There was an uncaught exception...
              [2025-04-25 19:25:24.561] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
                  at Server.setupListenHandle [as _listen2] (node:net:1939:16)
                  at listenInCluster (node:net:1996:12)
                  at node:net:2205:7
                  at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
                code: 'EADDRINUSE',
                errno: -98,
                syscall: 'listen',
                address: '0.0.0.0',
                port: 8080
              }
              [2025-04-25 19:25:24.561] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              [2025-04-25 19:25:24.561] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
              [2025-04-25 19:25:24.648] [INFO]  System information:
              ### SYSTEM:   manufacturer: ; model: ; virtual: false
              ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: x64; kernel: 6.8.12-8-pve
              ### VERSIONS: electron: undefined; used node: 22.15.0; installed node: 22.15.0; npm: 10.9.2; pm2: 5.4.3
              ### OTHER:    timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined
              
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @kusselin
                last edited by

                @kusselin netatmo is not in the module list

                also the address already in use means the server is running already from whatever script is launched at container startup

                in container you cannot run manual npm run server if the container does that

                same as if pm2 autostarted on native os or virtual machine

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                kusselinK 1 Reply Last reply Reply Quote 0
                • kusselinK Offline
                  kusselin @sdetweil
                  last edited by

                  @sdetweil
                  And what does that tell me now? Does that mean I can’t change anything…netatmo won’t work?

                  R S 2 Replies Last reply Reply Quote 0
                  • R Offline
                    rkorell @kusselin
                    last edited by

                    @kusselin
                    Sorry I‘m out here because I do not have any experience with proxmox containers.

                    But in general, what Sam means is that your last log-output indicates that you had tried to start a seond instance of MagicMirror -which fails.
                    So I guess it is necessary to identify the primary instance and look for logs there .
                    What I have seen in addition but cannot justify: Your above output looks like you‘re working with root permission.

                    root@magicmirror-live:/opt/magicmirror# npm run server
                    

                    As far as I remember correctly, this may causes difficulties as well - at least I remember to read something like this - context was different and it‘s possible that this doesn‘t apply to container-environments …

                    Good luck!
                    Regards,
                    Ralf

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

                      @kusselin no, just have to restart the container…

                      I am installing proxmox on a vmware VM now,

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @kusselin so with the script I get a container starting to be built, but it has no network
                        I see it in the list, can start/stop. but no network.

                        this is proxmox in a VM, not native on the hardware…

                        I did get a vmware warning that proxmox was trying to set promiscuous mode, but that is not allowed

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        kusselinK 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