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: 2637
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: 2637
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 3873 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: 2637
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: 2637
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 = gitea (Previous to DietPi v6.0 = 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: 2637
Joined: Tue Feb 06, 2007 12:36 pm

.

Postby Fourdee » Wed Jan 24, 2018 5:07 pm

Home Assistant:
Home Assistant is an open-source home automation platform running on Python 3. Track and control all devices at home and automate control. Perfect to run on a Raspberry Pi.

Access Web Interface:
url = http://192.168.0.100:8123

Please see the online documentation below:
https://home-assistant.io/docs/
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: 2637
Joined: Tue Feb 06, 2007 12:36 pm

.

Postby Fourdee » Sun Feb 04, 2018 3:44 pm

Nukkit:
Nukkit is Java based server for Minecraft Pocket Edition.

nukkit.png
Info:
Nukkit by default runs a single server, available on LAN.

Tweak the server settings by modifying the following file:
  • /usr/local/bin/nukkit/server.properties
You can restart the service by running:
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: 2637
Joined: Tue Feb 06, 2007 12:36 pm

v6.2

Postby Fourdee » Wed Feb 07, 2018 8:02 pm

PiJuice:
All in one, battery based power supply HAT for the RPi, featuring UPS capabilities and battery run time.

pijuice.jpg
Information:
  • Our default installation does not include the desktop application, if required, please install a desktop first, then following command to install the GUI afterwards:
    Code: Select all
    G_AGI pijuice-gui

    The PiJuice program can then be launched (LXDE) from LXDE start > Preferences
  • SW1 = Power on unit
  • SW2 = Power off unit (runs a sample script which can be modified /var/lib/dietpi/dietpi-software/installed/pijuice/pijuice_func1.sh)
  • Additional configuration can be made via editing the following file (Full list of available config options):
    Code: Select all
    nano /var/lib/pijuice/pijuice_config.JSON

    Restart services to apply any changes.
    Code: Select all
    dietpi-services restart
  • Update firmware
    At the time of writing, this will update firmware on the device to V1.1_2018_01_15, however, please replace the firmware link with the latest version:
    Code: Select all
    wget https://github.com/PiSupply/PiJuice/raw/master/Firmware/PiJuice-V1.1_2018_01_15.elf.binary -O package.binary
    chmod +x package.binary
    pijuiceboot 14 package.binary
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: 2637
Joined: Tue Feb 06, 2007 12:36 pm

Previous

Return to Releases

Who is online

Users browsing this forum: No registered users and 6 guests