Migrating Nanosound plug-in to volumio 3

hopefully…
http://logs.volumio.org/volumio/M97Igmi.html

As far as I can see, service are not generated or started.
Please create them manually. If the files already exist then only perform the execution part per service.

nanosound_lirc.service

sudo nano /lib/systemd/system/nanosound_lirc.service

Copy/paste and save:

[Unit]
Description=NanoSound LIRC Service

[Service]
ExecStart=/home/volumio/nanosound_oled/nanodac_lirc.py
StandardOutput=null

[Install]
WantedBy=multi-user.target
Alias=nanosound_lirc.service

Execute:

sudo chmod 644 /lib/systemd/system/nanosound_lirc.service
sudo systemctl daemon-reload
sudo systemctl enable nanosound_lirc.service
sudo systemctl start nanosound_lirc.service

nanosound_oled.service

sudo nano /lib/systemd/system/nanosound_oled.service

Copy/paste and save:

[Unit]
Description=NanoSound OLED Diplay Service

[Service]
ExecStart=/home/volumio/nanosound_oled/nanodac_oled.py
WorkingDirectory=/home/volumio/nanosound_oled
StandardOutput=null

[Install]
WantedBy=multi-user.target
Alias=nanosound_oled.service

Execute:

sudo chmod 644 /lib/systemd/system/nanosound_oled.service
sudo systemctl daemon-reload
sudo systemctl enable nanosound_oled.service
sudo systemctl start nanosound_oled.service

nanosound_rotary.service

sudo nano /lib/systemd/system/nanosound_rotary.service

Copy/paste and save:

[Unit]
Description=NanoSound Rotary Volume Control

[Service]
ExecStart=/home/volumio/nanosound_oled/nanodac_rotary.py
StandardOutput=null

[Install]
WantedBy=multi-user.target
Alias=nanosound_rotary.service

Execute:

sudo chmod 644 /lib/systemd/system/nanosound_rotary.service
sudo systemctl daemon-reload
sudo systemctl enable nanosound_rotary.service
sudo systemctl start nanosound_rotary.service

Thank you for the quick response.
i did that but no function. :man_shrugging:
http://logs.volumio.org/volumio/xe6XlU1.html

what happens if you run:
python3 /home/volumio/nanosound_oled/nanodac_oled.py

python3: can’t open file ‘/home/volumio/nanosound_oled/nanodac_oled.py’: [Errno 2] No such file or directory

1 Like

Probably because not the correct arch.

Then you have found the error. The services expect the folder on the missing location.
So where did it go?

There is something really wrong with the installer. Services won’t start due to missing files.
I ran it on my dev device, I see the plugin is installed, but no files are present.
This is something I can’t solve. Please get in contact with the creator of the plugin.

nanosound_oled.zip (5.5 MB)

If you unzip this file to /home/volumio the plugin will start,

did not find it on the hole device. :man_shrugging:
with the installation of the nanosoundone plgin at least the remote control works :crazy_face:
I will try to get missing files at the weekend.
Thanks again.

euh read my previous post…

Thank you.
i was to slow sending message…

i put the files in the directory, but an error occurs.

volumio@iqaudio:~$ python3 /home/volumio/nanosound_oled/nanodac_oled.py
Traceback (most recent call last):
  File "/home/volumio/nanosound_oled/nanodac_oled.py", line 17, in <module>
    import schedule
ModuleNotFoundError: No module named 'schedule'

How did you get the plugin installed, @Wheaten ?
It seemed like you had the same hardware…
Thank you.

Just followed the instructions as given by yourself:

cd /home/volumio
wget https://github.com/nanomesher/Nanomesher_NanoSound/raw/master/packages/install_nanosound_for_v3.sh
chmod +x install_nanosound_for_v3.sh
./install_nanosound_for_v3.sh

Unzipped the previous uploaded zip to /home/volumio

Manually installed the services.

I don’t have the hardware, just a rPi with a SDD1306 to test.

Thanks Wheaten,
I have now contacted the manufacturer.

the friendly support from nanosound told me that I started at a wrong point.
Here are the installation instructions for the nanosound plugin on volumio 3:
NanoSound Volumio 3 support – Nanomesher
Will check tomorrow the result…

Is there any hope for the NanoSound CD plug-in to work in Volumio 3? The webpage says dependencies are missing in Volumio 3:

At this stage, Nanosound CD does not work with Volumio 3.x yet, this is due to VLC dependencies not available in Volumio 3.x

I’m interested in NanoSound CD because the built-in CD player in Volumio has issues that make it unusable.

@metro,
Please connect with Nanosound, for information on a 3rd party plugin.

1 Like

Plugin works after install.
This nanosound pi switch cap is such a great solution for remote, on/off and OLED.
… but after installing autostart plugin and playing some local music files, OLED stops to work. it only shows a volumio picture. remote and on/off is still working… :man_shrugging:
I’ve had enough of it for now. maybe i come later back to this issue.

I think the problem is that the complete script is build with Python while loops, instead of using Bash or JS.