Problem with pydpiper

If something seems really buggy, report it here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Problem with pydpiper

Postby Saiyato » Mon Feb 04 2019 08:46

Hi there,

I've been kept quite busy lately, can you create an issue on github and provide me with some details; platform/Volumio version/plugin version?
Also can you easily reproduce? That'd help, I have several Pi's and an SSD1306, so if you can provide me with the necessary steps, I'll be more than happy to take a look.
Just.Love.Music.
User avatar
Saiyato
Golden Ear
Golden Ear
 
Posts: 627
Joined: Wed Dec 23 2015 07:58
Location: Woudenberg, Netherlands

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Problem with pydpiper

Postby roscored » Sat Apr 20 2019 02:01

Hi I have installed pydpiper on volumio 2.565 and it took a bit of fiddling to get anything to happen on a 20x4 lcd screen, i am new to all of this, however it does start and work fine for about 2 minutes and then all i get on the screen is rubbish symbols and text with an underlining bit of what should be there displayed. Is there a fix for this thanks.
Random avatar
roscored
Sunday DIYer
Sunday DIYer
 
Posts: 18
Joined: Fri Apr 19 2019 00:44


Problem with pydpiper

Postby solaar1974 » Sat Jun 08 2019 17:34

Yes, it doesn't work on RPI3 B+.

parallel connection:
20190608_202438.jpg
20190608_202438.jpg (1.52 MiB) Viewed 423 times

i2c (pcf8574) connection:
20190608_201645.jpg
20190608_201645.jpg (8.52 MiB) Viewed 423 times

Winstar VATN LCD 20X4.
User avatar
solaar1974
Serious Listener
Serious Listener
 
Posts: 91
Joined: Thu Nov 20 2014 12:45
Location: Kharkiv, Ukraine


Problem with pydpiper

Postby roscored » Mon Jul 29 2019 05:20

I seems to work fine on mine except only for a few minutes then it is scrambled. If I use putty and put in 'sudo systemctl restart docker' it works till next reboot. If there was away to put that bit of code into pydpiper as an automatic command after say 1-2 minutes, it would work fine I suppose but no one has responded to my request on how to do that
Random avatar
roscored
Sunday DIYer
Sunday DIYer
 
Posts: 18
Joined: Fri Apr 19 2019 00:44


Problem with pydpiper

Postby roscored » Sun Aug 04 2019 00:17

I have 2 identical RPI3b+ with the latest version of Volumio on them, which I think is 2.599 and pydpiper 1.3.5 the only difference is one has a DAC attached and the other a Digi-amp.
Well the 20x4 LCD is working fine on one with no scrambled letters without having to use putty to restart docker etc but still scrambled on the other.
The one with the digi-amp and 19volt power supply is working fine and stable, no need to restart docker, the other with the DAC has issues still.
what do you think?
Random avatar
roscored
Sunday DIYer
Sunday DIYer
 
Posts: 18
Joined: Fri Apr 19 2019 00:44


Problem with pydpiper

Postby learner » Thu Oct 17 2019 14:48

I got a pydPiper program working on volumio 2.632. It works after installing as instructed at dhrone/ pydPiper README.md. So I think that my hardware is fine and healthy. I have 16x2 hd44780 attached to I2C.
After Volumio reboot LCD showing about 11.40 am, then freeze and crash both pydPiper and Volumio.
I tried to install Saiyato pydPiper plugin, using 'volumio plugin install' , but it always stucks with 'Downloading plugin' message and nothing more. It might be a bug in 2.632 version, or my wrong operations with software.
If somebody knows, is there a good way to prevent pydPiper and/or docker from booting before Volumio webUI. I think that another boot order will give me a ability to use Volumio without a fatal crash. Also the time or the welcome words on LCD must apppear after the end of process and inform user that all is ready.
Many thanks for your possible answers.
Random avatar
learner
Sunday DIYer
Sunday DIYer
 
Posts: 12
Joined: Thu Oct 17 2019 04:52


Problem with pydpiper

Postby learner » Thu Oct 17 2019 20:40

