Read the statement by Michael Teeuw here.
MMM-PC-Stats
-
-
I need the output of
console.log(this.Sensors); -
Please. not a picture unless it’s readable like the picture below. Paste the output in a code block so I can see it. I’m old and blind
-
This post is deleted! -
-
It’s not showing anything like that, only a hundred (and counting) of the one I posted
-
Did you uncomment the console.log in the process data function
-
Yeppers!
-
I don’t need the error message
-
Then there should be an output
-
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 }, -
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
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




