[How to do instruction] pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9) +--- Thread: [How to do instruction] pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] (/showthread.php?tid=550) |
pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - rikardo1979 - 10-05-2018 Instruction how to install pydPiper python scripts for RaspDAC Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] Download and install pydPiper Code: cd /home/pi You can test display with this command : Code: sudo docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha python /app/pydPiper.py Service Installation : Code: sudo wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydpiper.service Start the configuration: Code: sudo python configure.py And set all as followed: Code: Startup mode duration (in seconds)? [5]: 5 Now we need to edit : Code: sudo nano pages_raspdac_16x2.py save and exit (ctrl-x, yes, enter) Then activate service : Code: sudo cp pydpiper.service /etc/systemd/system All should be working smooth after reboot I take no credits for any of the work done. I just put the simple steps together so its easy to follow. RE: pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - miklau - 10-07-2018 Hi Rikardo Thanks for your reply at drones GitHub page regarding the pydPiper in MoOde 4.3. Im stil having trouble regarding the docker. Did your install gave any errors regarding that? This happens when I am trying to test the display. The hello world from docker is displayed. I did at update/upgrade first and also to see if I am out of space. I have a 16gb SD. This is what is displayed: Code: pi@moode:~/pydPiper $ sudo docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha python /app/pydPiper.py Not sure if it makes any sense. I can also try to ask at drones GitHubs page... Thanks in advance RE: pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - rikardo1979 - 10-08-2018 (10-07-2018, 05:56 PM)miklau Wrote: Hi Rikardo Strange. Do you have another SD car to try it on maybe? RE: pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - miklau - 10-08-2018 I did a fresh install using the mosBuild instead of burning the image. Not sure if this is necessary but it worked. This time I had to activate the i2c bus in the raps-config file which I didn't experience the last time I install pydPiper... Code: sudo raspi-config RE: pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - Tim Curtis - 10-08-2018 Stock settings in the Build and the ISO image are same and include i2c ON Code: pi@rp3:~ $ cat /boot/config.txt If there is a different i2c setting that raspi-config creates then please post it and I'll have a look. RE: pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - miklau - 10-09-2018 Hi Tim Thanks for your reply. My settings are the same as yours. Not sure if this was set på the raps-config after it enable the i2c bus... Code: pi@moode:~ $ cat /boot/config.txt This very nice pydPiper display made by drone is using the metadate from the MPD (if I have understood it correct ). Is it possible to also have the Airplay and Spotify connect metadata sent to the MPD so it can be displayed by the display? RE: pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - rikardo1979 - 10-13-2018 As some of you may realised there was a little glitch with pydPiper when you streamed online sources such as Tidal/Qobuz etc. Only source text 'WEB RADIO' and 'track title' was displayed, but 'album title' was missing. This has been fixed now by the developer/maintainer @dhrone So if you have installed this before yesterday you would need to pull/reinstall again to get the fix Please read on github RE: Power management for Audiophonics I-Sabre ES9023 V3 - Jempie - 02-08-2019 display work by testing then i follow the script and get this Last login: Fri Feb 8 06:16:33 2019 from 192.168.2.120 pi@moode:~ $ sudo wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydpiper.service --2019-02-08 06:25:28-- https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydpiper.service Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.36.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.36.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 328 [text/plain] Saving to: ‘pydpiper.service’ pydpiper.service 100%[===================>] 328 --.-KB/s in 0s 2019-02-08 06:25:29 (3.30 MB/s) - ‘pydpiper.service’ saved [328/328] pi@moode:~ $ sudo python configure.py python: can't open file 'configure.py': [Errno 2] No such file or directory pi@moode:~ $ RE: Power management for Audiophonics I-Sabre ES9023 V3 - Jempie - 02-08-2019 Rikardo, Now we need to edit : Code: sudo nano pages_raspdac_16x2.py In the section "sequence" replace all the stream by encoding in db ['stream' ] to have db ['encoding'] save and exit (ctrl-x, yes, enter) don't know what you mean SEQUENCES = [ { 'name': 'seqSplash', 'canvases': [ { 'name':'raspdac', 'duration':3 }, { 'name':'ip', 'duration':4 } ], 'conditional': "db['state']=='starting'" }, { 'name': 'seqPlay', 'canvases': [ { 'name':'playAP1', 'duration':10, 'conditional':"not db['stream']=='webradio'" }, { 'name':'playAP2', 'duration':15, 'conditional':"not db['stream']=='webradio'" }, { 'name':'playAP3', 'duration':6, 'conditional':"not db['stream']=='webradio'" }, { 'name':'radioAP1', 'duration':10, 'conditional':"db['stream']=='webradio'" }, { 'name':'radioAP2', 'duration':10, 'conditional':"db['stream']=='webradio'" }, ], 'conditional': "db['state']=='play'" }, { 'name': 'seqStop', 'canvases': [ { 'name':'stoptimetemp_popup', 'duration':15, 'conditional':"not db['outside_conditions']=='No data'" }, { 'name':'stoptime24', 'duration':15, 'conditional':"db['outside_conditions']=='No data'" }, { 'name':'ip', 'duration':2 } ], 'conditional': "db['state']=='stop' or db['state']=='pause'" }, { 'name':'seqVolume', 'coordinates'0,0), 'canvases': [ { 'name':'volume_changed', 'duration':5 } ], 'conditional': "db['volume'] != dbp['volume']", 'minimum':5, }, { 'name': 'seqAnnouncePlay', 'canvases': [ { 'name':'showplay', 'duration':2 } ], 'conditional': "db['state'] != dbp['state'] and db['state']=='play'", 'minimum':2, }, { 'name': 'seqAnnounceStop', 'canvases': [ { 'name':'showstop', 'duration':2 } ], 'conditional': "db['state'] != dbp['state'] and db['state']=='stop'", 'minimum':2, }, { 'name': 'seqAnnouncePause', 'canvases': [ { 'name':'showpause', 'duration':8 } ], 'conditional': "db['state'] != dbp['state'] and db['state']=='pause'", 'minimum':2, }, RE: Power management for Audiophonics I-Sabre ES9023 V3 - Jempie - 02-08-2019 Rikardo, display work, when selecting music on the display "no active widget" |