Could it be the same as this
https://forums.slimdevices.com/showt...l=1#post869978
If yes then tell pCP to wait for network
Results 71 to 80 of 104
-
2022-05-19, 10:19 #71
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 5,726
Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
-
2022-05-19, 10:19 #72
- Join Date
- Jun 2012
- Posts
- 458
Ah - I think it's a known issue - https://forums.slimdevices.com/showt...=1#post1010689 and here https://forums.slimdevices.com/showt...address-in-LMS
Squeezelite starting before the network has started. The script then won't work because the mac address that LMS knows squeezelite by, and the actual mac address that the script discovers will be different.
-
2022-05-19, 10:22 #73
- Join Date
- Jun 2012
- Posts
- 458
Hi Paul
Yes - I think that's likely it - as per my other post just after yours :-)
I'll add wait for network and see if it recurs - it's only occasional. No idea why it happens, but my home wifi is quite complex - several APs that it might see etc.. The stupid thing is I have cables under the floor but haven't got around to bringing them up yet.
-
2022-05-19, 11:54 #74
- Join Date
- Jun 2012
- Posts
- 458
OK - looks like I just needed to add a reset on the screen saver counter. Think it's fixed now if you want to pull it down
Code:wget https://raw.githubusercontent.com/peteS-UK/EvoSabre-DAC-PCP/main/lms_oled_3.12_py3.py -O ~/lms_oled_3.12_py3.py
Code:pcp bu
-
2022-05-22, 06:40 #75
- Join Date
- Jun 2012
- Posts
- 458
Hi David
Picking this up from the other thread ....
From what I saw previously, the raspdac mini has the 1306 display. I have an old raspdac mini script from audiophonics and it has
Code:from luma.oled.device import ssd1306 #import RPi.GPIO as GPIO serial = spi(port=0, device=0, gpio_DC=27, gpio_RST=24) device = ssd1306(serial, rotate=2)
https://github.com/audiophonics/Rasp...ioled/index.js
Code:const DRIVER = require("ssd1306").driver; const SSD1306 = new DRIVER(); const GRAPHICS = new ( require("lightbwgraphics") ).GRAPHICS().attachDriver(SSD1306);
If you want, I can easily build a 1306 version of the new script i have, using the old setup from the original script for the driver, some of the font sizes etc..
How Linux comfortable are you - I can give you a script to run which will pull down the necessary files if you know how to ssh onto the pi. Or, I have pre-built images, but they have the evosabre script, so you'll still need to pull down one we build for raspdac.
Let me know if you want to have a go and I'll pull together a script for the raspdac later.
-
2022-05-22, 07:05 #76
- Join Date
- Aug 2020
- Posts
- 40
Hi thanks for this.
For linux, i am a beginner.
But i can use ssh, and i can use command lines.
So if you tell me what to do it will work 😉
Last year i installed shunte88 lmsmonitor on my raspdac. It worked. But now maybe with picoreplayer 8 version, it doesnt work anymore.
Dont understand...
-
2022-05-22, 08:48 #77
- Join Date
- Jun 2012
- Posts
- 458
-
2022-05-22, 09:03 #78
- Join Date
- Aug 2020
- Posts
- 40
Well cool.
I use smartphone remote, so it is ok like this.
There is one with raspdac but i never used it.
-
2022-05-22, 14:05 #79
- Join Date
- Jun 2012
- Posts
- 458
OK - I've modified a version for the raspdac, and modified my setup file to check which one you want to install. Word of warning - I can't test this at all this evening, so it'll likely take a few iterations ....
You can get the setup file by ssh on the pi, and then
Code:wget https://raw.githubusercontent.com/peteS-UK/EvoSabre-DAC-PCP/main/SetupEvoSabre.sh
Code:chmod +x ./SetupEvoSabre.sh
Code:./SetupEvoSabre.sh
This won't make any changes to the pcp entries yet. After you've rebooted, do
Code:python3 ./lms_oled_mini_py3.py
To stop the script manually, hit cntrl-c
-
2022-05-25, 22:39 #80
- Join Date
- Aug 2020
- Posts
- 40
ok i tried, i have error with moving lms_oled_mini_py3.py...
Setup for OLED with LMS on Raspberry Pi
Are you setting up EvoSabre or RASPDac Mini?RASPDac Mini
Setup for RASPDac Mini OLED extension (R)
LIRC is not installed. If you continue, IR config files won't be installed
Do you wish to exit this setup and install LIRC first?no
Continue
Installing python3 and freetype extension
Downloading Extension from GitHub
Unpacking Files
Moving Files to home
mv: can't rename '/tmp/tmp.J23JA7/evosabre/home/lms_oled_mini_py3.py': No such file or directory
Installing 64 bit extension
Backing up PCP
Extension Installed. Now reboot using pcp rb