Hi all,
@Bugsounet thank you very much for all your modules, great job!
Yesterday I installed GoogleAssistant and Asstistant2Display, no problem so far, it works out of the box. After some simple test, I started to configure the youtube part. Again, no problem with that.
But now, I have some questions, maybe it is a configuration issue, or maybe I have misunderstood how the modules should work, or the simplest thing, I am to stupid
An example:
When I start to watch a youtube video, how can I stop it? “Jarvis stop… Jarvis stop video” don’t work. Even if I change the stopcommand. The result is, Jarvis say “Cool” or “Now I am quit” but nothing happens. I noticed, when I click the mouse button, it stops… For testing ok, for a standalone Mirror not really good.
Same with photos, how I can stop it?
Second question:
The part in the config for links it means, that I could open a web page, right? If I say, “Jarvis, open the web page Golem.de” should open the web page? Because Jarvis answers correct and says “Will open web page” but nothing happens. Is that a config issue, or is it not working properly or works only with Wiki and weather?
Third question and last one:
I noticed, that after a command, like how is the weather like or maybe some other question, can’t rember now, I had a black screen without my modules. Jarvis is still working, but I can’t see my “homescreen”.
Maybe to many questions, but both modules are really interesting, so I would like to understand more and I think, i read the wiki very carefully, but who knows, maybe I read over something.
Here is my config. Very simple, for testing this modules I started with a virgin MagicMirror and only this two modules besides the standards modules. What can I do or say to bring back my homescreen?
*
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.
*
* For more information on how you can configure this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost"
port: 8080,
basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a /
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP
httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
language: "en",
logLevel: ["INFO", "LOG", "WARN", "ERROR"],
timeFormat: 24,
units: "metric",
// serverOnly: true/false/"local" ,
// local for armv6l processors, default
// starts serveronly and then starts chrome browser
// false, default for all NON-armv6l devices
// true, force serveronly mode, because you want to.. no UI on this device
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "US Holidays",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check",
url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" }
]
}
},
{
module: "compliments",
position: "lower_third"
},
/* {
module: "currentweather",
position: "top_right",
config: {
location: "New York",
locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "New York",
locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "YOUR_OPENWEATHER_API_KEY"
}
}, */
{
module: "MMM-GoogleAssistant",
position: "fullscreen_above",
config: {
debug: false,
assistantConfig: {
lang: "de-DE",
projectId: "", // Required to use gaction.
modelId: "", // (OPTIONAL for gaction)
instanceId: "", // (OPTIONAL for gaction)
latitude: 49.97704,
longitude: 9.15214,
},
responseConfig: {
useScreenOutput: true,
screenOutputCSS: "screen_output.css",
screenOutputTimer: 5000,
screenRotate: false,
activateDelay: 250,
useAudioOutput: true,
useChime: true,
newChime: false,
useNative: false,
playProgram: "mpg321"
},
micConfig: { // put there configuration generated by auto-installer
recorder: "arecord",
device: "plughw:2",
},
customActionConfig: {
autoMakeAction: false,
autoUpdateAction: false, // in RPI, gaction CLI might have some trouble.(current version should be 2.2.4, but for linux-arm, Google haven't updated) so leave this as false in RPI. I don't know it is solved or not.
actionLocale: "de-DE", // At this moment, multi-languages are not supported, sorry. Someday I'll work.
},
snowboy: {
usePMDL: false,
audioGain: 2.0,
Frontend: true,
Model: "jarvis",
Sensitivity: null
},
A2DServer: {
useA2D: true,
stopCommand: "Stop",
useYouTube: true,
displayResponse: true
},
recipes: [ "with-MMM-TelegramBot.js" ],
NPMCheck: {
useChecker: true,
delay: 10 * 60 * 1000,
useAlert: true
}
}
},
{
module: "MMM-Assistant2Display",
position: "top_left",
config: {
debug:false,
useYoutube: true,
links: {
useLinks: true,
displayDelay: 60 * 1000,
scrollStep: 25,
scrollInterval: 1000,
scrollStart: 5000,
scrollActivate: false,
verbose: true
},
photos: {
usePhotos: true,
displayDelay: 10 * 1000
},
volume: {
useVolume: false,
volumePreset: "ALSA",
myScript: null
},
briefToday: {
useBriefToday: false,
welcome: "brief Today"
},
screen: {
useScreen: false,
delay: 5 * 60 * 1000,
turnOffDisplay: false,
mode: 1,
ecoMode: true,
displayCounter: true,
displayBar: false,
displayStyle: "Text",
text: "Auto Turn Off Screen:",
detectorSleeping: false,
governorSleeping: false,
displayLastPresence: true,
LastPresenceText: "Last Presence:",
},
pir: {
usePir: false,
gpio: 21,
reverseValue: false
},
governor: {
useGovernor: false,
sleeping: "powersave",
working: "ondemand"
},
internet: {
useInternet: false,
displayPing: false,
delay: 2* 60 * 1000,
scan: "google.de",
command: "pm2 restart 0",
showAlert: true
},
cast: {
useCast: false,
castName: "MagicMirror_A2D",
port: 8569
},
spotify: {
useSpotify: false,
useIntegred: false,
useLibrespot: false,
connectTo: null,
playDelay: 3000,
minVolume: 10,
maxVolume: 100,
updateInterval: 1000,
idleInterval: 10000,
username: "",
password: "",
CLIENT_ID: "",
CLIENT_SECRET: "",
deviceDisplay: "Listening on",
usePause: true,
typeArtist: "artist",
typePlaylist: "playlist",
typeAlbum: "album",
typeTrack: "track"
},
NPMCheck: {
useChecker: true,
delay: 10 * 60 * 1000,
useAlert: true
}
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
}
],
showSourceTitle: true,
showPublishDate: true,
broadcastNewsFeeds: true,
broadcastNewsUpdates: true
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}