Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
openHAB2
#26
(30/12/2019, 09:00:01)scant a écrit : Bonjour,

J'utilise OpenHAB depuis quelques années.

Si vous avez des questions, je peux essayer d'y répondre. (Je n'ai pas tout lu donc peut-être que la réponse est déjà trouvée ;-) )

Bonjour,
Meilleures Vœux à tous.

J'aimerai avoir un compteur de commutation pour mes différents actionneurs ainsi que quantifier la durée d'allumage de mes éclairage.

J'utilise infuxdb pour la persistance et je voudrais savoir si il y a un moyen d'afficher sur openhab des info de la base de donnée ?

Merci pour vos pistes
Bon week-e,d
Celui qui sait qu'il ne sait pas  Huh
KNX Partner Base
Répondre
#27
Bonsoir @kiofu,

Tu peux regarder dans l'autre thread sur lequel j'ai donné un exemple : http://www.knx-fr.com/showthread.php?tid...0#pid44880
Répondre
#28
(30/12/2019, 09:00:01)scant a écrit : Bonjour,

J'utilise OpenHAB depuis quelques années.

Si vous avez des questions, je peux essayer d'y répondre. (Je n'ai pas tout lu donc peut-être que la réponse est déjà trouvée ;-) )

Bonjour,
Peut tu m'aider a comprendre la structure pour configurer mes actionneur KNX :

Voici l'exemple que je suis pour le fichier knx.things

