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 casaro » Sat May 12 2018 10:27

Hello everyone

Sorry for the English translated by google .... :-). Below there will be the msg in my language ...

My name is Paolo and I am building a player with volume 2.389, justboom dac, Audiophonics PI-SPC II Power Management and 20x4 lcd display managed by the pydpiper plugin.

Everything works correctly except pydpiper.
At boot the display shows correctly, then after 2 minutes the display becomes dirty ...

From my checks (I hope correct because I'm a nozzle with linux) it seems that after 1 minute and thirty after the boot starts a second instance of docker that blocks the display ...

I took a look at the docker service immediately after booting (display ok)

volumio @ volumio: ~ $ sudo docker ps
 
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e9b523cb9a5d dhrone / pydpiper: latest "python / app / pydPipe ..." 2 minutes ago Up About a minute adoring_fermat

and after 2 minutes (dirty display)

volumio @ volumio: ~ $ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ef6388940508 dhrone / pydpiper: latest "python / app / pydPipe ..." 31 seconds ago Up 22 seconds silly_zhukovsky
e9b523cb9a5d dhrone / pydpiper: latest "python / app / pydPipe ..." 2 minutes ago Up 2 minutes adoring_fermat

Then I restarted docker
volumio @ volumio: ~ $ sudo systemctl restart docker

Once restarted docker, there remains only one instance

volumio @ volumio: ~ $ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
eba14e4fa7b6 dhrone / pydpiper: latest "python / app / pydPipe ..." 4 minutes ago Up 4 minutes laughing_northcutt

and the display works very well until the next reboot of volumio ....

Is there any way to start only the first instance of docker and block the second one directly at boot?
Does anyone have any idea how to do it?

Thanks a lot
Paolo

Messaggio originale in italiano…

Salve a tutti

Scusate per l'inglese tradotto da google....:-) . Sotto ci sarà il msg nella mia lingua...

Mi chiamo Paolo e sto costruendo un player con volumio 2.389, justboom dac, Audiophonics PI-SPC II Power Management e display lcd 20x4 gestito dal plugin pydpiper.

Tutto funziona correttamente fuorchè pydpiper.
Al boot il display visualizza correttamente, poi passati 2 minuti il display si sporca...

Dalle mie verifiche (spero corrette perchè sono un niubbo con linux) sembra che dopo 1 minuto e trenta dopo il boot parta una seconda istanza di docker che blocca il display...

Ho dato uno sguardo al servizio docker subito dopo il boot (display ok)

volumio@volumio:~$ sudo docker ps

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e9b523cb9a5d dhrone/pydpiper:latest "python /app/pydPipe…" 2 minutes ago Up About a minute adoring_fermat

e dopo 2 minuti (display sporco)

volumio@volumio:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ef6388940508 dhrone/pydpiper:latest "python /app/pydPipe…" 31 seconds ago Up 22 seconds silly_zhukovsky
e9b523cb9a5d dhrone/pydpiper:latest "python /app/pydPipe…" 2 minutes ago Up 2 minutes adoring_fermat

Poi ho riavviato docker
volumio@volumio:~$ sudo systemctl restart docker

Una volta ripartito docker, rimane solo una istanza

volumio@volumio:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
eba14e4fa7b6 dhrone/pydpiper:latest "python /app/pydPipe…" 4 minutes ago Up 4 minutes laughing_northcutt

e il display lavora benissimo fino al prossimo reboot di volumio....

C'è modo di fare partire solo la prima istanza di docker e bloccare la seconda direttamente al boot?
Qualcuno ha idea di come fare?

Grazie
Paolo
Random avatar
casaro
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Mon Apr 09 2018 15:49

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


Problem with pydpiper

Postby chsims1 » Sat May 12 2018 17:01

Ciao Paolo,

if you don't get a reply on here, then try contacting the plugin author directly.
New to Volumio? Please read the Quick Start Guide to get your system up and running :). FAQs? Docs?
User avatar
chsims1
Moderator
 
Posts: 1850
Joined: Sat Aug 02 2014 10:44
Location: East Yorkshire, UK


Problem with pydpiper

Postby Saiyato » Tue May 15 2018 06:13

