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

Virtual device


Question

Posted

Hi can someone help? I have  manage to add Vera edge lights (RF) to my Fibaro HC2 via virtual device I can control the lights on/off using the following command GET /data_request?id=action&output_format=json&DeviceNum=49&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=50 HTTP/1.10x0D0x0A0x0D0x0A . But I need help for adding a slider to control the dimming level.If that's even possible! I know this is not the right topic to post a such a question but I could not find  help anywhere else I hope someone can help me thanks in advance! If there Is any solution to my problem please explain the steps for editing a slider like on a five year old! I have my uniti from five days end I am absolutely incompetent but willing to learn!

8 answers to this question

Recommended Posts

  • 0
Posted
Dnia 10.11.2016 o 23:22, Ka4ev napisał:

Hi can someone help? I have  manage to add Vera edge lights (RF) to my Fibaro HC2 via virtual device I can control the lights on/off using the following command GET /data_request?id=action&output_format=json&DeviceNum=49&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=50 HTTP/1.10x0D0x0A0x0D0x0A . But I need help for adding a slider to control the dimming level.If that's even possible! I know this is not the right topic to post a such a question but I could not find  help anywhere else I hope someone can help me thanks in advance! If there Is any solution to my problem please explain the steps for editing a slider like on a five year old! I have my uniti from five days end I am absolutely incompetent but willing to learn!

Hello,

 

Can you try this in the slider button in VD:

Please login or register to see this code.

Simply put it in the box for slider button. Of course, change values so that it will use the ones you need.

  • 0
  • Inquirer
  • Posted

    Hi thank you for your reply! Do I need to change the IP and the port number for my Vera? Please give me an example what should I edit! 

    • 0
  • Inquirer
  • Posted

    Which values I should change? Device on Vera is id 49!On Fibaro VD the ON end OFF button end the slider are id 26! I have paste the cod as it is but noting is happening! Can you be more specific please! Regards: Ka4ev

    • 0
  • Inquirer
  • Posted
    21 hours ago, T.Konopka said:

    C2

    Hi Do i ned to finish the code with HTTP/1.10x0D0x0A0x0D0x0A ?Or just live it lake the one above? i have try every thing but is not working!!!!! Can you please make the code en i can paste it in the Slider box!

    • 0
    Posted

    Hello,

     

    I do not understand one thing.

    Why do you need Vera for this solution?

    I am a little bit confused about what you want to achieve.

    • 0
  • Inquirer
  • Posted

    I am using The Vera Edge to control my RF Lights! I have manage to turn them on/off but i do not know how to ad a slider to the device!

    • 0
  • Inquirer
  • Posted

    The cod you provided is not working!

    • 0
    Posted

    Substitute the slider value with __sliderValue__

     

    so for your example it will be

     

    GET /data_request?id=action&output_format=json&DeviceNum=49&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=_sliderValue_ HTTP/1.10x0D0x0A0x0D0x0
     

    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...