AskSin++ Library

Begonnen von papa, 08 September 2016, 11:11:25

Vorheriges Thema - Nächstes Thema

papa

Möglicherweise eine Anpassung in FHEM an den Universalsensor, der zu Begin noch kein eigenes Device implementiert hatte.
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

papa

Zitat von: Dietmar63 am 28 Oktober 2016, 12:49:56
müssten dann nicht die makros angepasst werden, Sie berücksichtigen im Moment TICKS_PER_SECOND  nicht vollständig

Habe ich gemacht.
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

lech

ZitatKannst Du bitte mal prüfen, ob überhaupt etwas empfangen wird. Bitte mal die Kommentare in den Zeilen 219/219 in MultiChannelDevice.h entfernen. Dann wird alles ausgegeben, auch Nachrichten für andere Geräte.

Sorry, war jetzt über die Feiertage weg...
Das ist es, ich glaube der CCU gefällt der Anlernestring nicht. Deswegen schickt sie auch keine Bestätigung?! Im Serial gibt es wirklich Nachrichten von anderen Geräten:
AskSin++ V0.1.0
CC init12.................3 - ready
debounce
pressed
released
<- 1A 01 80 00 78 90 12 00 00 00 00 00 08 70 61 70 61 33 33 33 33 33 33 00 03 01 00

ignore 0C 8F 86 70 20 6B 37 00 00 00 00 21 59
debounce
pressed
released
<- 1A 02 80 00 78 90 12 00 00 00 00 00 08 70 61 70 61 33 33 33 33 33 33 00 03 01 00

ignore 0F 9A 86 10 22 10 A9 00 00 00 0A 24 D1 0D 00 40
ignore 0F 1B 86 10 22 2B 38 00 00 00 0A 24 D5 0D 00 40
debounce
pressed
released
<- 1A 03 80 00 78 90 12 00 00 00 00 00 08 70 61 70 61 33 33 33 33 33 33 00 03 01 00

ignore 0C F9 86 70 1F 4A D3 00 00 00 00 DA 37
ignore 0F 8D 86 10 22 11 3D 00 00 00 0A 90 D6 0D 00 00



papa

Zitat von: lech am 03 November 2016, 00:21:37
Das ist es, ich glaube der CCU gefällt der Anlernestring nicht. Deswegen schickt sie auch keine Bestätigung?!

Könntest Du bitte mal ein anderes Beispiel (HM-LC-SWX-SM) probieren ? Möglicherweise stimmt was bei den DeviceInfo-Daten nicht.
Ich habe auch mal den Subtype (auf 0x40) und die Firmeware-Version (auf 0x11) angepasst. Vielleicht geht es ja dann.

Gibt es eigentlich irgendwo eine Liste mit den Subtypes ?
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

Dietmar63

ich glaube ich habe zu Hause so etwas - stelle ich heut Abend mal hier rein.
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

lech

#80
ZitatIch habe auch mal den Subtype (auf 0x40) und die Firmeware-Version (auf 0x11) angepasst
Cool, geil, super, jetzt geht's!!!  ;D ;D ;D
Papa, danke dir!
Ich kann die Fernbediengung jetzt problemlos mit der CCU2 pairen.
Die Tasten funktionieren noch nicht (A0 gegen Massse), aber das liegt wahrscheinlich an der etwas aufwendigeren Beschaltung. Ich muss noch paar Drähte zusammenlöten.  ;)
Super Arbeit!

papa

Warte mal noch - ich wollte das eh nochmal ändern.
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

Dietmar63

meint ihr so etwas?


