@waynerob11 Hi,
please check in your config.js the radius value. It should be Radius: 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.