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 7.6k 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.
    • S Do not disturb
      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 Do not disturb
          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 Module Developer @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 Do not disturb
                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 Do not disturb
                  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
                  • kusselinK Offline
                    kusselin @rkorell
                    last edited by

                    @rkorell said in Netatmo module will not shown:

                    @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

                    One question: Do you have Netatmo installed and running at home as hardware and searching in MM…?

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

                      @sdetweil said in Netatmo module will not shown:

                      @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

                      Ok du hast dir die mühe gemacht einen proxmox container zu installieren und den MM dort zu installieren…danke erstmal für das machen und testen…

                      Heisst im Container läuft der NM nicht so wie er auf einem Raspberry läuft…richtig?

                      Heisdt am besten man installiert den MM auf einem Raspi, dann hat man nicht den Ärger…richtig?

                      Ich kann halt nicht verdtehen das hier keiner im Forum ist der auch netatmo als Modul installiert hat :-(

                      Englisch:
                      Ok you made the effort to install a proxmox container and install the MM there…thanks for doing and testing…

                      That means the NM does not run in the container the way it runs on a raspberry…right?

                      It’s best to install the MM on a Raspi, then you don’t have the trouble…right?

                      I just can’t understand that there is no one here in the forum who has also installed netatmo as a module :-(

                      What do you mean by “no network”?

                      I have a connection and other modules are displayed correctly, so I don’t understand this

                      S 1 Reply Last reply Reply Quote 0
                      • R Offline
                        rkorell Module Developer @kusselin
                        last edited by rkorell

                        @kusselin said

                        One question: Do you have Netatmo installed and running at home as hardware and searching in MM…?

                        Nope, Netatmo not used by me …

                        Regards,
                        Ralf

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

                          @kusselin no network

                          the script says there is no network card for the container so it cannot talk to anything
                          from the script output see <---- below

                              __  ___            _      __  ____                     
                             /  |/  /___ _____ _(_)____/  |/  (_)_____________  _____
                            / /|_/ / __ `/ __ `/ / ___/ /|_/ / / ___/ ___/ __ \/ ___/
                           / /  / / /_/ / /_/ / / /__/ /  / / / /  / /  / /_/ / /    
                          /_/  /_/\__,_/\__, /_/\___/_/  /_/_/_/  /_/   \____/_/     
                                       /____/                                        
                            🧩  Using Advanced Settings on node pve
                            🖥️  Operating System: debian
                            🌟  Version: 12
                            📦  Container Type: Unprivileged
                            🔐  Root Password: ********
                            🆔  Container ID: 101
                            🏠  Hostname: magicmirror
                            💾  Disk Size: 3 GB
                            🧠  CPU Cores: 1
                            🛠️  RAM Size: 512 MiB
                            🌉  Bridge: vmbr0
                            📡  IP Address: dhcp
                            🌐  Gateway IP Address: Default
                            📡  APT-Cacher IP Address: Default
                            🚫  Disable IPv6: yes
                            ⚙️  Interface MTU Size: Default
                            🔍  DNS Search Domain: Host
                            📡  DNS Server IP Address: Host
                            🏷️  Vlan: Default
                            📡  Tags: community-script;magicmirror
                            🔑  Root SSH Access: yes
                          Warning: No SSH key provided.
                            🔍  Verbose Mode: yes
                            🚀  Creating a MagicMirror LXC using the above advanced settings
                            ✔️  Using local for Template Storage.
                            ✔️  Using local-lvm for Container Storage.
                            ✔️  Updated LXC Template List
                            ✔️  LXC Template is ready to use.
                            ✔️  LXC Container 101 was successfully created.
                            ✔️   Started LXC Container
                          net.ipv6.conf.all.disable_ipv6 = 1
                           ⠇  ✖️   No Network! ner OS      <----
                            ✖️   No Network After 10 Tries  <---
                            📡  Check Network Settings
                          /dev/fd/63: line 72: SPINNER_PID: unbound variable
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @kusselin problem here was disk and memory too small… 10g disk and 2048g memory and install finished…

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @kusselin so I had to use the mockdata: true option as I don’t have any server for this

                              I set the clientid… to garbage numbers . module fails if not set
                              and mockdata: true and after a while I see this on the lxc container MM instance
                              (MMM-Config generated config entry)

                                    {
                                      module: "netatmo",
                                      position: "bottom_left",
                                      order: "*",
                                      animateIn: "None",
                                      animateOut: "None",
                                      config: {
                                         clientId: '1234567', // your app id
                                         clientSecret: '1212123', // your app secret
                                         refresh_token: '3223232', // your generated refresh token
                                        mockData: true
                                      },
                                      disabled: false,
                                      hiddenOnStartup: false,
                                      configDeepMerge: false
                                    },
                              

                              the system service is setup without logging, so the MM app logging is lost…

                              Screenshot at 2025-04-26 16-21-07.png

                              for me lxc container looks and acts like a Virtual machine, (restricted to OS structure proxmox is running on)

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil
                                Hello sam, first of all thank you for your support and your testing!

                                Then why create MM for Proxmox? If it can’t find a network?

                                But in your screenshot I see Netatmo, it is displayed, or are you missing the values?

                                What does your testing and your statements tell me as a layman from MM?

                                Can I now not use Netatmo in the LXC container with Proxmox?
                                Other modules such as calender, clock public transfer hafas and RNV work perfectly.

                                Thank you for any clarification so that I can understand it.

                                EDIT:

                                Hello Sam, if I use your config posted here and copy it in exactly the same way, netatmo is displayed but only with Hamburg and not my station…but it works…

                                I have used my code stored in the developer account as ID and secret key.

                                Shouldn’t MM then also show my location?

                                as soon as I set “MockData” to false, netatmo is no longer displayed…so you can say that the module itself works but not with the real data…think it’s the secret token…I read something here on the board

                                look:

                                https://forum.magicmirror.builders/topic/18690/mmm-netatmothermostat/2

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

                                  so I’ll contact you again…es is displayed…perfekr…I took the template from SAM here and then adapted it again accordingly…now it works…thanks to everyone and especially once again to SAM …;-)

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

                                    @kusselin
                                    In your configuration, I’m missing the entry modulOrder. This entry was essential for me! I initially used the default name until I realized that it only works if the module name is stored exactly as you configured it in the web-app (https://auth.netatmo.com/de-de/access/login):

                                    my config:

                                    		{
                                    		module: 'netatmo',
                                    		position: 'middle_center', // the location where the module should be displayed
                                    		config: {
                                    			clientId: '*myID*', // your app id
                                    			clientSecret: '*mysecret*', // your app secret
                                    			refresh_token: *'mytoken*', // your generated refresh token
                                    			moduleOrder: ["Outdoor","Regen","Wind","Schlafzimmer","Wohnzimmer"], //take same names from web-app!
                                    			updateInterval: 6, // every 3 minutes, refresh interval on netatmo is 10 minutes
                                    			animationSpeed: 1000,
                                    			design: 'bubbles', // classic or bubbles
                                    			horizontal: false,
                                    			lastMessageThreshold: 600, // in seconds (10 minutes)
                                    			showLastMessage: true,
                                    			showBattery: true,
                                    			showRadio: true,
                                    			showWiFi: true,
                                    			showTrend: true,
                                    			showMeasurementIcon: true,
                                    			showMeasurementLabel: true,
                                    			showStationName: false,
                                    			showModuleNameOnTop: true,
                                    			fontClassModuleName: 'small', // xsmall, small, medium, large, xlarge
                                    			fontClassPrimary: 'large',
                                    			fontClassSecondary: 'xsmall',
                                    			fontClassMeasurement: 'xsmall',
                                    			thresholdCO2Average: 800,
                                    			thresholdCO2Bad: 1800,
                                    			mockData: false,
                                    		}
                                    		},
                                    

                                    https://home.netatmo.com/control/dashboard
                                    49d249bf-378a-4219-bfbc-9c4ec2325410-image.png

                                    MM:
                                    71c93ef7-bfc8-4db0-ac7f-7e289ec92301-image.png

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

                                      @kusselin congratulations!!! i’m glad you got it working

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @Lusbueb said in Netatmo module will not shown:

                                        @kusselin
                                        In your configuration, I’m missing the entry modulOrder. This entry was essential for me! I initially used the default name until I realized that it only works if the module name is stored exactly as you configured it in the web-app (https://auth.netatmo.com/de-de/access/login):

                                        my config:

                                        		{
                                        		module: 'netatmo',
                                        		position: 'middle_center', // the location where the module should be displayed
                                        		config: {
                                        			clientId: '*myID*', // your app id
                                        			clientSecret: '*mysecret*', // your app secret
                                        			refresh_token: *'mytoken*', // your generated refresh token
                                        			moduleOrder: ["Outdoor","Regen","Wind","Schlafzimmer","Wohnzimmer"], //take same names from web-app!
                                        			updateInterval: 6, // every 3 minutes, refresh interval on netatmo is 10 minutes
                                        			animationSpeed: 1000,
                                        			design: 'bubbles', // classic or bubbles
                                        			horizontal: false,
                                        			lastMessageThreshold: 600, // in seconds (10 minutes)
                                        			showLastMessage: true,
                                        			showBattery: true,
                                        			showRadio: true,
                                        			showWiFi: true,
                                        			showTrend: true,
                                        			showMeasurementIcon: true,
                                        			showMeasurementLabel: true,
                                        			showStationName: false,
                                        			showModuleNameOnTop: true,
                                        			fontClassModuleName: 'small', // xsmall, small, medium, large, xlarge
                                        			fontClassPrimary: 'large',
                                        			fontClassSecondary: 'xsmall',
                                        			fontClassMeasurement: 'xsmall',
                                        			thresholdCO2Average: 800,
                                        			thresholdCO2Bad: 1800,
                                        			mockData: false,
                                        		}
                                        		},
                                        

                                        https://home.netatmo.com/control/dashboard
                                        49d249bf-378a-4219-bfbc-9c4ec2325410-image.png

                                        MM:
                                        71c93ef7-bfc8-4db0-ac7f-7e289ec92301-image.png

                                        Thanks s lot for your config…i changed it and now ist good and the netatmo Modul is running very well

                                        1 Reply Last reply Reply Quote 2
                                        • S sdetweil has marked this topic as solved on
                                        • kusselinK Offline
                                          kusselin
                                          last edited by

                                          Hello everyone, netatmo is no longer working today :-(
                                          I haven’t changed anything

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

                                            @kusselin need to see the logs again

                                            always 1st place to look

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            kusselinK 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
                                            • 1 / 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