models:
  subType          name                       ID supportedMode            Info  List  channels
  --------------------------------------------------------------------------------------------
  AlarmControl     HM-Sec-Cen               004B normal                         1,3
  blindActuator    HM-LC-BL1-FM             0005 normal                         1,3
  blindActuator    HM-LC-Bl1-FM-2           00D2 normal                         1,3
  blindActuator    HM-LC-BL1-PB-FM          0053 normal                         1,3
  blindActuator    HM-LC-Bl1PBU-FM          006A normal                         1,3
  blindActuator    HM-LC-BL1-SM             0006 normal                         1,3
  blindActuator    HM-LC-Bl1-SM-2           00D1 normal                         1,3
  blindActuator    ROTO_ZEL-STG-RM-FEP-230V 007B normal                         1,3
  blindActuator    Schueco_263-146          0086 normal                         1,3
  blindActuator    Schueco_263-147          0087 normal                         1,3
  blindActuatorSol WDF-solar                0096 burst                          1,3   1 win, 2-3 blind,
  dimmer           HM-LC-DIM1L-CV           0012 normal                         1,3
  dimmer           HM-LC-Dim1L-CV-2         00B7 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1L-CV-644       006E normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-DIM1L-PL           0013 normal                         1,3
  dimmer           HM-LC-Dim1L-Pl-2         00A3 normal                         1,3
  dimmer           HM-LC-Dim1L-Pl-3         00B3 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1L-Pl-644       006F normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1PWM-CV         0067 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1PWM-CV-2       00B5 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-DIM1T-CV           0058 normal                         1,3
  dimmer           HM-LC-Dim1T-CV-2         00B9 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1T-CV-644       0072 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-DIM1T-FM           0059 normal                         1,3
  dimmer           HM-LC-Dim1T-FM-2         00BA normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1T-FM-644       0073 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1T-FM-LF        00F5 normal                         1,3
  dimmer           HM-LC-Dim1TPBU-FM        0068 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1TPBU-FM-2      00B6 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-DIM1T-PL           0057 normal                         1,3
  dimmer           HM-LC-Dim1T-Pl-2         00A4 normal                         1,3
  dimmer           HM-LC-Dim1T-Pl-3         00B4 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-Dim1T-Pl-644       0071 normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           HM-LC-DIM2L-CV           0016 normal                         1,3   1-2 Sw,
  dimmer           HM-LC-DIM2L-SM           002E normal                         1,3   1-2 Sw,
  dimmer           HM-LC-Dim2L-SM-2         00B8 normal                         1,3   1-2 Sw, 3-4 Sw1_V, 5-6 Sw2_V,
  dimmer           HM-LC-Dim2L-SM-644       0070 normal                         1,3   1-2 Sw, 3-4 Sw1_V, 5-6 Sw2_V,
  dimmer           HM-LC-DIM2T-SM           005A normal                         1,3   1-2 Sw,
  dimmer           HM-LC-Dim2T-SM           0074 normal                         1,3   1-2 Sw, 3-4 Sw1_V, 5-6 Sw2_V,
  dimmer           HM-LC-Dim2T-SM-2         00BB normal                         1,3   1-2 Sw, 3-4 Sw1_V, 5-6 Sw2_V,
  dimmer           OLIGO-smart-iq-HM        00FC normal                         1,3   1-2 Dim, 3-4 Dim1_V, 5-6 Dim2_V,
  dimmer           Schueco_263-132          0088 normal                         1,3
  dimmer           Schueco_263-133          008A normal                         1,3   1 Sw, 2-3 Sw1_V,
  dimmer           Schueco_263-134          0089 normal                         1,3
                   DORMA_atent              0064 config                         1,3   1-3 Btn,
  keyMatic         HM-SEC-KEY               0019 burst                          1,3
  keyMatic         HM-SEC-KEY-O             0027 burst                          1,3
  keyMatic         HM-SEC-KEY-S             0026 burst                          1,3
  KFM100           KFM-Display              0049 normal                         1,3
  KFM100           KFM-Sensor               0047 config                         1,3

  motionAndBtn     HM-Sen-MDIR-WM55         00DB config,wakeup,lazyConf         1,4   1-2 Btn, 3 Motion,
  motionDetector   HM-SEC-MDIR              004A config,wakeup,lazyConf   00:20 1,4
  motionDetector   HM-SEC-MDIR-2            00C0 config,wakeup,lazyConf   00:20 1,4
  motionDetector   HM-SEC-MDIR-3            00F7 config,wakeup,lazyConf   00:20 1,4
  motionDetector   HM-Sen-MDIR-O            005D config,wakeup,lazyConf   00:10 1,4
  motionDetector   HM-Sen-MDIR-O-2          00C1 config,wakeup,lazyConf   00:10 1,4
  motionDetector   HM-SEN-MDIR-SM           004F config,wakeup,lazyConf         1,4
  motionDetector   Schueco_263-162          0090 config,wakeup,lazyConf   00:30 1,3
  outputUnit       HM-OU-CFM-PL             0075 normal                         3     1 Led, 2 Mp3,
  outputUnit       HM-OU-CFM-TW             00FA config,burst                   3     1 Led, 2 Mp3,
  outputUnit       HM-OU-CF-PL              005C normal                         3     1 Led, 2 Sound,
  outputUnit       HM-OU-CM-PCB             00AF normal                         3
  outputUnit       HM-OU-LED16              006D normal                         ,1    1-16 Led,
  powerMeter       HM-ES-PMSw1-DR           00EA normal                   00:10 1,1,3p.4p.5p.6p 1 Sw, 2 Pwr, 3 SenPwr, 4 SenI, 5 SenU, 6 SenF,
  powerMeter       HM-ES-PMSw1-Pl           00AC normal                   00:10 1,1,3p.4p.5p.6p 1 Sw, 2 Pwr, 3 SenPwr, 4 SenI, 5 SenU, 6 SenF,
  powerMeter       HM-ES-PMSw1-Pl-DN-R1     00D7 normal                   00:10 1,1,3p.4p.5p.6p 1 Sw, 2 Pwr, 3 SenPwr, 4 SenI, 5 SenU, 6 SenF,
  powerMeter       HM-ES-PMSw1-Pl-DN-R2     00E2 normal                   00:10 1,1,3p.4p.5p.6p 1 Sw, 2 Pwr, 3 SenPwr, 4 SenI, 5 SenU, 6 SenF,
  powerMeter       HM-ES-PMSw1-Pl-DN-R3     00E3 normal                   00:10 1,1,3p.4p.5p.6p 1 Sw, 2 Pwr, 3 SenPwr, 4 SenI, 5 SenU, 6 SenF,
  powerMeter       HM-ES-PMSw1-Pl-DN-R4     00E4 normal                   00:10 1,1,3p.4p.5p.6p 1 Sw, 2 Pwr, 3 SenPwr, 4 SenI, 5 SenU, 6 SenF,
  powerMeter       HM-ES-PMSw1-Pl-DN-R5     00E5 normal                   00:10 1,1,3p.4p.5p.6p 1 Sw, 2 Pwr, 3 SenPwr, 4 SenI, 5 SenU, 6 SenF,
  powerMeter       HM-ES-PMSw1-SM           00F6 normal                   00:10 1,1,3p.4p.5p.6p 1 Sw, 2 Pwr, 3 SenPwr, 4 SenI, 5 SenU, 6 SenF,
  powerSensor      HM-ES-TX-WM              00DE config,wakeup            00:10 1     1-2 IEC,
  pushButton       HM-Dis-EP-WM55           00FB config,burst                   1,3   1-2 Dis, 3-9 Key,
  pushButton       HM-Dis-WM55              00D3 config                         1,    1-10 Dis,
  pushButton       HM-PB-2-FM               00BF config,lazyConf                1,4   1-2 Btn,
  pushButton       HM-PB-2-WM               0036 config                         1,4   1-2 Btn,
  pushButton       HM-PB-2-WM55             006B config,wakeup,lazyConf         1,4   1-2 Btn,
  pushButton       HM-PB-2-WM55-2           00C2 config,wakeup,lazyConf         1,4   1-2 Btn,
  pushButton       HM-PB-4DIS-WM            0060 config,wakeup,lazyConf         1,4   1-20 Btn,
  pushButton       HM-PB-4DIS-WM-2          00DD config,wakeup,lazyConf         1,4   1-20 Btn,
  pushButton       HM-PB-4-WM               0035 config                         1,4   1-4 Btn,
  pushButton       HM-PBI-4-FM              0034 config                         1,4   1-4 Btn,
  pushButton       HM-Sen-DB-PCB            00DC config                         1,4
  pushButton       ROTO_ZEL-STG-RM-DWT-10   007E config,wakeup,lazyConf         1,4   1-20 Btn,
  pushButton       ROTO_ZEL-STG-RM-FST-UP4  007F config                         1,4   1-4 Btn,
  pushButton       ROTO_ZEL-STG-RM-WT-2     007D config,wakeup,lazyConf         1,4
  pushButton       Schueco_263-135          008D config,wakeup,lazyConf         1,4
  pushButton       Schueco_263-145          008F config                         1,4
  remote           CMM                      0018 normal                         3
  remote           DORMA_RC-H               0054 config                         1,3
  remote           HM-MOD-Em-8              00D9 lazyConf                       1,4   1-8 Btn,
  remote           HM-PB-6-WM55             00A9 config,wakeup,lazyConf         1,4   1-6 Btn,
  remote           HM-RC-12                 0029 config                         1,4   1-12 Btn,
  remote           HM-RC-12-B               002A config                         1,4   1-12 Btn,
  remote           HM-RC-12-SW              004C config                         1,4   1-12 Btn,
  remote           HM-RC-19                 0037 config,burst                   1,1.2p.3p.4p.5p.6p.7p.8p.9p.10p.11p.12p.13p.14p.15p.16p 1-17 Btn, 18 Disp,
  remote           HM-RC-19-B               0038 config,burst                   1,1.2p.3p.4p.5p.6p.7p.8p.9p.10p.11p.12p.13p.14p.15p.16p 1-17 Btn, 18 Disp,
  remote           HM-RC-19-SW              004D config,burst                   1,1.2p.3p.4p.5p.6p.7p.8p.9p.10p.11p.12p.13p.14p.15p.16p 1-17 Btn, 18 Disp,
  remote           HM-RC-2-PBU-FM           00E0 normal                         1,4   1-2 Btn,
  remote           HM-RC-4                  0008 config                         1,4   1-4 Btn,
  remote           HM-RC-4-2                00A0 config,lazyConf                1,4   1-4 Btn,
  remote           HM-RC-4-3                00D4 config,wakeup,lazyConf         1,4   1-4 Btn,
  remote           HM-RC-4-3-D              00F8 config,wakeup,lazyConf         1,4   1-4 Btn,
  remote           HM-RC-4-B                003B config                         1,4   1-4 Btn,
  remote           HM-RC-8                  00DA config,wakeup,lazyConf         1,4   1-8 Btn,
  remote           HM-RC-Dis-H-x-EU         00E1 config,wakeup,lazyConf         1,4   1-20 Btn,
  remote           HM-RC-KEY3               001D config                         1,4   1-3 Btn,
  remote           HM-RC-KEY3-B             001E config                         1,4   1-3 Btn,
  remote           HM-RC-Key4-2             00A6 config,lazyConf                1,4   1 unlock, 2 lock, 3 light, 4 open,
  remote           HM-RC-Key4-3             00D6 config,lazyConf                1,4   1 unlock, 2 lock, 3 light, 4 open,
  remote           HM-RC-P1                 001A config                         1,4
  remote           HM-RC-SEC3               001B config                         1,4   1-3 Btn,
  remote           HM-RC-SEC3-B             001C config                         1,4   1-3 Btn,
  remote           HM-RC-Sec4-2             00A5 config,lazyConf                1,4   1 armInt, 2 armExt, 3 light, 4 disarm,
  remote           HM-RC-Sec4-3             00D5 config,lazyConf                1,4   1 armInt, 2 armExt, 3 light, 4 disarm,
  remote           ROTO_ZEL-STG-RM-HS-4     0080 config                         1,4
  remote           Schueco_263-155          008E config                         1,4
  repeater         HM-Sys-sRP-Pl            0076 normal                         ,2
  rgb              HM-LC-RGBW-WM            00F4 normal                         1,3   1 Dim, 2 Color, 3 Auto,
  senBright        HM-Sen-LI-O              00FD config,wakeup            00:10 1
  sensor           HM-SEN-EP                0044 config,wakeup                  1,4   1-2 Sen,
  sensor           HM-Sen-Wa-Od             009F config,wakeup            28:00 1,4
  sensRain         HM-Sen-RD-O              00A7 normal                         1,1   1 Rain, 2 Heating,
  singleButton     DORMA_BRC-H              0065 config                         1,3   1-4 Btn,
  siren            HM-Sec-Sir-WM            00F9 config,burst                   1,3   1-2 Sen, 3 Panic, 4 Arm,
  smokeDetector    HM-CC-SCD                0056 config,wakeup            28:00 1,4
  smokeDetector    HM-SEC-SD                0042 burst                    99:00
  smokeDetector    HM-SEC-SD-2              00AA config,3Burst            99:00
  smokeDetector    Schueco_263-160          0084 config,wakeup                  1,4
  smokeDetector    Schueco_263-167          0091 burst                    99:00
  swi              HM-SWI-3-FM              0046 config                         4     1-3 Sw,
  swi              Roto_ZEL-STG-RM-FSS-UP3  0083 config                         4
  switch           HM-Dis-TD-T              0078 burst                          3
  switch           HM-LC-DDC1-PCB           004E normal                         1,3
  switch           HM-LC-SW1-BA-PCB         006C burst                          1,3
  switch           HM-LC-Sw1-DR             00F0 normal                         1,3
  switch           HM-LC-SW1-FM             0004 normal                         1,3
  switch           HM-LC-Sw1-FM-2           00CA normal                         1,3
  switch           HM-LC-SW1-PB-FM          0051 normal                         3
  switch           HM-LC-Sw1PBU-FM          0069 normal                         1,3
  switch           HM-LC-Sw1-PCB            0103 normal                         1,3   1-4 Sw,
  switch           HM-LC-SW1-PL             0011 normal                         1,3
  switch           HM-LC-SW1-PL2            00A1 normal                         1,3
  switch           HM-LC-Sw1-Pl-3           00C8 normal                         1,3
  switch           HM-LC-Sw1-Pl-CT-R1       00EB normal                         1,3
  switch           HM-LC-Sw1-Pl-CT-R2       00EC normal                         1,3
  switch           HM-LC-Sw1-Pl-CT-R3       00ED normal                         1,3
  switch           HM-LC-Sw1-Pl-CT-R4       00EE normal                         1,3
  switch           HM-LC-Sw1-Pl-CT-R5       00EF normal                         1,3
  switch           HM-LC-Sw1-Pl-DN-R1       00D8 normal                         1,3
  switch           HM-LC-Sw1-Pl-DN-R2       00E6 normal                         1,3
  switch           HM-LC-Sw1-Pl-DN-R3       00E7 normal                         1,3
  switch           HM-LC-Sw1-Pl-DN-R4       00E8 normal                         1,3
  switch           HM-LC-Sw1-Pl-DN-R5       00E9 normal                         1,3
  switch           HM-LC-SW1-PL-OM54        0001 normal                         1,3
  switch           HM-LC-SW1-SM             0002 normal                         1,3
  switch           HM-LC-Sw1-SM-2           00C9 normal                         1,3
  switch           HM-LC-SW1-SM-ATMEGA168   0014 normal                         3
  switch           HM-LC-SW2-DR             0062 normal                         1,3   1-2 Sw,
  switch           HM-LC-Sw2-DR-2           00CC normal                         1,3   1-2 Sw,
  switch           HM-LC-SW2-FM             0009 normal                         1,3   1-2 Sw,
  switch           HM-LC-Sw2-FM-2           00CB normal                         1,3   1-2 Sw,
  switch           HM-LC-SW2-PB-FM          0052 normal                         3     1-2 Sw,
  switch           HM-LC-Sw2PBU-FM          0101 normal                         1,3   1-2 Sw,
  switch           HM-LC-SW2-SM             000A normal                         1,3   1-2 Sw,
  switch           HM-LC-SW4-BA-PCB         00AB burst                          1,3   1-4 Sw,
  switch           HM-LC-SW4-DR             0061 normal                         1,3   1-4 Sw,
  switch           HM-LC-Sw4-DR-2           00D0 normal                         1,3   1-4 Sw,
  switch           HM-LC-SW4-PCB            002D normal                         1,3   1-4 Sw,
  switch           HM-LC-Sw4-PCB-2          00CE normal                         1,3   1-4 Sw,
  switch           HM-LC-SW4-SM             0003 normal                         1,3   1-4 Sw,
  switch           HM-LC-Sw4-SM-2           00CD normal                         1,3   1-4 Sw,
  switch           HM-LC-SW4-SM-ATMEGA168   0015 normal                         1,3   1-4 Sw,
  switch           HM-LC-SW4-WM             0066 normal                         1,3   1-4 Sw,
  switch           HM-LC-Sw4-WM-2           00CF normal                         1,3   1-4 Sw,
  switch           HM-MOD-Re-8              00BE burst                          1,3   1-8 Sw,
  switch           HM-SEC-SFA-SM            0050 normal                         1,3   1 Siren, 2 Flash,
  switch           PS-switch                8001 normal                         1,3   1-4 Sw,
  switch           ROTO_ZEL-STG-RM-FZS      007C normal                         1,3
  switch           ROTO_ZEL-STG-RM-FZS-2    00A2 normal                         1,3
  switch           Schueco_263-130          008B normal                         1,3
  switch           Schueco_263-131          008C normal                         1,3
  switch           Schueco_263-144          0092 config                         1,3
  thermostat       HM-CC-RT-DN              0095 config,wakeup,burstCond  00:10 1.2p.4p.5p.6p,3p.6p,1,3p.4 1 Weather, 2 Climate, 3 WindowRec, 4 Clima, 5 ClimaTeam, 6 remote,
  thermostat       HM-CC-RT-DN-BoM          00BD config,wakeup,burstCond  00:10 1.2p.4p.5p.6p,3p.6p,1,3p.4 1 Weather, 2 Climate, 3 WindowRec, 4 Clima, 5 ClimaTeam, 6 remote,
  thermostat       HM-CC-TC                 0039 config,wakeup,burstCond  00:10 2,2.3p,2 1 Weather, 2 Climate, 3 WindowRec,
  thermostat       HM-CC-VD                 003A config,wakeup            28:00 ,5
  thermostat       HM-TC-IT-WM-W-EU         00AD config,burst             00:10 1.2p.6p.7p,3p.6p,1,2.3p.7p,2,2 1 Weather, 2 Climate, 3 WindowRec, 6 remote, 7 SwitchTr,
  thermostat       ROTO_ZEL-STG-RM-FSA      007A config,wakeup            28:00 ,5
  thermostat       ROTO_ZEL-STG-RM-FWT      0079 config,wakeup,burstCond  00:10 2,2.3p,2 1 Weather, 2 Climate, 3 WindowRec,
  threeStateSensor HM-SCI-3-FM              005F config,wakeup            28:00 1,4   1-3 Sw,
  threeStateSensor HM-SEC-RHS               0030 config                   28:00 1,4
  threeStateSensor HM-SEC-RHS-2             00C3 config,wakeup            28:00 1,4
  threeStateSensor HM-SEC-SC                002F config                   28:00 1,4
  threeStateSensor HM-SEC-SC-2              00B1 config,wakeup,lazyConf   28:00 1,4
  threeStateSensor HM-SEC-SCo               00C7 config,wakeup,lazyConf   00:50 1,4
  threeStateSensor HM-SEC-TIS               0043 config,wakeup            28:00 1,4
  threeStateSensor HM-SEC-WDS               0045 config,wakeup            28:00 1,4
  threeStateSensor HM-SEC-WDS-2             00B2 config,wakeup            28:00 1,4
  threeStateSensor ROTO_ZEL-STG-RM-FDK      0081 config,wakeup            28:00 1,4
  threeStateSensor Roto_ZEL-STG-RM-FFK      0082 config,wakeup            28:00 1,4
  THSensor         ASH550                   000D config,wakeup,burstCond  00:10
  THSensor         ASH550I                  000E config,wakeup,burstCond  00:10
  THSensor         HM-WDC7000               0041 normal                   00:10 1,4
  THSensor         HM-WDS100-C6-O           0040 config,wakeup            00:10 ,1,1p
  THSensor         HM-WDS100-C6-O-2         00AE config,wakeup,burst      00:10 4
  THSensor         HM-WDS10-TH-O            003D config,burstCond,wakeup  00:10
  THSensor         HM-WDS20-TH-O            003C config,burstCond         00:10
  THSensor         HM-WDS30-OT2-SM          00A8 config,wakeup,burstCond  12:00       1 T1, 2 T2, 3 T1_T2, 4 T2_T1, 5 Event,
  THSensor         HM-WDS30-OT2-SM-2        0102 config,wakeup,burstCond  12:00       1 T1, 2 T2, 3 T1_T2, 4 T2_T1, 5 Event,
  THSensor         HM-WDS30-T-O             003E config,wakeup            00:10
  THSensor         HM-WDS40-TH-I            003F config,burstCond         00:10
  THSensor         HM-WDS40-TH-I-2          00BC config,burstCond         00:10
  THSensor         HM-WS550                 000B normal
  THSensor         HM-WS550LCB              0031 normal
  THSensor         HM-WS550LCW              0032 normal
  THSensor         HM-WS550Tech             002B normal
  THSensor         IS-WDS-TH-OD-S-R3        0048 config,wakeup,burstCond  00:10
  THSensor         KS550                    0007 config,wakeup            00:10 ,1,1p
  THSensor         KS550LC                  0033 config,wakeup            00:10 ,1,1p
  THSensor         KS550TECH                002C config,wakeup            00:10 ,1,1p
  THSensor         KS888                    001F config,wakeup            00:10 ,1,1p
  THSensor         PS-Th-Sens               8002 normal                         1,4   1-4 Sen,
  THSensor         S550IA                   000F config,wakeup            00:10
  THSensor         Schueco_263-157          0094 config,wakeup            00:10
  THSensor         Schueco_263-158          0093 config,wakeup,burstCond  00:10
  timer            SensoTimer-ST-6          00F3 config,burst                   1,5.6p.7p.8p.9p 1-2 Sw, 3-4 Sen, 5-7 Key, 8-9 ecoKey,
  tipTronic        Schueco_263-xxx          009B config,wakeup            28:00 1.2,1.3p 1 act, 2 sen, 3 sec,
  virtual          CCU-FHEM                 FFF0 normal                               1-50 Btn,
  winMatic         HM-SEC-WIN               0028 burst                          1,1   1 Win, 2 Akku,
                   WS888                    0022 normal                         1,3
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

