@Charley yes it’s what I tried…
Read the statement by Michael Teeuw here.
Posts
-
RE: gauge.js
@Charley Doesn’t work…
Uncaught TypeError: Cannot read property 'getContext' of null
-
RE: gauge.js
@Charley Yes the table is visible. Only the gauge doesn’t appear.
-
RE: gauge.js
@E3V3A demo pictures are on the first link I left.
But yes, the GitHub repo should also contains some. -
gauge.js
Hello guys, I’m trying to make working the gauge.js lib on my MM.
Nothing appears on the screen. No error in logs or the console.
Here is what I do, I just copied the content of the example available here.
getScripts: function() { return ["http://bernii.github.io/gauge.js/dist/gauge.min.js"]; }, getDom: function () { let wrapper = document.createElement("div"); // add a gauge let opts = { angle: 0.15, /// The span of the gauge arc lineWidth: 0.44, // The line thickness pointer: { length: 0.9, // Relative to gauge radius strokeWidth: 0.035 // The thickness }, colorStart: '#6FADCF', // Colors colorStop: '#8FC0DA', // just experiment with them strokeColor: '#E0E0E0' // to see which ones work best for you }; let target = document.createElement("canvas"); let gauge = new Gauge(target).setOptions(opts); // create sexy gauge! gauge.maxValue = 3000; // set max gauge value gauge.setMinValue(0); // set min value gauge.set(1250); // set actual value wrapper.appendChild(target); return wrapper; }
Any idea of what I’m missing here?
Thanks a lot !
-
MMM-quote-of-the-day
Hi guys,
I haven’t found anything that fit what I had in mind so I made it.Here is the link to the module if you want to try it: https://github.com/Sispheor/MMM-quote-of-the-day
Features:
- show a random quote on the screen
- configure update interval
- translation on the fly of the quote in the language of your choice
- renew the quote from your module, the api or kalliope assistant
Result (in english here)
Integration with Kalliope assistant demo
https://www.youtube.com/watch?v=eWxtJsHDU2oAnd the repo
[card:sispheor/MMM-quote-of-the-day] -
RE: Kalliope assistant + MM
@marcnlx Uninstall pulse audio and work only with alsa.
We’ve remove pulseaudio from our doc.