Einen Link kann ich nicht posten, weil ich nicht mehr weiß, wann oder wo ich ihn gekauft habe.
Allerdings hier zwei schnelle Bilder mit dem Handy:
Ist ein vormontierter, 7 Zoller via HDMI angeschlossen und mit Touch. Hatte ihn schon mal bei einen Kumpel unter Kodi zum Laufen gekriegt.
Peppy WebRadio
-
paulaner -
5. Februar 2018 um 17:11 -
Erledigt
Heute ist Stammtischzeit:
Jeden Donnerstag 20:30 Uhr hier im Chat.
Wer Lust hat, kann sich gerne beteiligen. ;)
Jeden Donnerstag 20:30 Uhr hier im Chat.
Wer Lust hat, kann sich gerne beteiligen. ;)
-
-
Peppy WebRadio? Schau mal ob du hier fündig wirst!
-
-
Also wäre die Headless Installation sinnvoller? Okay, dann setze ich es nochmal neu auf. Hatte nämlich wirklich schon 7,9er probiert, wie auch die 5er, nur irgendwie hab ich eh nicht verstanden, was ich da mache, weshalb ich quasi beides gemacht hatte, zwischendurch neben dem Splash Screen auch die Konsole gesehen, aber mehr dann nicht. Ich probiere es einfach noch mal neu aus.
-
Okay, 24h später und der Bildschirm ist immer noch schwarz, obwohl ich mich voll und ganz an die Waveshare 7.9 Anleitung gehalten habe.
Einzige was ich geänder habe, ist natürlichCodemax_usb_current=1 hdmi_force_hotplug=1 config_hdmi_boost=10 hdmi_group=2 hdmi_mode=87 hdmi_cvt 1024 600 60 6 0 0 0
in der /boot/config.txt.
Beim Speaker Test
kam übrigens nix (will es später auch eigentlich via Bluetooth einbinden), aber bis ich den auskommentierten Player wieder gestartet hatte, habe ich wenigstens noch eine Commandozeile auf dem Bildschirm gehabt, jetzt nur noch schwarz.
Allgemein ist die Installation echt ziemlich lang... -
Also wäre die Headless Installation sinnvoller?
nein, nimm das Diskimage hokusai-waveshare.7.9.zip, da ist alles schon gemacht.
Dann änderst Du nur die 6 Zeilen in der /boot/config.txt
Vergiss nicht die Auflösung auch in ~/Peppy/config.txt
width = 1024
height = 600
Du hast den hdmi-Stecker (an Raspi-HDMI) und den Stecker für Touch (an Raspi-USB) angesteckt?
Beim Speaker Test
Du weißt schon, daß der Sound über die 3.5mm-Klinkenbuchse geht (plughw:0,0 in .asoundrc)?
peppyalsa würde ich erstmal weglassen, so:
cp .asoundrc-equal .asoundrc
Edit: es gibt zwei 3.5mm-Klinkenbuchsen, eine am Raspi und eine am HDMI-Touchdisplay.
plughw:0,0 meint die am Raspi
speaker-test -t wav
mit alsamixer kannst Du die Lautstärke einstellen
-
nein, nimm das Diskimage hokusai-waveshare.7.9.zip, da ist alles schon gemacht.
Headless + Anleitung sollte doch trotzdem zu den selben Ergebnis kommen?
Jop, genau das habe ich getan. Touch hat ja funktioniert, Bild in der Konsole auch...
Du weißt schon, daß der Sound über die 3.5mm-Klinkenbuchse geht (hw:0,0 in .asoundrc)?
peppyalsa würde ich erstmal weglassen, so:
cp .asoundrc-equal .asoundrc
speaker-test -t wav
mit alsamixer kannst Du die Lautstärke einstellen
Ich möchte eigentlich den Player endlich mal zum Laufen bringen. Die Ausgabe will ich definitiv aber später NICHT über Klinke regeln, sondern via Bluetooth.
-
peppy.player please have a look at the issue starting with post #800.
you see the splash screen during boot. than the screen is black.
The right picture of post #802 identifies the Display.
It's a waveshare 7 inch HDMI LCD(H) display with capacitive touch via USB, resolution is 1024x600.
In post #805 MasterPhW tried die Waveshare 7.9 Anleitung and reported "Bildschirm ist immer noch schwarz"
I have no idea and no HDMI Display to test
Regards, kle
-
Hallo,
ich glaube, Sie haben diese Anzeige:
https://www.waveshare.com/wiki/7inch_HDMI_LCD_(H)
Ich gehe davon aus, dass Sie die /boot/config.txt geändert haben:
max_usb_current=1
hdmi_force_hotplug=1
config_hdmi_boost=10
hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
Und diese Zeile auskommentiert oder entfernt:
dtoverlay=vc4-fkms-V3D
Wenn Sie alle diese Änderungen vorgenommen haben, stellen Sie bitte sicher, dass die Player-Startzeile:
su pi -c 'cd /home/pi/Peppy; openvt -s -- python3 peppy.py'
in der Datei /etc/rc.local steht
steht und dass der Player läuft (in der Ausgabe sollte python process zu sehen sein):
ps -elf | grep python
Bitte lassen Sie mich das Ergebnis wissen.
Mit freundlichen Grüßen
--------------------------------------------------------------------------------------
Hi,
I believe you have this display:
https://www.waveshare.com/wiki/7inch_HDMI_LCD_(H)
I assume that you changed the /boot/config.txt:
max_usb_current=1
hdmi_force_hotplug=1
config_hdmi_boost=10
hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
And commented out or removed this line:
dtoverlay=vc4-fkms-V3D
If you made all these changes please make sure that the player start line:
su pi -c 'cd /home/pi/Peppy; openvt -s -- python3 peppy.py'
is in the file /etc/rc.local
and that the player is running (you should see python process in the output):
ps -elf | grep python
Please let me know the result.
Best regards
-
Entfernen Sie diese Zeile:
dtoverlay=vc4-fkms-V3D
ist erforderlich, wenn Sie den Raspberry Pi 4 verwenden
-------------------------------------------------------------------
Removing this line:
dtoverlay=vc4-fkms-V3D
is required if you use Raspberry Pi 4
-
Habe mit
folgende Parameter ans Ende gesetzt:
Codemax_usb_current=1 hdmi_force_hotplug=1 config_hdmi_boost=10 hdmi_group=2 hdmi_mode=87 hdmi_cvt 1024 600 60 6 0 0 0
und weil es ein bisschen schneller gehen soll habe ich noch
drin, was man jetzt nicht sieht.
Sollte ja eigentlich keinerlei Probleme machen.Habe ich drin gelassen, weil ich ja einen
nutze.
Hier der nano screen:Nun zurück zur Player-Startzeile:
ist natürlich nicht mehr auskommentiert, die Raute ist entfernt, wie man hier sieht:
undBildschirm ist aber schwarz. Weiß mir grad echt nicht zu helfen.
-
Wie lautet die Ausgabe dieses Befehls?
ls /dev/fb*
Haben Sie versucht, den Kalibrierungsbefehl entweder mit fb0 oder fb1 auszuführen, je nach der Ausgabe des vorherigen Befehls?
sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate
Was war das Ergebnis?
Mit freundlichen Grüßen
--------------------------------------------------------------------
What is the output from this command:
ls /dev/fb*
Did you try to run the calibration command using either fb0 or fb1 depending on the output from the previous command?
sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate
What was the result?
Best regards
-
Und ja, auch kalibriert hatte ich es leider schon vorher:
Bin ja direkt nach der headless Anleitung unter Waveshare 7.9 vorgegangen, nur das ich es halt auf meinen Bildschirm angepasst habe.
-
OK, Sie haben also das Kalibrierungs-UI gesehen und dort Punkte berührt,
und ich glaube, Sie haben diese Zeile in der Datei /home/pi/Peppy/config.txt:
hdmi = True
Sie können versuchen, die Dateiprotokollierung in der Datei /home/pi/Peppy/config.txt zu aktivieren:
https://github.com/project-owner/…/config.txt#L30
Prüfen Sie dann nach dem Neustart die Protokolldatei: /home/pi/Peppy/peppy.log
Hoffentlich enthält sie einige zusätzliche Informationen.
Haben Sie versucht, Web UI zu verwenden? Funktioniert es?
Mit freundlichen Grüßen
-------------------------------------------------------------------------------
OK, so you have seen the calibration UI and touched points there,
and I believe you have this line in the /home/pi/Peppy/config.txt:
hdmi = True
You can try to enable file logging in the /home/pi/Peppy/config.txt:
https://github.com/project-owner/…/config.txt#L30
Then after reboot check the log file: /home/pi/Peppy/peppy.log
Hopefully it has some additional info.
Have you tried to use Web UI? Is it working?
Best regards
-
Meine config.txt sieht so aus:
sollte soweit stimmen.
Logging habe ich jetzt mal aktiviert und folgenden Inhalt in der peppy-log:Code[2021-02-24 09:13:10,971] {selector_events.py:53} DEBUG - Using selector: EpollSelector [2021-02-24 09:13:11,023] {webserver.py:110} DEBUG - Web Server Started [2021-02-24 09:13:11,305] {peppy.py:314} DEBUG - Audio Server Started
Der Webserver ist unter Port 8000 erreichbar und wird angezeigt...
Edit: ich habe weiterhin Fehlersuche gemacht.
Mein Display zeigt mir mitfolgendes an:
Deswegen bin ich noch mal in die Peppy/config.txt gegangen und habe die frame.rate auf 60 angepasst. Reboot.
Kein Unterschied gebracht. Dann das gleiche noch mal mit der /boot/config.txt und dort auf mode 88 gegangen. Reboot. Ebenfalls kein Unterschied.
Letzter Versuch war ein überstürztesgefolgt von einem
was mir jetzt anscheinend sogar komplett peppy zerhauen hat.
listet peppy zumindest nicht mehr auf:
Im peppy log hat sich auch nicht viel getan, IP ist auch noch die selbe(n), kann nur nicht mehr connecten.
Ich glaub, ich gebe auf und setze einfach auf Kodi + Radio Addon auf...
Eigentlich overkill für ein 1024x600er Display mit Touch, aber ich finde einfach nicht meinen Fehler und bin mittlerweile (weil auch zu wenig in Linux drin) einfach überfragt. -
Hallo,
Alle Einstellungen sehen gut aus. Wenn Sie den Kalibrierungsprozess abschließen können, sollte das Display normalerweise mit dem Player funktionieren. Leider bin ich mir nicht sicher, woran es liegen könnte. Leider kann ich nicht für alle Waveshare-Displays Disk-Images zur Verfügung stellen. Es gibt zu viele davon.
Das ist lustig, der Hauptgrund, warum ich den Peppy Player erstellt habe, war, dass ich mit dem Radio-Add-on von Kodi nicht zufrieden war
Mit freundlichen Grüßen
----------------------------------------------------------------------
Hi,
All settings look OK. Usually if you can complete the calibration process the display should work with the player. I'm sorry to say that but I'm not sure what could be the issue. Unfortunately I cannot provide disk images for all Waveshare displays. There are too many of them.
This is funny, the main reason why I created the Peppy Player was that I was not satisfied with Kodi's Radio add-on
Best regards
-
eins fällt mir noch ein,
kannst Du in der Datei ~/Peppy/config.txt die Variablen "mouse" und "touchscreen" suchen
mit egrep "touchscreen|mouse" ~/Peppy/config.txt | grep -v events
Du solltest touchscreen = True und mouse = True sehen.
Ich erinnere mich touchscreen geändert zu haben, bin mir aber nicht sicher.
-
Hier ist ein weiteres Projekt, das auf dem Peppy Player basiert. Der Projektname ist 'Dietrich' nach 'DIgital TRansport'. Dies ist der alte deutsche Name, der bedeutet - 'Herrscher des Volkes' .
Das Gerät besteht aus:
- Stromversorgung +12V 12,5A für externe Festplatten und für die Netzschalter-LED
- Stromversorgung +5V 10A für den Raspberry Pi 4, USB-Hub und Display
- Raspberry Pi 4. Ein USB2 ist mit dem Touchscreen verbunden. Ein weiterer USB2 angeschlossen an die Rückwand. Ein USB3, angeschlossen an den USB-Hub. Ein weiterer USB3, der mit der Rückwand verbunden ist. Ein LAN, das mit der Rückwand verbunden ist. Ein HDMI ist mit dem Display verbunden. Ein weiterer HDMI-Anschluss an der Rückwand.
- USB3-Hub mit 8 Anschlüssen
- Waveshare 7,9"-Touchscreen
- 8 Relais-Modul zum Ein- und Ausschalten von 12V für externe Festplatten
- MCP23017 Modul zur Steuerung der Relais über I2C
- ULN2803 Senken-Treiber-Transistor-Array
Das Gerät kann arbeiten als:
- Audioplayer mit USB-Ausgang unter Verwendung angeschlossener Festplatten.
- Audioplayer mit USB-Ausgang unter Verwendung eines daran angeschlossenen NAS.
- Videoplayer mit HDMI-Ausgang.
- Dient als NAS für angeschlossene externe Festplatten.
- Streamer.
Die Bilder wurden mit laufendem Peppy-Player auf dem Gerät aufgenommen (VU-Meter-Bildschirmschoner).
Die Unterstützung für das Ein- und Ausschalten von Festplatten über die Benutzeroberfläche wird der Peppy Player Software in einer der nächsten Versionen hinzugefügt werden.
---------------------------------------------------------------------------------------------------------
Here is another project based on the Peppy Player. The project name is 'Dietrich' after 'DIgital TRansport. This is the ancient German name which means - 'Ruler of the people' .
The device consists of:
- Power supply +12V 12.5A for external hard drives and for the power switch LED
- Power Supply +5V 10A for the Raspberry Pi 4, USB Hub and display
- Raspberry Pi 4. One USB2 connected to the touchscreen. Another USB2 connected to the back panel. One USB3 connected to the USB Hub. Another USB3 connected to the back panel. LAN connected to the back panel. One HDMI connected to the display. Another HDMI connected to the back panel.
- USB3 Hub 8 port
- Waveshare 7.9" touchscreen
- 8 Relay Module to switch on/off 12V for external hard drives
- MCP23017 module to control relays through I2C
- ULN2803 sink driver transistor array
The device can work as:
- Audio player with USB output using hard drives connected to it.
- Audio player with USB output using NAS mounted to it.
- Video player with HDMI output.
- Serve as a NAS for external hard drives connected to it.
- Streamer.
The pictures were taken with Peppy player running on device (VU Meter screensaver).
The support for switching on/off hard drives from UI will be added to the Peppy Player software in one of the next releases.
-
Ah was von ein geiles project. Das seht Hammer aus. Selber benutze Moodeaudio und habe ein PeppyMeter plug in installiert. Welche auch funktioniert aber kann ich das Moode nicht steuern. GUI ist nicht mehr aufrufbar.
-
I'm not sure if I have to write posts in English and/or German. I see both languages used, so let me start in English. As a Dutchman I have some knowledge of German, so if it's necessary I will use German.
My first post here is about Peppy because I was inspired by this blog post. The main reason I want to have a device like this is that the analog cable radio will get terminated this year. I need an internet radio device that plays my favorite stations through my existing (and very old) hifi-stack.
So I started this Raspberry project. (I have some experience with the Raspberry as I have a computer like that to control the kiln of my wife. But maybe I can write about that at a later time.)
During the installation and use of the Peppy software I encountered many problems. Most of them I could overcome but there are two major problems I cannot resolve: 1. Volume control and 2. VU-meter both don't work.
Getting the 3.5" (Wavefront clone from China) touch screen seemed impossible starting with the headless image of Peppy. Display yes but touch no. So I used the latest Raspbian (buster) and installed Peppy from scratch. With help of the forementioned blog post I got that to work.
The volume control works when I set the type = player, but then the VU-meters become scambled. Volume part of my config.txt:
Audio part in players.txt:
.asoundrc:
Code
Alles anzeigenpcm.!default { type plug slave.pcm myequal; } ctl.!default { type hw card 1 } pcm.myequal { type equal; slave.pcm reformat; } pcm.reformat { type lfloat slave { pcm "mypeppy" format S16_LE } } pcm.mypeppy { type meter slave.pcm "plughw:1,0" scopes.0 peppyalsa } ctl.equal { type equal; } pcm_scope.peppyalsa { type peppyalsa decay_ms 400 meter "/home/pi/myfifo" meter_max 100 meter_show 0 spectrum "/home/pi/myfifosa" spectrum_max 100 spectrum_size 30 } pcm_scope_type.peppyalsa { lib /usr/local/lib/libpeppyalsa.so }
I am completely in the dark on how to activate the VU-meters. I installed them as mentioned in the Expert manual but they refuse to move the needle.
I very much hope to get this nice micro-computer and a splendid Peppy media player to be my next radio player, but I'm sure I will not succeed without the help of some of the experts here. Thanks in advance!
Leo
-
Hallo Leobo7, Sie müssen den Wechsel zwischen Zähler und Player implementieren. Vielleicht können einige Infos, wie das in einem Volumio-Plugin gemacht wird, hilfreich sein:
https://community.volumio.org/t/install-pepp…volumio/42773/9
Hallo leof, wie geben Sie Audio aus? Verwenden Sie 3,5-mm-Audiobuchse oder ein USB-Gerät? Das VU-Meter arbeitet mit dem Lautstärketyp amixer. Lassen Sie uns zuerst versuchen, es zum Laufen zu bringen.
Deutsch ist die Hauptsprache in diesem Forum. Es wird empfohlen, diese zu verwenden und nur bei Bedarf ins Englische zu übersetzen. Normalerweise schreibe ich Nachrichten auf Englisch (was ich viel besser kann) und übersetze dann mit deepl.com ins Deutsche
Beste Grüße
-----------------------------------------------------------------------------
Hi Leobo7, you need to implement the switch between meter and player. Maybe some info how that's done in a Volumio plugin can be helpful:
https://community.volumio.org/t/install-pepp…volumio/42773/9
Hi leof, how do you output audio? Do you use 3.5mm audio jack or any USB device? The VU Meter works with amixer volume type. Let's try to make it working first.
German is the the main language of this forum. It's recommended to use it and translate to English only if there is the need for that. I usually write messages in English (which I know much better) and then translate to German using deepl.com
Best regards
-
Jetzt mitmachen!
Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!