256x64 Oled (ssd1322 SPI), 4 Buttons, Rotary - Interface

Hi Maschine2501!

i use ES9018 Km, have 3 input: Spdif , Torxl, I2S

So i want control it by volumio with your LCD , ES9018 have i2c Pin
thank your advcie!

@mac sorry, i did not receive a notification, therfore the late answer…
To make it clear, you have this (Input only) Board: ES9018K2M ES9018 I2S IIS-32bit 384K / DSD64 I2S Eingang DAC Decodierboard | eBay
?
i2s bus should work, i use different pins.
But: You need Volumio Superstar to use the (ADC) input function from volumio! And I’m not sure if Volumio supports ADC-only boards… (ADC = Analog to Digital = Input)
In the NR1-UI Code is no Library/Source Selection Screen (yet…), so you won’t be able to select an Input from the Oled-UI.
(PS: I’m working on that since a few weeks, it’s a really complex process… But i’m sure I will provide a complete “Menu” with source/Library-selection in my code this year…)

Also I’m waiting for the official Buster release, cause it would make things a lot more comfortable…
I Hope I could help you, otherwise please contact me by mail or discord.
Regards,
Christoph

1 Like

Thank you very much!
Mac

1 Like

@Maschine2501 Greetings!
Please, describe to which contacts (R-rotary BTN, R-rotary A, R-rotary B) is the encoder (SW, DT, CLK) connected in your version?

:sunglasses: Just for info: :sunglasses:

Raspberry 3 (not plus) + Volumio 2.907 + NR1-UI/install-buildfix.sh = Display didn’t show any info & no
nr1ui.service

Raspberry 3 (not plus) + Volumiobuster-3.083 & 3.101 + NR1-UI/installbuster.sh = display worked correctly.

1 Like

Hi @Navi
I updated the wiring diagram (also on Github): wiring diagram
Thanks for pointing out, that this was not clear :wink:

That the Volumio Buster Version is doing fine is no surprise… I really count the days till they’ll release it → So much will be more convenient…

I also tested the " install-buildfix.sh" with Volumio 2.907… with a Pi4. Maybe this makes a difference?
Meanwhile I started a fresh installation with 2.907 and install-buildfix.sh on a Pi4 and a Pi3, maybe this will help me to understand what has happend.
Which Display and which Layout do you use?
Regards,
Christoph

Update 19:26: With the Pi4 everything is fine. Pi3 has no display… I was able to replicate the failure. Unfortunately I have no idea what is causing the issue. I’ve tried a few things, but Python an all the modules seems to be installed correctly… Strange Behavior! I will investigate it the next days…

Dear, @Maschine2501

Very happy and grateful for your feedback.

I use the display as in the photo from Aliexpress.

And I use a hand-made layout (if I correctly understand you), without buttons and encoder, but now will plan add it, because the problem was with right encoder connection
изображение

And I also have a Pi Zero W :sunglasses:, so I plan to connect a display to it and check different versions of Volumio 2.907 + Volumiobuster-3.083 & 3.101, maybe I’ll do it tonight or this weekend.

Dear, @Maschine2501
now I get error, when I copy files:

volumio@volumio:~$ git clone https://github.com/Maschine2501/NR1-UI.git
Cloning into ‘NR1-UI’…
remote: Enumerating objects: 2390, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 2390 (delta 43), reused 0 (delta 0), pack-reused 2306
Receiving objects: 100% (2390/2390), 132.06 MiB | 927.00 KiB/s, done.
Resolving deltas: 100% (1427/1427), done.
error: inflate: data stream error (invalid stored block lengths)
fatal: packed object 271526fbdec7635fe726f48a8944893c83835657 (stored in /home/volumio/NR1-UI/.git/objects/pack/pack-5c3ea27628e955147790784cdf9ae758fb6d1ccd.pack) is corrupt
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with ‘git status’
and retry the checkout with ‘git checkout -f HEAD’

====
UPD:

Now, I get files correct.

PiZeroW + Volumiobuster-3.101-2021-09-08-pi => instal NR1-UI/installbuster, after reboot, green led on board is lightning, but volumio don’t start :blush:

