pydPiper icon indicating copy to clipboard operation
pydPiper copied to clipboard

How to get time to update properly

Open quattrofoto opened this issue 5 years ago • 1 comments

Hi,

I have pydPiper working for my 16x2 i2c lcd, but I haven't been able to figure out how to get the time to update once a minute instead of once every five minutes. I found this: https://github.com/dhrone/pydPiper/issues/22, so I edited the pydpiper.py file as directed within the pydPiper-0.3-alpha directory within the volumio home directory but it has had zero effect. I thought maybe I needed to run the install.sh file again to update the configuration but again this has had no effect whatsoever. Is there another copy of the pyPiper.py file that I need to edit located somewhere else or am I doing something else wrong? I am very pleased with how the plugin has worked out for me except this particular issue is driving me nuts!
Also, can anyone explain how I go about editing the pages_lcd_16x2.py file to configure the display how I want? I am not a programmer and so looking at the file I have no clue how to go about editing it. Any help would be very much appreciated, thankyou Ste.

quattrofoto avatar Dec 06 '19 11:12 quattrofoto

Hi 4pic

While I'm not the expert... I may be of a little assistance

You've succesfully edited the .py file, I presume that your volumio was already running and probably your pydpiper script as well.. Get the changes working you need to restart the pydpiper script either from cli over ssh (systemctl restart pydpiper (and be patient)) OR simply restart your volumio from the gui as that will also restart the pydpiper (though volumio reboot isn't really necessary)

As to editing the pages file, you can guess what all these things mean just by reading it there is also an explanation in the docs folder. You just have to make sure you respect the correct syntax, spaces, comma's, brackets You have a working file to begin with, just back that one up in case you mess up

if the pydpiper script isn't starting anymore, you've probably made an error systemctl status pydpiper might help you a little there.

HTH A8

Alien8ions avatar Dec 18 '19 11:12 Alien8ions