Code :
Bridge    knx:ip:GIRA2167 "GIRA KNX/IP Router" @ "KNX" [
    type="ROUTER",
    ipAddress="224.0.23.12",
    portNumber=3671,
    localIp="172.16.13.100",
    readingPause=50,
    responseTimeout=10,
    readRetriesLimit=3,
    autoReconnectPeriod=30,
    localSourceAddr="1.2.200" ]
    {
               Thing device GW90741_4 "Switch Actuator 4" @ "KNX" [ address="1.1.4", fetch=false, pingInterval=600, readInterval=0 ]
               {
                       Type    switch  :       Channel_41      "Channel 4.1"   [ ga="1/0/12+<1/2/12" ]
                       Type    switch  :       Channel_42      "Channel 4.2"   [ ga="1/0/13+<1/2/13" ]
                       Type    switch  :       Channel_43      "Channel 4.3"   [ ga="1/0/14+<1/2/14" ]
                       Type    switch  :       Channel_44      "Channel 4.4"   [ ga="1/0/15+<1/2/15" ]
               }
Le nom du device est juste un repérè ou faut il une copie du nom dans ets exact (de la case nom ou description) ? Le channel c'est bien la copie de la case fonction d'objet dans knx ?


Voici la partie knx.items
Code :
/* GW90741_1 */
Switch    P11_Small_LED            "P11 Small LED"        <switch>    (gGF_P11_Living,gGF_Lights,gKNX)    { channel="knx:device:GIRA2167:GW90741_1:Ch_11" }
Switch    P11_Large_LED            "P11 Large LED"        <switch>    (gGF_P11_Living,gGF_Lights,gKNX)    { channel="knx:device:GIRA2167:GW90741_1:Ch_12" }
Switch    P11_Light                "P11 Dining Light"    <switch>    (gGF_P11_Living,gGF_Lights,gKNX)    { channel="knx:device:GIRA2167:GW90741_1:Ch_13" }
Switch    P11_Terrace_Light        "P11 Terrace Light"    <switch>    (gGF_P11_Living,gGF_Lights,gKNX)    { channel="knx:device:GIRA2167:GW90741_1:Ch_14" }


Je comprend ce que représente pas la partie P11 et gGF ou gFF ?

Merci pour votre aide.

Bonne soirée.
Répondre
#29
Bonjour

Oui le nom du device c'est juste un nom de variable qu'on lui donne.

Pour la partie items il suffit d'aller sur le site d'openhab pour comprendre :
https://www.openhab.org/docs/configuration/items.html

Code :
itemtype itemname "labeltext [stateformat]" <iconname> (group1, group2, ...) ["tag1", "tag2", ...] {bindingconfig}


P11 : C'est une dénomination que seul l'auteur peut comprendre, ca indique peu être le numero dune piece ...
() : Ca correspond a des groupes, donc idem gGF,gGF ce sont des dénominations qui ont été utilisé.

https://www.openhab.org/addons/bindings/knx/
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre
#30
Hello

Je profite du poste pour exposer un problème. Je viens de basculer mon install Openhab sur un Serveur OMV (docker) mais avec malgré avoir bien tout mis à jour (IP etc..) mes éléments restent offline sous OpenHAB.

L'un d'entre vous a déjà été confronté à ce problème?

autre question: sur vos passerelles IP (MDT pour ma part), vous lui attribuée plusieurs IP en fonction des besoins (accès ETS, accès superviseur, etc...)? Comment fait-on? Car je vois bien les adresses physiques des accès tunneling mais je ne vois pas ou je leur fixe une adresse IP etc...
Répondre
#31
(14/05/2020, 08:58:43)filou59 a écrit : Bonjour

Oui le nom du device c'est juste un nom de variable qu'on lui donne.

Pour la partie items il suffit d'aller sur le site d'openhab pour comprendre :
https://www.openhab.org/docs/configuration/items.html

Code :
itemtype itemname "labeltext [stateformat]" <iconname> (group1, group2, ...) ["tag1", "tag2", ...] {bindingconfig}


P11 : C'est une dénomination que seul l'auteur peut comprendre, ca indique peu être le numero dune piece ...
() : Ca correspond a des groupes, donc idem gGF,gGF ce sont des dénominations qui ont été utilisé.

https://www.openhab.org/addons/bindings/knx/


Bonjour,

Merci pour ta réponse. 
Dans la partie knx.things  le channel c'est bien la copie de la case fonction d'objet dans knx ?
Et dans la partie items bindingconfig il faut reprendre channel=knx:device:le nom de la passerelle knx: le nom de lactionneur: la sortie a actionner. J ai bon ?
Encore merci.
Répondre
#32
Citation :Dans la partie knx.things  le channel c'est bien la copie de la case fonction d'objet dans knx ?
Précise un peu plus ta question car j'ai pas compris, tu parles de channel mais a quel niveau ? , et tu parles de case fonction d'objet dans knx , ou ca ?
Si besoin ajoute une capture d'ecran pour quon se comprenne.


Voici un petit exemple d'un test que j'avais commencé a effectué, faut que je m'y remette car je mettais arreté là : 

KNX.things:
Code :
Bridge knx:ip:WIEN731IP "Wienzierl IP Interface 731" @ "Platine de Test" [ 
    type="TUNNEL",
    ipAddress="192.168.1.8",    //IP of KNX Gateway
    portNumber=3671,
    localIp="192.168.1.121",    //IP of openhab Server
    readingPause=50, 
    responseTimeout=10, 
    readRetriesLimit=3, 
    localSourceAddr="0.0.0",
    autoReconnectPeriod=60 //optional, do not set <30 sec.
] {
    Thing device KNX_AMI0816_1 "Sortie TOR + Mesure Conso" @ "Platine de Test" [ address="2.1.2", fetch=false, pinginterval=600, readinterval=0]
    {
        Type    switch  :   Ch_ASw      "A"                     [ ga="0/0/1+<0/1/1"]
        Type    switch  :   Ch_BSw      "B"                     [ ga="0/0/2+<0/1/2"]
        Type    switch  :   Ch_CSw      "C"                     [ ga="0/0/3+<0/1/3"]
        Type    switch  :   Ch_DSw      "D"                     [ ga="0/0/4+<0/1/4"]
        Type    switch  :   Ch_ESw      "E"                     [ ga="0/0/5+<0/1/5"]
        Type    switch  :   Ch_FSw      "F"                     [ ga="0/0/6+<0/1/6"]
        Type    switch  :   Ch_GSw      "G"                     [ ga="0/0/7+<0/1/7"]
        Type    switch  :   Ch_HSw      "H"                     [ ga="0/0/8+<0/1/8"]
Type number : Ch_AIn      "Courant A"         [ ga="7.012:<0/2/1" ]
        Type number : Ch_BIn      "Courant B"         [ ga="7.012:<0/2/2" ] 
        Type number : Ch_CIn      "Courant C"         [ ga="7.012:<0/2/3" ] 
        Type number : Ch_DIn      "Courant D"     [ ga="7.012:<0/2/4" ] 
        Type number : Ch_EIn      "Courant E"         [ ga="7.012:<0/2/5" ] 
        Type number : Ch_FIn      "Courant F"          [ ga="7.012:<0/2/6" ]         
        Type number : Ch_GIn      "Courant G"          [ ga="7.012:<0/2/7" ] 
        Type number : Ch_HIn      "Courant H"        [ ga="7.012:<0/2/8" ] 
    }
}

Bridge knx:ip:MDTROUTER "MDT SCN-IP100.02" @ "KNX Maison" [ 
    type="ROUTER",
    ipAddress="224.0.23.12",
    portNumber=3671,
    localIp="192.168.1.9",
    readingPause=50, 
    responseTimeout=10, 
    readRetriesLimit=3, 
    localSourceAddr="0.0.0",
    autoReconnectPeriod=60 //optional, do not set <30 sec.
] {
    Thing device KNX_AMS1216_1 "Sortie TOR + Mesure Conso" @ "TGBT" [ address="1.1.8", fetch=false, pinginterval=600, readinterval=0
        //readInterval=3600 //optional, only used if reading values are present
    ] {        
        //Items configurations
        //Status : 1/2/8
        //Switch : 1/0/8
        //L8 P11 Small LED
        //Type switch : Ch_11 "Channel 1.1" [ ga="1/0/8+<1/2/8" ]
        Type    switch  :   Ch_ASw      "PC Livebox"                    [ ga="3/1/1+<3/2/1"]
        Type    switch  :   Ch_BSw      "PC Ampli SAT"                  [ ga="3/1/2+<3/2/2"]
        Type    switch  :   Ch_CSw      "PC KVM IP"                     [ ga="3/1/3+<3/2/3"]
        Type    switch  :   Ch_DSw      "PC Norco"                      [ ga="3/1/4+<3/2/4"]
        Type    switch  :   Ch_ESw      "PC Fantec1 picoPSU"            [ ga="3/1/5+<3/2/5"]
        Type    switch  :   Ch_FSw      "PC Q431"                       [ ga="3/1/6+<3/2/6"]
        Type    switch  :   Ch_GSw      "PC Q451"                       [ ga="3/1/7+<3/2/7"]
        Type    switch  :   Ch_HSw      "PC Fantec2"                    [ ga="3/1/8+<3/2/8"]
        Type    switch  :   Ch_ISw      "PC Switch 10/100"              [ ga="3/1/9+<3/2/9"]        
        Type    switch  :   Ch_JSw      "PC Switch Giga"                [ ga="3/1/10+<3/2/10"]
        Type    switch  :   Ch_KSw      "PC Proxmox H2 Routeur"         [ ga="3/1/11+<3/2/11"]        
        Type    switch  :   Ch_LSw      "PC Ecran 7p"                   [ ga="3/1/12+<3/2/12"]          
Type number : Ch_AIn      "Courant Livebox"         [ ga="7.012:<3/3/1" ]
        Type number : Ch_BIn      "Courant Ampli SAT"         [ ga="7.012:<3/3/2" ] 
        Type number : Ch_CIn      "Courant KVM IP"         [ ga="7.012:<3/3/3" ] 
        Type number : Ch_DIn      "Courant Norco"         [ ga="7.012:<3/3/4" ] 
        Type number : Ch_EIn      "Courant Fantec1 picoPSU" [ ga="7.012:<3/3/5" ] 
        Type number : Ch_FIn      "Courant Q431"          [ ga="7.012:<3/3/6" ]         
        Type number : Ch_GIn      "Courant Q451"          [ ga="7.012:<3/3/7" ] 
        Type number : Ch_HIn      "Courant Fantec2"        [ ga="7.012:<3/3/8" ] 
        Type number : Ch_IIn      "Courant Switch 10/100" [ ga="7.012:<3/3/9" ] 
        Type number : Ch_JIn      "Courant Switch Giga"    [ ga="7.012:<3/3/10" ] 
        Type number : Ch_KIn      "Courant Proxmox H2 Routeur" [ ga="7.012:<3/3/11" ] 
        Type number : Ch_LIn      "Courant Ecran 7p"      [ ga="7.012:<3/3/12" ]         
    }

KNX.items :
Code PHP :
Switch      Ch_ASw      "PC Livebox [%s]"                       <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_ASw" }
Switch      Ch_BSw      "PC Ampli SAT [%s]"                     <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_BSw" }
Switch      Ch_CSw      "PC KVM IP [%s]"                        <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_CSw" }
Switch      Ch_DSw      "PC Norco [%s]"                         <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_DSw" }
Switch      Ch_ESw      "PC Fantec1 picoPSU [%s]"               <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_ESw" }
Switch      Ch_FSw      "PC Q431 [%s]"                          <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_FSw" }
Switch      Ch_GSw      "PC Q451 [%s]"                          <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_GSw" }
Switch      Ch_HSw      "PC Fantec2 [%s]"                       <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_HSw" }
Switch      Ch_ISw      "PC Switch 10/100 [%s]"                 <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_ISw" }
Switch      Ch_JSw      "PC Switch Giga [%s]"                   <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_JSw" }
Switch      Ch_KSw      "PC Proxmox H2 Routeur [%s]"            <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_KSw" }
Switch      Ch_LSw      "PC Ecran 7p [%s]"                      <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_LSw" }   

Number      Ch_AIn      
"Courant Livebox [%d mA]"               <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_AIn" }
Number      Ch_BIn      "Courant Ampli SAT [%d mA]"             <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_BIn" }
Number      Ch_CIn      "Courant KVM IP [%d mA]"                <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_CIn" }
Number      Ch_DIn      "Courant Norco [%d mA]"                 <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_DIn" }
Number      Ch_EIn      "Courant Fantec1 picoPSU [%d mA]"       <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_EIn" }
Number      Ch_FIn      "Courant Q431 [%d mA]"                  <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_FIn" }
Number      Ch_GIn      "Courant Q451 [%d mA]"                  <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_GIn" }
Number      Ch_HIn      "Courant Fantec2 [%d mA]"               <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_HIn" }
Number      Ch_IIn      "Courant Switch 10/100 [%d mA]"         <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_IIn" }
Number      Ch_JIn      "Courant Switch Giga [%d mA]"           <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_JIn" }
Number      Ch_KIn      "Courant Proxmox H2 Routeur [%d mA]"    <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_KIn" }
Number      Ch_LIn      "Courant Ecran 7p [%d mA]"              <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_LIn" }

Switch      P118_Ch_ASw      "A"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_ASw" }
Switch      P118_Ch_BSw      "B"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_BSw" }
Switch      P118_Ch_CSw      "C"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_CSw" }
Switch      P118_Ch_DSw      "D"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_DSw" }
Switch      P118_Ch_ESw      "E"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_ESw" }
Switch      P118_Ch_FSw      "F"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_FSw" }
Switch      P118_Ch_GSw      "G"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_GSw" }
Switch      P118_Ch_HSw      "H"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_HSw" }

Number      P118_Ch_AIn      "Courant A [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_AIn" }
Number      P118_Ch_BIn      "Courant B [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_BIn" }
Number      P118_Ch_CIn      "Courant C [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_CIn" }
Number      P118_Ch_DIn      "Courant D [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_DIn" }
Number      P118_Ch_EIn      "Courant E [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_EIn" }
Number      P118_Ch_FIn      "Courant F [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_FIn" }
Number      P118_Ch_GIn      "Courant G [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_GIn" }
Number      P118_Ch_HIn      "Courant H [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_HIn" 

