A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
gauge.js
-
@sispheor Another wnaker repo talking about “cool looking JavaScript gauge” without a single picture on the page.
-
@E3V3A demo pictures are on the first link I left.
But yes, the GitHub repo should also contains some. -
You may need a start!
start: function () { },
-
@Charley yes, I haven’t shown it but it’s present.
-
What is the code in your start.
I expect you don’t add the wrapper to the dom -
-
@sispheor Is everything invisible or just the gauge?
Do you see pressure or temperatures?
What is in your console.log fromconsole.log('adafruit_python_bpm.py results: %j', results[0]);
-
@Charley Yes the table is visible. Only the gauge doesn’t appear.
-
Okay I might have an idea
Change your createElement part to
let mycanvas = document.createElement("div"); mycanvas.id=("divcanvas") let target=document.getElementById("divcanvas")
-
@Charley OK thanks, I’ll try this in a couple minutes.