>    Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.7 kB]
>     Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
>     Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
>     Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB]
>     Fetched 425 kB in 5s (86.0 kB/s)
>     Reading package lists... Error!
>     W: Unknown Multi-Arch type 'forei~▒▒d▒~▒jdp▒▒5
>                                                   FPs▒▒s▒   ▒j'▒g' for package 'libc6.1-dev-alpha-cross'
>     E: Encountered a section with no Package: header
>     E: Problem with MergeList /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
>     E: The package lists or status file could not be parsed or opened.
>     Reading package lists... Error!
>     W: Unknown Multi-Arch type 'forei~▒▒d▒~▒jdp▒▒5
>                                                   FPs▒▒s▒   ▒j'▒g' for package 'libc6.1-dev-alpha-cross'
>     E: Encountered a section with no Package: header
>     E: Problem with MergeList /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
>     E: The package lists or status file could not be parsed or opened.

More details:

Summary
volumio@volumio:~$ git clone https://github.com/Maschine2501/NR1-UI.git
Cloning into 'NR1-UI'...
remote: Enumerating objects: 2390, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 2390 (delta 43), reused 0 (delta 0), pack-reused 2306
Receiving objects: 100% (2390/2390), 132.06 MiB | 1.02 MiB/s, done.
Resolving deltas: 100% (1427/1427), done.
Checking out files: 100% (137/137), done.
volumio@volumio:~$ sudo bash NR1-UI/installbuster.sh
    _   ______ ___      __  ______
   / | / / __ <  /     / / / /  _/
  /  |/ / /_/ / /_____/ / / // /
 / /|  / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/      \____/___/

Seting up...

_________________________________________________________

Current default time zone: 'Europe/Kiev'
Local time is now:      Wed Sep 15 14:38:44 EEST 2021.
Universal Time is now:  Wed Sep 15 11:38:44 UTC 2021.

Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.7 kB]
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [392 kB]
Fetched 425 kB in 5s (86.0 kB/s)
Reading package lists... Error!
W: Unknown Multi-Arch type 'forei~▒▒d▒~▒jdp▒▒5
                                              FPs▒▒s▒   ▒j'▒g' for package 'libc6.1-dev-alpha-cross'
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
W: Unknown Multi-Arch type 'forei~▒▒d▒~▒jdp▒▒5
                                              FPs▒▒s▒   ▒j'▒g' for package 'libc6.1-dev-alpha-cross'
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
_________________________________________________________________




    _   ______ ___      __  ______
   / | / / __ <  /     / / / /  _/
  /  |/ / /_/ / /_____/ / / // /
 / /|  / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/      \____/___/

Configuration Part 1...

Do you want to deactivate (onboard-)Bluetooth?

______________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

(onboard-) Bluetooth stays active...
_______________________________________________

Do you want to deactivate (onboard-) WiFi?

______________________

Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

(onboard-) WiFi stays active...
_______________________________________________________

Do you want to activate Touch-Display-Support?
Needed for "unofficial" displays...

---> Touchdisplay Plugin in Volumio needed!!!
------> Please install Plugin after Setup.

______________________
Valid selections are:
1 -> 5-Inch / 800x480 Pixel
2 -> 7-Inch / 1024x600 Pixel
3 -> No Touchscreen
--->
Enter your decision: 3

Touch-Display-Support disabled...
_________________________________________________________

Do you want to use Spectrum/VU-Meter?
(This enables two CAVA instances)

---> This needs some resources!!!
-> Better use Pi3 or above.

______________________

Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

CAVA/Spectrum won't be installed...
________________________________________________________________________


Do you want to activate Album-Art-Tool for NR1-UI-Remote?

More informations under: https://github.com/Maschine2501/NR1-UI-Remote

If you select YES you'll get a promt, select: "Standalone"
______________________

Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

Album-Art-Tool is not active...
Installing OpenSSL 1.1.1b
Reading package lists... Error!
W: Unknown Multi-Arch type 'forei~▒▒d▒~▒jdp▒▒5
                                              FPs▒▒s▒   ▒j'▒g' for package 'libc6.1-dev-alpha-cross'
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
All Python related modules are installed...
Installing NR1-UI...
Created symlink /etc/systemd/system/multi-user.target.wants/nr1uibuster.service → /lib/systemd/system/nr1uibuster.service.
_________________________________________________________________




    _   ______ ___      __  ______
   / | / / __ <  /     / / / /  _/
  /  |/ / /_/ / /_____/ / / // /
 / /|  / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/      \____/___/

Configuration Part 2...



