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


[HC2] - HTTP API


Guest kstaniek

Recommended Posts

Guest kstaniek
Posted

Zniecierpliwiony oczekiwaniem na API i chęcią integracji HC2 z iRule postanowiłem wziąć sprawy we własne ręce. Na razie potrafię włączyć i ustawić dimmer na zadaną wartość oraz go wyłączyć. Więcej możliwości już niebawem.

Please login or register to see this link.

Chętnych zapraszam do współpracy nad rozbudową API.

Guest kstaniek
  • Topic Author
  • Posted

    Link miał być:

    Please login or register to see this link.

    Guest kstaniek
  • Topic Author
  • Posted

    Dodałem nową wersję. Można teraz sterować zarówno dimmerami jak i on/off'ami.

    Skrypt jest napisany w PHP i wymaga jedynie wgrania na dowolny serwer, z którego mamy dostęp do HC2.

    Sterowanie za pomocą HTTP GET:

    Please login or register to see this link.

    &value=

    Gdzie to ID modułu odczytane z HC2,

    moc którą chcemy ustawić. Dla dimmera 0-99, dla on/off'a 0/255.

    Na razie wystarczy mi to do podpięcia do aplikacji iRule, która działa na iPadzie,iPhonie i Androidach.

    Guest lunakk
  • Topic Author
  • Posted

    Luup Protocol ?

    Please login or register to see this image.

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

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

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