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.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 Offline
      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 Offline
              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 Offline
                    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
                    • kusselinK Offline
                      kusselin @sdetweil
                      last edited by

                      @sdetweil

                      Hi sam, look here again…

                      verbose cli /usr/bin/node /usr/bin/npm
                      1 info using npm@10.9.2
                      2 info using node@v22.15.0
                      3 silly config load:file:/usr/lib/node_modules/npm/npmrc
                      4 silly config load:file:/opt/magicmirror/.npmrc
                      5 silly config load:file:/root/.npmrc
                      6 silly config load:file:/usr/etc/npmrc
                      7 verbose title npm run seerver
                      8 verbose argv "run" "seerver"
                      9 verbose logfile logs-max:10 dir:/root/.npm/_logs/2025-05-03T14_24_21_403Z-
                      10 verbose logfile /root/.npm/_logs/2025-05-03T14_24_21_403Z-debug-0.log
                      11 silly logfile start cleaning logs, removing 1 files
                      12 silly logfile done cleaning log files
                      13 verbose stack Error: Missing script: "seerver"
                      13 verbose stack
                      13 verbose stack Did you mean this?
                      13 verbose stack   npm run server # run the "server" package script
                      13 verbose stack
                      13 verbose stack To see a list of scripts, run:
                      13 verbose stack   npm run
                      13 verbose stack     at #run (/usr/lib/node_modules/npm/lib/commands/run-script.js:111:13)
                      13 verbose stack     at async RunScript.exec (/usr/lib/node_modules/npm/lib/commands/run-script.js:40:7)
                      13 verbose stack     at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:207:9)
                      13 verbose stack     at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5)
                      14 error Missing script: "seerver"
                      14 error
                      14 error Did you mean this?
                      14 error   npm run server # run the "server" package script
                      14 error
                      14 error To see a list of scripts, run:
                      14 error   npm run
                      15 verbose cwd /opt/magicmirror
                      16 verbose os Linux 6.8.12-8-pve
                      17 verbose node v22.15.0
                      18 verbose npm  v10.9.2
                      19 verbose exit 1
                      20 verbose code 1
                      21 error A complete log of this run can be found in: /root/.npm/_logs/2025-05-03T14_24_21_403Z-debug-0.log
                      
                      

                      and the latest Log:

                      0 verbose cli /usr/bin/node /usr/bin/npm
                      1 info using npm@10.9.2
                      2 info using node@v22.15.0
                      3 silly config load:file:/usr/lib/node_modules/npm/npmrc
                      4 silly config load:file:/opt/magicmirror/.npmrc
                      5 silly config load:file:/root/.npmrc
                      6 silly config load:file:/usr/etc/npmrc
                      7 verbose title npm run server
                      8 verbose argv "run" "server"
                      9 verbose logfile logs-max:10 dir:/root/.npm/_logs/2025-05-03T14_24_50_844Z-
                      10 verbose logfile /root/.npm/_logs/2025-05-03T14_24_50_844Z-debug-0.log
                      11 silly logfile start cleaning logs, removing 1 files
                      12 silly logfile done cleaning log files
                      13 verbose cwd /opt/magicmirror
                      14 verbose os Linux 6.8.12-8-pve
                      15 verbose node v22.15.0
                      16 verbose npm  v10.9.2
                      17 verbose exit 0
                      18 info ok
                      

                      here is the info wenn i go into /opt/magicmirror/ and “npm run server”:

                      The programs included with the Debian GNU/Linux system are free software;
                      the exact distribution terms for each program are described in the
                      individual files in /usr/share/doc/*/copyright.
                      
                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                      permitted by applicable law.
                      Last login: Sat May  3 16:23:40 2025 from 192.168.200.219
                      
                      MagicMirror LXC Container
                          🌐   Provided by: community-scripts ORG | GitHub: https://github.com/community-scripts/ProxmoxVE
                      
                          🖥️   OS: Debian GNU/Linux - Version: 12
                          🏠   Hostname: magicmirror-live
                          💡   IP Address: 192.168.200.74
                      root@magicmirror-live:~# cd /opt/magicmirror
                      root@magicmirror-live:/opt/magicmirror# npm run server
                      
                      > magicmirror@2.31.0 server
                      > node ./serveronly
                      
                      [2025-05-03 16:40:49.450] [LOG]   Starting MagicMirror: v2.31.0
                      [2025-05-03 16:40:49.469] [LOG]   Loading config ...
                      [2025-05-03 16:40:49.470] [LOG]   config template file not exists, no envsubst
                      [2025-05-03 16:40:49.876] [INFO]  Checking config file /opt/magicmirror/config/config.js ...
                      [2025-05-03 16:40:49.930] [INFO]  Your configuration file doesn't contain syntax errors :)
                      [2025-05-03 16:40:49.931] [INFO]  Checking modules structure configuration ...
                      [2025-05-03 16:40:50.003] [INFO]  Your modules structure configuration doesn't contain errors :)
                      [2025-05-03 16:40:50.519] [LOG]   Loading module helpers ...
                      [2025-05-03 16:40:50.528] [LOG]   No helper found for module: alert.
                      [2025-05-03 16:40:50.551] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:50.555] [LOG]   Module helper loaded: updatenotification
                      [2025-05-03 16:40:50.557] [LOG]   No helper found for module: clock.
                      [2025-05-03 16:40:50.934] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:50.936] [LOG]   Module helper loaded: calendar
                      [2025-05-03 16:40:50.941] [LOG]   No helper found for module: compliments.
                      [2025-05-03 16:40:50.943] [LOG]   No helper found for module: MMM-OpenmapWeather.
                      [2025-05-03 16:40:50.950] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:50.952] [LOG]   Module helper loaded: netatmo
                      [2025-05-03 16:40:50.954] [WARN]  No /opt/magicmirror/modules/MMM-OpenWeatherForecast/MMM-OpenWeatherForecast.js found for module: MMM-OpenWeatherForecast.
                      [2025-05-03 16:40:50.955] [LOG]   No helper found for module: MMM-OpenWeatherForecast.
                      [2025-05-03 16:40:50.955] [LOG]   No helper found for module: MMM-Blitzer.
                      [2025-05-03 16:40:50.958] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:50.960] [LOG]   Module helper loaded: MMM-ApothekenNotdienst
                      [2025-05-03 16:40:50.962] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:50.965] [LOG]   Module helper loaded: MMM-ioBroker
                      [2025-05-03 16:40:50.965] [LOG]   No helper found for module: MMM-Carousel.
                      [2025-05-03 16:40:51.040] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:51.040] [LOG]   Module helper loaded: MMM-PublicTransportHafas
                      [2025-05-03 16:40:51.480] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:51.480] [LOG]   Module helper loaded: MMM-RNV
                      [2025-05-03 16:40:51.482] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:51.482] [LOG]   Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.31.0
                      [2025-05-03 16:40:51.482] [LOG]   Version is ok!
                      [2025-05-03 16:40:51.483] [LOG]   Module helper loaded: MMM-Fuel
                      [2025-05-03 16:40:51.591] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:51.591] [LOG]   Module helper loaded: MMM-Remote-Control
                      [2025-05-03 16:40:51.658] [LOG]   Initializing new module helper ...
                      [2025-05-03 16:40:51.659] [LOG]   Module helper loaded: newsfeed
                      [2025-05-03 16:40:51.659] [LOG]   All module helpers loaded.
                      [2025-05-03 16:40:51.663] [LOG]   Starting server on port 8080 ...
                      [2025-05-03 16:40:51.664] [WARN]  You're using a full whitelist configuration to allow for all IPs
                      [2025-05-03 16:40:51.673] [ERROR] Whoops! There was an uncaught exception...
                      [2025-05-03 16:40:51.673] [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-05-03 16:40:51.673] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                      [2025-05-03 16:40:51.673] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
                      [2025-05-03 16:40:51.783] [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
                      

                      her my Config from MM:

                      /*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
                      
                      {
                            module: 'netatmo',
                            position: 'bottom_left',
                            config: {
                              clientId: '123456,
                              clientSecret: '1234',
                              refresh_token: '1234',
                              moduleOrder: [
                                'Aussenmodul',
                                'Regenmesser',
                                'Windmesser',
                                'Wohnen'
                              ],
                              updateInterval: 6,
                              design: 'bubbles',
                              horizontal: false,
                              showStationName: false,
                              showModuleNameOnTop: true,
                              fontClassModuleName: 'small'
                            }
                          },
                      
                      

                      what I don’t understand either…because of the remote control module the config looks completely different than normal…but I think that has nothing to do with Netatmo…right?

                      I would be really grateful for your help…

                      Greetings

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

                        @kusselin the ‘already in use’ is because the container is running MagicMirror as a system service

                        you could use a different port for the test

                        export MM_PORT=8090
                        npm run server

                        now you have two instances running
                        one on 8080 and one on 8090

                        ctrl-c to stop the one on 8090

                        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