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

Translating IP/docs in HCL string for VD


kunoch
 Share

Question

I was starting to read thru and try the docs as available on my HCL (IP Address/docs).

So I created a variable to try. I tried the PUT command and it all works like a charm after some trial and error. But how do I translate this into a string to be used e.g. for a button in a virtual device? the docs subpage provides no clue about this. Currently I have given up as it is just trial and error without having a clue what is wrong.

It would be incredible helpful if the docs page would show the string as well in the format it has to be put into the VD String section. It would definitely help beginners like me

 

Please login or register to see this attachment.

Please login or register to see this attachment.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • I 'coded' this into the button for EIN, but do not see any reaction. base64coded means that this is my admin login and password but coded)

    Please login or register to see this attachment.

    Edited by kunoch
    Link to comment
    Share on other sites

    • 0

    Hi
    This VD works with fw. 4.100 have not tried 4.120   

    Please login or register to see this attachment.

    Important! Only change with copy paste, do not move / change empty lines or spaces. :)

     

    Use the same IP address and TCP port as on screen dump.

     

    Please login or register to see this attachment.

      

    Please login or register to see this attachment.

    Edited by hTiger1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Hurra!!!! it finally works with 4.120. Thanks a lot. :D

    There is one thing in your example that I was able to remove. You do have a <space> character on the empty line, this one I do not need, but the empty line is definitely necessary. Why? only lady Ada might know.

    I also only manage to get it running with localhost, no way to get it running with the IP of the HCL.

    what a nightmare.......

    I tried to set a second variable with the same button but no chance..........

    Now based on this example I will try to get the current status when in the VD as well....... will for sure take another week or so to find out how this might work

    kuno

    Please login or register to see this attachment.

    Edited by kunoch
    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.

     Share

    ×
    ×
    • Create New...