Autor Thema: FHEM hinter Proxy  (Gelesen 1815 mal)

Offline WhyTea

  • Full Member
  • ***
  • Beiträge: 334
FHEM hinter Proxy
« am: 20 Januar 2022, 17:28:39 »
Hallo
Ich möchte gerne meinen FHEM den direkten Zugang zum Internet verweigern und den Zugang nur per Proxy ermöglichen.
Dies klappt soweit auch. Durch das setzen des Attribus proxy https://fhem.de/commandref.html#proxy sind fast alle notwendigen Funktionen weiterhin verfügbar.

Allerdings führt das setzen des Attributs bei mir dazu das sich FHEM nicht mehr mit meinen HomeMatic Funk-LAN Gateway https://wiki.fhem.de/wiki/HM-LGW-O-TW-W-EU_Funk-LAN_Gateway
verbinden.
2022.01.06 18:01:48 3: Opening LGW1:keepAlive device 192.168.6.131:2001
2022.01.06 18:01:48 1: 192.168.6.131:2000 reappeared (LGW1)
2022.01.06 18:01:48 3: LGW1:keepAlive device opened
2022.01.06 18:01:55 1: HMUARTLGW LGW2 LGW init did not complete after 10s
2022.01.06 18:01:55 3: LGW2 device closed
2022.01.06 18:01:55 3: Opening LGW2:keepAlive device 192.168.6.132:2001
2022.01.06 18:01:55 1: 192.168.6.132:2000 reappeared (LGW2)
2022.01.06 18:01:55 3: LGW2:keepAlive device opened
2022.01.06 18:01:58 1: HMUARTLGW LGW1 LGW init did not complete after 10s
2022.01.06 18:01:58 3: LGW1 device closed
2022.01.06 18:01:58 3: Opening LGW1:keepAlive device 192.168.6.131:2001
2022.01.06 18:01:58 1: 192.168.6.131:2000 reappeared (LGW1)
2022.01.06 18:01:58 3: LGW1:keepAlive device opened
2022.01.06 18:02:05 1: HMUARTLGW LGW2 LGW init did not complete after 10s
2022.01.06 18:02:05 3: LGW2 device closed
Und das geht immer so weiter...

