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

PowerView VD


floordk

Question

I can't get the PowerView VD's from fibaro marketplace to work. I've got the 2nd gen. hub, is that ihe reason?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

No, I have used Powerview plugin, but since 4.56 the plugin is not working anymore.

I logged the bug with Fibaro already a few weeks ago, they acknowledged the problem, but since then did not resolve the issue.

 

so I wrote my own virtual device to control my Powerview blinds. Working perfect.

 

 

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Powerview plugin is working fine on 4.57, but VD cannot...

    Also rolled back to 4.55 with same result......

    Edited by floordk
    Link to comment
    Share on other sites

    • 0

    VD still working fine for me, I’ll update to 4.57 later this week, but will not switch back to the plugin. With the plugin I had a scene for every blind (21 in total), the VD is a number of buttons, nicely arranged and much more compact

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • My challange is that I want to include Powerview in HC2 scenes.

    So far I have tried VD connecting via the plugin with this string:

     

    GET /api/plugins/callUIEvent?deviceID=555&elementName=playScene&eventType=onReleased HTTP/1.1
    Host: HC2-IP
    Authorization: Basic YWRtaW46YWRtaW4K

     

    This certainly doesen't work, I get an 202 errorcode

     

     

    Are you interested in sharing how you do it. My programming skills are not that good yet?

     

     

    Link to comment
    Share on other sites

    • 0

    Hello @floordk,

     

    Your VD lua code looks complicated.

    Here is the lua code I have put at each button of the VD (sceneID's differ of course)

     

    PI = Net.FHttp("192.168.178.120",80);

    r, s, e = PI:GET("/api/scenes?sceneId=33720");

     

    192.168.178.120  is the IP address of the PowerView Hub, sceneID of the relevant PowerView scene is 33720

     

    Perhaps you know, but you can obtain all scenes of the PowerView Hub from issuing the following url in a browser: 

    http://192.168.178.120/api/scenes

     

    This will return output like:

    {"sceneIds":[33720,30894],

    "sceneData":[

    {"roomId":31392,"name":"WmlqIEhhbGY=","colorId":7,"iconId":54,"networkNumber":30,"id":33720,"order":12,"hkAssist":false},

    {"roomId":31392,"name":"WmlqIEJhbmsgR2VzbG90ZW4=","colorId":7,"iconId":54,"networkNumber":20,"id":30894,"order":15,"hkAssist":false}…

     

    showing the sceneid (here above in red), and the name of the scene (again in red), however, the name in base64 encoded.

    Copy the string and find a base64 decoder on the web (there are plenty of online decoding sites), paste the name on such a decoder and in return you will get the name is shown in your PowerView app.

     

    Good luck with this, let me know if you need more help, glad to support.

    Rgds,

    Wim

     

     

     

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Hello @Winjanse

     

    You are a champ. Everything works?

     

    Thank you for taking the time to help me out..

     

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