Read the statement by Michael Teeuw here.
MMM-PC-Stats
-
I can’t read your picture so I can’t see what’s there. AN object maybe?
-
strange thing is that if I use your original one it shows some info, just not temps…
-
Well maybe your board doesn’t have temp sensors. Try this: Type
sensorin a terminal window -
sensors
-
{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 -
Can you open the threads array?
-
jim@jim-Aspire-4520:~$ sensors Command 'sensors' not found, but can be installed with: sudo apt install lm-sensors -
YOu installed the dependencie?
-
Yeppers.
How do I open the threads array?
I can reinstall the dependencies if you want me to
-
Comment out
console.log(this.Stats)so you only get the sensors output -
@mykle1 ok
-
Take a screenshot of just the output, not the whole screen. I might be able to see it then
-
pop@HPEu:~/MagicMirror$ sensors nouveau-pci-0100 Adapter: PCI adapter fan1: 1110 RPM temp1: +39.0°C (high = +95.0°C, hyst = +3.0°C) (crit = +105.0°C, hyst = +5.0°C) (emerg = +135.0°C, hyst = +5.0°C) coretemp-isa-0000 Adapter: ISA adapter Core 0: +29.0°C (high = +83.0°C, crit = +99.0°C) Core 1: +30.0°C (high = +83.0°C, crit = +99.0°C) Core 2: +29.0°C (high = +83.0°C, crit = +99.0°C) Core 3: +28.0°C (high = +83.0°C, crit = +99.0°C) f71858fg-isa-0a00 Adapter: ISA adapter +3.3V: +3.31 V 3VSB: +3.31 V Vbat: +3.20 V fan1: 1910 RPM fan2: 998 RPM fan3: 0 RPM ALARM temp1: +29.2°C (high = +70.0°C, hyst = +60.0°C) temp2: +15.4°C (high = +100.0°C, hyst = +85.0°C) temp3: +32.5°C (high = +100.0°C, hyst = +85.0°C) pop@HPEu:~/MagicMirror$ ^C pop@HPEu:~/MagicMirror$ -
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) -
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) -
Ok, I see it. In dev tools you can expand the output to see the tree
-
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__() -
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’]
-
I know the line that is the problem. Listen, I’m tired. If you’ll let me TeamViewer into your machine tomorrow I’ll fix it. Doing it this way is very tedious
-
Absolutely.
No Problem.
Just let me know when.
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