Please select your Display-Type.


_____________________
Valid selections are:
1 -> for ssd1306
2 -> for ssd1322
3 -> for Braun-specific
4 -> for ssd1351
5 -> for st7735
--->
Enter your decision: 2

Set Display-Type as ssd1322
_________________________________________________________________

_________________________________________________________________

Should the Display be rotated?

_____________________
Valid selections are:
1 -> Display not rotated
2 -> Display rotated 180 degrees
--->
Enter your decision: 1

Set Display-Rotation to zero Rotation.
_________________________________________________________________

Do you use LED's?

More informations here:
https://github.com/Maschine2501/NR1-UI/wiki/LED-Wiring

_____________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

Deactivated LED-Option
_________________________________________________________________

Do you use the Standby-Circuit?

More informations here:
https://github.com/Maschine2501/NR1-UI/wiki/Standby-Module

WARNING: Do not select YES if you do not have connected the circuit!!!

______________________
Valid selections are:
1 -> Yes
2 -> No
---->
Enter your decision: 2

Deactivated Standby-Function
_________________________________________________________________

Please select your Button- / Rotary- configuration

*standard*-configuration means a conection like this:
https://raw.githubusercontent.com/Maschine2501/NR1-UI/master/wiki/wiring/Wiring.jpg

_____________________
Valid selections are:
1 -> standard
2 -> custom
--->
Enter your decision: 1

Set standard-buttonlayout
_________________________________________________________________

Please enter a Value for Pause -> to -> Stop -Time.

Value is in Seconds = 15 = 15 Seconds.
After this time, while playback is paused, player will Stop and return to Standby-Screen.

____________________________________________
Valid values are numbers between 1 and 86400
86400 seconds are 24 hours...

Enter a Time (in seconds): 15

Set Play-to-Pause timer to 15 seconds



Configuration has finished, congratulations!


Please have a look in the Installation instructions to finish setup.

https://github.com/Maschine2501/NR1-UI/wiki/Installation-Steps-(for-Python3.8.5-Version---Bash-Script)


If you use CAVA/Spectrum:

Please set Audio-Output to HDMI or Headphones and save setting.
Now Select your DAC/Playback device and save aggain.
volumio@volumio:~$

PiZeroW + volumio-2.907-2021-07-02-pi.img => NR1-UI/install-buildfix.sh , after reboot, green led on board is lightning, but volumio don’t start too

In both variants was disabled:

  • Spectrum/VU-Meter
  • Album-Art-Tool for NR1-UI-Remote
  • LED-Wiring
  • Standby-Circuit

Perhaps, my logs will help you (@Maschine2501 ) to understand were is problem with Pi3.

Summary
volumio@volumio:~$ git clone https://github.com/Maschine2501/NR1-UI.git
Cloning into 'NR1-UI'...
remote: Enumerating objects: 2390, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 2390 (delta 43), reused 0 (delta 0), pack-reused 2306
Receiving objects: 100% (2390/2390), 132.06 MiB | 1.45 MiB/s, done.
Resolving deltas: 100% (1427/1427), done.
Checking connectivity... done.
Checking out files: 100% (137/137), done.
volumio@volumio:~$ bash NR1-UI/install-buildfix.sh
    _   ______ ___      __  ______
   / | / / __ <  /     / / / /  _/
  /  |/ / /_/ / /_____/ / / // /
 / /|  / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/      \____/___/

Seting up...

