DietPi-Software | Details for ALL installation options

Everything you need to download and start your DietPi experience.

v157

Postby Fourdee » Sat Oct 14, 2017 3:38 pm

Minio
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2581
Joined: Tue Feb 06, 2007 12:36 pm

v158

Postby Fourdee » Sat Oct 28, 2017 6:17 pm

AudioPhonics Pi-SPC:
Power control module for Raspberry Pi which allows you to physically power on/off the system, without the need to run "poweroff".
https://www.audiophonics.fr/fr/kits-modules-diy/audiophonics-pi-spc-module-de-controle-alimentation-type-atx-pre-assemble-p-11125.html

pi-spc.jpg
Notes:
  • Please ensure the correct GPIO pins are used, when connecting Pi-SPC to RPi (see image below)
  • To power off system, and begin the shutdown process: Hold the power button for < 0.5 seconds. If you don't have a button, you can also close the pins BP PIN C and BP PIN NO, with your favorite electrically conductive metal (eg: tweezers).
  • NB: Avoid holding the power button for longer than 2 seconds, as this will hard power off system (same effect as pulling the power). Doing so will create file-system corruptions, during shutdown IO operations.


>> Return to DietPi-Software List
Attachments
gpio-numbers-pi2.png
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2581
Joined: Tue Feb 06, 2007 12:36 pm

v158

Postby Fourdee » Sun Oct 29, 2017 3:33 pm

Raspotify:
Spotify Connect client for the Raspberry Pi that Just Works™.

  • NB: You’ll need a Spotify Premium account in order to use Connect.

spotify-connect.png
spotify-connect.png (11.15 KiB) Viewed 1435 times
Notes:
Raspotify should work straight out of the box.
  • However, you can change the available options in:
    Code: Select all
    /etc/default/raspotify
  • Then restart services with:
    Code: Select all
    dietpi-services restart


>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2581
Joined: Tue Feb 06, 2007 12:36 pm

v158

Postby Fourdee » Sat Nov 11, 2017 7:26 pm

Google AIY voice kit:
"Ok Google. Who is your daddy?"

Notes:
  • Our installation is highly optimized and lightweight. We do not install a desktop environment. User will be required to setup Google API and keys on another system (please see 1st run setup below)
  • We highly recommend SSH to allow for a quick setup of Google API and device link.
  • We also recommend one of DietPi File servers, for easy transfer of assistant.json, generated during Google API setup.

googleaiy.jpg


1st Run Setup:
Once DietPi has installed the Google AIY voice kit, and rebooted, you will need to setup your Google API account and link the device.
  • Follow the link below, to setup Google API and download client keys, required to enable the speech API:
    https://aiyprojects.withgoogle.com/voice#users-guide-1-2--turn-on-the-google-assistant-api
    NB: When setting up the activity controls, ensure you also enable "Include Chrome browsing history and activity from websites and apps that use Google services", else, she will not function ;)
  • Make sure you have one of DietPi's File Servers installed.
    Once completed, download the client_secret.json and save it to:
    - If using SSH = /mnt/dietpi_userdata/voice-recognizer-raspi/assistant.json
    - If using File Server = voice-recognizer-raspi/assistant.json
  • Run the command below, then follow the onscreen link/instructions to setup verification:
    Code: Select all
    sudo -u dietpi /mnt/dietpi_userdata/voice-recognizer-raspi/env/bin/python3 -u /mnt/dietpi_userdata/voice-recognizer-raspi/src/main.py
  • Once the "Ok, Google" prompt appears, test the device, then, you can terminate the program with CTRL+C, then restart services:
    Code: Select all
    dietpi-services restart


Install Notes:
Where is the voice software located?
Code: Select all
/mnt/dietpi_userdata/voice-recognizer-raspi


Check service status:
Code: Select all
dietpi-services status



Attachments
32693153-c5f5883e-c71d-11e7-9e6c-e4f6fbd9ec7a.png
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2581
Joined: Tue Feb 06, 2007 12:36 pm

v158

Postby Fourdee » Sat Dec 09, 2017 10:56 pm

Gitea:
Your very own GitHub style server, with web interface.

Access Gitea web interface:
url = http://192.168.0.100:3000

First run setup:
Once connected to the web interface:
  • Change the following values only:
    • MySQL database user = root
    • MySQL database password = dietpi
    • Repository Root Path = /mnt/dietpi_userdata/gitea/gitea-repositories
    • Log Path = /var/log/gitea
  • Scroll to the bottom of page and select Install Gitea
  • When the web address changes to localhost: and fails to load, you need to reconnect to the webpage using the ip address (eg: http://192.168.0.100:3000)
  • Once the page has reloaded, you will need to click register to create the admin account

External access:
If you wish to allow external access to your Gitea server, you will need to setup port fowarding on your router, pointing to the IP address of your DietPi device.
  • Port = 3000
  • Protocol = TCP+UDP

>> Return to DietPi-Software List
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2581
Joined: Tue Feb 06, 2007 12:36 pm

Previous

Return to Releases

Who is online

Users browsing this forum: No registered users and 7 guests