MMM-WeatherChart icon indicating copy to clipboard operation
MMM-WeatherChart copied to clipboard

Cant see the module

Open Kikstraaa opened this issue 1 year ago • 8 comments

I've downloaded the module (latest version) and installed it, entered the API key and have chart.js on version [email protected]. I am doing something wrong, but cant find it. The API Key is also working and the location is also checked.

I see the space on the screen where it has to be, but nothing is showing, all i see is a black box on the place where it has to be between the modules. All the other modules are working.

What am i doing wrong?

Kikstraaa avatar Mar 27 '24 22:03 Kikstraaa

Hello @Kikstraaa

Chart.js v4 is not tested on the module. Is it possible to use Chart.js v3?

I tested well for the default Chart.js version (v3.4.0).

mtatsuma avatar Mar 29 '24 13:03 mtatsuma

Thank you for your reply, ive installed v3.4.0 in stead of the newest version, but didn't work either. Also updated to chart.js V3.9.0, also nothing visible. The place where it should be is still black, further under the rest of the modules are visible. I've reinstalled the Module and didnt change anything. This is the what i have on the moment: { module: "MMM-WeatherChart", position: "top_right", config: { "apiKey": "working api key from open weathermap", "dataNum": 12, "dataType": "hourly", "height": "300px", "width": "500px", "lat": 52.126305, "lon": 4.653876, "units": "metric", "showRain": true, "includeSnow": true, "showSnow": true, "showIcon": true } },

This evening im going to reinstall the whole Raspberry. If anyone has ideas what to do, then please let me know.

Kikstraaa avatar Apr 07 '24 16:04 Kikstraaa

@Kikstraaa

further under the rest of the modules are visible.

What modules are you using at the same time? The other modules you are using may load a different version of Chart.js for your screen.

mtatsuma avatar Apr 08 '24 13:04 mtatsuma

Mmm-Weatermap Mmm-rainfc Mmm-NLDepartureTimes Mmm-nstreinen

I've also tried the other mmm-WeatherChart but also didn't work

Kikstraaa avatar Apr 08 '24 13:04 Kikstraaa

Hi @Kikstraaa

Mmm-Weatermap

Could you provide the link for the Github repository? I can not find it.

mtatsuma avatar Apr 14 '24 14:04 mtatsuma

https://github.com/paphko/mmm-weatherchart

Kikstraaa avatar Apr 15 '24 11:04 Kikstraaa

Same issue here. It displays as blank using chart.js 3.4.0, or 3.9.1

Milkysunshine avatar Apr 20 '24 17:04 Milkysunshine

Looking at the browser console, I was getting a 401 unauthorized for the onecall request. It took quite a while for my subscription to be activated by openweather even though I already had a free account with api keys.

It is now resolved for me.

Milkysunshine avatar Apr 20 '24 18:04 Milkysunshine