List der vccu:
Internals:
   DEF        F123FF
   FUUID      5c46c492-f33f-a5a6-a018-8bda6b44c640927f
   IODev      LGW1
   LASTInputDev LGW2
   LGW1_MSGCNT 30665
   LGW1_RAWMSG 0500015A2DA011BA24514F97FF020100
   LGW1_RSSI  -90
   LGW1_TIME  2022-01-20 17:19:01
   LGW2_MSGCNT 31200
   LGW2_RAWMSG 0500014F2DA011BA24514F97FF020100
   LGW2_RSSI  -79
   LGW2_TIME  2022-01-20 17:19:01
   MSGCNT     61865
   NAME       vccu
   NR         42
   NTFY_ORDER 50-vccu
   STATE      LGW1:ok,LGW2:ok
   TYPE       CUL_HM
   assignedIOs LGW1,LGW2
   chanNo     01
   disableNotifyFn 1
   lastMsg    No:0B - t:02 s:F123FF d:3DF4DE 00
   protLastRcv 2022-01-20 17:18:09
   protRcv    20650 last_at:2022-01-20 17:18:09
   protRcvB   187 last_at:2022-01-20 16:12:27
   rssi_at_LGW1 cnt:16045 min:-41 max:-35 avg:-37.14 lst:-38
   rssi_at_LGW2 cnt:6816 min:-39 max:-32 avg:-35.51 lst:-37
   Helper:
     DBLOG:
       IOopen:
         mylogdb:
           TIME       1642695126.53654
           VALUE      2
       aesReqTo:
         mylogdb:
           TIME       1642659157.03804
           VALUE      EG_AZ_Thermostat
       state:
         mylogdb:
           TIME       1642695126.53654
           VALUE      LGW1:ok,LGW2:ok
   READINGS:
     2022-01-20 17:18:09   CommandAccepted yes
     2022-01-12 16:51:50   IODev           LGW1
     2022-01-20 17:12:06   IOopen          2
     2016-10-19 00:46:25   aesKeyNbr       02
     2022-01-20 07:12:37   aesReqTo        EG_AZ_Thermostat
     2021-11-03 11:52:12   cfgState        ok
     2021-08-26 17:58:10   hmPair          name:EG_WZ_Helligkeitssensor SN:JCR8241468 model:HB-UW-Sen-THPL-O
     2022-01-20 17:15:23   recentStateType ack
     2017-10-19 10:12:16   sabotageAttackId_ErrIoId_26F0E7 cnt:2
     2017-10-23 18:33:56   sabotageAttackId_ErrIoId_26F0F7 cnt:2
     2022-01-20 17:12:06   state           LGW1:ok,LGW2:ok
     2022-01-12 17:29:58   unknown_11AF66  received
     2021-02-09 11:32:58   unknown_12888C  received
     2022-01-20 11:55:44   unknown_128F4A  received
     2022-01-20 11:16:13   unknown_20F98E  received
     2018-05-21 18:28:48   unknown_248404  received
     2018-05-21 19:02:37   unknown_248417  received
     2022-01-20 17:13:17   unknown_255F41  received
     2019-09-14 17:46:14   unknown_25EF5D  received
     2018-10-01 14:28:53   unknown_26CF07  received
     2017-10-19 10:12:16   unknown_26F0E7  received
     2017-10-23 18:33:56   unknown_26F0F7  received
     2020-01-14 15:54:35   unknown_26FB91  received
     2021-02-10 00:49:44   unknown_278D58  received
     2021-04-01 18:45:55   unknown_279AB4  received
     2021-09-07 06:17:45   unknown_27C027  received
     2019-11-28 10:43:20   unknown_27F34C  received
     2016-06-10 10:27:10   unknown_28B66F  received
     2018-10-01 14:29:14   unknown_29BA59  received
     2021-03-17 15:07:43   unknown_29CE38  received
     2022-01-20 17:18:42   unknown_29D83D  received
     2022-01-20 08:25:00   unknown_2A102B  received
     2021-06-29 21:52:46   unknown_2A33B6  received
     2016-03-22 11:03:32   unknown_2AB72F  received
     2016-06-18 13:57:13   unknown_2B5F5D  received
     2022-01-20 01:03:37   unknown_2B5FC8  received
     2021-10-25 18:51:42   unknown_2C4906  received
     2022-01-11 16:18:11   unknown_2C4A8B  received
     2022-01-13 17:35:46   unknown_2C4B12  received
     2021-12-14 08:47:21   unknown_2C6FDE  received
     2022-01-20 17:17:50   unknown_2C7094  received
     2017-11-25 16:00:48   unknown_2E1185  received
     2016-06-10 12:43:56   unknown_2E9226  received
     2015-11-11 18:49:31   unknown_2EE491  received
     2015-11-11 18:55:32   unknown_2EE49D  received
     2022-01-19 14:44:17   unknown_2EE4A3  received
     2015-12-02 13:07:28   unknown_2F219D  received
     2015-11-24 18:10:52   unknown_2F52BA  received
     2021-12-01 18:36:15   unknown_2FBB42  received
     2018-03-07 12:30:12   unknown_2FC63D  received
     2018-10-01 14:28:09   unknown_309E03  received
     2021-03-10 09:55:47   unknown_30D2FA  received
     2022-01-20 16:53:52   unknown_31C47D  received
     2017-03-16 16:04:11   unknown_31C4A1  received
     2022-01-20 17:06:21   unknown_31C504  received
     2017-11-23 16:58:28   unknown_31C53A  received
     2018-08-01 18:37:33   unknown_31EE28  received
     2021-12-02 12:32:10   unknown_32AA2E  received
     2018-11-07 00:43:59   unknown_32E99E  received
     2018-10-01 14:28:31   unknown_32EAAA  received
     2015-12-20 17:09:31   unknown_33B7C4  received
     2018-05-21 22:03:59   unknown_342424  received
     2018-05-21 22:52:47   unknown_349404  received
     2018-05-21 21:13:41   unknown_34A434  received
     2020-11-06 05:02:00   unknown_352337  received
     2022-01-20 17:15:57   unknown_3533C7  received
     2021-12-07 08:27:14   unknown_36A544  received
     2020-05-08 18:30:09   unknown_3781EF  received
     2021-05-17 12:55:10   unknown_37C340  received
     2021-05-30 18:23:25   unknown_37C34C  received
     2018-10-01 14:28:43   unknown_38E774  received
     2015-11-02 07:18:32   unknown_38E79A  received
     2015-11-28 09:36:33   unknown_38F70B  received
     2019-11-15 21:09:01   unknown_38FE7E  received
     2020-05-22 10:43:29   unknown_3AEC88  received
     2016-02-13 11:35:58   unknown_3C7D46  received
     2016-02-29 13:01:04   unknown_3C829A  received
     2015-12-04 08:58:13   unknown_3CD351  received
     2015-12-07 22:42:54   unknown_3D045C  received
     2016-01-17 18:58:37   unknown_3D6832  received
     2015-12-04 09:13:16   unknown_3D6BC8  received
     2020-06-28 17:47:11   unknown_3DF4DD  received
     2020-06-28 17:41:57   unknown_3DF4DE  received
     2016-01-15 09:24:46   unknown_3DFA6F  received
     2015-11-17 18:25:48   unknown_3E49D1  received
     2017-05-09 20:45:04   unknown_3F7FA3  received
     2018-11-24 11:23:34   unknown_406596  received
     2018-06-21 18:18:19   unknown_4065A0  received
     2018-06-13 13:03:59   unknown_406684  received
     2015-12-30 15:01:36   unknown_40A546  received
     2022-01-18 16:55:01   unknown_40DDD0  received
     2016-08-28 13:12:08   unknown_4106BF  received
     2016-07-17 20:53:46   unknown_410958  received
     2018-10-21 14:25:40   unknown_411E8D  received
     2022-01-19 19:54:37   unknown_41548C  received
     2022-01-20 17:18:04   unknown_44B1B5  received
     2016-08-22 20:50:55   unknown_459539  received
     2016-08-28 13:36:28   unknown_460C74  received
     2017-02-18 10:16:42   unknown_46AD81  received
     2019-09-14 18:54:36   unknown_470BEC  received
     2017-02-04 16:50:08   unknown_48D4AD  received
     2020-06-11 23:18:18   unknown_495A9A  received
     2022-01-12 18:03:19   unknown_498AF4  received
     2016-11-12 14:50:22   unknown_498D6B  received
     2016-12-03 15:41:20   unknown_4A6B07  received
     2022-01-20 17:04:00   unknown_4AD1A4  received
     2016-07-30 10:57:17   unknown_4AD4B5  received
     2022-01-20 13:54:24   unknown_4B437E  received
     2022-01-20 10:47:24   unknown_4BD2DF  received
     2016-10-15 14:23:47   unknown_4CB958  received
     2016-10-15 14:14:16   unknown_4CBA0F  received
     2022-01-19 17:33:22   unknown_4CFF02  received
     2016-09-24 18:08:10   unknown_4CFF26  received
     2022-01-19 17:48:57   unknown_4CFF33  received
     2016-12-09 20:17:12   unknown_4F1C66  received
     2019-09-14 18:15:12   unknown_4F97FF  received
     2021-12-04 21:30:12   unknown_4FAD40  received
     2017-03-12 06:12:28   unknown_508CE6  received
     2022-01-20 11:55:43   unknown_51065B  received
     2022-01-19 18:45:27   unknown_51562E  received
     2022-01-19 19:54:33   unknown_518CA8  received
     2017-03-06 09:39:16   unknown_52CAE2  received
     2017-03-06 09:46:00   unknown_52CB97  received
     2017-03-13 19:38:12   unknown_530AC2  received
     2017-02-05 16:57:18   unknown_5398BB  received
     2017-03-13 19:53:40   unknown_5551BE  received
     2019-10-26 14:30:16   unknown_55A6FB  received
     2017-07-10 08:28:10   unknown_563E86  received
     2017-07-10 09:13:20   unknown_563FAA  received
     2022-01-16 17:21:00   unknown_565C0F  received
     2017-10-15 14:25:22   unknown_57773F  received
     2017-10-15 14:14:42   unknown_577787  received
     2017-10-15 14:20:39   unknown_5777AA  received
     2017-12-04 10:22:59   unknown_5814F7  received
     2017-12-04 10:36:08   unknown_58150F  received
     2017-12-04 10:46:00   unknown_58151C  received
     2017-12-04 10:17:50   unknown_581551  received
     2017-12-04 10:33:05   unknown_581557  received
     2022-01-20 16:44:01   unknown_59B147  received
     2018-05-01 20:14:18   unknown_5B77EC  received
     2019-05-30 17:46:04   unknown_5BF0CB  received
     2020-06-28 17:58:35   unknown_5E0816  received
     2018-10-01 14:28:51   unknown_6461BE  received
     2018-09-27 19:30:48   unknown_650841  received
     2022-01-12 18:03:45   unknown_68A450  received
     2020-04-07 18:32:37   unknown_68A4DD  received
     2020-10-13 16:00:24   unknown_69C6C5  received
     2022-01-12 18:03:43   unknown_6B3C60  received
     2016-10-19 00:44:10   unknown_719FE8  received
     2020-12-29 12:04:20   unknown_71B100  received
     2017-02-24 08:37:39   unknown_7C77A2  received
     2021-02-11 04:57:16   unknown_84171F  received
     2017-05-10 21:35:03   unknown_AFA19D  received
     2022-01-20 17:19:01   unknown_BA2451  received
     2020-04-15 20:38:01   unknown_BD1741  received
   helper:
     HM_CMDNR   11
     PONtest    1
     lastMsgTm  1642695489.98476
     peerFriend peerSD,peerSens,peerAct
     peerOpt    -:virtual
     regLst     0
     rxType     1
     supp_Pair_Rep 0
     ack:
     cmds:
       TmplKey    :no:1642002711.46678
       TmplTs     1642002711.46678
       cmdKey     1:1:1::vccu::01:
       cmdLst:
         assignHmKey noArg
         assignIO   -IO- [({set}|unset)]
         clear      [(readings|rssi|msgEvents|attack|{msgErrors}|unknownDev)]
         defIgnUnknown noArg
         deviceRename -newName-
         fwUpdate   -filename- [-bootTime-]
         getDevInfo noArg
         hmPairForSec [-sec-]
         hmPairSerial -serial-
         peerChan   -btnNumber- -actChn- [({single}|dual|reverse)] [({set}|unset)] [(actor|remote|{both})]
         peerSmart  -peerOpt-
         postEvent  -condition-
         press      [(long|{short})] [(-peer-|{all})] [(noBurst|{Burst})] [(-repCount-|{0})] [(-repDelay-|{0.25})]
         pressL     [(-peer-|{all})]
         pressS     [(-peer-|{all})]
         raw        -data- [...]
         reset      noArg
         tplSet_0   -tplChan-
         unpair     noArg
         update     noArg
         virtual    [(1..50;1|{1})]
       lst:
         condition  slider,0,1,255
         peer       
         peerOpt    CP_Bewegung,CP_Bewegung_Garage,CP_Sw01_Pumpe,CP_Sw02_Steckdose,CP_Sw03_Mauerlicht,CP_Sw04_frei,EG_AZ_Fenster,EG_AZ_Rollade,EG_AZ_Thermostat_WindowRec,EG_AZ_Thermostat_remote,EG_BZ_Fenster,EG_BZ_Thermostat_WindowRec,EG_BZ_Thermostat_remote,EG_EG_Eingangstuer,EG_EG_Fenster,EG_EG_Klingel,EG_EG_Rauchmelder,EG_EG_Thermostat_WindowRec,EG_EG_Thermostat_remote,EG_Kueche_Fenster,EG_Kueche_Rollade,EG_Kueche_Thermostat_WindowRec,EG_Kueche_Thermostat_remote,EG_WZ_Fenster_links,EG_WZ_Rollade_Terassenfenster,EG_WZ_Rollade_Terassentuer,EG_WZ_Rollade_links,EG_WZ_Terassenlicht,EG_WZ_Terassentuer1,EG_WZ_Terassentuer2,EG_WZ_Thermostat_Terasse_WindowRec,EG_WZ_Thermostat_Terasse_remote,EG_WZ_Thermostat_links_WindowRec,EG_WZ_Thermostat_links_remote,EG_WZ_Wandthermostat_WindowRec,EG_WZ_Wandthermostat_remote,KG_BZ_Fenster,KG_BZ_Lichtschalter,KG_BZ_Thermostat_WindowRec,KG_BZ_Thermostat_remote,KG_Flur_Fenster,KG_GZ_Fenster1,KG_GZ_Fenster2,KG_GZ_Thermostat_WindowRec,KG_GZ_Thermostat_remote,KG_Kellertuer,KG_TK_Fenster,OG1_AZ_Fenster_links,OG1_AZ_Fenster_rechts,OG1_AZ_Rollade,OG1_AZ_Thermostat_WindowRec,OG1_AZ_Thermostat_remote,OG1_BZ_Fenster,OG1_BZ_Thermostat_WindowRec,OG1_BZ_Thermostat_remote,OG1_Flur_Dachfenster,OG1_Flur_Fenster_links,OG1_Flur_Fenster_rechts,OG1_Flur_Thermostat_WindowRec,OG1_Flur_Thermostat_remote,OG1_SZ_Fenster1,OG1_SZ_Fenster2,OG1_SZ_Fenster_links,OG1_SZ_Rollade,OG1_SZ_Thermostat2_WindowRec,OG1_SZ_Thermostat2_remote,OG1_SZ_Thermostat_WindowRec,OG1_SZ_Thermostat_remote,OG1_SZ_Wandthermostat_WindowRec,OG1_SZ_Wandthermostat_remote,OG2_KZ_BVBFenster,OG2_KZ_Balkonfenster1,OG2_KZ_Balkonfenster2,OG2_KZ_Balkontuer1,OG2_KZ_Balkontuer2,OG2_KZ_Rollade_BVBFenster,OG2_KZ_Rollade_Balkonfenster,OG2_KZ_Rollade_Balkontuer,OG2_KZ_Schreibtischfenster,OG2_KZ_Thermostat_WindowRec,OG2_KZ_Thermostat_remote,OG2_KZ_Wandthermostat_WindowRec,OG2_KZ_Wandthermostat_remote,OG2_KZ_Zimmertuer,Rauchmelder_Team
         tplChan   
         tplDel     
         tplPeer   
       rtrvLst:
         cmdList    [({short}|long)]
         deviceInfo [({short}|long)]
         list       [({normal}|full)]
         listDevice noArg
         param      -param-
     expert:
       def        1
       det        0
       raw        0
       tpl        0
     io:
       nextSend   1642695490.08105
       vccu       vccu
       ioList:
       prefIO:
     mRssi:
       mNo        0B
       io:
         LGW1:
           -30
           -30
         LGW2:
     peerIDsH:
     prt:
       bErr       0
       sProc      0
       rspWait:
     q:
       qReqConf   
       qReqStat   
     role:
       chn        1
       dev        1
       vrt        1
     rssi:
       at_LGW1:
         avg        -37.1460267996259
         cnt        16045
         lst        -38
         max        -35
         min        -41
       at_LGW2:
         avg        -35.5110035211267
         cnt        6816
         lst        -37
         max        -32
         min        -39
     shadowReg:
     tmpl:
