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

Openremote z HC2


Guest sztywniak

Question

19 answers to this question

Recommended Posts

  • 0
Guest sztywniak
  • Inquirer
  • Pierwsze próby integracji HC2 z openremote

    jak widać działa

    Please login or register to see this image.

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

    a tu z interfejsem HC2

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0
    Guest sztywniak
  • Inquirer
  • napiszę w skrócie bo opis na stronie openremote.org jest dokładny

    1. instalujesz na kompie Jave w wersji JDK

    2. ściągasz openremote

    3. rozpakowujesz openremote

    4. do zmiennych środowiskowych dopisujesz SET JAVA_HOME = ściezka do JDK lub poprzez "Mój komputer"/Właściwości/zaawansowane/Zmienne środowiskowe

    5. w katalogu gdzie rozpakowałeś openremote masz podkatalog bin i w nim uruchamiasz CMD

    6. w okienku CMD wpisujesz "openremote run" po czym powinien się uruchomić serwis openremote

    7. w przegladarce wpisujesz

    Please login or register to see this link.

    8. zakładasz nowe konto designera które będzie Ci potrzebne do ściągania Twojego profilu z online-owego designera do Twojego lokalnego kontrolera.

    9. Jeśli chcesz zacząć tworzyć musisz zalogować się do designera pod adresem :

    Please login or register to see this link.

    10. to co stworzysz możesz wgrać do swojego kontrolera na komputerze poprzez :

    Please login or register to see this link.

    logujesz się swoim loginem z designera. Po zalogowaniu automatycznie ściągnie się Twój profil i będziesz mógł z niego korzystać lokalnie na 2 sposoby

    a) IPAD, Iphone, Android : ściągasz sobie aplikację Openremote która sama wykryje w sieci lokalnej Twój kontroler i się podłączy do stworzonego przez Ciebie profilu

    b) Podgląd przez konsole WEB w przeglądarce Chrome wchodzisz pod adres

    Please login or register to see this link.

    i tu możesz też oglądać swoje dzieło

    11. Powinno Ci to wszystko zająć max 20 min, jak już przez to przebrniesz to możesz wysłać mi flaszkę

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" /> Mnie rozczajenie tego zajęło ponad 2 dni.

    aha jeszcze Ci napiszę tak w skrócie jakie znalazłem możliwości :

    - sterowanie urządzeniami Fibaro poprzez HTTP POST/GET do API HC2

    - sterowanie urządzeniami Fibaro poprzez ZWave (musisz kupić stick-a lub RaZberry Pi)

    - usadzanie grafik, przycisków, tekstów, elementów WEB (kamery,wykresy itd..)

    - możesz definiować urządzenia (w tym wirtualne) , sensory, switche

    Problemy jakie napotkałem i jeszcze nie rozwiązałem to np nie można wyciągać poprzez XPath danych z pliku XML API HC2 ponieważ jest jakiś problem z kodowaniem UTF-8.

    Próbowałem też z nową wersją API z bety wyciągnąć dane przez JSONPath ale coś mi nie idzie. Muszę jeszcze trochę poświącić na to czasu.

    Link to comment
    Share on other sites

    • 0

    jestem przed ostatnim zakrętem...nie umiem wysłać komunikatu poprzez http post

    czy dobrze próbuję?

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0
    Guest sztywniak
  • Inquirer
  • jestem przed ostatnim zakrętem...nie umiem wysłać komunikatu poprzez http post

    czy dobrze próbuję?

    tak, dobrze

    sprawdz czy to samo polecenie w przegladarce Ci działa

    Link to comment
    Share on other sites

    • 0
    Guest sztywniak
  • Inquirer
  • może Tobie się uda odczytać status przez JSONPath bo u mnie coś nie działa i ściąga cały plik

    próbowałem już $.properties.value i wszelkie kombinacje z nawiasami

    Link to comment
    Share on other sites

    • 0
    Guest sztywniak
  • Inquirer
  • W logu masz komunikat o bledzie.

    Plik xml generowany z HC2 ma jakis problem z kodowaniem UTF-8

    Link to comment
    Share on other sites

    • 0
    Guest sztywniak
  • Inquirer
  • tu masz tutoriale

    Please login or register to see this link.

    Link to comment
    Share on other sites

    • 0

    hmm na linuxie pkt 1-7 to pobierz, rozpakuj, uruchom

    Please login or register to see this image.

    /emoticons/default_tongue.png" alt=":P" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" /> tylko uwaga skrypt nie ma praw wykonywanie, które trzeba nadac

    Link to comment
    Share on other sites

    • 0
    Guest sztywniak
  • Inquirer
  • to masz opis :

    Please login or register to see this link.

    Link to comment
    Share on other sites

    • 0
    Guest merylion
  • Inquirer
  • Mam takie szybkie pytanko,

    Czy aplikacja na iPhonie bedzie wysylac komende bezposrednio do Fibaro?

    Chodzi mi o to czy po zakonczeniu konfiguracji musze miec OpenRemote controller uruchomiony na komputerze?

    Pozdrawiam

    Marcin

    Link to comment
    Share on other sites

    • 0
    Guest sztywniak
  • Inquirer
  • gdzieś musisz mieć ten controller uruchomiony

    nie musisz na swoim kompie, możesz na jakimś hostingu gdzie masz pełen dostęp lub jakieś Raspberry Pi ...

    Link to comment
    Share on other sites

    • 0

    gdzieś musisz mieć ten controller uruchomiony

    nie musisz na swoim kompie, możesz na jakimś hostingu gdzie masz pełen dostęp lub jakieś Raspberry Pi ...

     

    Hi Richard,

    Sorry for opening such an old post and also english which I hope you understand.

     

    I have setup OR and have all all running

    I have setup a switch and have that running correctly back to HC2

     

    I am working with the slider and have the status working but not the setvalue part

    I am working with a standard fibaro dimmer 

     

    Status is setup as follows and this works. If I set the value in HC2 it is reflected in OR

     

    Please login or register to see this attachment.

     

    but the setvalue still isn't working 

     

    If I use the following URL in chrome I can set the dimmer value

    Please login or register to see this code.

    I then use this in OR with the ${param} in the url to pass the required value back from the slider control 

    My OR command looks like this ...

     

    Please login or register to see this attachment.

     

    and the URL I'm using is as follows

    Please login or register to see this code.

    ....but its not working 

    Please login or register to see this image.

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

     

    Do you know what the correct format of the url is and if I need some other settings

     

    If I can sort this I can start to build custom panels for myself..

     

    any help appreciated....

    Thanks

    -F

    Link to comment
    Share on other sites

    • 0

    Hi Richard,

    Sorry for opening such an old post and also english which I hope you understand.

     

    I have setup OR and have all all running

    I have setup a switch and have that running correctly back to HC2

     

    I am working with the slider and have the status working but not the setvalue part

    I am working with a standard fibaro dimmer 

     

    Status is setup as follows and this works. If I set the value in HC2 it is reflected in OR

     

    Please login or register to see this image.

    /public/style_images/master/attachicon.gif" alt="attachicon.gif" />

    Please login or register to see this link.

     

    but the setvalue still isn't working 

     

    If I use the following URL in chrome I can set the dimmer value

    Please login or register to see this code.

    I then use this in OR with the ${param} in the url to pass the required value back from the slider control 

    My OR command looks like this ...

     

    Please login or register to see this image.

    /public/style_images/master/attachicon.gif" alt="attachicon.gif" />

    Please login or register to see this link.

     

    and the URL I'm using is as follows

    Please login or register to see this code.

    ....but its not working  :-(

     

    Do you know what the correct format of the url is and if I need some other settings

     

    If I can sort this I can start to build custom panels for myself..

     

    any help appreciated....

    Thanks

    -F

     

     

    I resolved this so good - thanks

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