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

Request Http via vScenes


Guest eco-domodom

Question

Guest eco-domodom
Posted

Hello

I want to send an http request to a server from a scene.

I try to use Net: FHttp, but it returns me an error.

My queries work fine via a virtual module, however I need to do it directly through a scene to use variables. Have you any idea?

thank you

6 answers to this question

Recommended Posts

  • 0
Posted
I try to use Net: FHttp, but it returns me an error.

Net.* namespace not yet implented in scene, you can use only in virtual device for the moment. Create virtual device with a button as LUA code and your request to your server and call the button from your scene: this is the only way

Please login or register to see this image.

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

  • 0
Guest eco-domodom
  • Inquirer
  • Posted

    This is the solution in a first time, if I want to use a variable how I can pass my variable to a scene in my virtual button? With a global variable?

    Please login or register to see this image.

    /emoticons/default_icon_question.gif" alt=":?:" />

    thk

    • 0
    Posted
    This is the solution in a first time, if I want to use a variable how I can pass my variable to a scene in my virtual button? With a global variable?

    Yes you can use global variable, but this is a temporary situation

    Please login or register to see this image.

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

    Hope the Net. will be supported in next release...

    • 0
    Posted

    Hi

    It seems the Net. is not supported yet in scene !!! is it true ?

    If yes, it really becomes very restrictive !!!

    Thanks

    David

    • 0
    Posted

    Yes, not actually supported and i think never

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" /> but you can use in virtual device and call button from scene ...

    • 0
    Posted

    not very optimistic

    Please login or register to see this image.

    /emoticons/default_icon_sad.gif" alt=":-(" />

    It really makes some scenes heavier !!!

    Why dou you seem so sure it will not be implemented ?

    Thanks

    David

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