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

NET.FHTTP


jompa68

Question

Placed this code in a virtual buttun but i dont get it to work, need some help.

Please login or register to see this code.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
Guest jcs10

I saw in an other post that this has to be in a virtual device, I don't know how... but seems to be working, if somebody could help ???

Link to comment
Share on other sites

  • 0
Guest sztywniak

try this code :

Please login or register to see this code.

Link to comment
Share on other sites

  • 0
Guest jcs10

Thank you very much it's working !!

shame on me, I was testing this in local (checking the website logifile) but I gave the IP for the HC2....

Now I have to find an english, or french system that's doing the same as temperatur.nu...

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Ohh! to much typed in url on HC2 = Net.FHttp line

    Please login or register to see this image.

    /emoticons/default_icon_rolleyes.gif" alt=":roll:" />

    Thanks for that input, now it works

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

    Link to comment
    Share on other sites

    • 0
    Guest jcs10

    Is it working the same way to send this info as "json" ??

    I should have to put :

    {

    "feed_id": 28108,

    "value": ..temperatur

    }

    on an URL

    ...I'm new to this maybe I'm totally wrong ?

    I tried this... but...

    Please login or register to see this code.

    [ Added: 2013-03-10, 22:34 ]

    Hello,

    at the end of the weekend, I have now this :

    Please login or register to see this code.

    This is working, but when I try to update it doesn't work many times (I had figaro:sleep(30000) )

    I get in green 0 and after that 200 on the virtual device

    and sometimes 180 or something going each time greater and the 200 code a little bit later.

    Any Idea why ?

    ----

    I's like to use sen.se, that look much greater, but they want json.... and I don't know how to do this

    Please login or register to see this code.

    It's my example code that should put 45 in the feed 28108, I think something may be wrong, but what ??

    -> How can I correct this ?

    -> I hop I can add

    Please login or register to see this code.

    and replace my value in json with outside

    Or am I waiting something to difficult ?

    [ Added: 2013-03-14, 22:45 ]

    no help for me ?

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