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

Paw Server Request Http


Guest eco-domodom

Question

Guest eco-domodom
Posted

Hello,

I try to communicate through a scene with a server PAW Server (Android)

Here is my code LUA

Please login or register to see this code.

I get the following error:

Please login or register to see this code.

Any ideas ?

6 answers to this question

Recommended Posts

  • 0
Guest jrkalf
  • Inquirer
  • Posted

    Hi Eco-domodom, the use of Net.FHTTP isn't allowed in lua scripting yet. It's only allowed in lua code of virtual devices.

    Either make a virtual device button that performs this code, or wait until they release a new beta which has Net.FHTTP allowed in lua code of the scenes.

    • 0
    Posted

    Hi eco-domodom

    Do you found solution how to send text to PAW serwer from HC2 using scene ?

    • 0
    Guest Martial25
  • Inquirer
  • Posted
    Hi eco-domodom

    Do you found solution how to send text to PAW serwer from HC2 using scene ?

    hello,

    you can create a virtual module and a scene that supports the button module.

    It work's fine

    Please login or register to see this image.

    /emoticons/default_wink.png" alt=";)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    • 0
    Posted

    Hi, can you write tutorial how to use paw serwer to sending voice commands.

    Thak you.

    • 0
    Posted
    Hi, can you write tutorial how to use paw serwer to sending voice commands.

    Thak you.

    Hi,

    I've put most of information about how to do and link to detailled web articles here in this topic :

    Please login or register to see this link.

    As I don't have my HC2 yet, http calls are tested from a simple web browser at the moment but using the http call mentionned above it will work for sure.

    Please login or register to see this image.

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

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