Attributes:
   IOList     LGW1,LGW2
   IOgrp      vccu
   hmKey      01:aaaaaaaaaaa7b89dc827
   model      CCU-FHEM
   room       Zentralsysteme->Gateways
   subType    virtual
   verbose    2
   webCmd     virtual:update

List LGW1
Internals:
   AssignedPeerCnt 41
   CNT        108
   Clients    :CUL_HM:
   DEF        192.168.6.131
   DEVCNT     108
   DevState   99
   DevType    LGW
   DeviceName 192.168.6.131:2000
   FD         33
   FUUID      5c46c492-f33f-a5a6-bb13-0e6954f3359efcca
   LastOpen   1642002706.37144
   NAME       LGW1
   NOTIFYDEV  global
   NR         34
   NTFY_ORDER 50-LGW1
   PARTIAL   
   RAWMSG     040203
   RSSI       -63
   STATE      opened
   TYPE       HMUARTLGW
   XmitOpen   1
   model      eQ3-HM-LGW
   msgLoadCurrent 2
   msgLoadHistory -1/0/-1/0/0/0/0/0/0/0/0/0
   msgLoadHistoryAbs 1/2/2/3/3/3/3/3/3/3/3/3/3
   owner      F123FF
   owner_CCU  vccu
   Helper:
     CreditTimer 46159
     FW         66561
     Initialized 1
     SendCnt    1299
     AckPending:
       79:
         cmd        02000000DE8002F123FF3C7D460101C800
         dst        1
         frame      FD0013014F02000000DE8002F123FF3C7D460101C800B2F5
         time       1642695254.91553
       80:
         cmd        02000000DF8002F123FF3C7D460101C800
         dst        1
         frame      FD0013015002000000DF8002F123FF3C7D460101C800C0FC
         time       1642695267.01197
     DBLOG:
       D-HMIdAssigned:
         mylogdb:
           TIME       1642002709.10448
           VALUE      F123FF
       D-HMIdOriginal:
         mylogdb:
           TIME       1642002709.10941
           VALUE      FFFFFF
       D-LANfirmware:
         mylogdb:
           TIME       1642002706.37609
           VALUE      1.1.5
       D-firmware:
         mylogdb:
           TIME       1642002709.11837
           VALUE      1.4.1
       D-serialNr:
         mylogdb:
           TIME       1642002706.37609
           VALUE      NEQ0707856
       D-type:
         mylogdb:
           TIME       1642002706.37609
           VALUE      eQ3-HM-LGW
       cond:
         mylogdb:
           TIME       1642002709.15684
           VALUE      ok
       load:
         mylogdb:
           TIME       1642695597.78226
           VALUE      2
       loadLvl:
         mylogdb:
           TIME       1642002709.15684
           VALUE      low
       state:
         mylogdb:
           TIME       1642002706.37218
           VALUE      CONNECTED
     LastSendLen:
       3
       3
     Log:
       IDs:
     PendingCMD:
     RoundTrip:
       Delay      0.0034182071685791
     loadLvl:
       lastHistory 1642695409.13861
   MatchList:
     1:CUL_HM   ^A......................
   Peers:
     268F65     +268F65,00,01,00
     268F7E     +268F7E,00,01,00
     268FFD     +268FFD,00,01,00
     269782     +269782,00,01,00
     26CCE3     +26CCE3,00,01,00
     26E09C     +26E09C,00,01,00
     29BA17     +29BA17,00,01,00
     30994A     +30994A,00,01,00
     309A5B     +309A5B,00,01,00
     309E03     +309E03,02,01,00
     30D258     +30D258,00,01,00
     30D34D     +30D34D,00,01,00
     30D7EF     +30D7EF,00,01,00
     30D81F     +30D81F,00,01,00
     38E79A     +38E79A,00,01,00
     38F754     +38F754,00,01,00
     3AC924     +3AC924,00,01,00
     3C7D46     +3C7D46,00,01,00
     3C829A     +3C829A,00,01,00
     3CC4E9     +3CC4E9,00,01,00
     3CC4FF     +3CC4FF,00,01,00
     3D6832     +3D6832,00,01,00
     3D6BC8     +3D6BC8,00,01,00
     3F7FA3     +3F7FA3,00,01,00
     4106BF     +4106BF,00,01,00
     459539     +459539,00,01,00
     460C74     +460C74,00,01,00
     4CB958     +4CB958,00,01,00
     4CBA0F     +4CBA0F,00,01,00
     530AC2     +530AC2,00,01,00
     5398BB     +5398BB,00,01,00
     563E86     +563E86,00,01,00
     563FAA     +563FAA,00,01,00
     57773F     +57773F,00,01,00
     577787     +577787,00,01,00
     5777AA     +5777AA,00,01,00
     58150F     +58150F,00,01,00
     581551     +581551,00,01,00
     581557     +581557,00,01,00
     5B77EC     +5B77EC,00,01,00
     650841     +650841,00,01,00
   READINGS:
     2022-01-12 16:51:49   D-HMIdAssigned  F123FF
     2022-01-12 16:51:49   D-HMIdOriginal  FFFFFF
     2022-01-12 16:51:46   D-LANfirmware   1.1.5
     2022-01-12 16:51:49   D-firmware      1.4.1
     2022-01-12 16:51:46   D-serialNr      NEQ0707856
     2022-01-12 16:51:46   D-type          eQ3-HM-LGW
     2022-01-12 16:51:49   cond            ok
     2022-01-20 17:19:57   load            2
     2022-01-12 16:51:49   loadLvl         low
     2022-01-12 16:51:46   state           opened
   helper:
   keepAlive:
     CNT        240
     DEVCNT     239
     DevState   99
     DevType    LGW-KeepAlive
     DeviceName 192.168.6.131:2001
     FD         43
     LastOpen   1642002706.38209
     NAME       LGW1:keepAlive
     NR         1804
     PARTIAL   
     STATE      opened
     TEMPORARY  1
     TYPE       HMUARTLGW
     XmitOpen   0
     Helper:
       NextKeepAlive 1642695683.83701
       DBLOG:
         state:
           mylogdb:
             TIME       1642002706.38247
             VALUE      CONNECTED
       Log:
         Resolve    1
         IDs:
     READINGS:
       2022-01-12 16:51:46   state           opened
