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.

    MMM-ioBroker - it will not show

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    34 Posts 3 Posters 5.4k Views 3 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 can you show the output of npm start , or if using pm2

      pm2 logs --lines=100

      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
        is the pm2 log located at
        /home/mm/.pm2

        and how do I create the output of npm start?

        mm@MagicMirror-live:~$ npm start
        npm error code ENOENT
        npm error syscall open
        npm error path /home/mm/package.json
        npm error errno -2
        npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/mm/package.json'
        npm error enoent This is related to npm not being able to find a file.
        npm error enoent
        npm error A complete log of this run can be found in: /home/mm/.npm/_logs/2025-04-10T19_02_15_732Z-debug-0.log
        mm@MagicMirror-live:~$ cd MagicMirror
        mm@MagicMirror-live:~/MagicMirror$ npm start
        
        > magicmirror@2.31.0 start
        > npm run start:x11
        
        
        > magicmirror@2.31.0 start:x11
        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
        
        sh: 1: ./node_modules/.bin/electron: not found
        mm@MagicMirror-live:~/MagicMirror$
        
        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @kusselin
          last edited by

          @kusselin weird

          cd ~/MagicMirror
          npm install electron@35.1.2

          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
            sorry, please forget me :-(

            and now?

            cd ~/MagicMirror
            mm@MagicMirror-live:~/MagicMirror$ npm install electron@35.1.2
            
            added 654 packages in 20s
            
            285 packages are looking for funding
              run `npm fund` for details
            mm@MagicMirror-live:~/MagicMirror$
            
            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @kusselin
              last edited by

              @kusselin npm start

              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 kusselin

                @sdetweil
                look :-(

                mm@MagicMirror-live:~$ cd MagicMirror
                mm@MagicMirror-live:~/MagicMirror$ npm start
                npm error code ENOSPC
                npm error syscall write
                npm error errno -28
                npm error nospc ENOSPC: no space left on device, write
                npm error nospc There appears to be insufficient space on your system to finish.
                npm error nospc Clear up some disk space and try again.
                npm error A complete log of this run can be found in: /home/mm/.npm/_logs/2025-04-10T19_51_54_629Z-debug-0.log
                

                and

                 verbose cli /usr/local/bin/node /usr/local/bin/npm
                1 info using npm@10.9.2
                2 info using node@v22.14.0
                3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
                4 silly config load:file:/home/mm/MagicMirror/.npmrc
                5 silly config load:file:/home/mm/.npmrc
                6 silly config load:file:/usr/local/etc/npmrc
                7 verbose title npm run start:x11
                8 verbose argv "run" "start:x11"
                9 verbose logfile logs-max:10 dir:/home/mm/.npm/_logs/2025-04-10T19_51_37_854Z-
                10 verbose logfile /home/mm/.npm/_logs/2025-04-10T19_51_37_854Z-debug-0.log
                11 silly logfile start cleaning logs, removing 1 files
                12 silly logfile done cleaning log files
                13 verbose cwd /home/mm/MagicMirror
                14 verbose os Linux 6.8.12-8-pve
                15 verbose node v22.14.0
                16 verbose npm  v10.9.2
                17 verbose exit 1
                18 verbose code 1
                
                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @kusselin
                  last edited by

                  @kusselin ok, this typically indicates a failing sd card, happens too often

                  backup now , but my backup wont work w no disk space

                  copy config.js and custom.css to a someplace, network , usb stick, email

                  get a list of all the modules
                  cd ~/MagicMirror/modules
                  ls -laF

                  add that output to the place u saved

                  make a new sd card, boot, install MagicMirror
                  copy back config and css

                  reinstall the modules

                  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…that’s funny…I don’t have any SD in use. I have installed the MM in a Proxmox container…ok then I know that something is wrong and I have to create a new container…config and costum.css I save and modules too…

                    Thank you again

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

                      Hello everyone,
                      hello stedweil,

                      an update…I have reinstalled the MM and I have said that I have it running in a Proxmox container (LXC)…that also worked via this page:
                      https://tteck.github.io/Proxmox/#miscellaneous

                      the installation worked perfectly…then I adjusted the config one after the other…
                      all modules work, regardless of whether they are MMM-Fuel, MMM-Clock or Calender…only not the MMM-ioBroker…my temperature and humidity data records are still not displayed

                      @stedweil: Let’s please go through again step by step what I can do to possibly narrow down the error. I bought the Aquara parts especially to display this via MM and it actually worked until recently.

                      Thank you in advance

                      {
                      		module: 'MMM-ioBroker',
                      		position: 'top_left',
                      		config: {
                      		  host: '192.168.200.38',
                      		  port: '8082',
                      		  https: false,
                      		  devices: [
                                { name: 'EG-Ankleide',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d0002fb4915.temperature', icon: 'wi wi-thermometer', suffix: '°' },
                                                    { id: 'zigbee.0.00158d0002fb4915.humidity',    icon: 'wi wi-humidity',    suffix: '%' }
                                                ]
                                },
                      		  
                      		  { name: 'EG-Büro',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d0006d571bb.temperature', icon: 'wi wi-thermometer', suffix: '°' },
                                                    { id: 'zigbee.0.00158d0006d571bb.humidity',    icon: 'wi wi-humidity',    suffix: '%' }
                                                ]
                                },
                      		  
                      		  { name: 'EG-Bad',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d0006e3ee77.temperature', icon: 'wi wi-thermometer', suffix: '°' },
                                                    { id: 'zigbee.0.00158d0006e3ee77.humidity',    icon: 'wi wi-humidity',    suffix: '%' }
                                                ]
                                },
                      		  
                      		  { name: 'EG-Wohnzimmer',
                                  deviceStates: [
                                                    { id: 'hm-rpc.0.NEQ1522239.1.TEMPERATURE', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'hm-rpc.0.NEQ1522239.1.HUMIDITY',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },			
                      	
                      		{ name: 'Dach-Speicher',
                                  deviceStates: [
                                                    { id: 'hm-rpc.0.KEQ0242488.1.TEMPERATURE', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'hm-rpc.0.KEQ0242488.1.HUMIDITY',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },			
                      		
                      			
                      		
                      			{ name: 'Treppenhaus',
                                  deviceStates: [
                                                    { id: 'hm-rpc.0.LEQ0592936.1.TEMPERATURE', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'hm-rpc.0.LEQ0592936.1.HUMIDITY',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },
                      
                      			{ name: 'OG-Bad',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d008b644f6f.temperature', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'zigbee.0.00158d008b644f6f.humidity',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },
                      
                      			{ name: 'OG-Wohnzimmer',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d008b64556c.temperature', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'zigbee.0.00158d008b64556c.humidity',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },		
                      			
                      			{ name: 'OG-Rumpelzimmer',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d008b644eff.temperature', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'zigbee.0.00158d008b644eff.humidity',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },
                      
                      			{ name: 'OG-Esszimmer',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d008b6192cd.temperature', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'zigbee.0.00158d008b6192cd.humidity',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },
                      		  
                      			{ name: 'OG-Schlafzimmer',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d008b69c067.temperature', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'zigbee.0.00158d008b69c067.humidity',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },
                      		  	
                      		  
                      			{ name: 'UG-Waschküche',
                                  deviceStates: [
                                                    { id: 'zigbee.0.00158d008b619293.temperature', icon: 'wi wi-thermometer',  suffix: '°' },
                                                    { id: 'zigbee.0.00158d008b619293.humidity',     icon: 'wi wi-humidity', suffix: '%' }
                                                ]
                                },		
                      		  
                      				]
                      		}
                      		},
                      

                      Thermo and humidy of the sleeping room OG:

                      zigbee.0.00158d008b69c067.temperature
                      

                      and

                      zigbee.0.00158d008b69c067.humidity
                      

                      Image 001.png

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

                        @kusselin

                        the id you listed for zigbee ids are different from what you have in the iobroker config

                        i dont know why they would change

                        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…i can´t sie that there is a different ID
                          when you look in the config from MM config you see the ID for “OG-Schlafzimmer” an this is the same iD i posted "Sleeping room -OG.

                          and when the ID were wrong between MM and iobroker the name don´t displayed, but it´s o.k. and the name is display…

                          what else could it be?

                          I’m a bit annoyed because there must be more people who do this with Iobroker…and no one answers here :-(

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

                            @kusselin sorry, I didn’t scroll down to see that you had multiple items listed…

                            is it only the OG room not displaying??

                            can you display the output of the npm start for the container

                            can you insure the container can ping the server
                            ‘192.168.200.38’

                            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

                               ping 192.168.200.38
                              
                              Ping wird ausgeführt für 192.168.200.38 mit 32 Bytes Daten:
                              Antwort von 192.168.200.38: Bytes=32 Zeit<1ms TTL=64
                              Antwort von 192.168.200.38: Bytes=32 Zeit<1ms TTL=64
                              Antwort von 192.168.200.38: Bytes=32 Zeit<1ms TTL=64
                              Antwort von 192.168.200.38: Bytes=32 Zeit<1ms TTL=64
                              
                              Ping-Statistik für 192.168.200.38:
                                  Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
                                  (0% Verlust),
                              Ca. Zeitangaben in Millisek.:
                                  Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms
                              
                              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 /magicmirror
                              -bash: cd: /magicmirror: No such file or directory
                              root@magicmirror-live:~# cd /opt
                              root@magicmirror-live:/opt# cd magicmirror
                              root@magicmirror-live:/opt/magicmirror# npm start
                              
                              > magicmirror@2.31.0 start
                              > npm run start:x11
                              
                              
                              > magicmirror@2.31.0 start:x11
                              > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                              
                              /opt/magicmirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
                              
                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @kusselin
                                last edited by

                                @kusselin said in MMM-ioBroker - it will not show:

                                libnss3.so

                                yeh, gotta load that in the container

                                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 kusselin

                                  @sdetweil
                                  Hi sdetweil, ha the MM is installed in a Proxmox LXC Container with Ubuntu 24.xx via the Proxmox Helpers scripts. But I already mentioned that above…MM is not installed on a PI…

                                  What does the message say?
                                  Have you discovered the error?

                                  But it worked all the time in the container.

                                  How do you load it into the container?

                                  Thank you

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

                                    @kusselin said in MMM-ioBroker - it will not show:

                                    But it worked all the time in the container.

                                    I don’t know anything about proxmox containers…
                                    if on docker and you want the web UI to work, you have to install that library
                                    (sudo apt… in the dockerfile)

                                    I don’t know how you do that on proxmox container…

                                    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 kusselin

                                      @sdetweil

                                      Do you mean then sudo apt install libnss3.so ?

                                      root@magicmirror-live:/opt# cd magicmirror
                                      root@magicmirror-live:/opt/magicmirror# apt install libnss3.so
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      E: Unable to locate package libnss3.so
                                      E: Couldn't find any package by glob 'libnss3.so'
                                      
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @kusselin
                                        last edited by

                                        @kusselin see
                                        https://github.com/claabs/epicgames-freegames-node/issues/359

                                        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
                                          Hello, thank you. I have installed the dependency in github to your link and made a reboot…unfortunately the temp and humidity is still not displayed :-(

                                          look i have now done “npm start” again…now this message comes up:

                                          root@magicmirror-test:/opt/magicmirror# npm start
                                          
                                          > magicmirror@2.31.0 start
                                          > npm run start:x11
                                          
                                          
                                          > magicmirror@2.31.0 start:x11
                                          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                                          
                                          /opt/magicmirror/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
                                          

                                          it’s just strange…I’ve never had these messages before…I’ve reinstalled the MM several times…but I’ve never had these messages…

                                          As the developer of MM, could you explain to me what this message means?

                                          thanks a lot Sam

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

                                            @kusselin a program is made up of lots of functions to call services of all kinds. electron is a browser program, they all want to draw graphics on the screen. everything is graphics

                                            how they do that depends on a lot of system functions

                                            each release of the program needs system services and these may change
                                            gtk is the graphical toolkit

                                            now you need to load that library too

                                            we just use electron, we dont know what its dependencies are, but this why we say you need full os instead of lite

                                            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
                                            • 2 / 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