Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

How can I control Sonos using the Fibaro KeyFob


yajean

Question

Hi There,

 

I am trying to figure out a way to use the new fibaro keyfob to control my sonos system. The type of functions I am thinking are on/off and volume up/down only.

 

From what I understand you cant use the keyfob to control plugins but you can control scenes.

To control Sonos via a scene I understand a Virtual Device would need to setup for SOnos which I have now done successfully.

 

My question now is how do I create a scene using LUA code to control the Sonos VD?

 

Is there a better way to do this? Im sure there should be an easier way???

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi @yajean

 

There are three ways to use sonos with the HC2

  • Plugin
  • Remote VD
  • sonos-http-api

 

Could you which you have setup and what sonos control are looking for.

This may help identify a person that might be able to assist

 

 

Edited by AutoFrank
Link to comment
Share on other sites

  • 0

assign a keyfob button to a button on your VD.

i have done that and i use my '+' button for volume up in increments of 2 and the '-' for volume down.

i have also assigned the '+' button pressed to start a playlist and the '-' to stop the playlist.

you use the sonos-http-api bridge which is run on the pi for your playlist starting and stopping but you have to remember it will always be the same playlist.

the volume functions are run using the sonos-http-api OR the VD.

thanks

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Thanks @AutoFrank and @morpheus75  

     

    @morpheus75, what you described is the exact setup I would like. 

     

    There are various VDs out there. Is there a particular one that you are using to do this?

     

    Also, how do you assign a keyfob button to a VD button. Are you able to supply the code to do this?

    Link to comment
    Share on other sites

    • 0

    @yajean

     

    these are the videos i have done and its a case of using a combination of these to get your desired outcome. 

    take a look, any questions just ask!!

     

    how to install the sonos-http-api bridge

     

     

    how to install the VD

     

     

     

    this is the playlist selector. you create your own VD for this one as it will be specific to you requirements but the principle

    of path creation is the same

     

     

    finally how to add things to the keyfob...

     

    enjoy.....

    • Like 1
    Link to comment
    Share on other sites

    • 0

    Some more sonos information here ...

     

    All things Sonos

    • Please login or register to see this link.

    • Please login or register to see this link.

    • Please login or register to see this link.

      ,
        
    • Please login or register to see this link.

    • S

      Please login or register to see this link.

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...