Hop til indhold

EjvindHald

Members
  • Antal indlæg

    535
  • Medlem siden

  • Senest besøgt

  • Days Won

    28

Indlæg skrevet af EjvindHald

  1. 1 time siden, Pauli Anttila skrev:

    I have made lot of improvements the binding and now all features which I planned to implement is implemented. I updated the first post, where is a link to latest jar file and also link to the documentation (draft). I have made some breaking modifications to the binding, so you might need to remove existing thing and add it again. I really appreciate all help in documentation side (more detailed descriptions and examples, etc) as I don't need any documentation myself, so it's purely for your purposes :)

    Thanks. I have downloaded the new binding 2.x, and it is working fine. 

    Does this mean that the functionality in binding 1.x such as this example in red

    Switch    ForsteSalGarderobeSpotLoft "Spot loftet"         <light>          ["Lighting"]     {ihc="<0x1a7f5b,>[ON:0x255c5a:100],>[OFF:0x255b5a:100]"}

    will no longer be available using channels in binding 2.x ?

  2. 8 timer siden, Pauli Anttila skrev:

    Does anyone have idea what is the scale (min, max, etc) of the battery level and signal strength for wireless devices?

    I do not know this. Maybe some of the senior guys in this area like @Lars Jacobsen, @Lars1, @Mikkel Skovgaard or @cis2131 can contribute?

    @Pauli Anttila: Can you provide an example for binding version 2.x of a line in the items file using channel and a Command?

    In Openhab binding 1.x you had this in the documentation: 

    ihc=">[Command:ResourceId(:VALUE)]"

    which is a very powerful feature of the binding.

     

  3. 22 timer siden, Pauli Anttila skrev:

    You can see full channel links e.g. from Paper UI. In my example (test-switch),

    image.png.4884ff8133086d898dcb5cbb5354a5c0.png

    item definition is 

    
    Switch testSwitch { channel="ihc:controller:elko:test-switch" }

     

    Hi Pauli

    I have it working now, but I do not know the core reason for the problem. After I dropped and recreated it in PaperUI 2 times it suddenly worked. I never received any errors, but no messages were submitted to the IHC controller. At last messages were sent, and the controller reacted to the input. I verified everything in Service View.

    So everything seems to be fine. Only thing remaining is to test <, > ON, OFF along with milliseconds. This is a very powerful feature of the binding. Looking forward to a line example in the items file for that, so I can test this also. Thanks.

    Ejvind

  4. I have now tested it again, and it looks good. I can now push and link to an item if needed, and it seems to be fine. However, so far I guess I will just keep an items file, because then everything is scripted which is convient. I have made this test in my items file, and it works fine:

    Switch IHC2Spisebord "Spisebord2"   <phlampe>     {channel="ihc:controller:22d2638c:outputs#2845531"}

    This is really good!

    I have also tried to add a channel manually, which I could, but I could not get it to work. Maybe because I do not know proper channel naming. @Pauli AnttilaCan you provide an example of a channel like above for a manual added channel belonging to a resource in an function block?

    From @Pauli AnttilaI would also like a channel example of the <, > ON, OFF, miliiseconds and more cool functions that were in binding 1.x. Then I will test those as well in the new binding.

    Thanks.

  5. 37 minutter siden, Pauli Anttila skrev:

    Did you try to refresh the page (reload the Paper UI page)? I have seen similar problem, but page refresh have always helped (issue is related to Paper UI not the binding itself).

    Yes, I have tried refresh and also several different browsers with same result. I do not know if it is related but I am using the new controller hw 7.

  6. Hi Pauli

    Thanks. I have downloaded it and added to addons, and it showing up in Things. Also, it automaticly detects my inputs and outputs as shown below. However, it seems I can only press the blue "O" for the built-in Controller Channels and Signal Strength. All the autodetected content from my installation of type Switch creates no response when the blue "O" is pressed.

    I am running version 2.3.0.

    Can you help wit this?

    Ejvind

    ProblemBinding2x.jpg

  7. Hi Pauli

    Many people including me have benfitted a lot from your original binding 1.x to Openhab. Thank you very much for your effort developing very stable, flexible and robust software which have worked seamlessly for many years now.

    That you have now decided to develop binding version 2.x for OpenHab2 is the best news in a long time. I would like to participate in testing, and I also have some input to this, which I will send you in a private email. If interested, I can also offer do donate something to you, because your binding has been of great value to me.

    Ejvind

  8. Jeg har tilsvarende setup og kan genstarte openHAB, uden at Homekit mister disse oplysninger. Der må ske et eller andet, som gør, at ICloud og Homekit tror, at det er en ny bridge device.

    Måske prøve at slette dit hjem i Homekit, log ud og ind igen i ICloud for at tvinge en sync igennem. Og så vent ca. 30 minutter, inden du opretter nyt hjem. Ved ikke hvorfor men det ligner, at der er forsinkelse på opdatering hos Apple. Det har jeg oplevet flere gange.

    Mit setup af openHAB er linux varianten, som afvikles på en Synology NAS server. Jeg ved dog ikke, om det har betydning i dette tilfælde.

     

     

  9. Hej Mads. Du kan oversætte disse værdier til 0, 1, 2 og 3 i en ny variabel via en simpel rule i openHAB. Denne variabel binder du så til et input talfelt i en IHC funktionsblok. Dernæst koder du denne fb, så det passer til formålet.

    Bemærk at sætte en talværdi kan godt kræve en lidt speciel syntaks i item filen i stil med: {ihc="<0xadd90b,>[*:0xadce0b]"} Der er en * på adressen, hvor du vil sætte en værdi. Hvorfor det skal være sådan, ved jeg ikke, men det fungerer, når der skal sættes talværdier. Jeg bruger selv tilsvarende, så jeg kan direkte sætte trin på mit ventilationsanlæg via openHAB IOS app. 

    Det var @Claus Skovgaard, som meget venligt fandt denne mulighed til mig.

  10. Hej @Rasmus

    Vedr spm 1 så det det umiddelbart korrekt ud, hvad du har lavet. 

    Vedr spm 2, så er det på Synology ret enkelt at se logfilen. Log på NAS serveren, vælg 'Package Center' og klik herefter på OpenHAB. Dernæst skal du klikke på 'View Log' - begge dele er vist i nedenstående skærmkopi. Bemærk at jeg ikke benytter nyeste udgave af OpenHAB 2.0 (har ikke haft tid til at opgradere :-)

    image.thumb.png.9953ebbae6db093d5ddd1f05f2138bfe.png

    Husk:

    Installer den korrekte java version. Du kan ikke bruge den, der er pre-installeret på Synology - mere info her. Desuden skal det være nyeste version af java.

    Brug ikke Notepad til at editere filer. Brug i stedet SmartHome Designer, som er et gratis DevTool til OpenHAB.

     

×
×
  • Tilføj...

Important Information

Privatlivspolitik og We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

1200x630bb.png

ok