Pour rappel il y a un petit script things2item.sh qui permet de générer le fichier a partir du 1er.
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre
#33
Petit conseil au niveau des config : il faut tout faire via les fichiers de config et ne rien faire via les pages WEB. Idea (Pour la partie KNX du moins)
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre
#34
(15/05/2020, 08:31:35)filou59 a écrit :
Citation :Dans la partie knx.things  le channel c'est bien la copie de la case fonction d'objet dans knx ?
Précise un peu plus ta question car j'ai pas compris, tu parles de channel mais a quel niveau ? , et tu parles de case fonction d'objet dans knx , ou ca ?
Si besoin ajoute une capture d'ecran pour quon se comprenne.


Voici un petit exemple d'un test que j'avais commencé a effectué, faut que je m'y remette car je mettais arreté là : 

KNX.things:
Code :
Bridge knx:ip:WIEN731IP "Wienzierl IP Interface 731" @ "Platine de Test" [ 
    type="TUNNEL",
    ipAddress="192.168.1.8",    //IP of KNX Gateway
    portNumber=3671,
    localIp="192.168.1.121",    //IP of openhab Server
    readingPause=50, 
    responseTimeout=10, 
    readRetriesLimit=3, 
    localSourceAddr="0.0.0",
    autoReconnectPeriod=60 //optional, do not set <30 sec.
] {
    Thing device KNX_AMI0816_1 "Sortie TOR + Mesure Conso" @ "Platine de Test" [ address="2.1.2", fetch=false, pinginterval=600, readinterval=0]
    {
        Type    switch  :   Ch_ASw      "A"                     [ ga="0/0/1+<0/1/1"]
        Type    switch  :   Ch_BSw      "B"                     [ ga="0/0/2+<0/1/2"]
        Type    switch  :   Ch_CSw      "C"                     [ ga="0/0/3+<0/1/3"]
        Type    switch  :   Ch_DSw      "D"                     [ ga="0/0/4+<0/1/4"]
        Type    switch  :   Ch_ESw      "E"                     [ ga="0/0/5+<0/1/5"]
        Type    switch  :   Ch_FSw      "F"                     [ ga="0/0/6+<0/1/6"]
        Type    switch  :   Ch_GSw      "G"                     [ ga="0/0/7+<0/1/7"]
        Type    switch  :   Ch_HSw      "H"                     [ ga="0/0/8+<0/1/8"]
Type number : Ch_AIn      "Courant A"         [ ga="7.012:<0/2/1" ]
        Type number : Ch_BIn      "Courant B"         [ ga="7.012:<0/2/2" ] 
        Type number : Ch_CIn      "Courant C"         [ ga="7.012:<0/2/3" ] 
        Type number : Ch_DIn      "Courant D"     [ ga="7.012:<0/2/4" ] 
        Type number : Ch_EIn      "Courant E"         [ ga="7.012:<0/2/5" ] 
        Type number : Ch_FIn      "Courant F"          [ ga="7.012:<0/2/6" ]         
        Type number : Ch_GIn      "Courant G"          [ ga="7.012:<0/2/7" ] 
        Type number : Ch_HIn      "Courant H"        [ ga="7.012:<0/2/8" ] 
    }
}

