Read the statement by Michael Teeuw here.
MMM-OlympicGames
-
Link to module https://github.com/fewieden/MMM-OlympicGames
[1.1.0]
MagicMirror² version >= 2.15.0 required.
Fixed
- Installation instructions
Added
- Nunjuck template
- Dependency:
node-fetch
- Dependency:
lodash
- Github actions:
build
andchangelog
- Github config files
Changed
- Data source
- Preview image
- Config options
- Country names are now translated with the
Intl
object - Translations
Removed
- Dependency:
request
- Travis-CI integration
[card:fewieden/MMM-OlympicGames]
-
@strawberry-3-141 Thank you for updating this!
-
Hello, great job !!!
I update the module but It’s stay “Loading”
The log0|MagicMirror | [02.02.2022 10:24.38.381] [ERROR]
0|MagicMirror | Error getting olympic game medals FetchError: invalid json response body at https://www.bloomberg.com/tosv2.html?vid=&uuid=eeef6240-8409-11ec-a0ac-73657468704e&url=L2dyYXBoaWNzL2JlaWppbmctMjAyMi1vbHltcGljcy1kYXRhL2N1cnJlbnQuanNvbg== reason: Unexpected token < in JSON at position 0
0|MagicMirror | at /home/pi/MagicMirror/modules/MMM-OlympicGames/node_modules/node-fetch/lib/index.js:273:32
0|MagicMirror | at runMicrotasks (:null:null)
0|MagicMirror | at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|MagicMirror | at Class.getCountryMedals (/home/pi/MagicMirror/modules/MMM-OlympicGames/node_helper.js:54:36)
0|MagicMirror | {
0|MagicMirror | type: ‘invalid-json’
0|MagicMirror | }What I have to do to repair ?
Sorry for my poor English
Mat -
@mlhote Did you run npm install in the MMM-OlympicGames folder?
-
Yes
it’s write on the github -
@mlhote I just clicked the link in your Error and it directs to the below.
It seems to be working fine for me though
-
@mlhote I had the same issue initially, but after telling the API that I’m not a server but actually using the latest version of the Google Chrome browser here it worked for me and I didn’t experience the same issue again.
Maybe you changed the reload interval to something that is too frequent.
Can you please show your config of the module?
-
Great it’s work
Thk at everybody -
Great it’s work 1 time !!!
When i reboot MM, i have to click again on the url…
see my config
{
module: ‘MMM-OlympicGames’,
position: ‘top_right’,
disabled: false,
config: {
// all your config options, which are different than their default values
}
},So the trouble is not fix
-
Hello,
I hope you can help me… This is my first time posting in the message board so please excuse any formatting mistakes.
the module is on my MM but just says loading…
Here is the error
[03.02.2022 12:44.24.245] [ERROR] Error getting olympic game medals FetchError: invalid json response body at https://www.bloomberg.com/tosv2.html?vid=&uuid=12216a4d-8532-11ec-99d5-6f52634e6775&url=L2dyYXBoaWNzL2JlaWppbmctMjAyMi1vbHltcGljcy1kYXRhL2N1cnJlbnQuanNvbg== reason: Unexpected token < in JSON at position 0
I have clicked on the link and it takes you to a page that if you hold on the button it unlocks the data. I know someone else was dealing with that so I hope they found and answer
Here is some info about what I have done so far
MM version MagicMirror: v2.15.0
Synology Docker v20.10.3-1239First I cloned the MMM-OlympicGames to my modules folder
then added to my config file (see below)
] ){ module: 'MMM-OlympicGames', position: 'bottom_left', config: { } },
then I ran npm install --production in ~/MagicMirror/modules/MMM-OlympicGames directory.
added Locale to the default settings
locale: "en-US",
then I restarted the MM and it still says loading…
I even tried removing it and staring over step by step this morning and still have loading…
Any ideas to point me in the right direction would be most helpful. I really like this module and would like to use it
Thanks