Attributes:
   dutyCycle  1
   hmId       F123FF
   hmKey      01:aaaaaaaaaaa7b89dc827
   lgwPw      bbbbbbbb
   loadEvents 1
   qLen       100
   room       Zentralsysteme->Gateways

List LGW2
Internals:
   AssignedPeerCnt 27
   CNT        107
   Clients    :CUL_HM:
   DEF        192.168.6.132
   DEVCNT     38
   DevState   99
   DevType    LGW
   DeviceName 192.168.6.132:2000
   FD         34
   FUUID      5c46c492-f33f-a5a6-5318-1f6fec0deb481e82
   LastOpen   1642002706.36064
   NAME       LGW2
   NOTIFYDEV  global
   NR         38
   NTFY_ORDER 50-LGW2
   PARTIAL   
   RAWMSG     0500013E7E865A5BF0CB000000B0DD28
   RSSI       -62
   STATE      opened
   TYPE       HMUARTLGW
   XmitOpen   1
   model      eQ3-HM-LGW
   msgLoadCurrent 5
   msgLoadHistory -1/1/-1/0/-1/0/1/-1/0/0/1/-1
   msgLoadHistoryAbs 5/6/5/6/6/7/7/6/7/7/7/6/7
   owner      F123FF
   owner_CCU  vccu
   Helper:
     CreditTimer 46173
     FW         66561
     Initialized 1
     SendCnt    2021
     AckPending:
       158:
         cmd        0200000076A001F123FF30D26D010E
         dst        1
         frame      FD0011019E0200000076A001F123FF30D26D010E95FC
         time       1642693025.68791
       57:
         cmd        02000000CF8002F123FF46AD8101018000
         dst        1
         frame      FD0013013902000000CF8002F123FF46AD810101800065D8
         time       1642695194.8364
       58:
         cmd        02000000AE8002F123FF48D4AD01018A00
         dst        1
         frame      FD0013013A02000000AE8002F123FF48D4AD01018A0031BA
         time       1642695202.2768
       67:
         cmd        02000000D08002F123FF46AD8101017E00
         dst        1
         frame      FD0013014302000000D08002F123FF46AD8101017E005516
         time       1642695321.40233
       69:
         cmd        02000000B08002F123FF48D4AD01018100
         dst        1
         frame      FD0013014502000000B08002F123FF48D4AD0101810004BC
         time       1642695323.64067
     DBLOG:
       D-HMIdAssigned:
         mylogdb:
           TIME       1642002709.09292
           VALUE      F123FF
       D-HMIdOriginal:
         mylogdb:
           TIME       1642002709.09794
           VALUE      FFFFFF
       D-LANfirmware:
         mylogdb:
           TIME       1642002706.37976
           VALUE      1.1.5
       D-firmware:
         mylogdb:
           TIME       1642002709.10695
           VALUE      1.4.1
       D-serialNr:
         mylogdb:
           TIME       1642002706.37976
           VALUE      OEQ1071600
       D-type:
         mylogdb:
           TIME       1642002706.37976
           VALUE      eQ3-HM-LGW
       cond:
         mylogdb:
           TIME       1642002709.14832
           VALUE      ok
       load:
         mylogdb:
           TIME       1642695673.80025
           VALUE      5
       loadLvl:
         mylogdb:
           TIME       1642002709.14832
           VALUE      low
       state:
         mylogdb:
           TIME       1642002706.36947
           VALUE      CONNECTED
     LastSendLen:
       3
       3
     Log:
       IDs:
     PendingCMD:
     RoundTrip:
       Delay      0.00390005111694336
     loadLvl:
       lastHistory 1642695709.12914
   MatchList:
     1:CUL_HM   ^A......................
   Peers:
     26CF07     +26CF07,00,01,00
     29BA59     +29BA59,00,01,00
     29BA60     +29BA60,00,01,00
     29CD77     +29CD77,00,01,00
     29CD9C     +29CD9C,00,01,00
     309184     +309184,00,01,00
     30D26D     +30D26D,00,01,00
     30D2BC     +30D2BC,00,01,00
     30D2C2     +30D2C2,00,01,00
     30D7F0     +30D7F0,00,01,00
     32EAAA     +32EAAA,02,01,00
     38E774     +38E774,00,01,00
     38F70B     +38F70B,00,01,00
     3CD0B8     +3CD0B8,00,01,00
     3CD351     +3CD351,00,01,00
     3D045C     +3D045C,00,01,00
     3DF4DD     +3DF4DD,02,01,00
     3DF4DE     +3DF4DE,02,01,00
     410958     +410958,00,01,00
     467356     +467356,00,01,00
     46AD81     +46AD81,00,01,00
     48D4AD     +48D4AD,00,01,00
     5814F7     +5814F7,00,01,00
     58151C     +58151C,00,01,00
     5BF0CB     +5BF0CB,00,01,00
     5E0816     +5E0816,00,01,00
     6461BE     +6461BE,00,01,00
   READINGS:
     2022-01-12 16:51:49   D-HMIdAssigned  F123FF
     2022-01-12 16:51:49   D-HMIdOriginal  FFFFFF
     2022-01-12 16:51:46   D-LANfirmware   1.1.5
     2022-01-12 16:51:49   D-firmware      1.4.1
     2022-01-12 16:51:46   D-serialNr      OEQ1071600
     2022-01-12 16:51:46   D-type          eQ3-HM-LGW
     2022-01-12 16:51:49   cond            ok
     2022-01-20 17:21:13   load            5
     2022-01-12 16:51:49   loadLvl         low
     2022-01-12 16:51:46   state           opened
   helper:
   keepAlive:
     CNT        5
     DEVCNT     4
     DevState   99
     DevType    LGW-KeepAlive
     DeviceName 192.168.6.132:2001
     FD         41
     LastOpen   1642002706.37393
     NAME       LGW2:keepAlive
     NR         1802
     PARTIAL   
     STATE      opened
     TEMPORARY  1
     TYPE       HMUARTLGW
     XmitOpen   0
     Helper:
       NextKeepAlive 1642695893.8966
       DBLOG:
         state:
           mylogdb:
             TIME       1642002706.37437
             VALUE      CONNECTED
       Log:
         Resolve    1
         IDs:
     READINGS:
       2022-01-12 16:51:46   state           opened