I'm not having trouble using the pydpiper software, in very few occasions I need to shutdown, disconnect the power cable and restart. But most of the time it works like a charm.
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 casaro » Mon May 21 2018 08:23

Hi Sayato
In the previous message I forgot to mention that I installed your plugin ....
In these days I did some tests: from a clean volume I installed pydpiper from the dhrone repository and everything works well apart from the 12h time with the timezone set at Europe / Rome (I would like 24h) and the fact that, always time, it updates every 5 min (perhaps due to the fact that I activated weather underground ... maybe the time takes it from there and not from the raspberry).
The problem of the double instance comes from the plugin (at least for me), I found it with 3 clean installations ...
I would like to have pidpyper control from the plugin, but I can safely go on like this :)
Thanks again for the answer
Hello
Paolo
Random avatar
casaro
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Mon Apr 09 2018 15:49


Problem with pydpiper

Postby Saiyato » Tue May 22 2018 05:52

Hi Paolo,

I'm holding back the latest version of that plugin, I'm still testing it. Sometimes the connection to the screen is lost and it needs to be unlinked from power entirely (pull the plug so to say) for a few seconds.

The main reason I'm testing, is that I'm trying to avoid using the Volumio password for an edit action in the systemd unit file.

I'm however close to releasing the new version, which will have better control and updates time every 1 minute with an 24h format.

Cheers
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 casaro » Wed May 23 2018 09:45

Hi Sayato
If you are interested, when the problem occurred I took off the 5v display and reconnected ... pydpiper restarted and it was fine until the restart of volumio; in fact, from ssh there was only one session of docker and pidpyper ...
At boot, the display started correctly and then got dirty when, after 1.5 / 2 minutes, a second session of docker and pydpiper started ...
However I can not wait to fix (unfortunately I do not have the ability), manage pydpiper plugin is a great convenience.
Thank you so much for your work

Ciao
Paolo
(sorry for my bad english)
Random avatar
casaro
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Mon Apr 09 2018 15:49


Problem with pydpiper

Postby Saiyato » Wed May 23 2018 18:58

Hi Paolo,

No worries, your English is good enough ;) As long as I understand it, we're good to go.

I've just uploaded the new version on github, it's ready for testing. However if you are using an I2C HD44780 display, you might want to use pages_lcd_16x2.py instead of my edited pages_lcd_16x2_volumio.py; it still has some errors. The pages_lcd_16x2.py however does not have a 24h format... working on it still ;)

Cheers

Update: also weather is not fully supported I think... I have not tested this.
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 casaro » Fri Jun 01 2018 15:59

Ciao Saiyato
I want to use another microsd to install volumio and your plugin ...
I want to try the new version.
Since the readme in your github is missing, you can write me the exact procedure to install it ... :lol:
I do not remember how I did it :oops: .... and how to update it when you change it next time ...
Sorry for bothering you

Paolo
Random avatar
casaro
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Mon Apr 09 2018 15:49


Problem with pydpiper

Postby Saiyato » Tue Jun 05 2018 09:46

Hi Paolo,

You can install it by hand, or do this:

Code: Select all
sudo wget -O volumio_install_from_zip.sh https://raw.githubusercontent.com/Saiyato/volumio-plugin-helper/master/volumio_install_from_zip.sh


Wait for it to download the file, you might need to enter the volumio password. And then this:

Code: Select all
sh volumio_install_from_zip.sh Saiyato volumio-pydpiper-plugin


It's explained here
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 noggin72 » Tue Jan 15 2019 00:57

Apologies for necroposting - but I have an identical issue to Paolo. New Volumio install with Saiyato's Pydpiper plugin - installed as per instructions.

I'm using an I2C SSD1306 128x64 OLED display.

All works fine for the first minute or two, then I get display corruption.

Initially I have just one docker when the display is OK. When the display starts corrupting there is a second docker. Restarting docker then fixes it.

I don't know if this is being developed still - but it's a very useful little plugin to help configure Pydpiper displays. It's a pity that there appears to be this 'double docker' issue.
Random avatar
noggin72
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Sun Nov 30 2014 16:45

Next

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 3 guests