_________________________________________________________

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for volumio:
Get:1 http://archive.volumio.org jessie InRelease [14.9 kB]
Get:2 http://archive.volumio.org jessie InRelease [22.9 kB]
Get:3 http://raspbian.raspberrypi.org stretch InRelease [15.0 kB]
Get:4 http://archive.volumio.org jessie/main Sources [7762 kB]
Get:5 http://raspbian.raspberrypi.org stretch/main armhf Packages [11.7 MB]
Get:6 http://archive.volumio.org jessie/contrib Sources [64.5 kB]
Get:7 http://archive.volumio.org jessie/non-free Sources [113 kB]
Get:8 http://archive.volumio.org jessie/rpi Sources [1132 B]
Get:9 http://archive.volumio.org jessie/main armhf Packages [9539 kB]
Get:10 http://raspbian.raspberrypi.org stretch/contrib armhf Packages [56.9 kB]
Get:11 http://raspbian.raspberrypi.org stretch/non-free armhf Packages [98.9 kB]
Get:12 http://raspbian.raspberrypi.org stretch/rpi armhf Packages [1360 B]
Ign http://raspbian.raspberrypi.org stretch/contrib Translation-en
Ign http://raspbian.raspberrypi.org stretch/main Translation-en
Ign http://raspbian.raspberrypi.org stretch/non-free Translation-en
Ign http://raspbian.raspberrypi.org stretch/rpi Translation-en
Get:13 http://archive.volumio.org jessie/contrib armhf Packages [43.3 kB]
Get:14 http://archive.volumio.org jessie/non-free armhf Packages [88.1 kB]
Get:15 http://archive.volumio.org jessie/rpi armhf Packages [1356 B]
Get:16 http://archive.volumio.org jessie/main Sources [57.1 kB]
Get:17 http://archive.volumio.org jessie/ui Sources [17.4 kB]
Get:18 http://archive.volumio.org jessie/main armhf Packages [171 kB]
Get:19 http://archive.volumio.org jessie/ui armhf Packages [58.9 kB]
Ign http://archive.volumio.org jessie/contrib Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/non-free Translation-en
Ign http://archive.volumio.org jessie/rpi Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/ui Translation-en
Fetched 29.8 MB in 1min 52s (264 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libffi6
The following NEW packages will be installed:
  libffi-dev
The following packages will be upgraded:
  libffi6
1 upgraded, 1 newly installed, 0 to remove and 434 not upgraded.
Need to get 177 kB of archives.
After this operation, 345 kB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian/ stretch/main libffi6 armhf 3.2.1-6 [18.7 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian/ stretch/main libffi-dev armhf 3.2.1-6 [159 kB]
Fetched 177 kB in 0s (319 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 25154 files and directories currently installed.)
Preparing to unpack .../libffi6_3.2.1-6_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-6) over (3.1-2+deb8u1) ...
Selecting previously unselected package libffi-dev:armhf.
Preparing to unpack .../libffi-dev_3.2.1-6_armhf.deb ...
Unpacking libffi-dev:armhf (3.2.1-6) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libffi6:armhf (3.2.1-6) ...
Setting up libffi-dev:armhf (3.2.1-6) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  binutils-doc
The following NEW packages will be installed:
  binutils
0 upgraded, 1 newly installed, 0 to remove and 434 not upgraded.
Need to get 3613 kB of archives.
After this operation, 20.6 MB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian/ stretch/main binutils armhf 2.28-5 [3613 kB]
Fetched 3613 kB in 2s (1724 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package binutils.
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'liblocale-gettext-perl' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gcc-4.9-base libasan1 libatomic1 libgcc-4.9-dev libgcc1 libgfortran3 libgomp1 libubsan0
Suggested packages:
  libstdc++-4.9-doc
The following NEW packages will be installed:
  libasan1 libatomic1 libgcc-4.9-dev libstdc++-4.9-dev libubsan0
The following packages will be upgraded:
  gcc-4.9-base libgcc1 libgfortran3 libgomp1
4 upgraded, 5 newly installed, 0 to remove and 430 not upgraded.
Need to get 2177 kB of archives.
After this operation, 16.6 MB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian/ stretch/main libgcc1 armhf 1:6.3.0-18+rpi1+deb9u1 [38.3 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian/ stretch/main libgomp1 armhf 6.3.0-18+rpi1+deb9u1 [63.9 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian/ stretch/main libgfortran3 armhf 6.3.0-18+rpi1+deb9u1 [166 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian/ stretch/main gcc-4.9-base armhf 4.9.3-14 [163 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian/ stretch/main libasan1 armhf 4.9.3-14 [164 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian/ stretch/main libatomic1 armhf 6.3.0-18+rpi1+deb9u1 [6856 B]
Get:7 http://raspbian.raspberrypi.org/raspbian/ stretch/main libubsan0 armhf 6.3.0-18+rpi1+deb9u1 [91.7 kB]
Get:8 http://raspbian.raspberrypi.org/raspbian/ stretch/main libgcc-4.9-dev armhf 4.9.3-14 [356 kB]
Get:9 http://raspbian.raspberrypi.org/raspbian/ stretch/main libstdc++-4.9-dev armhf 4.9.3-14 [1127 kB]
Fetched 2177 kB in 2s (903 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'liblocale-gettext-perl' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils build-essential bzip2 cpp cpp-4.9 cpp-6 dpkg fakeroot g++-6 gcc-4.9-base gcc-6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan1
  libasan3 libatomic1 libbz2-1.0 libcc1-0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.9-dev libgcc-6-dev libgcc1 libgfortran3 libgomp1 libisl15
  liblocale-gettext-perl liblzma5 libmpc3 libmpfr4 libperl5.24 libstdc++-4.9-dev libstdc++-6-dev libtext-charwidth-perl libtext-iconv-perl libubsan0 make patch perl perl-base
  perl-modules-5.24 tar
Suggested packages:
  binutils-doc bzip2-doc cpp-doc gcc-4.9-locales gcc-6-locales debsig-verify debian-keyring gcc-4.9-doc libstdc++6-4.9-dbg gcc-6-doc libstdc++6-6-dbg gcc-multilib autoconf
  automake libtool flex bison gdb gcc-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
  libquadmath0-dbg libasan3-dbg libmpx2-dbg libstdc++-4.9-doc libstdc++-6-doc make-doc ed diffutils-doc perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl
  ncompress tar-scripts
Recommended packages:
  rename
The following packages will be REMOVED:
  perl-modules
The following NEW packages will be installed:
  binutils build-essential bzip2 cpp cpp-4.9 cpp-6 dpkg-dev fakeroot g++ g++-4.9 g++-6 gcc gcc-4.9 gcc-6 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan1 libasan3 libatomic1 libcc1-0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.9-dev libgcc-6-dev libisl15 libmpc3 libmpfr4
  libperl5.24 libstdc++-4.9-dev libstdc++-6-dev libubsan0 make patch perl-modules-5.24
The following packages will be upgraded:
  dpkg gcc-4.9-base libbz2-1.0 libgcc1 libgfortran3 libgomp1 liblocale-gettext-perl liblzma5 libtext-charwidth-perl libtext-iconv-perl perl perl-base tar
13 upgraded, 36 newly installed, 1 to remove and 421 not upgraded.
E: The package index files are corrupted. No Filename: field for package cpp-6.
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/contrib Sources
Hit http://archive.volumio.org jessie/non-free Sources
Hit http://archive.volumio.org jessie/rpi Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/contrib armhf Packages
Hit http://archive.volumio.org jessie/non-free armhf Packages
Hit http://archive.volumio.org jessie/rpi armhf Packages
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/ui Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/ui armhf Packages
Ign http://archive.volumio.org jessie/contrib Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/non-free Translation-en
Ign http://archive.volumio.org jessie/rpi Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/ui Translation-en
W: Failed to fetch http://archive.volumio.org/raspbian/dists/jessie/main/source/Sources  Hash Sum mismatch

W: Failed to fetch http://archive.volumio.org/raspbian/dists/jessie/rpi/source/Sources  Hash Sum mismatch

W: Failed to fetch http://archive.volumio.org/raspbian/dists/jessie/main/binary-armhf/Packages  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

Current default time zone: 'Europe/Kiev'
Local time is now:      Fri Jul  2 14:07:41 EEST 2021.
Universal Time is now:  Fri Jul  2 11:07:41 UTC 2021.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'build-essential' has no installation candidate
E: Unable to locate package libbz2-dev
E: Unable to locate package libexpat1-dev
E: Unable to locate package liblzma-dev
E: Unable to locate package libncurses5-dev
E: Unable to locate package libncursesw5-dev
E: Unable to locate package libreadline6-dev
E: Unable to locate package libdb5.3-dev
E: Couldn't find any package by regex 'libdb5.3-dev'
E: Unable to locate package libgdbm-dev
E: Unable to locate package libsqlite3-dev
E: Unable to locate package libssl-dev
_________________________________________________________________




    _   ______ ___      __  ______
   / | / / __ <  /     / / / /  _/
  /  |/ / /_/ / /_____/ / / // /
 / /|  / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/      \____/___/

Configuration Part 1...

Do you want to deactivate (onboard-)Bluetooth?

______________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

(onboard-) Bluetooth stays active...
_______________________________________________

Do you want to deactivate (onboard-) WiFi?

______________________

Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

(onboard-) WiFi stays active...
_______________________________________________________

Do you want to activate Touch-Display-Support?
Needed for "unofficial" displays...

---> Touchdisplay Plugin in Volumio needed!!!
------> Please install Plugin after Setup.

______________________
Valid selections are:
1 -> 5-Inch / 800x480 Pixel
2 -> 7-Inch / 1024x600 Pixel
3 -> No Touchscreen
--->
Enter your decision: 3

Touch-Display-Support disabled...
_________________________________________________________

Do you want to use Spectrum/VU-Meter?
(This enables two CAVA instances)

---> This needs some resources!!!
-> Better use Pi3 or above.

______________________

Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

CAVA/Spectrum won't be installed...
________________________________________________________________________


Do you want to activate Album-Art-Tool for NR1-UI-Remote?

More informations under: https://github.com/Maschine2501/NR1-UI-Remote

If you select YES you'll get a promt, select: "Standalone"
______________________

Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

Album-Art-Tool is not active...
Installing OpenSSL 1.1.1b
converted 'https://www.openssl.org/source/openssl-1.1.1b.tar.gz' (ANSI_X3.4-1968) -> 'https://www.openssl.org/source/openssl-1.1.1b.tar.gz' (UTF-8)
--2021-07-02 14:08:15--  https://www.openssl.org/source/openssl-1.1.1b.tar.gz
Resolving www.openssl.org (www.openssl.org)... 104.81.117.195, 2a02:26f0:d8:380::c1e, 2a02:26f0:d8:390::c1e
Connecting to www.openssl.org (www.openssl.org)|104.81.117.195|:443... connected.
ERROR: The certificate of 'www.openssl.org' is not trusted.
ERROR: The certificate of 'www.openssl.org' is not yet activated.
The certificate has not yet been activated
tar: openssl-1.1.1b.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
NR1-UI/install-buildfix.sh: line 241: ./config: No such file or directory
Installing 3.8.5 and related modules
converted 'https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tar.xz' (ANSI_X3.4-1968) -> 'https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tar.xz' (UTF-8)
--2021-07-02 14:08:16--  https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tar.xz
Resolving www.python.org (www.python.org)... 151.101.112.223, 2a04:4e42:1b::223
Connecting to www.python.org (www.python.org)|151.101.112.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18019640 (17M) [application/octet-stream]
Saving to: 'Python-3.8.5.tar.xz'

Python-3.8.5.tar.xz                         100%[=============================================================================================>]  17.18M  2.59MB/s   in 8.8s

2021-07-02 14:08:25 (1.95 MB/s) - 'Python-3.8.5.tar.xz' saved [18019640/18019640]

checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking for python3.8... no
checking for python3... no
checking for python... python
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... "linux"
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/volumio/src/python/Python-3.8.5':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package make is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  make-doc

Package autoconf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libtool is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libfftw3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libcurl4-openssl-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libpulse-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python3-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package python3-dev
E: Unable to locate package python3-setuptools
E: Package 'python3-pip' has no installation candidate
E: Unable to locate package libjpeg-dev
E: Package 'libcurl4-openssl-dev' has no installation candidate
E: Unable to locate package libssl-dev
E: Package 'autoconf' has no installation candidate
E: Package 'make' has no installation candidate
E: Package 'libtool' has no installation candidate
E: Package 'libfftw3-dev' has no installation candidate
E: Unable to locate package libncursesw5-dev
E: Package 'libpulse-dev' has no installation candidate
E: Package 'libtool' has no installation candidate
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
All Python related modules are installed...
Installing NR1-UI...
Created symlink from /etc/systemd/system/multi-user.target.wants/nr1ui.service to /lib/systemd/system/nr1ui.service.
_________________________________________________________________




    _   ______ ___      __  ______
   / | / / __ <  /     / / / /  _/
  /  |/ / /_/ / /_____/ / / // /
 / /|  / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/      \____/___/

Configuration Part 2...



Please select your Display-Type.


_____________________
Valid selections are:
1 -> for ssd1306
2 -> for ssd1322
3 -> for Braun-specific
4 -> for ssd1351
5 -> for st7735
--->
Enter your decision: 2

Set Display-Type as ssd1322
_________________________________________________________________

_________________________________________________________________

Should the Display be rotated?

_____________________
Valid selections are:
1 -> Display not rotated
2 -> Display rotated 180 degrees
--->
Enter your decision: 1

Set Display-Rotation to zero Rotation.
_________________________________________________________________

Do you use LED's?

More informations here:
https://github.com/Maschine2501/NR1-UI/wiki/LED-Wiring

_____________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2

Deactivated LED-Option
_________________________________________________________________

Do you use the Standby-Circuit?

More informations here:
https://github.com/Maschine2501/NR1-UI/wiki/Standby-Module

WARNING: Do not select YES if you do not have connected the circuit!!!

______________________
Valid selections are:
1 -> Yes
2 -> No
---->
Enter your decision: 2

Deactivated Standby-Function
_________________________________________________________________

Please select your Button- / Rotary- configuration

*standard*-configuration means a conection like this:
https://raw.githubusercontent.com/Maschine2501/NR1-UI/master/wiki/wiring/Wiring.jpg

_____________________
Valid selections are:
1 -> standard
2 -> custom
--->
Enter your decision: 1

Set standard-buttonlayout
_________________________________________________________________

Please enter a Value for Pause -> to -> Stop -Time.

Value is in Seconds = 15 = 15 Seconds.
After this time, while playback is paused, player will Stop and return to Standby-Screen.

____________________________________________
Valid values are numbers between 1 and 86400
86400 seconds are 24 hours...

Enter a Time (in seconds): 15

Set Play-to-Pause timer to 15 seconds



Configuration has finished, congratulations!


Please have a look in the Installation instructions to finish setup.

https://github.com/Maschine2501/NR1-UI/wiki/Installation-Steps-(for-Python3.8.5-Version---Bash-Script)


If you use CAVA/Spectrum:

Please set Audio-Output to HDMI or Headphones and save setting.
Now Select your DAC/Playback device and save aggain.
volumio@volumio:~$ reboot

===================================================

Dear, @Maschine2501
UPD 22/09/2021

I changed Raspberry board and added Encoder + 4Buttons,
so my results of the performance check on the Raspberry 4 (2Gb RAM):

  • volumio-2.907 = installation was successful, functionality works;
  • Volumiobuster-3.083-2021-08-16 = installation was successful, all functionality works;
  • Volumiobuster-3.101-2021-09-08 = after update from 3.083-2021-08-16, OLED didn’t display any info & I lost all my music from internal storage;
  • Volumiobuster-3.103-2021-09-22 = after update from 3.083-2021-08-16, installation was successful, all functionality works.

And I had a question regarding the removal of the encoder functionality as a volume control:
“removed Volume Screen and Volume interactions completely”
perhaps there is some opportunity (or will be in the future) to activate it for use who has a need for this?
Because Entering the playlist - by pressing the encoder is intuitively clear, as is the rotation of the encoder - to adjust the volume.

======================= UPDATE 14/12/2021 =======================
Hi, everyone!
Volumio-3.173-2021-12-08-pi + Volumio Buster (Beta) Installation + headphones jack on a boad = installation was successful, all functionality works;

Volumio-3.173-2021-12-08-pi + Volumio Buster (Beta) Installation + select I2S DAC 5122 (DAC Model: HiFiBerry Amp2 OR HiFiBerry DAC) = the display works, the sound is heard for 3 seconds, then it starts to loop, and there is no way to stop it in the WEB UI, only a reboot helps;

Without script NR1-UI / installbuster.sh, - DAC 5122 works (DAC Model: HiFiBerry Amp2 OR HiFiBerry DAC).

@Maschine2501 Are you planning to further develop this project?

1 Like

I can confirm that with Volumio 3.175 and Audiophonics DAC ES9038Q2M have same looping problem. Without NR1-UI sound is correct.

Seems like the PREV button is activated every 2 seconds.
You can monitor the GPIO’s with the command gpio readall (wiringPi,), if supported by your hardware, or a simple python script.

from gpiozero import Button
import os

Button.was_held = False
# Add GPIO (4,17,27,22,5,6,13,19,26,18,23,24,25,12,16,20,21) to monitor
GPIO_23 = Button(23)
GPIO_24 = Button(24)
GPIO_25 = Button(25)
	
def pressed(btn):
	print (str(btn.pin) + "  button was pressed")
	
def held(btn):
	btn.was_held = True
	action_held(btn)

def action_held(btn):
	print(str(btn.pin) + " button was held not just pressed, execute held")
	
def released(btn):
	if not btn.was_held:
		print(str(btn.pin) + " button was released")
	btn.was_held = False
	
def check_button(btn):
	btn.when_pressed = pressed
	btn.when_held = held
	btn.when_released = released

while True:
	# Set action for defined GPIO's (4,17,27,22,5,6,13,19,26,18,23,24,25,12,16,20,21)
	check_button(GPIO_23)
	check_button(GPIO_24)
	check_button(GPIO_25)

Thanks for idea! With wiringpi I don’t see that PREV button trigering. I think problem is elsewhere, but can’t find out. Hope @Maschine2501 can help with this problem.

I hope so too, have the same problem with a different configuration:
https://community.volumio.com/t/plugin-mpd-oled-installation-configuration-plugin/44823/179?u=quanticus

If I understand corectly @Maschine2501 is on holiday now so let’s wait for his comeback.

That’s a long holiday @Maschine2501 :grinning_face_with_smiling_eyes:

Hi Guys! Yeah, that was some long holiday… Unfortunately I won’t be back soon. I have to take care of some Health-issues (more details on discord). Therefore my development of NR1-UI is “on Hold” for the moment…

I have no idea when i will come back, but i hope it will be in the first half of 2022.

Thank you for your patience and support! :slight_smile:

1 Like

Hi Guys!!!
Good News:

27.03.2022 Volumio 3.xx is now supported:

Today I fixed the installation routine for the new Volumio 3.xx.
I tested the Installation script twice on a fresh installed RPi4 → Succeeded both times.
If you have an issue, please report it :slight_smile:
Here is the instruction for the Installation: Install-Manuall for Volumio 3.xx NR1-UI

Please test it by yourself and report errors, if you find some :wink:

Best wishes,
Christoph

3 Likes

Dear Maschine2501,

Amazing working thank you as always!
I love your work as this is very simple elegant and beautiful way to navigate the source menu on small display that is all we want to see from sofa for most of the time. I have been searching for these solution for so long.

@Volumio this is must have function please, can you include this as official plugin.

Much appreciated your hard work on this.

Best Wishes

2 Likes

Thank you for your charming words :slight_smile:
@volumio : If I can assist you by making NR1-UI a standard plugin, please contact me, it would be a huge honor to me!

1 Like

Hi @Navi and @Liquido001 have you guys figured out why NR1-UI ist leading to missbeahiour with this kind of DAC? Is the Issue still persistent after Fresh installation of newest Volumio Buster?
Maybe it’s something i the mpd.conf file?
Please do a clean Volumio installation and copy the content od /etc/mpd.conf then go further, install nr1-ui and compare if something changed in /etc/mpd.conf
I also have had a look at the pinout of the DAC → Should only be interferencing if “Standby Circuit” is active (Question during Setup) and / or “LED Active” ist set to PCf8574 (i2c bus ist busy).
Otherwise i have no idea what is happening there.
Can you post some links to the exact Products that you use? Like a Manufacturer product Website?
Cheers, and sorry for my late answer!

1 Like

Dear, @Maschine2501
I am very glad to see you and yours answers :slight_smile:
My hardware configuration remained unchanged:
Pi4_2Gb + Volumio-3.251-2022-03-31 + select I2S DAC 5122
(DAC Model: HiFiBerry Amp2 OR HiFiBerry DAC plus)

Volumio Buster Installation from GitHub - was successful and lasted 75 minutes.
And I used such settings:

Actual screenshots:

I understand that the project is for fun :sunglasses: and you do it in your free time, so my thoughts below will be only as my wishes :innocent::

  1. I liked you idea with mini pictograms of buttons.
    Now - you don’t know where play/pause = stop = previous track = next track
    And next - is it possible to add this functionality?
    = long press previous track → REW
    = long press next track → FF

  2. Playlist.
    Now - when you turn encoder and go to the playlist, you can’t come back to main clock menu.
    Maybe when you press STOP button it will come back come back to main clock menu?
    And, for example issue - if I have tracks 1, 2, 3 - and when I turn encoder - playlist shows this tracks and select number 2, I push encoder - and nothing happens. You must turn encoder to track 1 or 3, then select 2 again, and after that push encoder and listen this track.

  3. Encoder functionality
    I always forget that encoder turning left/right does not affect the volume level, but causes a transition to the playlist menu.
    Perhaps you can return the volume control, and call the transition to the playlist menu by pressing the encoder button?