papa

Fast. Ich brauche den Zahlenwert für die Subtypes.

remote == 0x40
THSensor == 0x70
dimmer ==
switch ==
usw.

Scheinbar reagiert die CCU nur, wenn der Subtype stimmt.
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

papa

Habe gerade das HM-RC-4 Example aktualisiert. Es reicht jetzt, die Buttons einfach gegen Masse zu schalten. Die Verbindung zum Pin3 mit Dioden ist nicht mehr nötig.

Außerdem unterstützt der Switch jetzt auch das SensorEvent. Habe ich allerdings noch nicht richtig getestet.
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

Dietmar63

#85
Die 70 habe ich hier gefunden:
die 40 für remote findet sich auch dort.

fhem,
10_CUL_HM.pm


HMConfig.pm:


#my %culHmDevProps=(
#  "01" => { st => "AlarmControl",
#  "10" => { st => "switch",
#  "12" => { st => "outputUnit",
#  "20" => { st => "dimmer",
#  "30" => { st => "blindActuator",
#  "39" => { st => "ClimateControl",
#  "40" => { st => "remote",
#  "41" => { st => "sensor",
#  "42" => { st => "swi",
#  "43" => { st => "pushButton",
#  "44" => { st => "singleButton",
#  "51" => { st => "powerMeter",
#  "58" => { st => "thermostat",
#  "60" => { st => "KFM100",
#  "70" => { st => "THSensor",
#  "80" => { st => "threeStateSensor"
#  "81" => { st => "motionDetector",
#  "C0" => { st => "keyMatic",
#  "C1" => { st => "winMatic",
#  "C3" => { st => "tipTronic",
#  "CD" => { st => "smokeDetector",
#);
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

