tayaneo.blogg.se

Google assistant play music from my library
Google assistant play music from my library




google assistant play music from my library
  1. #Google assistant play music from my library install
  2. #Google assistant play music from my library serial
  3. #Google assistant play music from my library update
  4. #Google assistant play music from my library password

The music streaming from Google Music uses ().Įnter your Google userid and password in the actions.py file in the line logged_in = api.login('YOUR_GMAIL_ID', 'YOUR_GMAIL_PASSWORD', Mobileclient.FROM_MAC_ADDRESS) this can be changed the under the YouTube_Autoplay function in the actions.py script. The number of autoplay tracks has been limited to a maximum of 10. In the API window, click on "All API Credentials" and in the drop down, make sure to have a tick (check mark) against the API Key that you just generated.ĭefault keyword for playing music from YouTube without autoplay is Stream.įor example, Stream I got you command will fetch Bebe Rexha's I Got You from YouTube.ĭefault keyword for playing music from YouTube with autoplay is Autoplay and Stream.įor example, Autoplay and Stream I got you command will play the requested I Got You and after the end of the track will autoplay susequent tracks. "From the API and services" option, select library and in the search bar type youtube, select "YouTube Data API v3" API and click on "ENABLE".ħ. Make a note of the created API Key and enter it in the actions.py script at the indicated location.Ħ. Click on create credentials and select API Key and choose close. Move your mouse pointer over "API and services" and choose "credentials".ĥ. On the left top corner, click on the hamburger icon or three horizontal stacked lines.Ĥ. Go to the projects page on your Google Cloud Console-> ģ. This makes use of the YouTube Data API v3.Īdding YouTube API and Generating API Keyġ. Syntax: "Hey Google, Turn Devicename On/Off"Īdvantage of using Sonoff-Tasmota over webserver is that, with Sonoff-Tasmota you can emulate a Wemo switch and control the NodeMCU using Amazon Alexa (Echo Devices) in addition to the GassistPi. Pi3 and Pi Zero users, assign the device names and device ip addresses in the main.py script and pushbutton.py script respectively, in the marked locations. Controlling NodeMCU running Sonoff-Tasmota firmware:ĭownload the Tasmota firmware from this linkįollow the instructions in the second video to upload the firmware properly. Syntax: "Hey Google, Trigger Turn Devicename On/Off"įor more guidelines follow the first video. Add the NodeMCU's IP address in the actions.py file.

#Google assistant play music from my library serial

Add the wifi credentials, make the desired changes and upload the Arduino code onto the NodeMCU and get the IP address from the serial monitor.

  • Control of NodeMCU running Sonoff-Tasmota Firmware.ĭownload the Arduino IDE code for Nodemcu from here.
  • Control of NodeMCU running a webserver.
  • Check the speaker using the following command speaker-test -t wav

    #Google assistant play music from my library install

    Those using any other DACs or HATs install the cards as per the manufacturer's guide and then you can try using the USB-DAC config file after changing the hardware idsĥ. Select advanced options, then audio and choose to force audio Those Using HDMI/Onboard Jack, make sure to force the audio sudo raspi-config Sudo /home/pi/GassistPi/audio-drivers/CUSTOM-VOICE-HAT/scripts/custom-voice-hat.sh Sudo chmod +x /home/pi/GassistPi/audio-drivers/CUSTOM-VOICE-HAT/scripts/custom-voice-hat.sh Sudo /home/pi/GassistPi/audio-drivers/CUSTOM-VOICE-HAT/scripts/install-i2s.sh CUSTOM VOICE HAT users, sudo chmod +x /home/pi/GassistPi/audio-drivers/CUSTOM-VOICE-HAT/scripts/install-i2s.sh Sudo /home/pi/GassistPi/audio-drivers/USB-MIC-JACK/scripts/usb-mic-onboard-jack.shģ.5. USB MIC AND AUDIO JACK users, sudo chmod +x /home/pi/GassistPi/audio-drivers/USB-MIC-JACK/scripts/usb-mic-onboard-jack.sh Sudo /home/pi/GassistPi/audio-drivers/USB-MIC-HDMI/scripts/install-usb-mic-hdmi.shģ.4. USB MIC AND HDMI users, sudo chmod +x /home/pi/GassistPi/audio-drivers/USB-MIC-HDMI/scripts/install-usb-mic-hdmi.sh Sudo /home/pi/GassistPi/audio-drivers/AIY-HAT/scripts/install-alsa-config.shģ.3. Sudo chmod +x /home/pi/GassistPi/audio-drivers/AIY-HAT/scripts/install-alsa-config.sh

    google assistant play music from my library

    Sudo /home/pi/GassistPi/audio-drivers/AIY-HAT/scripts/configure-driver.sh AIY-HAT users, sudo chmod +x /home/pi/GassistPi/audio-drivers/AIY-HAT/scripts/configure-driver.sh Sudo /home/pi/GassistPi/audio-drivers/USB-DAC/scripts/install-usb-dac.shģ.2. USB DAC or USB Sound CARD users, sudo chmod +x /home/pi/GassistPi/audio-drivers/USB-DAC/scripts/install-usb-dac.sh AIY-HAT and CUSTOM-HAT users, please reboot the Pi at places mentioned, else it will lead to audio and taskbar issues.ģ.1. The speaker-test command is used to initialize alsa, so please do not skip that. Choose the audio configuration according to your setup.

    #Google assistant play music from my library update

    Update OS and Kernel sudo apt-get updateģ.






    Google assistant play music from my library