@josh All my tiles with gauges are showing blank this morning.
EDIT: One iPad running in Safari has issue. Echo Show 15 using Fully has issue. Chrome on Mac has issue. Another iPad running in Safari does NOT.
@josh All my tiles with gauges are showing blank this morning.
EDIT: One iPad running in Safari has issue. Echo Show 15 using Fully has issue. Chrome on Mac has issue. Another iPad running in Safari does NOT.
Which type of gauges? One of the custom gauge tiles? If so, which one?
They are all the custom āGauge Thing (Apex).ā
Iām not able to reproduce currently. Have you tried refreshing the browser displaying those gauges?
The Apex Gauge tile relies on the external Apex Gauge Library (loaded from unpkg) so itās possible that there was a temporary issue loading that external library.
Iāve tried completely closing Chrome on the Mac and reloading the home page in Fully on the Echo Show. Neither brings the loading back.
Canāt understand why itās working fine on one iPad (via Safari) even after fully closing Safari and opening again. Signing in fresh on that same iPad via Chrome does not load the gauges.
Are you able to open Dev Tools on the Mac and see any specific errors when loading the gauges?
I saw on the unpkg GitHub that they have been doing some major rearchitecture. I would have thought that if there was a temporary issue that refreshing the page would resolve things though.
Stepping a little outside my comfort zone here, but I can see these. One occurrence for each gauge tile on the page:
From the link in one of those (cursor is at: reject(error);
)
You could try switching from unpkg to another library CDN like cdnjs. The modification to the custom tile would look something like:
<!-- <script src="https://unpkg.com/json5@2/dist/index.min.js"></script> -->
<!-- <script src="https://unpkg.com/apexcharts@3.49.0/dist/apexcharts.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/json5/2.2.3/index.min.js" integrity="sha512-44jdhc+R2TFfzBflS3/dGNEABiNUxBkkrqwO7GWTvGsj3HkQNr3GESvI9PUvAxmqxSnTosR0Ij9y3+o+6J1hig==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/apexcharts/3.49.2/apexcharts.min.js" integrity="sha512-3BIgFs7OIA76S6nx4QMAiSPlGXgCN+eITFIY6q0q0sFPxkuVzVXy0Vp/yQfXP3wyf+DmRpHRzEw3fQc/yrhk4w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.sharptools.io/js/custom-tiles/0.2.1/stio.js"></script>
Cloudflare, which is the CDN that powers both unpkg and cdnjs has an endpoint in Dallas (PoP), and itās possible that something is cached incorrectly there but Iām out of town at the moment so itās possible that Iām hitting a different CDN endpoint and things are fine there.
Okay, Iāll take a look.
Appreciate you checking-in but itās not an urgent issue, for me at least.
Firstly, my apologies, but this is the āGauge Thing (JS)ā custom tile, not Apex.
I tried the above and it hasnāt helped. Furthermore, the gauges on the iPad that was working are now no longer, lol.
Like I said. Not urgent.
For the Gauge.js tile āGauge Thing (JS)ā the change would look like:
<!-- <script src="https://unpkg.com/json5@2/dist/index.min.js"></script> -->
<!-- <script src="https://unpkg.com/gaugeJS@1.3.8/dist/gauge.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/json5/2.2.3/index.min.js" integrity="sha512-44jdhc+R2TFfzBflS3/dGNEABiNUxBkkrqwO7GWTvGsj3HkQNr3GESvI9PUvAxmqxSnTosR0Ij9y3+o+6J1hig==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gauge.js/1.3.9/gauge.min.js" integrity="sha512-/gkYCBz4KVyJb3Shz6Z1kKu9Za5EdInNezzsm2O/DPvAYhCeIOounTzi7yuIF526z3rNZfIDxcx+rJAD07p8aA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.sharptools.io/js/custom-tiles/0.2.1/stio.js"></script>
That did it Josh, thanks.