Hop til indhold

EjvindHald

Members
  • Antal indlæg

    542
  • Medlem siden

  • Senest besøgt

  • Days Won

    28

Indlæg skrevet af EjvindHald

  1. 2 timer siden, Vagn skrev:

    I have 2 ihc controllers installed in my house. One of them runs well against openhab2. Is it possible to configure the binding so it can communicate with the second controller as well?

    Yes, that is one of the advantages of binding version 2. It should automaticly discover 2 Things (your 2 IHC controllers) which each have their own ip address. Please be aware that OpenHAB is still is shipped with binding version 1, so you need to download and add IHC binding 2 yourself as explained in the first article in this post.

  2. Jeg har vedlagt vejledning til den nævnte PIR.

    Mht. salg så prøv at gå til www.lince.net, vælg engelsk i højre hjørne og klik på products. Herefter åbnes en pdf fil, hvor modellen 1873BOBBY-AM er vist på side 28. 

    Mit forslag er at skrive til dem og spørge efter en forhandler, hvor man kan købe denne model. Alternativt et andet modelnr, hvis den er erstattet.

    Til IHC har jeg også tilsluttet model Activ8 DT fra Honeywell kombi PIR / mikrobølge, som godt nok er mindre og pænere, men den giver med sjældne mellemrum fejlalarm.

    Lince 1873 Bobby AM på cykelskur.pdf

  3. Hi @Ole Yes, it makes a lot of sense and you can utilize the full power of openHab including many devices in different technologies. But if you - like me - has a conservative approach and wan’t ihc to hold all logic you would instead feed ihc with the temp., wind and other inputs and let a fb control everything. Then openHab becomes an advanced remote control. I have learned that the 0-10 volt adapter from Zigza is quite useful when feeding ihc with analog input.

    So it depends on which approach you have  :-)

     

  4. På ‎06‎-‎06‎-‎2018 at 22:00 , Pauli Anttila skrev:

    If you want that number channel react to all commands, you ignore the whole commandToReact parameter. If you want that channel just react to number 5 then defined so. So commandToReact is exactly the command which you send to items. If pulseWidth is defined, then binding don't send the item value but generate the pulse. 

    @Pauli AnttilaI have now tried to test the number functionality, and my ihc.things contains this:

    Type number-channel        : ihc2number    "IHC vent"      [resourceId=11390475, direction="WriteOnly", pulseWidth=1000]    //vent
    Type number-channel        : ihc2numberstat  "IHC vent s"  [resourceId=11393291, direction="ReadOnly"]    //vent stat
     

    and the ihc.sitemap contains: Switch item=DanthermVent2 mappings=[1="1", 2="2", 3="3", 4="4"] 

    while ihc.items has: 

    Number    DanthermVent2 "Vent. trin2"                        <qualityofservice>  {channel="ihc:controller:haldIHC:ihc2number", channel="ihc:controller:haldIHC:ihc2numberstat"}

    The reading of the numeric value from ihc2numberstat is working fine.

    However, when the value is set using ihc2number, it seems always to set it to 100 according to LK ServiceView. This is regardless of whether I choose 1, 2, 3 og 4 in the UI. Therefore, this functionality is not working for me. 

    Can you assist with this? - it is working fine in binding 1.

    Thanks.

     

  5. Thanks. I have downloaded and installed the new binding version 2, and it is working as intended! Thanks, this is really good. For simple control of your IHC installation rules are not needed with this binding.

    However, I have not yet tested setting of an integer field - only done on/off. What will be the commandToReact on an integer field? - it needs to send a pulse to IHC, if the integer value is changed.

  6. 56 minutter siden, Pauli Anttila skrev:

    Yes, this is how it works as trigger parameter is not yet implemented :rolleyes:

    @Pauli AnttilaCool - I will look forward to this implementation, because then I should be able to implement everything ordinary logic without rules.

    However, I have one question. Today, I am setting an integer in IHC from openHAB to control the level of my ventilation system. It was a bit diffecult to get working in binding 1.x, and I ended up with this after advice from @Claus Skovgaard:

    Number    DanthermVent "Vent. trin"       <qualityofservice> ["CurrentTemperature"] {ihc="<0xadd90b,>[*:0xadce0b]"}

    The special part is marked in italic. Will I be able to set an integer i openHAB binding 2 like the example above? If yes, then I think all my scenarios are covered ;)

  7. 8 timer siden, Pauli Anttila skrev:

    Well, my idea was to introduce trigger parameter to pulse output channel, where you can choose when pulse is send (ON->OFF, OFF->ON, Both)

    Then following should work.

    
    Type switch-channel          : ihcoutput    "IHC output"   [ resourceId=1736539, direction="ReadOnly" ]
    Type pulse-output-channel    : ihcinput1    "IHC input 1"  [ resourceId=2448474, direction="WriteOnly", pulseLength=1000, trigger="ON" ]
    Type pulse-output-channel    : ihcinput2    "IHC input 2"  [ resourceId=2448218, direction="WriteOnly", pulseLength=1000, trigger="OFF" ]

     

    @Pauli AnttilaThanks - I have tried this:

    item:
    Switch    IHC2Spisebord "Spisebord"      {channel="ihc:controller:haldIHC:ihcoutput", channel="ihc:controller:haldIHC:ihcinput1", channel="ihc:controller:haldIHC:ihcinput2"}

    things:
    Type switch-channel               : ihcoutput   "IHC output"    [resourceId=3932434, direction="ReadOnly"]  //output
    Type pulse-output-channel    : ihcinput1    "IHC input1"    [resourceId=3931665, direction="WriteOnly", pulseLength=1000, trigger="ON"]    //input1
    Type pulse-output-channel    : ihcinput2    "IHC input2"    [resourceId=3931921, direction="WriteOnly", pulseLength=1000, trigger="OFF"]    //input2

    which should work. When I change the switch in openHAB UI to ON, it sends command to IHC input 1, which is fine. However, one second later, it also send a command on input2, which turns off the light again. So I end up in a situation, where the light is on for one second.

    If your suggestion with trigger could be working, it can also be used for the toogle scenario. Then you would just define two channels on the same resourceID, but with different triggers.


     

  8. 12 minutter siden, Pauli Anttila skrev:

    OpenHAB support multi channel linking and it doesn't have any black magic behind. When item receive a command, openHAB send command to every channel linked to the item. When channels are updated, item state is updated as well.

    Yes, I think if you extend it also to capture from on to off, it will solve the toogle scenario, which will be great :)

    However, I do not quite see how another typical scenario will fit in ^_^ . If you have one physical input for on and another physical for off like in this binding 1.x example:

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

    There are 2 different IHC ID's in italic - one for turn on and another for turn off. For openHAB2 you wrote that "openHAB send command to every channel linked to the item", so I guess this is not supported in openHAB using multiple channels ?

  9. 2 timer siden, Pauli Anttila skrev:

    @EjvindHald, I think following should work fine?

    Channels:

    
    Type switch-channel          : ihcoutput     "IHC output"   [ resourceId=2845531, direction="ReadOnly" ]  //output
    Type pulse-output-channel    : ihcinput      "IHC input"    [ resourceId=1417818, direction="WriteOnly", pulseLength=1000 ]    //input

    Items:

    
    Switch    IHC2Spisebord "Spisebord"    { channel="ihc:controller:haldIHC:ihcoutput", channel="ihc:controller:haldIHC:ihcinput" }
    

     

    @Pauli Anttila, thanks - I have tried your suggestion. It works fine with one exception: The lights cannot be turned off. If the switch is set to false in openHAB UI no message is sent to IHC. However, if you try to turn it on again from UI, then it sends a message to the input toogle switch, which then turns off the light.

    I can see you are using multi channel link in items. I do not know how that works.

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