Bridge knx:ip:MDTROUTER "MDT SCN-IP100.02" @ "KNX Maison" [ 
    type="ROUTER",
    ipAddress="224.0.23.12",
    portNumber=3671,
    localIp="192.168.1.9",
    readingPause=50, 
    responseTimeout=10, 
    readRetriesLimit=3, 
    localSourceAddr="0.0.0",
    autoReconnectPeriod=60 //optional, do not set <30 sec.
] {
    Thing device KNX_AMS1216_1 "Sortie TOR + Mesure Conso" @ "TGBT" [ address="1.1.8", fetch=false, pinginterval=600, readinterval=0
        //readInterval=3600 //optional, only used if reading values are present
    ] {        
        //Items configurations
        //Status : 1/2/8
        //Switch : 1/0/8
        //L8 P11 Small LED
        //Type switch : Ch_11 "Channel 1.1" [ ga="1/0/8+<1/2/8" ]
        Type    switch  :   Ch_ASw      "PC Livebox"                    [ ga="3/1/1+<3/2/1"]
        Type    switch  :   Ch_BSw      "PC Ampli SAT"                  [ ga="3/1/2+<3/2/2"]
        Type    switch  :   Ch_CSw      "PC KVM IP"                     [ ga="3/1/3+<3/2/3"]
        Type    switch  :   Ch_DSw      "PC Norco"                      [ ga="3/1/4+<3/2/4"]
        Type    switch  :   Ch_ESw      "PC Fantec1 picoPSU"            [ ga="3/1/5+<3/2/5"]
        Type    switch  :   Ch_FSw      "PC Q431"                       [ ga="3/1/6+<3/2/6"]
        Type    switch  :   Ch_GSw      "PC Q451"                       [ ga="3/1/7+<3/2/7"]
        Type    switch  :   Ch_HSw      "PC Fantec2"                    [ ga="3/1/8+<3/2/8"]
        Type    switch  :   Ch_ISw      "PC Switch 10/100"              [ ga="3/1/9+<3/2/9"]        
        Type    switch  :   Ch_JSw      "PC Switch Giga"                [ ga="3/1/10+<3/2/10"]
        Type    switch  :   Ch_KSw      "PC Proxmox H2 Routeur"         [ ga="3/1/11+<3/2/11"]        
        Type    switch  :   Ch_LSw      "PC Ecran 7p"                   [ ga="3/1/12+<3/2/12"]          
Type number : Ch_AIn      "Courant Livebox"         [ ga="7.012:<3/3/1" ]
        Type number : Ch_BIn      "Courant Ampli SAT"         [ ga="7.012:<3/3/2" ] 
        Type number : Ch_CIn      "Courant KVM IP"         [ ga="7.012:<3/3/3" ] 
        Type number : Ch_DIn      "Courant Norco"         [ ga="7.012:<3/3/4" ] 
        Type number : Ch_EIn      "Courant Fantec1 picoPSU" [ ga="7.012:<3/3/5" ] 
        Type number : Ch_FIn      "Courant Q431"          [ ga="7.012:<3/3/6" ]         
        Type number : Ch_GIn      "Courant Q451"          [ ga="7.012:<3/3/7" ] 
        Type number : Ch_HIn      "Courant Fantec2"        [ ga="7.012:<3/3/8" ] 
        Type number : Ch_IIn      "Courant Switch 10/100" [ ga="7.012:<3/3/9" ] 
        Type number : Ch_JIn      "Courant Switch Giga"    [ ga="7.012:<3/3/10" ] 
        Type number : Ch_KIn      "Courant Proxmox H2 Routeur" [ ga="7.012:<3/3/11" ] 
        Type number : Ch_LIn      "Courant Ecran 7p"      [ ga="7.012:<3/3/12" ]         
    }

KNX.items :
Code PHP :
Switch      Ch_ASw      "PC Livebox [%s]"                       <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_ASw" }
Switch      Ch_BSw      "PC Ampli SAT [%s]"                     <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_BSw" }
Switch      Ch_CSw      "PC KVM IP [%s]"                        <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_CSw" }
Switch      Ch_DSw      "PC Norco [%s]"                         <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_DSw" }
Switch      Ch_ESw      "PC Fantec1 picoPSU [%s]"               <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_ESw" }
Switch      Ch_FSw      "PC Q431 [%s]"                          <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_FSw" }
Switch      Ch_GSw      "PC Q451 [%s]"                          <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_GSw" }
Switch      Ch_HSw      "PC Fantec2 [%s]"                       <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_HSw" }
Switch      Ch_ISw      "PC Switch 10/100 [%s]"                 <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_ISw" }
Switch      Ch_JSw      "PC Switch Giga [%s]"                   <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_JSw" }
Switch      Ch_KSw      "PC Proxmox H2 Routeur [%s]"            <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_KSw" }
Switch      Ch_LSw      "PC Ecran 7p [%s]"                      <switch>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_LSw" }   

Number      Ch_AIn      
"Courant Livebox [%d mA]"               <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_AIn" }
Number      Ch_BIn      "Courant Ampli SAT [%d mA]"             <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_BIn" }
Number      Ch_CIn      "Courant KVM IP [%d mA]"                <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_CIn" }
Number      Ch_DIn      "Courant Norco [%d mA]"                 <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_DIn" }
Number      Ch_EIn      "Courant Fantec1 picoPSU [%d mA]"       <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_EIn" }
Number      Ch_FIn      "Courant Q431 [%d mA]"                  <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_FIn" }
Number      Ch_GIn      "Courant Q451 [%d mA]"                  <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_GIn" }
Number      Ch_HIn      "Courant Fantec2 [%d mA]"               <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_HIn" }
Number      Ch_IIn      "Courant Switch 10/100 [%d mA]"         <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_IIn" }
Number      Ch_JIn      "Courant Switch Giga [%d mA]"           <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_JIn" }
Number      Ch_KIn      "Courant Proxmox H2 Routeur [%d mA]"    <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_KIn" }
Number      Ch_LIn      "Courant Ecran 7p [%d mA]"              <energy>        channel="knx:device:MDTROUTER:KNX_AMS1216_1:Ch_LIn" }

