Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Solved Spotify control with voice

    Issues
    2
    5
    70
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Benedek369 last edited by

      Hey, I tried to control Spotify by my voice, but it’s not working (the voice commands is not working).
      I only can listen to music on the mirror when I connect my phone to raspotify.
      kép_2022-01-22_151612.png
      But I can not control it by my voice, only with my phone.
      Is there any solution?
      I have a premium Spotify account.
      I already install Spotify token and connected my email with my Spotify account, oh and I already installed raspotify.

      modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "clock",
      			position: "top_right"
      		},
      		{
      			module: "weather",
      			position: "top_left",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "current",
      				location: "******",
      				locationID: "*****", 
      				apiKey: "******"
      			}
      		},
      		{
      			module: "weather",
      			position: "top_left",
      			header: "Weather Forecast",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "forecast",
      				location: "*****",
      				locationID: "*****", 
      				apiKey: "*******"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "*******",
      						url: "*******"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true,
      				broadcastNewsFeeds: true,
      				broadcastNewsUpdates: true
      			}
      		},
      		{
      		  module: "MMM-GoogleAssistant",
      		  position: "top_left",
      		  configDeepMerge: true,
      		  config: {
      			debug: false,
      			assistantConfig: {
      			  lang: "en-US",
      			  latitude: *******,
      			  longitude: *******,
      			},
      			responseConfig: {
      			  useFullscreen: true,
      			  useResponseOutput: true,
      			  responseOutputCSS: "response_output.css",
      			  screenOutputTimer: 5000,
      			  activateDelay: 250,
      			  useAudioOutput: true,
      			  useChime: true,
      			  confirmationChime: true,
      			  useInformations: true,
      			  chimes: {},
      			  imgStatus: {},
      			  zoom: {}
      			},
      			Extented: {
      			  useEXT: true,
      			  youtube: {
      			   useYoutube: true,
      			   youtubeCommand: "youtube",
      			   displayResponse: true,
      			   useVLC: true,
      			   minVolume: 30,
      			   maxVolume: 100
      			},
      			  links: {
      			   useLinks: true,
      			   displayDelay: 60 * 1000,
      			   scrollActivate: false,
      			   scrollStep: 25,
      			   scrollInterval: 1000,
      			   scrollStart: 5000
      			},
      			  photos: {},
      			  volume: {
      			   useVolume: false,
      			   volumePreset: "PULSE",
      			   myScript: null
      			},
      			  internet: {
      			   useInternet: true,
      			   displayPing: false,
      			   delay: 2* 60 * 1000,
      			   scan: "google.com",
      			   command: "pm2 restart MagicMirror",
      			   showAlert: true,
      			   needRestart: false
      			},
      			  cast: {
      			   useCast: true
      			},
      			  spotify: {
      				useSpotify: true,
      				visual: {
      				  updateInterval: 1000,
      				  idleInterval: 10000,
      				  useBottomBar: false,
      				  CLIENT_ID: "******",
      				  CLIENT_SECRET: "******",
      				},
      				player: {
      						  type: "Raspotify",
      						  email: "****@*****",
      						  password: "******",
      						  minVolume: 10,
      						  maxVolume: 90,
      						  usePause: true
      						},
      			  },
      			},
      			recipes: [ "with-IronMan.js"],
      		  }
      		},
      		{
      			  module: "MMM-Detector",
      			  position: "top_left",
      			  configDeepMerge: true,
      			  config: {
      				debug: false,
      				autoStart: true,
      				useLogos: true,
      				micConfig: {
      				  recorder: "auto",
      				  device: "default",
      				  audioGain: 2.0,
      				  applyFrontend: true 
      				},
      				newLogos: {
      				  default: "default.png"
      				},
      				detectors: [
      				  {
      					detector: "Snowboy",
      					Model: "jarvis",
      					Sensitivity: null,
      					Logo: "google",
      					autoRestart: false,
      					onDetected: {
      					  notification: "GA_ACTIVATE"
      					}
      				  },
      				],
      				NPMCheck: {
      				  useChecker: true,
      				  delay: 10 * 60 * 1000,
      				  useAlert: true
      				}
      			  }
      		},
      	]
      };
      
      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by bugsounet

        Hey ! Hey ! and what about reading wiki ? 🙂

        1 Reply Last reply Reply Quote 1
        • B
          Benedek369 last edited by

          Did I miss something?

          1 Reply Last reply Reply Quote 0
          • B
            Benedek369 last edited by

            Okay I found the problem…
            …use ExtSpotify.js recipe for MMM-GoogleAssistant (pre-installed in recipes directory)…

            bugsounet 1 Reply Last reply Reply Quote 0
            • bugsounet
              bugsounet Main Coder @Benedek369 last edited by

              @benedek369 yeah just perfect 👌

              1 Reply Last reply Reply Quote 0
              • Deleted by  B Benedek369 
              • Restored by  bugsounet bugsounet 
              • Topic has been marked as solved  bugsounet bugsounet 
              • First post
                Last post
              Powered by NodeBB | @bugsounet ©2022