Attributes:
   dutyCycle  1
   hmId       F123FF
   hmKey      01:aaaaaaaaa9b968cd7b89dc827
   lgwPw      bbbbbbbb
   loadEvents 1
   qLen       100
   room       Zentralsysteme->Gateways

Sobald ich das Attribut Proxy wieder entferne und FHEM neu starte werden beide LGWs wieder problemlos verbunden.

Nach viel lesen und erfolglosem ausprobieren in den letzten Tagen ohne einen Schritt weiter zukommen hoffe ich jetzt darauf das mir jemand von Euch helfen kann.
Ich bin wirklich für jede Idee dankbar.

Gruß
Daniel

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 25849
Antw:FHEM hinter Proxy
« Antwort #1 am: 20 Januar 2022, 17:45:39 »
Womoeglich muss man auch das proxyExclude Attribut setzen: https://fhem.de/commandref_modular.html#proxyExclude

Offline WhyTea

  • Full Member
  • ***
  • Beiträge: 334
Antw:FHEM hinter Proxy
« Antwort #2 am: 21 Januar 2022, 09:11:52 »
Ok das probiere ich gerne aus.
Wie ist den der Syntax? Kann ich da ein ganzen Netzsegment ausschließen? Bsp: 192.168.6.0/24

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 25849
Antw:FHEM hinter Proxy
« Antwort #3 am: 21 Januar 2022, 09:18:03 »
Laut dem verlinkten Doku ist das ein regexp, was auf das angegebene Host/IP/etc angewendet wird.