Switch      P118_Ch_ASw      "A"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_ASw" }
Switch      P118_Ch_BSw      "B"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_BSw" }
Switch      P118_Ch_CSw      "C"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_CSw" }
Switch      P118_Ch_DSw      "D"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_DSw" }
Switch      P118_Ch_ESw      "E"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_ESw" }
Switch      P118_Ch_FSw      "F"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_FSw" }
Switch      P118_Ch_GSw      "G"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_GSw" }
Switch      P118_Ch_HSw      "H"                                <switch>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_HSw" }

Number      P118_Ch_AIn      "Courant A [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_AIn" }
Number      P118_Ch_BIn      "Courant B [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_BIn" }
Number      P118_Ch_CIn      "Courant C [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_CIn" }
Number      P118_Ch_DIn      "Courant D [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_DIn" }
Number      P118_Ch_EIn      "Courant E [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_EIn" }
Number      P118_Ch_FIn      "Courant F [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_FIn" }
Number      P118_Ch_GIn      "Courant G [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_GIn" }
Number      P118_Ch_HIn      "Courant H [%d mA]"                        <energy>        channel="knx:device:WIEN731IP:KNX_AMI0816_1:Ch_HIn" 

Pour rappel il y a un petit script things2item.sh qui permet de générer le fichier a partir du 1er.

Voici la partie que j'ai deja ecrite :
Bridge knx:ip:bridge "Ip Interface N148/22" @ "KNX" [
   type="TUNNEL",
   ipAddress="192.168.50.230",
   portNumber=3671,
   localIp="192.168.50.113",
    readingPause=50,
    responseTimeout=10,
    readRetriesLimit=3,
    autoReconnectPeriod=30,
    localSourceAddr="1.0.123" ]{
                Thing device A1 Act. stores/commut. REG-K/8x/16x/10 à cde. Manu. "Switch Actuator 16" @ "KNX" [ address="1.0.4", fetch=false, pingInterval=600, readInterval=0 ]
                {
                        Type    switch  :       Channel_1A     "Channel 1.A"   [ ga="0/0/25+<0/0/26" ]
                        Type    switch  :       Channel_1B      "Channel 1.B"   [ ga="1/0/42+<1/2/43" ]
                        Type    switch  :       Channel_2A     "Channel 2.A"   [ ga="0/0/45+<0/0/46" ]
                        Type    switch  :       Channel_2B      "Channel 2.B"   [ ga="1/0/15+<1/2/15" ]
                }
    }

/* A1 */
Switch    P11_Placard            "P11 lacard    "        <switch>    (gGF_P11_Chambre parent placard,gGF_Lumiere,gKNX)    { channel="knx:device:N148/22:a:Ch_1A" }
Switch    P11_Pc_com_droit        "P11 Pc com droit"        <switch>    (gGF_P11_ch Parents,gGF_Lumiere,gKNX)    { channel="knx:device:N148/22:a:Ch_1B" }
Switch    P11_Placard                "P11 Placard    "    <switch>    (gGF_P11_salon placard,gGF_Lumiere,gKNX)    { channel="knx:device:N148/22:a:Ch_2A" }
Switch    P11_Plafond        "P11 Plafond"    <switch>    (gGF_P11_ch Parents,gGF_Lumiere,gKNX)    { channel="knx:device:N148/22:a:Ch_2B" }

