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

Plugin + Http api


Question

Posted

Is it possible get control of Plugin device, like a Sony TV, using Fibaro HTTP API?

4 answers to this question

Recommended Posts

  • 0
Posted

You can send http-requests to the tv from fibaro using a virtual device if your tv supports it. The other way around, you can only control the fibaro from your device if you are able to build an app which can send the http-requests to the fibaro.

  • 0
  • Inquirer
  • Posted

    I'd like to use the Plugin Device (HC2 - v3.902 Alpha) for Sony TV instead Virtual Device.

    I listed the devices using api:

    Please login or register to see this link.

    and found the Sony TV (Plugin device) with deviceID = 110.

    But, when I call:

    Please login or register to see this link.

    it doesnt work. The result is:

    Please login or register to see this code.

    • 0
    Posted

    giliardi, go to

    Please login or register to see this link.

    on end json you got actions, or use f12 and press button with command what you want get

    • 0
  • Inquirer
  • Posted
    giliardi, go to

    Please login or register to see this link.

    on end json you got actions, or use f12 and press button with command what you want get

    A.Socha, I called

    Please login or register to see this link.

    , and got the result:

    Please login or register to see this code.

    I found the actions which I wanted (turnOn and turnOff), but they doesn't work. As I mentioned before, follow the result when I call

    Please login or register to see this link.

    :

    Please login or register to see this code.

    and it doesnt work.

    Beside, I tried the request monitor (f12) and got the url of SonyTV Plugin's power button:

    Please login or register to see this code.

    It works, but as a toggle action. I'd like a discrete command to turn on and off. Is it possible?

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

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