A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-FroniusSolar family modules
-
Hi Chris,
Don’t know what I did but it’s all working now - only problem is all the circles are bunched up.
Also, how can I enlarge and bold the fonts -
@waynerob11
Hi,
please send a screenshot to understand clearly what you like to do. -
-
@waynerob11 Hi,
please check in your
config.js
the radius value. It should beRadius: 50,
. In the beginning when I released the module there was a copy+paste error. The radius was 80.
If you want to enlarge everything as I see the gauge radius on your mirror you need do go deeper into the
MMM-FroniusSolar2.js
file:- Adjust text size in
// Main Text | // Sub Text
area. - Modify gauge coordinates here:
const positions = { PV: { x: 75, y: 75 }, Grid: { x: 225, y: 75 }, Akku: { x: 75, y: 225 }, House: { x: 225, y: 225 } };
- If everything is bigger modify also the view box:
svg.setAttribute("viewBox", "0 -20 300 350"); // Adjusted viewBox to fix label cutoff
The view box part is really annoying. It does not what you expect (The gauges do not have 50px. In fact everything is scaled in the viewbox). If you have a working status which might be useful for others, please share. I cannot support here since it is really tricky.
- Adjust text size in
-
@chrisfr1976 Changing it from 80 to 50 fixed the problem - thankyou