Si je comprend bien, la partie que j'ai mi en rouge n'est pas importante, elle sert juste a ce repérer ? et la verte c'est celle qui apparait dans la partie visu de openhab ?

Avec les deux fichiers écrit il n'y a rien qui apparais dans paper iu, je pense que j ai du faire une erreur dans la prog de ma passerelle knx. Les 2 ip et le port sont ok, il n'y a que la partie la que je ne maitrise pas -> Bridge knx:ip:bridge "Ip Interface N148/22" @ "KNX" [ ? ou la partie items ?

Pour rappel il y a un petit script things2item.sh qui permet de générer le fichier a partir du 1er. Ou trouver ce script ?


Voit tu des erreurs ou des choses a améliorer ?
Merci

Bonne journée.
Répondre
#35
Hello tof

Si tu as bien paramétré le binding et créé tes fichiers .things et .items, ces éléments doivent apparaitre dans PaperUI/configuration/....

Si cela n'apparait pas c'est surement un problème de droit d'accès a ton dossier conf. Ton OpenHAB tourne sur quoi?

Après s'ils apparaissent mais reste en offline/Unknow c'est surement un problème de paramètrage de tes fichiers et/ou d'ouverture de port (problème que je rencontre actuellement sous docker)

(15/05/2020, 19:51:33)tof70270 a écrit : Pour rappel il y a un petit script things2item.sh qui permet de générer le fichier a partir du 1er. Ou trouver ce script ?

ici: https://github.com/viknet365/openhabknx2...=viknet365
Répondre
#36
Thing device A1 Act. stores/commut. REG-K/8x/16x/10 à cde. Manu. "Switch Actuator 16" @ "KNX" [ address="1.0.4", fetch=false, pingInterval=600, readInterval=0 ]
Tu as un beau petit prb là a mon avi.
Regarder sur le site comment accéder a la partie log via la console Karaf cela vous donnera toutes les info en live, dès que le fichier est modifié il est rechargé il me semble.
Pourtant c'est quand meme bien indiqué dans la doc :
Code :
Thing device knx_device "knx_device_name" @ "knx_device_group_in_paperui" [
       //readInterval=3600 //optional, only used if reading values are present
   ] {
       //Items configurations
   }

La partie ne rouge est importante, c'est un nom unique qui peux probablement servir ailleurs
En vert entre guillemet cest un texte d'affichage (un label dans le jargon)
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre
#37
(15/05/2020, 20:13:04)Kevlille a écrit : Hello tof

Si tu as bien paramétré le binding et créé tes fichiers .things et .items, ces éléments doivent apparaitre dans PaperUI/configuration/....

Si cela n'apparait pas c'est surement un problème de droit d'accès a ton dossier conf. Ton OpenHAB tourne sur quoi?

Après s'ils apparaissent mais reste en offline/Unknow c'est surement un problème de paramètrage de tes fichiers et/ou d'ouverture de port (problème que je rencontre actuellement sous docker)

(15/05/2020, 19:51:33)tof70270 a écrit : Pour rappel il y a un petit script things2item.sh qui permet de générer le fichier a partir du 1er. Ou trouver ce script ?

ici: https://github.com/viknet365/openhabknx2...=viknet365

Bonjour,

Oui j ai bien paramétré le binding  knx : ma passerelle knx et knx device est bien en ligne. Les fichier .things et items et crée, après a savoir si il son viable ! Comment voir si il y a un problème d’accès des fichiers.

Mon openhab tour sur mon pc sous Windows 10, si je m'en sort dans la prog je l'installe sur mon nas Qnap.

Je trouve que s'est pas simple comme programmation, il n'y pas de tuto pour faire les liens entre la partie knx et les fichiers a crée .things et items. A par des forums en anglais, mais l'anglais et moi s'est pas ca !
Répondre
#38
(15/05/2020, 20:57:28)filou59 a écrit : Thing device A1 Act. stores/commut. REG-K/8x/16x/10 à cde. Manu. "Switch Actuator 16" @ "KNX" [ address="1.0.4", fetch=false, pingInterval=600, readInterval=0 ]
Tu as un beau petit prb là a mon avi.
Regarder sur le site comment accéder a la partie log via la console Karaf cela vous donnera toutes les info en live, dès que le fichier est modifié il est rechargé il me semble.
Pourtant c'est quand meme bien indiqué dans la doc :
Code :
Thing device knx_device "knx_device_name" @ "knx_device_group_in_paperui" [
       //readInterval=3600 //optional, only used if reading values are present
   ] {
       //Items configurations
   }

La partie ne rouge est importante, c'est un nom unique qui peux probablement servir ailleurs
En vert entre guillemet cest un texte d'affichage (un label dans le jargon)

Bonjour,
Oui je vois qu'il y a un problème de construction, cela devrais plus ressembler a ça (pour la partie KNX device j'ai pris le nom dans la partie paramètre d ets) :
Code :
Thing device Act. stores/commut. REG-K/8x/16x/10 à cde. Manu. "A1" @ "knx_maison" [
       //readInterval=3600 //optional, only used if reading values are present
   ] {
       //Items configurations
   }


J ai bien trouver pour accéder a la console karaf, mais quel est la commande pour voir les infos en live.
Merci pour les infos.
Répondre
#39
https://www.openhab.org/docs/administrat...gging.html

log:tail : Tu peux déjà commencer par ca , ensuite il y a moyen de peaufiner pour etre plus précis.


