MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

MMM-Volumio



  • Description:

    Made proof-of-concept for displaying volumio information from the web socket it exposes.
    All feedback welcome.

    Download



  • Hi @trgraglia,
    just did a test-drive of your module and I was very impressed.
    Looks really cool to me.
    If you need any help let me know.
    Thinking of some improvements…

    • translations
    • configurable fields (hide certain fields returned from Volumio)
    • show cover art
    • improved CSS (possibly using icons from Font Awesome…)

    Cheers,
    B



  • @BerndKohl

    Hi Bernd,
    I honestly just wanted to see if it was possible. Some ideas:

    • Offer in the config a chance to hide/show each element
    • Offer an ordering of the info in the config
    • Offer class override in the config
    • Offer layouts in the config

    The CSS and showing album art from the provided url, etc is the easy part. The logic to make a nice configurable module is a little trickier. 😉 And of course, all input, contribution, etc welcome. Fire away!

    Additionally, would be cool, using pi-gpio to allow button input on predefined pins to play/pause, advance track, adjust volume, etc… Just ideas. Time is the limiting factor.



  • I can’t seem to get this to work. It just displays “Connecting to Volumio…” in the mirror.

    Logs show this line popping up every 15 seconds or so.
    — MMM-Volumio: Socket Notification Received: MMM-VOLUMIO-SET-CONFIG

    IP for volumio is set to static 192.168.1.98. This is set correctly in the config.js.

    Thanks for any help you might be able to give.



  • @Chiumanfu This is just a prrof of concept and I haven’t had any time to expand on it.

    This sounds stupid but are you playing something on Volumio? If nothing is playing, it will not get any data.

    Other than that, perhaps you can inspect the JS in your browser and see if there are any errors there. Sorry I cant offer more support right now.

    Anthony



  • @trgraglia I realized my mistake. I had to add “http://” in front of the IP address in the config.js

    Thanks for your work on this module.



  • @Chiumanfu The devil is in the details. 😉