Offline WhyTea

  • Full Member
  • ***
  • Beiträge: 334
Antw:FHEM hinter Proxy
« Antwort #4 am: 21 Januar 2022, 16:16:54 »
Vielen Dank für die Antwort aber ehrlich gesagt hilft sie mir nicht weiter. :-(

Wie würde denn ein regex aussehen um ein ganzes Subnetz auszuschließen?

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 25849
Antw:FHEM hinter Proxy
« Antwort #5 am: 21 Januar 2022, 16:26:46 »
Haengt vom Subnetz ab, z.Bsp. 192.168.1.*
Vorausgesetzt es ist ein C-Netz, und die Anfragen gehen via IP und nicht per Hostname ein.

Offline WhyTea

  • Full Member
  • ***
  • Beiträge: 334
Antw:FHEM hinter Proxy
« Antwort #6 am: 21 Januar 2022, 16:59:42 »
Ok danke. Ich habe eben diesen alten Thread gefunden. Ich weis wirklich nicht warum ich den immer übersehen habe.
https://forum.fhem.de/index.php?topic=60471.45

Wenn ich das auf meine Umgebung adaptiere würde das glaube ich so aussehen.
Also sowohl IP-Bereich 192.168.6.0/24 als auch alle hosts die auf lan.whity enden.
attr global proxyExclude ^192\.168\.6\.*|.*\.lan\.whity$
Wie ist Deine Meinung dazu?