HowTo: Logitech Media Server / Squeezebox Player mit Loxone steuern

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • J V
    kommentierte 's Antwort
    Yes... But is there a function block that can show a string? It would be nice to show e.g. what is playing. Or even use the xAP packets that contain the lines of the display... combined with cursor buttons on the display, you would get a very powerful remote...

  • hismastersvoice
    kommentierte 's Antwort
    Du solltest für den Datei Transfer WinSCP nutzen, dann passiert do was nicht

  • Christian Fenzl
    kommentierte 's Antwort
    With the REST Webservice you can feed an virtual text input by an http request from the server. The multisq2lox script in #77 is doing things like that, I guess.

  • roadi
    antwortet
    So jetzt läufts.

    Kurz zur Auflösung. Wie gesagt ich bin Raspi Neuling.

    Ich habe die multisq2lox Ordner via Samba rübergeschoben.
    Danach muss ein User odroid angelegt werden. (Das war mein Problem.) Dieser User muss root Rechte haben und schon funktionierts.

    Einen Kommentar schreiben:


  • J V
    antwortet
    Question regarding the feedback from LMS to the Miniserver... I'm currently setting it (but am away from the miniserver for a few days, so I cannot test).
    I was thinking of parsing the xAP packet that contains e.g. the title using a program that runs on the server where LMS runs, and then sending the string via an http command to the Miniserver...
    Would a virtual state be able to show a string in the user interface?

    EDIT: no... the v.t is time, not text...

    EDIT2: virtual state can show it, <v> is the specification for it.
    Zuletzt geändert von J V; 15.04.2016, 16:31.

    Einen Kommentar schreiben:


  • Christian Fenzl
    kommentierte 's Antwort
    Hi marin, ich hab mein Dokument jetzt nochmal von oben bis unten durchgeackert und alle \n's ergänzt. Wenn du oder andere noch wo ein fehlendes sehen, bitte um einen kurzen Hinweis! lg, Christian

  • marin
    kommentierte 's Antwort
    Hallo Christian + Roadie, danke für eure fixen Tips!
    Es war tatsächlich das /n am ende.
    In allen anderen Befehlen war es eingetragen,daher funzten diese.
    Lieber Christian, in deinem super hilfreichen how-to zum Thema loxone+lms konnte ich beim Eintrag zum Thema URLS bzw Radio URLS hinzufügen, das notwendige /n am Ende nicht sehen.
    Noobs wären sicher dankbar, wenn das da mit vermerkt wäre.
    Ansonsten aber: ich hätte es ohne dein How-To nie in Angriff genommen. Danke!
    Zuletzt geändert von marin; 05.04.2016, 21:23.

  • J V
    kommentierte 's Antwort
    The xPL protocol works very similar: just tick the xPL plugin in LMS, install a hub if needed ( http://www.xplmonkey.com/xplhub.html ; has no userinterface but just runs as a service), and create a UDP input on port 3865. I could receive them with the Loxone UDP monitor.The messages have a similar structure so can be processed similarly as using xAP, but as different names (e.g. the sender name, property name, ...) are used, the input commands are not compatible and need to be written differently.

    One big difference: LMS sends less xPL messages than xAP messages. Using the xAP plugin, it sends e.g. a status message containing the value of the volume level when it is changed, it sends every second updates of what is playing, etc. On xPL, LMS only sends messages that match a button-press on the remote, and one message when the playing track changes; so you cannot get the volume level for example... or the time where the song is.... So there is a trade-off:
    xPL: less info but less messages (every track change, every button press)
    edit: this is the specification of the xPL commands for LMS:


    xAP: a lot of info, but more messages (every second).
    edit: this is the specification I could find for the xAP command for LMS:


    For my purpose, I'm undecided yet... I may make the switch to xPL to have less messages on the network and have it work out of the box with EventGhost (in this case, I will share the UDP commands I use, to they can be added to the google doc file). Or I will try to change the xPL plugin of EventGhost to work with xAP. I don't know yet how much more xAP would give me, the volume and time are the first things I found, but from the specification it looks like they can be requested using an xPL message. For me, less messages on the network seems nice, as it involves my main system (LMS server is on that one), but probably won't matter for any real world performance...
    Zuletzt geändert von J V; 05.04.2016, 13:32.

  • hismastersvoice
    kommentierte 's Antwort
    Also viel einfacher als mit Alsa wirst es nicht bekommen...
    ...und echt jetzt, nur weil du dich nicht mal 5 Min. mit Alsa beschäftigen willst nimmt 2 Raspis ?????

    Poste deine Alsa und ich helfe dir...

  • tholle
    kommentierte 's Antwort
    Thank you for the hint!

    greetings,
    tholle

  • J V
    antwortet
    I managed to get it feedback from squeezebox to work using XAP, but needed a hub. For this, xFx works well (http://www.erspearson.com/xAP/xFx/hubs_main.htm ); the same developer also has a viewer available that shows all xap traffic (or you can filter it): http://www.erspearson.com/xAP/xFx/viewer_main.htm . It helped me to diagnose my problem by seeing if it receives correctly or not.

    I will try to achieve the same thing using xpl; the difference seems minimal (layout of the message is the same, just different port number), as I want to integrate it with EventGhost, which has a plugin for xpl but not for xap. Both xpl and xap are a bit older standards and xpl is a fork of xap, but according to this also older link ( https://github.com/hollie/misterhous...etting-started ), xpl has more hardware support..

    Einen Kommentar schreiben:


  • tholle
    kommentierte 's Antwort
    Ja, das ist richtig.
    Was genau stoert dich an der ALSA-Loesung denn? Das Prinzip ist rech einfach. Man 'verknuepft' Kanaele mit 'binding'. Ebenso kann man sie wieder aufdroeseln und dadurch einen Stereokanal in Mono wandeln.
    Ist auch, wenn man genau hinschaut, in deinem Link mehr oder weniger aus den configs herauszulesen.

  • Beany
    kommentierte 's Antwort
    Ah, danke kannte ich auch noch nicht, leider war ich mit meiner Beschreibung nicht ganz exakt weil ich mit dem Amp+ bereits nach dem Verstärker bin, da geht deine Lösung leider nicht mehr
    LG Beany

  • tholle
    kommentierte 's Antwort
    Jupp, ich habe diese Huerde auch und loese sie hiermit:



    Gruss,
    tholle

  • Beany
    antwortet
    hat jemand von euch eine einfache Lösung einen Audioplayer anstatt Stereo auf zweimal Mono zu betreiben und jeden Kanal einzeln zu regeln. Hätte so eine Lösung für den Wirtschaftsraum und das WC benötigt. Habe mir kurz ALSA angeschaut, ist mir etwas zu komplex . Wenn es keine einfache Lösung gibt, bleibe ich ansonsten bei zwei einzelnen Rasp.
    LG Beany

    Nachtrag Link: https://support.hifiberry.com/hc/en-us/community/posts/201494532-Use-of-ALSA

    Zuletzt geändert von Beany; 03.04.2016, 20:31. Grund: Link nachchgetragen

    Einen Kommentar schreiben:

Lädt...