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

HCL some VD's not working


suds32nz
 Share

Question

HI

I am running 4.134 (just updated issue was in 4.133)

I have a very simple VD to change a variable 

Variable is "Position"

VD  Below

PUT /api/globalVariables/Position HTTP/1.1
Host: 127.0.0.1
Authorization: Basic a2VsdmluQHN1ZHMzMi5jby5uejp######## admin user and password (in my case admin is email address)

{"name":"Position","value":"Home"} 

And

PUT /api/globalVariables/Position HTTP/1.1
Host: 127.0.0.1
Authorization: Basic a2VsdmluQHN1ZHMzMi5jby##########

{"name":"Position","value":"Out"}

Screen shots attached.

Basically it does not work anymore but I can't work out why, I have other VD's that have stopped working but the Reboot one works fine

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Edited by suds32nz
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

you might double check and compare with the cookbook. I do not see a reason why they should not work anymore apart from the fact that it is fibaro operating system :(

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Thanks, Yep been thorugh cook book to compare and is this is quite basic it all looks the sames as the book.

    Reboot VD works but could not use 12.0.0.1:11111 anymore tried a few options with this one with no luck   suspect it is but in there Beta since 4.130

    Link to comment
    Share on other sites

    • 0
    On 8/6/2017 at 0:48 AM, akke said:

    Maybe you need HTTP/1.10x0D0x0A0x0D0x0A , not just HTTP/1.1

     

    no, all the extra code is useless

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