Read the statement by Michael Teeuw here.
MMM-Tronity
-
Hi All,
has anyone got this module to work.
i keep getting Initialising MMM-Tronity
any ideas
many thanks as always
-
@bradley1982 got it working guys. I had turn the map feature to false (true) and that seems to have worked!
thanks for all your help.
Cheers
Paul
-
Let’s do some basic checks.
When you cloned the module, did you go to the module directory and run
npm install
?If not, do that now, and report back.
Did you get the API keys installed in your config, per the readme?
There may be a dependency missing from the core that it uses, I’m invoking @sdetweil to take a quick look see, and if so, instruct you how to install it.
the documentation is very poor, so really, I can’t do much more, and I doubt anyone else can, the module is 2 years old at this point, and may just be zombieware.
Good luck!
-
@bradley1982 there should be messages output from this module as part of magicmirror startup.
If you use pm2!to auto launch mm, then
pm2 logs —lines=50
Will show them. You may need to increase 50 to more
-
@sdetweil thanks guys I will try and revert!!
-
0|MagicMir | [2024-08-12 20:34:01.170] [LOG] Socket notification received GET_CAR_DATA 0|MagicMir | [2024-08-12 20:34:01.173] [LOG] No auth token! 0|MagicMir | [2024-08-12 20:34:01.175] [LOG] Authenticating via url https://api.tronity.tech/authentication 0|MagicMir | [2024-08-12 20:34:01.176] [LOG] Using client ID X 0|MagicMir | [2024-08-12 20:34:01.178] [LOG] and client secret x 0|MagicMir | [2024-08-12 20:34:01.180] [LOG] Completed auth token request 0|MagicMir | [2024-08-12 20:34:01.765] [LOG] Response status code 401 0|MagicMir | [2024-08-12 20:34:01.766] [LOG] 401 - Unauthorized 0|MagicMir | [2024-08-12 20:37:03.024] [INFO] Newsfeed-Fetcher: Broadcasting 22 items. 0|MagicMirror | [2024-08-12 20:39:01.170] [LOG] Socket notification received GET_CAR_DATA 0|MagicMirror | [2024-08-12 20:39:01.173] [LOG] No auth token! 0|MagicMirror | [2024-08-12 20:39:01.174] [LOG] Authenticating via url https://api.tronity.tech/authentication 0|MagicMirror | [2024-08-12 20:39:01.175] [LOG] Using client ID x 0|MagicMirror | [2024-08-12 20:39:01.176] [LOG] and client secret x 0|MagicMirror | [2024-08-12 20:39:01.181] [LOG] Completed auth token request 0|MagicMirror | [2024-08-12 20:39:03.136] [LOG] Response status code 401 0|MagicMirror | [2024-08-12 20:39:03.138] [LOG] 401 - Unauthorized
-
@bradley1982 didn’t like the authentication info you provided
-
@sdetweil @bradley1982 If google’s translation is even half good from german, the API is available through their login - there’s no documentation outside of the account system.
As such, I’d recommend reviewing their steps to get API key/Auth token from there, and do that - it appears that’s what’s missing.
-
@BKeyport doc says
-
@sdetweil I know what the plugin states, I’m saying the tronity website isn’t providing documentation outside the login system. ;)
-
Thanks for looking at this guys, presume it is just not working?