Unsolved Alert shows: [FATAL] Assitant: credentials.json missing
-
Bonjour Cédric,
I´ve been using your plugins for some time now. Merci for all the provided work you´ve done.
As I am far away from coding and just a simple user I´ve got an Error I can´t explain.
I´ve updated my whole mirror with a fresh version of bullseye and have used your installer.
Now the altert version is giving me the fatal-error. Any idea how to fix that? Do I need a Google ID?MagicMirror²: 2.24.0
Electron: 25.4.0
MagicMirror² Node: 18.15.0
Node: 16.20.1
NPM: 8.19.4
OS: Raspbian 11 (bullseye arm)
Kernel: 6.1.21-v7+Gateway 3.5.1 230807
Gateway v3.5.1 (230807.de)
Is this the error?
[10.08.2023 17:47.41.644] [ERROR] [GATEWAY] [SYSTEMINFO] readFile data error! SyntaxError: Unexpected end of JSON input
[10.08.2023 17:47.41.649] [LOG] [GATEWAY] [SYSTEMINFO] Initialized
[10.08.2023 17:47.41.651] [LOG] [GATEWAY] no CLIENT_ID found in your config!Do you need another log?
I´ve tried several reinstalls and rebuilds. A little lost here.
And in addition:
I have used your last version of EXT-Pir and Screen but at the moment it´s not working. I dont know if the GPIO and sensor are working correctly or if they can´t as long as the fatal-error is there? Don´t think the GPIO Pins have changed as they were working in my old config.Last working config:
{
module: ‘EXT-Screen’,
position: ‘top_left’,
config: {
debug: false,
animateBody: true,
delay: 1 * 60 * 1000,
turnOffDisplay: true,
mode: 1,
ecoMode: true,
displayCounter: true,
displayBar: true,
displayStyle: “Line”,
displayLastPresence: true,
lastPresenceTimeFormat: “LL H:mm”,
detectorSleeping: false,
autoHide: true,
delayed: 0,
gpio: 21,
clearGpioValue: true
}
},
{
module: ‘EXT-Pir’,
config: {
debug: false,
gpio: 21,
reverseValue: false
}
},
{and now:
},
{
“module”: “EXT-Pir”,
“disabled”: false,
“config”: {
“debug”: false,
“gpio”: 21,
“reverseValue”: false
}
},
{
“module”: “EXT-Screen”,
“position”: “top_left”,
“disabled”: false,
“config”: {
“debug”: false,
“animateBody”: true,
“delay”: 120000,
“mode”: 1,
“displayCounter”: true,
“displayBar”: true,
“displayStyle”: “Circle”,
“displayLastPresence”: true,
“lastPresenceTimeFormat”: “LL H:mm”,
“detectorSleeping”: false,
“gpio”: 21,
“clearGpioValue”: true,
“sound”: false,
“touchMode”: 3,
“ON”: [],
“OFF”: []And ideas on that?
Sorry for all the questions. Hopefully I´ve provided all the information you´ll need.Merci.
-
Hi,
[FATAL] Assitant: credentials.json missing
is related to MMM-GoogleAssistantIt’s means your credentials.json is missing in
MMM-GoogleAssistant
folder
So, download it again from Google Cloud
Or if never created see wiki thereDon’t forget to run
npm run token
after -
Thanks. Will try that.
Never worked with that before.
Haven’t found that in wiki and installer. Merci.So you think EXT-Pir and Screen will work after that?
-
sure it should works
-
Thanks. Mainly working just a bit of cleaning in config.
Merci and happy holidays.