This commands allow to create/reinstall any needed tokens for MMM-GoogleAssistant
This command works only on terminal of the desktop of your raspberry Pi
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run token
GoogleHome App
This command will register MMM-GoogleAssistant like a device
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run register
In your google Home App, you will have a new device named:
Jarvis
.
When you device is registred, you have to enable
deviceRegistred: true,
in your config
Activate your assistant with your favorite keyword and ask him to show photos or add an appointment
GoogleServer will ask to you to enable personal result
and will send a popup in your phone.
Now, you have to complete the name of the device Jarvis
and check personal result !
GoogleHome App
This command will delete
Jarvis
device from GoogleHome App
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run delete
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run list
If a new version of GoogleAssistant is available
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run update
This Step is not needed if you use EXT-Updates plugin.
This plugin will automaticaly update MMM-GoogleAssistant if needed
This new command allow force reinstall or update all
MMM-GoogleAssistant
components:
MMM-GoogleAssistant
and allEXTs
installed
This command make automatic things !
This command can be used when a new MagicMirror² version is installed
When you have too manyMMM-GoogleAssistant
components to update
When you want to refresh (like a first install) allMMM-GoogleAssistant
components
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run refresh
Sample of output:
~/MagicMirror/modules/MMM-GoogleAssistant$ npm run refresh
> MMM-GoogleAssistant@5.4.2 refresh
> node installer/refresh.js
Start Refreshing and Updating MMM-GoogleAssistant, Gateway and EXTs
❤ Found: EXT-Alert
✅ Update of EXT-Alert: Version: 1.3.0 (231001)
---
❤ Found: EXT-Background
✅ Update of EXT-Background: Version: 1.2.4 (231001)
---
❤ Found: EXT-Bard
✅ Update of EXT-Bard: Version: 1.1.0 (230825)
---
❤ Found: EXT-Bring
✅ Update of EXT-Bring: Version: 1.2.3 (231001)
---
❤ Found: EXT-Browser
✅ Update of EXT-Browser: Version: 1.2.3 (231001)
---
❤ Found: EXT-Detector
⠧ Updating: EXT-Detector...
<...>
---
✋ Skipped: MMM-Test
---
✌ Result:
➤ Updated: xx/xx
➤ Failed: xx/xx
➤ Skipped: xx/xx
For reinstall this plugin, you can use this command:
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run rebuild
cd ~/MagicMirror/modules/MMM-GoogleAssistant
npm run migrate
see Migrate section