Maybe it is only a problem on my smartphone.
Music Server Interface
Einklappen
X
-
I found a problem with queue index. Next and previous work over the Windows app or the Browser on PC, but not over the app. There only works in first view the next but not in the "detailed" view. The same with the volume.
Maybe it is only a problem on my smartphone.Smarthome: 1x Miniserver Gen. 2, 3x Relay Extensions, 1x Tree Extension, 1x DI-Extension, 1x Air Base Extension, 8x RGBW Tree Dimmer, 9x Touch-Tree, 1x Nano DI Tree, 10x Tree BWM
Technik: IDM Aero SLM 3-11 mit HGL, MS4H mit 9 Zonen, 2x Loxberry, 2x RPI für Anzeige, Doorbird, Froggit WH2600, POE+ System für Peripherie, Gedad Luftgütesensoren, Deconz (Bridge + 2x BWM + 2x RGBW + 5 Smartplug) -
Hab ich das richtig verstanden, das der Musikserver auf dem Loxberry laufen muss? Also wenn ich jetzt den MS4L benutze, funktioniert das momentan noch nicht richtig?
Oder kann ich irgendwo in dem Plugin die IP des Musikservers einstellen?Loxone: 1x Miniserver, 8x Extension, 2x Dimmer, 1x Relay 2x 1Wire, 1x DMX, 1x Fröling, 1x AirBase, 1x NanoIO Air, 1x RemoteAir, 2x Multi Extension Air
Dmx4all:4x X9, 1x MaxiRGBW, 1x RGB
Synology: DS414, 4x4TB WD red,
Intel NUC7I3BNK: Proxmox, MusikServer4Lox, Win10, loxberry, Verstärker für 10 Zonen Eigenbau
Fritzbox: 7490
Rasenmäher: Husqvarna Automower 420 (2017), Robonect HX R3 ModulKommentar
-
Christian Fenzl already included the LMS Gateway in his Squeezelite Plugin. Maybe you can just use this gateway also for your Plugin. Maybe Christian Fenzl can include support for your plugin if needed. This way we only have to maintain the gateway code only once and you only have to check if the squeezelite plugin is also installed and give a warning if not.
We currently do it with MQTT the same way and this works pretty fine.
https://github.com/christianTF/LoxBe...in-squeezelite🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
-
I am following this thread, but haven’t tried it yet.
I will try it and I am open to integrate things in the Squeezelite plugin if required, as soon as I have done my renovation of my house. Currently I have so much to do 😉
But for any questions I am available!
Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraineKommentar
-
Sorry, I'm the one a bit lost now
Is the LMS Gateway present in Squeezelite's plugin the same as the one that hismastersvoice talks about? i.e. the one present in MS4L. I initially understood they were, but now I'm not sure anymore.Kommentar
-
Both offer the same functionality, but are separate developments from hismastersvoice in MS4L, and me in Squeezelite Player plugin.
-
-
I would prefer to use a Gateway on the LoxBerry, which then also works with MS4Lox as far as I understood so far. The other way round needs a MS4Lox, which a lot of people do not have.
E. g. my installation is a Pi3 witth LoxBerry and LMS4LoxBerry Plugin (Logitech Media Server) and a LoxBerry in each room with Squeezelite Plugin. So becasue I have a decentralized installation, I do not need a MS4Lox.Zuletzt geändert von Prof.Mobilux; 17.04.2020, 10:14.🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
-
That's in part why I decided to bring the actions back to the Miniserver as Virtual Inputs / Outputs, so that what happens when a button is clicked is customizable. I agree with you too in the fact that I'd prefer having a common gateway between LoxBerry / LMS4Lox and MS4L, so that the pieces are exchangeable. I'm not sure how feasible / willing to do the unification both hismastersvoice and @christianfenzl are open to that. -
As long you keep the structure as she is and make the IP and Port editable, everything works. I/Os or internal handling.
I like to integrate the Interface Plugin direct into MS4L, but keep the Gateway open that it works on every Linux based system like Rune etc. -
I think this approach would work perfectly. Then Christian Fenzl can probably put that one inside the LMS4Lox.
-
-
If somebody have problems because don't start the plugin
Gast help me to enter by SSH and enter this command: ~/bin/plugins/music-server-interface/index.sh
After it, start the plugin
Very nice job
ThanksKommentar
-
This is what initiates the service; but as soon as your leave the SSH session and/or reboot the LoxBerry, you'll lose it. I think you have something that is called at boot time that is interfering with the initialization process. I'm not sure how to help you further without having access to the LoxBerry
-
-
if I open http://iploxberry:6091 I get the following message:
{ "_result": null, "command": "/" }
is that right?Kommentar
-
Yes, that's because there is no command assigned to `/`. Try http://iploxberry:6091/audio/cfg/all. -
Yes, the plugin just emulates the basic interface of the Music Server; and provides you inputs / outputs for the actions made in the UI.
-
-
yes. Is now also described on the PlugIn website.Smarthome: 1x Miniserver Gen. 2, 3x Relay Extensions, 1x Tree Extension, 1x DI-Extension, 1x Air Base Extension, 8x RGBW Tree Dimmer, 9x Touch-Tree, 1x Nano DI Tree, 10x Tree BWM
Technik: IDM Aero SLM 3-11 mit HGL, MS4H mit 9 Zonen, 2x Loxberry, 2x RPI für Anzeige, Doorbird, Froggit WH2600, POE+ System für Peripherie, Gedad Luftgütesensoren, Deconz (Bridge + 2x BWM + 2x RGBW + 5 Smartplug)Kommentar
-
I just released 1.2.1 with the setting to disable Miniserver traffic as hismastersvoice requested, and also minimal fixes.
Happy weekend!Kommentar
-
Hello,
Great work on the plugin. Its something I am really interested in implementing into my system. I'm not sure how much help I can be but I am willing to try if you need anything.
I am just getting back into Loxone scene. We installed Loxone around 5 years ago and enjoy using it daily. The other day I came across this website and using a spare Raspberry Pi I now have LoxBerry running and I am looking at seeing what plugins can complement our system.
We currently have a multizone Sonos system that is integrated into Loxone using their Sonos virtual output template. This works fine for simple tasks such as Volume, muting and track changing.
I have installed the plugin and saved an 8 zone music server into config and all is visible and appears to work fine.
Would I be able to adapt my current setup to work with the plugin?
Thanks ColKommentar
-
The plugin just creates the interfaces; you should now take these virtual inputs / outputs and connect those with actions on your Sonos system. I'm however unsure about how Sonos work in depth, but hopefully someone else can help you. I'd recommend starting a new thread because I think others are willing to do the same too
-
-
I just released 1.2.1 with the setting to disable Miniserver traffic as hismastersvoice requested, and also minimal fixes.
Happy weekend!
As mentioned before I have a problem if sender an receiver has the same port.
If I go with a gateway in the middle of the process I have to sniff the msg of the port. If sender and receiver has the same I get the msg that the port is already used.
Don´t mater if this is on a Loxberry / MS4L or other systems.
Kein Support per PN!Kommentar
-
It's just IP right now, I'm thinking in how to deal with ports, since there are three ports involved: the port used to communicate with the Loxone Miniserver (HTTP through TCP), the port to push info from the Miniserver to the plugin (UDP, things like setTitle), and the port to push back from the plugin to the Miniserver (UDP, things like play, pause). I would like to keep all three being the same so that you don't have to think which of the three you are using for what.
I think the problem in your case comes from the sniffer that you're using for traffic interception. I added some logging for that in the output ([UDP4] fields), so maybe that covers your usecase? -
Don´t work for me, I get the msg used.
I coded quickly to send additional to another port and sniff. This works without any problem.
So maybe finde a solution about handle to ports.
-
-
From the MQTT Gateway experience, I know that the Miniserver has problems using the same port for inbound and outbound, unrelated if TCP or UDP is used.
In MQTT, I therefore changed the default in-port of the plugin, as I discovered problems if Miniserver sends and receives data to/from the same port.Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraineKommentar
-
Gast I currently rebuild the WebUI. Can you explain what the options "Send to miniserver as virtual inputs/outputs:" and "IPs to send messages (comma separated list):" exactly do?🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
-
I just tested the interface. It looks fantastic, but I get no texts (I checked and $L is null). -
The text strings are read from templates/lang/language_en.ini. This is a standard function from LoxBerry::System. https://github.com/mjesun/loxberry-m...h/index.php#L8 The function looks for a file for your language and falls back to EN if it does not exist. Do have the file "language_en.ini" in the templates folder? -
Just reinstalled the plugin and still all text strings are there.
-
-
This is my first idea to integrate it into the structure.
You can set a number of the used Audio-Zone in the Config, in my test-case 1-10 (9 internal zones + 1 external Zone).
The Gateway now knows to how to handle the receive/send commands and don`t have to use VI/VQ in the MiniServer.
If set more than 20,40,60... Zones, the Gateway switch to the next UPD-Ports
Question to all, are you think that is ok in this way?
The same could be done on every other Gateway like Loxberry etc.
Additional I think about the set the number automated, but I think that make it more confused than to set by hand.
If needed there keeps the way open to change the settings to keep a structure more clean.
Kein Support per PN!Kommentar
-
> I do some testing how to bring it in to one.
The `bin/service` folder (in which the whole service is) will remain there forever. One possibility that comes to my mind is to download the repository (or set it as a submodule of MS4L), and manually call `new MusicServer` passing configuration to link them internally, inside the music server. The plugin will need to keep existing (other LMS gateways, other setups, etc.) but this way inside MS4L everything would get simplified. -
That is what I do for now.
I take out the bin of the zip, change the data.cfg path and work with it. That makes it easier to check what are the possibility.
For now I do the changes by hand, for later we can maybe think how to handle.
Kommentar