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.
    • 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 @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 Offline
            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 Offline
              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 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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 2 / 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