Dietmar63

Zitat von: papa am 02 November 2016, 09:11:52
Möglicherweise eine Anpassung in FHEM an den Universalsensor, der zu Begin noch kein eigenes Device implementiert hatte.

stimmt:
http://www.fhemwiki.de/wiki/Universalsensor
Zitat
Inbetriebnahme:

    Das FHEM-Modul für den Sensor muss installiert werden. Dazu folgenden Befehl in das Fhem-Befehlsfeld eingeben:
    update HMConfig_SenTHPL.pm https://raw.githubusercontent.com/kc-GitHub/Wettersensor/master/Contrib/control-fhem.txt
    Anschließend muss FHEM neu gestartet werden: shutdown restart
    Batterien in den Sensor einlegen
    CUL in den Pairingmodus schalten

dann wird dies alles gesendet:
hm->sendPeerWEATHER(regCnl, tTemp, tHum, tPres, tLux);
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

papa

Zitat von: Dietmar63 am 03 November 2016, 23:42:20
Die 70 habe ich hier gefunden:
die 40 für remote findet sich auch dort.

Ja - genau das habe ich gesucht.
BananaPi + CUL868 + CUL433 + HM-UART + 1Wire

Dietmar63

die HMConfig.pm ist eine Fundgrube mit sehr vielen Dingen, die man über HM wissen muss.
Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm

lech

#89
ZitatEs reicht jetzt, die Buttons einfach gegen Masse zu schalten. Die Verbindung zum Pin3 mit Dioden ist nicht mehr nötig.
Ich habe jetzt nochmal alle Libs neu eingebunden und neu kompiliert, aber bei meiner Platine (Arduino Pro Mini 3.3V 8Mhz + CC1101) geht A0 gegen Masse noch nicht. Auch Serial bleibt stumm, keine Reaktion. Was könnte ich denn falsch machen... ???
Kann das sein, dass es mit dem Pin 3 zusammenhängt? Den der ist bei mir über einen Widerstand zur Masse gezogen (Steuerung eines Mosfets).
Welche Hardware habt ihr?