Hard trying bring me a result. I've happily installed Saiyato volumio-pydpiper-plugin and it works as written. There was no need in sudo during installation process.
Now I have a common problem with two copys of docker conteiner with pydpiper. One is running from very start of Volumio and next one brings a garbage to LCD. I stopped plugin in webUI just after configuring and checking of work. The result is the only one prunning conteiner.
I also corrected 'pydpiper.service' file, set 'restart=no' instead of 'restart=always'. I did it with all copies that I could find.
The result was the same - one conteiner started before webUI was ready and before the music roll out.
It's not so bad, but after all Volumio freezes before music begining.
I have no any ideas what is the next step.
Random avatar
learner
Sunday DIYer
Sunday DIYer
 
Posts: 12
Joined: Thu Oct 17 2019 04:52


Problem with pydpiper

Postby learner » Fri Oct 18 2019 07:04

At last I stopped the first of two docker containers using 'sudo docker ps' to know the conteiner name and 'sudo docker stop container-name'.
The second copy of pydpiper didn't start as I disabled plugin in webUI. This two things helped Volumio to boot till the music beginning.
When I switched plugin to 'on' in webUI Volumio hangs down with green raspberry light continiously active.
Who can tell me about any ideas?
Random avatar
learner
Sunday DIYer
Sunday DIYer
 
Posts: 12
Joined: Thu Oct 17 2019 04:52


Problem with pydpiper

Postby Saiyato » Fri Oct 18 2019 10:46

Hi,

Do you have some more information, what exactly did you install and how? Also from what source are you playing music and what type of Pi are you using? That way I can build a lab and try to reproduce, otherwise I can only guess as to what's happening exactly.

Thanks
Just.Love.Music.
User avatar
Saiyato
Golden Ear
Golden Ear
 
Posts: 627
Joined: Wed Dec 23 2015 07:58
Location: Woudenberg, Netherlands


Problem with pydpiper

Postby learner » Sat Oct 19 2019 11:33

Hi
and thank you for quick answer.

I have Volumio 2.632 working on Raspberry Pi 3B+ with HiFiBerry Digi+ Pro. Some official plugins was installed: 'Autostart', 'GPIO Buttons', 'Backup & Restore Data'. Also I have installed LIRC and other files to control Volumio with ir remote. The new 'dtoverlay=gpio-ir' is used to make this compatible with 2.632 version. More then 100000 music files stored on Synology NAS and the DAC is chinese dual ak4497. The simple hd44780 16x2 lcd attached to I2C 0x27 port. It all is working fine and correct. Only one thing is bad: it takes 12 minutes or more to boot from the 'power on' to the beginning of music. It's common problem with all Volumio implementations on big music bases.
If you want music, be patient for 12 minutes or never switch off the device.

I can make a full backup of SD card with this system on my big computer and also I can restore it to previous steps.

I can install the hd44780-plugin as it discribed at help-with-volumio-plugin-install-t9987-10.html
and all works fine and correct. Many thanks to you, who wrote and made this plugin working.
But... need to do the best of the bests, always. PydPiper is the best program to show on lcd.

When I install volumio-pydpiper-plugin it works. Lcd shows all that I want, and it is great programm and very usefull plugin.
Until the reboot of Volumio.

The sequence is:
Volumio starts and after 2 minutes of booting pydPiper begin to show welcome message and then time. Then time on lcd freezes and the garbage simbols are on lcd. That is all because Volumio crashes aftee 7 or 8 minutes of booting and never get to the end. So no music, no Volumio. When it happens I see the continiously lighting green led on RPi board. Normally it blinking during operations with SD card.

I can make a SSH connection on the 3 minute of booting Volumio. There I see the one copy of working docker container with pydPiper, then there are two copies of pydPiper and then a crash interrupt SSH connection.

I did the following:
I disabled plugin in webUI whithout uninstalling.
I wrote 'restart=no' to 'pydPiper.service' file instead of 'restart=always'. I did it in all directories where I could see thi file.
I deleted 'pydpiper.service' from 'etc/systemd/system/'.

After that I saw only one docker conteiner with pydPiper, it starts from second minute, shows 'welcome' and time. There is now any other copies of pydPiper. From this moment I can stop it manualy with 'docker stop conteiner-name'. Once I did it and have heard the music after twelve minute of booting. It's not usefull because Volumio crashes shortly after enabling pydPiper. Act led lighting in green, ssh stops. Reboot with 'power of' produces the same situation.

If I have time I'l try to do it with clean system whithout link to Synology, with fast booting and without other plugins and LIRC files.

Thank you.
Random avatar
learner
Sunday DIYer
Sunday DIYer
 
Posts: 12
Joined: Thu Oct 17 2019 04:52

PreviousNext

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 0 guests