Page 1 of 1

Help Adding New Gauges

Posted: Tue 28 Dec 2021 8:02 pm
by SJG1976
I've been trying to add a few new Gauges to my Gauges page.

I thought I had it all sorted but run into some issues.

I've copied some of the other Gaughes code, and the code from Mark's Templates.

However I can't work out how or where the tooltip info comes from.

At the moment I've just removed it.

Also when I clicked on one of the footers to Marks website I hit his anti-hack site when browsing from a Puffin Browser on my TV.

Have I configured something wrong.

On a Normal web browser it works fine just on the TV it gets an error.

Help...?

Oh and the Air Quality sensors are in Anticipation from the Airlinks arriving soon.

Soil moisture was the other new one from a EcoWitt sensor.

Re: Help Adding New Gauges

Posted: Sat 01 Jan 2022 10:54 pm
by dazza1223
yh im the same but i was trying to remove the tooltip cos like u say there are not working but where do i remove the bit off code to trun them off or the AQI PM2.5 ones as i cnt find it ?

Re: Help Adding New Gauges

Posted: Sun 02 Jan 2022 5:41 pm
by SJG1976
For Me I just removed the Code from the HTML

So For Removing the tool tips I changed.

Code: Select all

</div>
								<div class="w3-panel w3-theme-l5 at-gaugeSmall" style="order:0;">
								<!--	dial	-->
								<h5>Air Quality PM10</h5>
								<div id="tip_12" class="gauge w3-center">
									<canvas id="canvas_PM10" class="gaugeSmall"></canvas>
								</div>
							</div>
						</div>
						
Too

Code: Select all

</div>
								<div class="w3-panel w3-theme-l5 at-gaugeSmall" style="order:0;">
								<!--	dial	-->
								<h5>Air Quality PM10</h5>
									<canvas id="canvas_PM10" class="gaugeSmall"></canvas>
							</div>
						</div>
At least I'm sure that's what I done.

I'd still like to add the tooltips, but still don't know where they come from.
I gather i need to get the values and build them into the tip_12 tip_12 and tip_13 values somehow, but that is a bit beyond me.

Let alone getting a airquality.json too work..

Baby steps for me.




So Just removed the div with the tip