Je sais pas si tu as compris ce que j'ai dit et si tu as vu ton erreur, mais tout ce que j'ai mis en rouge est en trop et ne sera pas correctement interpretté.

Les noms que tu va donner a n'importe quoi des Things des item ou autre doivent être ecris en un seul mot et sans certains caractères spéciaux.
le caractère fonctionne "_", mais attention aux autres carractère style "./,;!" etc...

Le script fonctionne sous linux donc si tu es sous windows ... ca risque de se compliquer.
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre
#40
(15/05/2020, 20:13:04)Kevlille a écrit : Hello tof

Si tu as bien paramétré le binding et créé tes fichiers .things et .items, ces éléments doivent apparaitre dans PaperUI/configuration/....

Si cela n'apparait pas c'est surement un problème de droit d'accès a ton dossier conf. Ton OpenHAB tourne sur quoi?

Après s'ils apparaissent mais reste en offline/Unknow c'est surement un problème de paramètrage de tes fichiers et/ou d'ouverture de port (problème que je rencontre actuellement sous docker)

(15/05/2020, 19:51:33)tof70270 a écrit : Pour rappel il y a un petit script things2item.sh qui permet de générer le fichier a partir du 1er. Ou trouver ce script ?

ici: https://github.com/viknet365/openhabknx2...=viknet365

Merci pour l'adresse du script il faut bien le mettre dans le fichier knx.things ? Je le met au je veux dans le fichier ? Y a t il des choses a rajouté comme le dossier ou copier le infos ?
Merci.
Répondre
#41
Si tu place le script dans le dossier openHAB-conf\things , tu peux lancer comme ca sous linux :

Code :
./things2item.sh KNX.things
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre
#42
-Pour l'accès au log, j'en avais parlé ici : http://www.knx-fr.com/showthread.php?tid...9#pid32239

-Pour l'utilisation du script, un exemple ici : http://www.knx-fr.com/showthread.php?tid...9#pid43499

Tof et Kev vous avez résolu vos problèmes ?
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre
#43
Salut Filou,

Je m'en suis sorti... mon problème venait d'un mauvais paramétrage de mon stack Portainer (histoire de ports).

Là tout roule, mes things sont bien online. Par contre je suis en train de me prendre la tête pour l'intégration du RGBW dans OpenHAB....

Sinon il y a une chose que je n'ai pas bien piger avec OpenHAB (je n'ai pas lu tout la doc). C'est pourquoi quelques fois on doit créé Things + Items mais quelques fois seuls les Items suffisent.

ps: je n'ai pas encore testé le script, mais est-il "intelligent"? En gros, si je l'ai utilisé une première fois mais que j'ajoute des choses sur mon fichier .things, va t-il dupliquer des Items? On avant chaque utilisation du script, il vaut mieux effacer tous les Items?
Répondre
#44
(18/05/2020, 06:39:10)filou59 a écrit : -Pour l'accès au log, j'en avais parlé ici : http://www.knx-fr.com/showthread.php?tid...9#pid32239

-Pour l'utilisation du script, un exemple ici : http://www.knx-fr.com/showthread.php?tid...9#pid43499

Tof et Kev vous avez résolu vos problèmes ?

Bonjour,

Je viens de voir les messages j'ai pas encore regardé. Par contre pour la commande du script si j'ai pas linux ca marche sous cmd dans windows ?
Merci.
Répondre
#45
(18/05/2020, 06:39:10)filou59 a écrit : -Pour l'accès au log, j'en avais parlé ici : http://www.knx-fr.com/showthread.php?tid...9#pid32239

-Pour l'utilisation du script, un exemple ici : http://www.knx-fr.com/showthread.php?tid...9#pid43499

Tof et Kev vous avez résolu vos problèmes ?

Je viens d'avoir accès au log voici la copie (j'ai pas réussi a rentré via putty avec le mot de passe et username habopen) :

