MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. justjim1220
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 7
    • Followers 5
    • Topics 35
    • Posts 649
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: MMM-PC-Stats

      @mykle1

      This is what I ended up with:

      for (var i = 0, len = Stats.cpu.threads.length; i < len; i++) {
      
      		var Element = document.createElement("div");
      		Element.classList.add("large", "bright", "usage");
      		Element.innerHTML = Stats.cpu.threads[i].name + " &nbsp  @  &nbsp " + Number(Math.round(Stats.cpu.threads[i].usage+"e2")+"e-2") + "%";
      		wrapper.appendChild(Element);
      
      
      
      		// ["acpitz-virtual-0"]["Virtual device"].temp1.value
      
      		// Check if core0 has temp sensor
      		var core0TempCheck = Sensors["acpitz-virtual-0"]["Virtual device"];
      			if (typeof core0TempCheck !== 'undefined'){
      			// core0Temp
      			var core0Temp = document.createElement("div");
      			core0Temp.classList.add("large", "bright", "core0Temp");
      			core0Temp.innerHTML = Stats.cpu.threads[i].name + " &nbsp  @  &nbsp " + Sensors["acpitz-virtual-0"]["Virtual device"].temp1.value + "°C";
      			wrapper.appendChild(core0Temp);
      		}
      	}
      

      this is the output:
      0_1540410083724_Screenshot from 2018-10-24 13-45-54.png

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-NewsFeedTicker

      @electros

      Add: margin-left: 20%; under the .MMM-NewsFeedTicker { section of the MMM-NewsFeedTicker.css file.

      Change the ‘20%’ to the same setting you made to get the image to move to the right.

      posted in Utilities
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1 YES SIR!!!

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1 ok

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      And, your gonna have to let me know how to do a screen shot of just a certain part of the screen, or how to crop the image. A lot different than Windows.

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      is there something I need to set up on this end for TeamViewer?

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      Absolutely.
      No Problem.
      Just let me know when.

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      It looks like this is the line it is having a problem with…

          var core0TempCheck = Sensors["coretemp-isa-0000"]['ISA adapter']['Core 0'];
      

      particularly with: [‘ISA adapter’]

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      there is a lot of things to expand, how much do you need?

      Objectacpitz-virtual-0: Virtual device: temp1: name: "temp1"type: "temperature"value: 80__proto__: Objectconstructor: ƒ Object()arguments: (...)assign: ƒ assign()caller: (...)create: ƒ create()defineProperties: ƒ defineProperties()defineProperty: ƒ defineProperty()entries: ƒ entries()freeze: ƒ freeze()getOwnPropertyDescriptor: ƒ getOwnPropertyDescriptor()getOwnPropertyDescriptors: ƒ getOwnPropertyDescriptors()getOwnPropertyNames: ƒ getOwnPropertyNames()getOwnPropertySymbols: ƒ getOwnPropertySymbols()getPrototypeOf: ƒ getPrototypeOf()is: ƒ is()isExtensible: ƒ isExtensible()isFrozen: ƒ isFrozen()isSealed: ƒ isSealed()keys: ƒ keys()length: 1name: "Object"preventExtensions: ƒ preventExtensions()prototype: {constructor: ƒ, __defineGetter__: ƒ, __defineSetter__: ƒ, hasOwnProperty: ƒ, __lookupGetter__: ƒ, …}seal: ƒ seal()setPrototypeOf: ƒ setPrototypeOf()values: ƒ values()__proto__: ƒ ()[[FunctionLocation]]: <unknown>hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()__proto__: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()__proto__: Objectk8temp-pci-00c3: PCI adapter: __proto__: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()__proto__: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()nouveau-pci-0090: PCI adapter: {GPU core: {…}, temp1: {…}}__proto__: Object__proto__: constructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
      
      
      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      jim@jim-Aspire-4520:~/MagicMirror$ sensors
      k8temp-pci-00c3
      Adapter: PCI adapter
      Core0 Temp:   +69.0°C  
      Core0 Temp:   +67.0°C  
      Core1 Temp:   +69.0°C  
      Core1 Temp:   +68.0°C  
      
      acpitz-virtual-0
      Adapter: Virtual device
      temp1:        +71.0°C  (crit = +100.0°C)
      
      nouveau-pci-0090
      Adapter: PCI adapter
      GPU core:     +1.20 V  (min =  +1.00 V, max =  +1.20 V)
      temp1:        +64.0°C  (high = +95.0°C, hyst =  +3.0°C)
                             (crit = +105.0°C, hyst =  +2.0°C)
                             (emerg = +135.0°C, hyst =  +5.0°C)
      
      
      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      Objectacpitz-virtual-0: {Virtual device: {…}}k8temp-pci-00c3: {PCI adapter: {…}}nouveau-pci-0090: {PCI adapter: {…}}__proto__: Object
      moment-timezone-with-data.js:481 Moment Timezone has no data for American/Chicago. See http://momentjs.com/timezone/docs/#/data-loading/.
      logError @ moment-timezone-with-data.js:481
      MMM-PC-Stats.js:126 Uncaught (in promise) TypeError: Cannot read property 'ISA adapter' of undefined
          at Class.getDom (MMM-PC-Stats.js:126)
          at main.js:110
          at new Promise (<anonymous>)
          at updateDom (main.js:109)
          at Object.updateDom (main.js:514)
          at Class.updateDom (module.js:358)
          at Class.socketNotificationReceived (MMM-PC-Stats.js:262)
          at module.js:246
          at r.<anonymous> (socketclient.js:25)
          at r.emit (index.js:83)
      MMM-PC-Stats.js:126 Uncaught (in promise) TypeError: Cannot read property 'ISA adapter' of undefined
          at Class.getDom (MMM-PC-Stats.js:126)
          at main.js:110
          at new Promise (<anonymous>)
          at updateDom (main.js:109)
          at Object.updateDom (main.js:514)
          at Class.updateDom (module.js:358)
          at Class.socketNotificationReceived (MMM-PC-Stats.js:268)
          at module.js:246
          at r.<anonymous> (socketclient.js:25)
          at r.emit (index.js:83)
      
      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1 ok

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      Yeppers.

      How do I open the threads array?

      I can reinstall the dependencies if you want me to

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      jim@jim-Aspire-4520:~$ sensors
      
      Command 'sensors' not found, but can be installed with:
      
      sudo apt install lm-sensors
      
      
      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      {cpu: {…}, ram: {…}}cpu: {name: "AMD Turion(tm) 64 X2 Mobile Technology TL-58", threads: Array(2)}ram: {free: "1.27", total: "3.87", unit: "GB"}__proto__: Object
      MMM-PC-Stats.js:126 Uncaught (in promise) TypeError: Cannot read property 'ISA adapter' of undefined
          at Class.getDom (MMM-PC-Stats.js:126)
          at main.js:110
          at new Promise (<anonymous>)
          at updateDom (main.js:109)
          at Object.updateDom (main.js:514)
          at Class.updateDom (module.js:358)
          at Class.socketNotificationReceived (MMM-PC-Stats.js:262)
          at module.js:246
          at r.<anonymous> (socketclient.js:25)
          at r.emit (index.js:83)
      getDom @ MMM-PC-Stats.js:126
      (anonymous) @ main.js:110
      updateDom @ main.js:109
      updateDom @ main.js:514
      updateDom @ module.js:358
      socketNotificationReceived @ MMM-PC-Stats.js:262
      (anonymous) @ module.js:246
      (anonymous) @ socketclient.js:25
      r.emit @ index.js:83
      r.onevent @ index.js:83
      MMSocket.self.socket.onevent @ socketclient.js:19
      r.onpacket @ index.js:83
      (anonymous) @ index.js:83
      r.emit @ index.js:83
      r.ondecoded @ index.js:83
      (anonymous) @ index.js:83
      r.emit @ index.js:83
      a.add @ index.js:83
      r.ondata @ index.js:83
      (anonymous) @ index.js:83
      r.emit @ index.js:83
      r.onPacket @ index.js:83
      (anonymous) @ index.js:83
      r.emit @ index.js:83
      r.onPacket @ index.js:83
      r.onData @ index.js:83
      ws.onmessage @ index.js:83
      
      
      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      strange thing is that if I use your original one it shows some info, just not temps…

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      processStats: function(data) {
              this.Stats = data;
              this.loaded = true;
      		console.log(this.Stats); // for checking in dev console
          },
      	
      	processSensors: function(data) {
              this.Sensors = data; 
      		console.log(this.Sensors); // for checking in dev console
          },
      
      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      Yeppers!

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • RE: MMM-PC-Stats

      @mykle1

      It’s not showing anything like that, only a hundred (and counting) of the one I posted

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • MMM-PC-Stats

      @Mykle1

      took 2 pics to get the full output…

      still showing “Scanning CPU and RAM…”

      0_1540345652299_Screenshot from 2018-10-23 20-43-30.png

      0_1540345669841_Screenshot from 2018-10-23 20-44-23.png

      0_1540346072529_Screenshot from 2018-10-23 20-50-14.png

      lower left…

      posted in Troubleshooting
      justjim1220J
      justjim1220
    • 1
    • 2
    • 12
    • 13
    • 14
    • 15
    • 16
    • 32
    • 33
    • 14 / 33