Hey,
I have a problem when I want to use Microsoft to-do and Spotify at the same time.
The Microsoft To-do module opens and works normally, but Spotify no longer connects and the white logo remains.
When i remove Microsoft To-do Spotify it works perfectly.
@skuethe has determind that:
It seems MMM-Spotify is not starting - there should be a log entry after initialization:
[LOG] [SPOTIFY] MMM-Spotify Version: 2.1.0
https://github.com/skuethe/MMM-Spotify/issues/181
Maybe somewone can help me :)
attached the Log whith both active.
|MagicMirror | > magicmirror@2.18.0 start
0|MagicMirror | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMirror | [11.01.2022 20:31.19.768] [LOG] Starting MagicMirror: v2.18.0
0|MagicMirror | [11.01.2022 20:31.19.781] [LOG] Loading config ...
0|MagicMirror | [11.01.2022 20:31.19.791] [LOG] Loading module helpers ...
0|MagicMirror | [11.01.2022 20:31.19.795] [LOG] No helper found for module: alert.
0|MagicMirror | [11.01.2022 20:31.20.281] [LOG] Initializing new module helper ...
0|MagicMirror | [11.01.2022 20:31.20.283] [LOG] Module helper loaded: MMM-MicrosoftToDo
0|MagicMirror | [11.01.2022 20:31.20.285] [LOG] No helper found for module: clock.
0|MagicMirror | [11.01.2022 20:31.20.406] [LOG] Initializing new module helper ...
0|MagicMirror | [11.01.2022 20:31.20.407] [LOG] Module helper loaded: calendar
0|MagicMirror | [11.01.2022 20:31.20.411] [LOG] Initializing new module helper ...
0|MagicMirror | [11.01.2022 20:31.20.412] [LOG] Module helper loaded: MMM-SmartTouch
0|MagicMirror | [11.01.2022 20:31.20.477] [LOG] Initializing new module helper ...
0|MagicMirror | [11.01.2022 20:31.20.478] [LOG] Module helper loaded: MMM-Spotify
0|MagicMirror | [11.01.2022 20:31.20.479] [LOG] No helper found for module: weather.
0|MagicMirror | [11.01.2022 20:31.20.480] [LOG] All module helpers loaded.
0|MagicMirror | [11.01.2022 20:31.20.585] [LOG] Starting server on port 8080 ...
0|MagicMirror | [11.01.2022 20:31.20.606] [LOG] Server started ...
0|MagicMirror | [11.01.2022 20:31.20.607] [LOG] Connecting socket for: MMM-MicrosoftToDo
0|MagicMirror | [11.01.2022 20:31.20.609] [INFO] MMM-MicrosoftToDo node_helper started ...
0|MagicMirror | [11.01.2022 20:31.20.610] [LOG] Connecting socket for: calendar
0|MagicMirror | [11.01.2022 20:31.20.612] [LOG] Starting node helper for: calendar
0|MagicMirror | [11.01.2022 20:31.20.614] [LOG] Connecting socket for: MMM-SmartTouch
0|MagicMirror | [11.01.2022 20:31.20.616] [LOG] Connecting socket for: MMM-Spotify
0|MagicMirror | [11.01.2022 20:31.20.618] [LOG] Sockets connected & modules started ...
0|MagicMirror | [11.01.2022 20:31.20.988] [LOG] Launching application.
0|MagicMirror | [11.01.2022 20:31.23.733] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxx/basic.ics - Interval: 300000
0|MagicMirror | [11.01.2022 20:31.23.753] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxx/basic.ics - Interval: 300000
0|MagicMirror | [11.01.2022 20:31.23.770] [LOG] Smart Touch module has started
0|MagicMirror | [11.01.2022 20:31.24.239] [INFO] Calendar-Fetcher: Broadcasting 1 events.
0|MagicMirror | [11.01.2022 20:31.24.759] [INFO] Calendar-Fetcher: Broadcasting 7 events.
0|MagicMirror | [11.01.2022 20:31.25.149] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:31.25.161] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:32.24.212] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:32.25.123] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:33.24.565] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:33.24.572] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:34.23.781] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:34.23.804] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:35.24.531] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:35.24.541] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:36.23.863] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:36.23.893] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:36.24.575] [INFO] Calendar-Fetcher: Broadcasting 1 events.
0|MagicMirror | [11.01.2022 20:36.25.231] [INFO] Calendar-Fetcher: Broadcasting 7 events.
0|MagicMirror | [11.01.2022 20:37.23.874] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:37.23.932] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:38.23.822] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:38.23.844] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:39.23.822] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:39.23.872] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:40.23.963] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
0|MagicMirror | [11.01.2022 20:40.24.045] [INFO] [MMM-MicrosoftToDo] - Retrieving Tasks for 1 list(s)
And when Microsoft To-do is Disabled
0|MagicMirror | > magicmirror@2.18.0 start
0|MagicMirror | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMirror | [11.01.2022 20:42.22.050] [LOG] Starting MagicMirror: v2.18.0
0|MagicMirror | [11.01.2022 20:42.22.059] [LOG] Loading config ...
0|MagicMirror | [11.01.2022 20:42.22.070] [LOG] Loading module helpers ...
0|MagicMirror | [11.01.2022 20:42.22.074] [LOG] No helper found for module: alert.
0|MagicMirror | [11.01.2022 20:42.22.076] [LOG] No helper found for module: clock.
0|MagicMirror | [11.01.2022 20:42.22.273] [LOG] Initializing new module helper ...
0|MagicMirror | [11.01.2022 20:42.22.275] [LOG] Module helper loaded: calendar
0|MagicMirror | [11.01.2022 20:42.22.278] [LOG] Initializing new module helper ...
0|MagicMirror | [11.01.2022 20:42.22.279] [LOG] Module helper loaded: MMM-SmartTouch
0|MagicMirror | [11.01.2022 20:42.22.359] [LOG] Initializing new module helper ...
0|MagicMirror | [11.01.2022 20:42.22.360] [LOG] Module helper loaded: MMM-Spotify
0|MagicMirror | [11.01.2022 20:42.22.362] [LOG] No helper found for module: weather.
0|MagicMirror | [11.01.2022 20:42.22.363] [LOG] All module helpers loaded.
0|MagicMirror | [11.01.2022 20:42.22.474] [LOG] Starting server on port 8080 ...
0|MagicMirror | [11.01.2022 20:42.22.493] [LOG] Server started ...
0|MagicMirror | [11.01.2022 20:42.22.494] [LOG] Connecting socket for: calendar
0|MagicMirror | [11.01.2022 20:42.22.496] [LOG] Starting node helper for: calendar
0|MagicMirror | [11.01.2022 20:42.22.497] [LOG] Connecting socket for: MMM-SmartTouch
0|MagicMirror | [11.01.2022 20:42.22.498] [LOG] Connecting socket for: MMM-Spotify
0|MagicMirror | [11.01.2022 20:42.22.499] [LOG] Sockets connected & modules started ...
0|MagicMirror | [11.01.2022 20:42.22.854] [LOG] Launching application.
0|MagicMirror | [11.01.2022 20:42.25.387] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxxxxx/basic.ics - Interval: 300000
0|MagicMirror | [11.01.2022 20:42.25.523] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxx/basic.ics - Interval: 300000
0|MagicMirror | [11.01.2022 20:42.25.544] [LOG] Smart Touch module has started
0|MagicMirror | [11.01.2022 20:42.25.563] [LOG] [SPOTIFY] MMM-Spotify Version: 2.1.0
0|MagicMirror | [11.01.2022 20:42.26.163] [INFO] Calendar-Fetcher: Broadcasting 1 events.
0|MagicMirror | [11.01.2022 20:42.26.434] [INFO] Calendar-Fetcher: Broadcasting 7 events.
and here is my config :
/* Magic Mirror Config Sample
*
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.
*
* For more information on how you can configure this file
* see https://docs.magicmirror.builders/getting-started/configuration.html#general
* and https://docs.magicmirror.builders/modules/configuration.html
*/
let 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: "de",
locale: "de-de",
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
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: 'MMM-MicrosoftToDo',
position: 'bottom_right', // This can be any of the regions. Best results in left or right regions.
header: 'Einkaufsliste', // This is optional
config: {
oauth2ClientSecret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
oauth2RefreshToken: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
oauth2ClientId: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
listName: 'EINKAUFSLISTE', // optional parameter: if not specified displays tasks from default "Tasks" list, if specified will look for a task list with the specified name (exact spelling)
showCheckbox: true, // optional parameter: default value is true and will show a checkbox before each todo list item
showDueDate: false, // optional parameter: default value is false and will show the todo list items due date if it exists on the todo list item
dateFormat: 'ddd MMM Do [ - ]', //optional parameter: uses moment date format and the default value is 'ddd MMM Do [ - ]'
highlightTagColor: '#E3FF30', // optional parameter: highlight tags (#Tags) in the entry text. value can be a HTML color value
hideIfEmpty: false, // optional parameter: default value is false and will show the module also when the todo list is empty
maxWidth: 450, // optional parameter: max width in pixel, default value is 450
itemLimit:12, // optional parameter: limit on the number of items to show from the list, default value is 200
orderBy: 'createdDate', // optional parameter: 'createdDate' - order results by creation date, 'dueDate' - order results by due date, default value is unordered, ordering by title is not supported anymore in API version 1
completeOnClick: true, // optional parameter: default value is false, when set to true complete task when clicking on it
refreshSeconds: 60, // optional parameter: every how many seconds should the list be updated from the remote service, default value is 60
fade: true, //optional parameter: default value is false. True will fade the list towards the bottom from the point set in the fadePoint parameter
fadePoint: 0.5, //optional parameter: decimal value between 0 and 1 sets the point where the fade effect will start,
colorDueDate: false, // optional parameter: default value is false. True will display colors for overdue (red), upcoming (orange), and future (green) dates
}
},
{
module: 'MMM-MicrosoftToDo',
position: 'top_right', // This can be any of the regions. Best results in left or right regions.
header: 'to-do list', // This is optional
config: {
oauth2ClientSecret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
oauth2RefreshToken: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
oauth2ClientId: '9xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,
listName: 'Alexa to-do list', // optional parameter: if not specified displays tasks from default "Tasks" list, if specified will look for a task list with the specified name (exact spelling)
showCheckbox: true, // optional parameter: default value is true and will show a checkbox before each todo list item
showDueDate: false, // optional parameter: default value is false and will show the todo list items due date if it exists on the todo list item
dateFormat: 'ddd MMM Do [ - ]', //optional parameter: uses moment date format and the default value is 'ddd MMM Do [ - ]'
highlightTagColor: '#E3FF30', // optional parameter: highlight tags (#Tags) in the entry text. value can be a HTML color value
hideIfEmpty: false, // optional parameter: default value is false and will show the module also when the todo list is empty
maxWidth: 450, // optional parameter: max width in pixel, default value is 450
itemLimit:12, // optional parameter: limit on the number of items to show from the list, default value is 200
orderBy: 'createdDate', // optional parameter: 'createdDate' - order results by creation date, 'dueDate' - order results by due date, default value is unordered, ordering by title is not supported anymore in API version 1
completeOnClick: true, // optional parameter: default value is false, when set to true complete task when clicking on it
refreshSeconds: 60, // optional parameter: every how many seconds should the list be updated from the remote service, default value is 60
fade: true, //optional parameter: default value is false. True will fade the list towards the bottom from the point set in the fadePoint parameter
fadePoint: 0.5, //optional parameter: decimal value between 0 and 1 sets the point where the fade effect will start,
colorDueDate: false, // optional parameter: default value is false. True will display colors for overdue (red), upcoming (orange), and future (green) dates
}
},
{
module: "clock",
position: "top_center"
},
{
module: "calendar",
header: "Unsere Termine",
position: "bottom_left",
config: {
calendars: [
{
symbol: "xxxxx",
url: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics"
},
{
symbol: "xxxxx",
url: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics"
}
]
}
},
{
module: 'MMM-SmartTouch',
position: 'bottom_center', // This can be any of the regions.(bottom-center Recommended)
config:{
// None configuration options defined
}
},
{
module: "MMM-Spotify",
position: "top_center", // "bottom_bar" or "top_bar" for miniBar
config: {
debug: false, // debug mode
style: "mini", // "default" or "mini" available (inactive for miniBar)
moduleWidth: 360, // width of the module in px
control: "default", // "default" or "hidden"
showAlbumLabel: true, // if you want to show the label for the current song album
showVolumeLabel: true, // if you want to show the label for the current volume
showAccountName: false, // also show the current account name in the device label; usefull for multi account setup
showAccountButton: true, // if you want to show the "switch account" control button
showDeviceButton: true, // if you want to show the "switch device" control button
useExternalModal: false, // if you want to use MMM-Modal for account and device popup selection instead of the build-in one (which is restricted to the album image size)
updateInterval: 1000, // update interval when playing
idleInterval: 30000, // update interval on idle
defaultAccount: 0, // default account number, attention : 0 is the first account
defaultDevice: null, // optional - if you want the "SPOTIFY_PLAY" notification to also work from "idle" status, you have to define your default device here (by name)
allowDevices: [], //If you want to limit devices to display info, use this. f.e. allowDevices: ["RASPOTIFY", "My Home speaker"],
onStart: null, // disable onStart feature with `null`
// if you want to send custom notifications when suspending the module, f.e. switch MMM-Touch to a different "mode"
notificationsOnSuspend: [
{
notification: "TOUCH_SET_MODE",
payload: "myNormalMode",
},
{
notification: "WHATEVERYOUWANT",
payload: "sendMe",
}
],
// if you want to send custom notifications when resuming the module, f.e. switch MMM-Touch to a different "mode"
notificationsOnResume: [
{
notification: "TOUCH_SET_MODE",
payload: "mySpotifyControlMode",
},
],
deviceDisplay: "Listening on", // text to display in the device block (default style only)
volumeSteps: 5, // in percent, the steps you want to increase or decrese volume when reacting on the "SPOTIFY_VOLUME_{UP,DOWN}" notifications
// miniBar is no longer supported, use at your own "risk". Will be removed in a future version
miniBarConfig: {
album: true, // display Album name in miniBar style
scroll: true, // scroll title / artist / album in miniBar style
logo: true, // display Spotify logo in miniBar style
}
}
},
{
module: "weather",
position: "top_left",
config: {
weatherProvider: "openweathermap",
type: "current",
location: "xxxxxxxxx",
locationID: "xxxxxxxx", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "xxxxxxxxxxx"
}
},
{
module: "weather",
position: "top_left",
header: "Weather Forecast",
config: {
weatherProvider: "openweathermap",
type: "forecast",
location: "xxxxxxxxxx",
locationID: "xxxxxxxxxxxx", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "xxxxxxxxxxxxxxxxxxxx"
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
Thank you for your help :)