openhab> ./things2item.sh KNX.things
Command not found: ./things2item.sh
openhab> log:tail
16:57:22.393 [INFO ] [.ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
16:57:22.440 [INFO ] [bpanel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
16:57:22.471 [INFO ] [.openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
16:57:22.534 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:device:5f1968dd' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
16:57:22.534 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:ip:171ff328bd7' changed from UNINITIALIZED to INITIALIZING
16:57:22.549 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:ip:171ff328bd7' changed from INITIALIZING to UNKNOWN16:57:22.549 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:device:5f1968dd' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
16:57:22.549 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:device:5f1968dd' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
16:57:22.596 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:account:6ca89a89' changed from UNINITIALIZED to INITIALIZING
16:57:22.659 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:account:6ca89a89' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): Wait for login
16:57:22.659 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:account:6ca89a89' changed from OFFLINE (CONFIGURATION_PENDING): Wait for login to OFFLINE (CONFIGURATION_PENDING): Please login in through web site: http(s)://<YOUROPENHAB>:<YOURPORT>/amazonechocontrol/6ca89a89
16:57:22.659 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:echo:51bd5a50' changed from UNINITIALIZED to INITIALIZING
16:57:22.659 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'amazonechocontrol:echo:51bd5a50' changed from INITIALIZING to UNKNOWN
16:57:22.674 [INFO ] [e.googletts.internal.GoogleTTSService] - Using cache folder C:\openHAB2\userdata\cache\org.openhab.voice.googletts
16:57:22.690 [ERROR] [e.googletts.internal.GoogleTTSService] - Missing service account key configuration to access Google Cloud TTS API.
16:57:23.596 [INFO ] [.io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 4813291e-3f4e-45ee-a2ff-b42c064e9b70, base URL = http://localhost:8080)
16:58:02.596 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:ip:171ff328bd7' changed from UNKNOWN to ONLINE
16:58:02.596 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:device:5f1968dd' changed from OFFLINE (BRIDGE_OFFLINE) to UNKNOWN
16:58:04.760 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'knx:device:5f1968dd' changed from UNKNOWN to ONLINE
17:02:23.566 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:23.719 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:23.882 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:24.051 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:24.220 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:24.383 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:24.589 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:24.737 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:24.922 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:25.084 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:25.251 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:25.423 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:25.602 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:25.786 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:25.939 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:26.109 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:26.287 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:26.456 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:26.610 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:26.772 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:26.941 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:27.110 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:27.273 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:27.442 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:27.611 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:27.774 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:27.974 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:28.128 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:28.290 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:28.460 [WARN ] [calimero.mgmt.MC 192.168.50.230:3671 ] - problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
17:02:30.649 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'knx:device:5f1968dd' has been updated.

Voit tu un probleme pour mon fichier things ?
Répondre
#46
Ba déjà la partie que j'avais indiqué en rouge l'as-tu corrigé ?
Le script s'execute sous Linux, pas sous windows.
Tu ne peux pas le lancer dans la console d'openhab.


Code :
problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden

C'est pas normal c'est ligne la. Assure toi que tu n'as pas un prb de firewall. Désactive le temporairement pour voir, et/ou vérifie ta conf.
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre
#47
(18/05/2020, 17:16:38)filou59 a écrit : Ba déjà la partie que j'avais indiqué en rouge l'as-tu corrigé ?
Le script s'execute sous Linux, pas sous windows.
Tu ne peux pas le lancer dans la console d'openhab.


Code :
problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden

C'est pas normal c'est ligne la. Assure toi que tu n'as pas un prb de firewall. Désactive le temporairement pour voir, et/ou vérifie ta conf.

Oui mais je sais pas si c'est ok car je ne sais pas quel partie prendre dans ets5 pour l'actionneur voici ce que j'ai fais :

Bridge knx:ip:bridge "Ip Interface N148/22" @ "KNX" [
   type="TUNNEL",
   ipAddress="192.168.50.230",
   portNumber=3671,
   localIp="192.168.50.113",
    readingPause=50,
    responseTimeout=10,
    readRetriesLimit=3,
    autoReconnectPeriod=30,
    localSourceAddr="1.0.123"
]{
    Thing device Act_A1 "A1" @ "knx_maison" [
       address="1.0.4",
       fetch=false,
       pingInterval=300,
       readInterval=0
   ] {
                        Type    switch  :       Channel_1A     "Sortie 1.A"   [ ga="0/0/25+<0/0/26" ]
                        Type    switch  :       Channel_1B      "Sortie 1.B"   [ ga="1/0/42+<1/2/43" ]
                        Type    switch  :       Channel_2A     "Sortie 2.A"   [ ga="0/0/45+<0/0/46" ]
                        Type    switch  :       Channel_2B      "Sortie 2.B"   [ ga="1/0/15+<1/2/15" ]
                }
    }

Ok je vais regarder pour la partie
Code :
problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden
Répondre
#48
(18/05/2020, 17:16:38)filou59 a écrit : Ba déjà la partie que j'avais indiqué en rouge l'as-tu corrigé ?
Le script s'execute sous Linux, pas sous windows.
Tu ne peux pas le lancer dans la console d'openhab.


Code :
problem reading property (response 43 d6 00 4e 00 01): property access OI 0 PID 78 failed/forbidden

C'est pas normal c'est ligne la. Assure toi que tu n'as pas un prb de firewall. Désactive le temporairement pour voir, et/ou vérifie ta conf.

Bonjour Filou,

Pour info le défaut est un problème de remonté d'info de l'actionneur.

disable fetch in the Thing to get rid of this warning

It seems that some KNX Actuators do not support (or allow?) “fetching”, so if you try to read their parameters, you will get this warning in openhab.log
Répondre
#49
Quuelqu'un parmi vous a t'il des problèmes de connexion entre KNX et openhab2 (installé sur un Pi3) ? Ca fait 3 fois que je réinstalle, je change les câbles mais le problème persiste.
J'ai une interface IP MDT SCN IP 000.02. Je n'ai jamais de problème depuis ETS.

Quand je retire le câble de mon switch ou du MDT ça se connecte sans problème mais aléatoirement après 15 minutes, parfois 30 voir plus d'une heure je suis déconnecté et impossible de rétablir la liaison. Le fichier de log openhab donne les infos suivantes (toujours les mêmes): 

Code :
2020-08-10 13:25:20.863 [WARN ] [Xnet/IP Tunneling 192.168.1.100:3671] - close connection - no heartbeat response
2020-08-10 13:25:20.879 [hingStatusInfoChangedEvent] - 'knx:ip:bridge' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): no heartbeat response
2020-08-10 13:26:30.900 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:27:40.931 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:28:50.939 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:30:00.946 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:31:10.955 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:32:20.965 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:33:30.974 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:34:40.983 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:35:50.992 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671
2020-08-10 13:37:00.999 [ERROR] [Xnet/IP Tunneling 192.168.1.100:3671] - establishing connection failed, timeout connecting to control endpoint /192.168.1.100:3671

Je ne sais plu quoi chercher... et je me demande si l'interface IP MDT n'est pas en cause ? A noter que lorsque je fait un ping sur l'interface MDT j'ai dans tous les cas de figure une réponse positive.
Répondre
#50
As-tu bien paramétré ton interface KNX, attribué toutes les adresses pour les tunels ?

Post nous tes fichiers de conf openhab pour voir ce que tu as dedans
KNX Partner Base / Avancé

Ma boite de MP est pleine, merci de créer un post si vous avez une question, cela profitera a tout le monde.
Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)