Homematic Wired Homebrew Rollladenaktor

Begonnen von aperoap, 08 Dezember 2017, 12:30:09

Vorheriges Thema - Nächstes Thema

Thorsten Pferdekaemper

Zitat von: aperoap am 09 Dezember 2017, 15:49:30soll das irgendwo vermerkt werden für die anderen?
Das ganze müsste mal auf die neuen Libs umgebaut werden und es müsste mal wieder jemand aktiv pflegen. Es scheint, dass Markus kein Interesse bzw. keine Zeit mehr hat.
Ich habe zumindest mal einen Link auf diesen Thread in die Tabelle im fhemwiki aufgenommen.
Gruß,
   Thorsten
FUIP

aperoap

Hi, das freut mich sehr, dass es dir besser geht.

Ich habe jetzt ein anderes problem. Meine Adresse Karte wo ich die Test mit Arduino gemacht habe ist kaputt gegangen. Ich habe auf eine neue Adresse Karte fhem neu installiert, (auf Raspberry Pi)  und nach https://wiki.fhem.de/wiki/HomeMatic_Wired installiert wie davor auch.

Ich bekomme egal was ich machen, kein Gerät mehr erkannt.

Habe ich irgendwas übersehen oder vergessen???

Sollte ich bei der Installation was wichtiges beachten?

Gruß
Arthur

Thorsten Pferdekaemper

Hi,
was ist denn eine "Adresse Karte"?
Gruß,
   Thorsten
FUIP

aperoap

hi, ist jetzt folgende Version


Latest Revision: 15581

File                     Rev   Last Change

fhem.pl                  15564 2017-12-07 10:48:50Z rudolfkoenig
98_autocreate.pm         15377 2017-11-01 16:59:23Z rudolfkoenig
91_eventTypes.pm         14888 2017-08-13 12:07:12Z rudolfkoenig
01_FHEMWEB.pm            15555 2017-12-04 20:37:15Z rudolfkoenig
92_FileLog.pm            15548 2017-12-03 20:01:46Z rudolfkoenig
10_HM485.pm                811 2017-11-15 14:00:00Z ThorstenPferdekaemper
No Id found for 00_HM485_LAN.pm
No Id found for hmw_io12_sw14_dr.pm
No Id found for hmw_io12_sw7_dr.pm
No Id found for hmw_io12_sw7_dr_V3_02.pm
No Id found for hmw_io_12_fm.pm
No Id found for hmw_sen_sc_12_dr.pm
91_notify.pm             15537 2017-12-01 21:01:39Z rudolfkoenig
99_SUNRISE_EL.pm         15572 2017-12-08 22:18:13Z rudolfkoenig
98_telnet.pm             15006 2017-09-05 09:37:33Z rudolfkoenig
99_Utils.pm              13259 2017-01-28 17:39:39Z rudolfkoenig
98_version.pm            15140 2017-09-26 09:20:09Z markusbloch

No Id found for ConfigurationManager.pm
No Id found for Constants.pm
No Id found for Device.pm
DevIo.pm                 14933 2017-08-20 14:21:58Z rudolfkoenig
No Id found for hbw_lc_bl4.pm
No Id found for hbw_lc_sw8.pm
No Id found for hmw_central.pm
No Id found for hmw_generic.pm
No Id found for hmw_io_4_fm.pm
No Id found for hmw_io_4_fm_V3_02.pm
No Id found for hmw_io_sr_fm.pm
No Id found for hmw_lc_bl1_dr.pm
No Id found for hmw_lc_bl1_dr_V3_02.pm
No Id found for hmw_lc_dim1l_dr.pm
No Id found for hmw_lc_sw2_dr.pm
No Id found for hmw_lc_sw2_dr_V3_02.pm
HttpUtils.pm             15569 2017-12-08 21:37:14Z rudolfkoenig
No Id found for PeeringManager.pm
RTypes.pm                10476 2016-01-12 21:03:33Z borisneubert
SetExtensions.pm         12935 2017-01-02 19:51:46Z rudolfkoenig
TcpServerUtils.pm        14862 2017-08-07 15:16:03Z rudolfkoenig
No Id found for Util.pm


benutze DIGITUS DA-70157

wenn ich FHEM neu starte wird das gerät nicht automatisch erkannt.

drucke ich auf reset taste auf Arduino, passiert folgende:
2017.12.11 16:52:30 5: hm485: Dispatch: FD1B0065FFFFFFFFF84200000341008300030648425737323936323539
2017.12.11 16:52:30 5: hm485: dispatch �\e\000e�����B\000\000\003A\000�\000\003\006HBW7296259
2017.12.11 16:52:30 3: HM485: HM485: Converting device files
2017.12.11 16:52:30 3: HM485: ==============================
2017.12.11 16:52:30 3: HM485: hbw_lc_bl4.xml up to date
2017.12.11 16:52:30 3: HM485: hbw_lc_sw8.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_central.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_generic.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_io12_sw14_dr.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_io12_sw7_dr.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_io12_sw7_dr_V3_02.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_io_12_fm.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_io_4_fm.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_io_4_fm_V3_02.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_io_sr_fm.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_lc_bl1_dr.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_lc_bl1_dr_V3_02.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_lc_dim1l_dr.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_lc_sw2_dr.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_lc_sw2_dr_V3_02.xml up to date
2017.12.11 16:52:30 3: HM485: hmw_sen_sc_12_dr.xml up to date
2017.12.11 16:52:30 3: HM485: Loading available device files
2017.12.11 16:52:30 3: HM485: ==============================
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hbw_lc_bl4.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hbw_lc_sw8.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_central.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_generic.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io12_sw14_dr.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io12_sw7_dr.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io12_sw7_dr_V3_02.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io_12_fm.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io_4_fm.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io_4_fm_V3_02.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_io_sr_fm.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_bl1_dr.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_bl1_dr_V3_02.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_dim1l_dr.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_sw2_dr.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_lc_sw2_dr_V3_02.pm
2017.12.11 16:52:30 3: HM485: Loading device file: ./FHEM/lib/HM485/Devices/hmw_sen_sc_12_dr.pm
2017.12.11 16:52:30 5: hm485: HM485_Parse: MsgId: 0
2017.12.11 16:52:30 5: hm485: HM485_Parse: ProcessEvent
2017.12.11 16:52:30 5: hm485: HM485_ProcessEvent: hmwId = 42000003 msgData = 41008300030648425737323936323539
2017.12.11 16:52:30 4: hm485: Device 42000003 not defined yet. We need the type for autocreate
2017.12.11 16:52:30 5: hm485: HM485_QueueCommand68
2017.12.11 16:52:30 5: hm485: HM485_QueueStart: Num: 0
2017.12.11 16:52:30 5: hm485: HM485_QueueProcessStep: HASH(0x25ae3f0)
2017.12.11 16:52:30 5: hm485: HM485_LAN_Write TX: 7
2017.12.11 16:52:30 5: hm485: HM485_LAN_SendQueueNextItem: QID: 00000001
2017.12.11 16:52:30 5: SW: fd0d0753c842000003980000000168
2017.12.11 16:52:30 4: hm485: hm485: TX: (7) I[0](0,Y,F,B)(98) 00000001 -> 42000003 [3] 68(h)
2017.12.11 16:52:30 5: hm485: HM485_QueueSetRequestId start
2017.12.11 16:52:30 5: hm485: HM485_QueueSetRequestId: Id: 7
2017.12.11 16:52:31 5: hm485: HM485_LAN_parseIncommingCommand: MsgId: 7 Cmd: 97
2017.12.11 16:52:31 5: hm485: HM485_LAN_parseIncommingCommand: Alive: (7) 3439 AliveStatus: 34
2017.12.11 16:52:31 5: hm485: HM485_LAN_DispatchNack: Start
2017.12.11 16:52:31 3: hm485: NACK: (7) 42000003


welches infos werden noch benötigt?

Gruß
Arthur

Thorsten Pferdekaemper

Hi,
starte mal FHEM und warte eine Minute. Drücke dann die Reset-Taste am Arduino.
Falls das nicht hilft, dann hätte ich gerne erstmal ein "list hm485".
Gruß,
   Thorsten
FUIP

aperoap

hab neugestartet gewartet bis HM485 open ist und hab auf reset gedruckt, wieder das gleiche Ergebnis :(

anbei liste von hm485


Internals:
   DEF        localhost:2000
   DeviceName localhost:2000
   FD         14
   HM485d_CommandLine ./FHEM/lib/HM485/HM485d/HM485d.pl --hmwId 00000001 --serialNumber SGW0123456 --device /dev/ttyUSB0 --localPort 2000
   HM485d_PID   460
   HM485d_STATE started
   InterfaceType HMW-SOFT-GW
   LASTInputDev hm485
   Last_Sent_RAW_CMD 42000003 98 00000001 68
   Last_Sent_RAW_CMD_State NACK
   MSGCNT     2
   NAME       hm485
   NR         22
   PARTIAL   
   ProtokolVersion 01
   STATE      opened
   SerialNumber SGW0123456
   TYPE       HM485_LAN
   Version    0.2.2
   currentQueueId 0
   hm485_MSGCNT 2
   hm485_TIME 2017-12-11 17:19:19
   hmwId      00000001
   msgCounter 10
   queueId    1
   queueRunning 0
   READINGS:
     2017-12-11 17:18:42   state           opened
   ctrl:
     42000003   98
   keepalive:
     ok         1
     retry      0
   sendQueue:
Attributes:
   HM485d_bind 1
   HM485d_device /dev/ttyUSB0
   hmwId      00000001
   verbose    5


Gruß
Arthur

Thorsten Pferdekaemper

Tja, da weiß ich jetzt auch erstmal nicht weiter.
Kannst Du nochmal erklären, was Du genau ausgetauscht hast?
Gruß,
    Thorsten
FUIP

aperoap

neue sd Karte, Debian auf Raspberry pi, FHEM Installiert, und dann hm485 installiert nachhttps://wiki.fhem.de/wiki/HomeMatic_Wired#Installation_und_Upgrade_in_FHEM
und das hat nicht mehr funktiniert. ich habe mehrmals neu installiert, es funktioniert einfach nicht mehr.

hast du vielleicht ein backup img für raspberry pi, was funktioniert?

ich werde gleich noch mal alles neu machen. worauf soll ich genau achten nach deine Meinung?

Gruß
Arthur

aperoap

ist das möglich das gerät manuell anzubinden?
Gruß
Arthur

aperoap

Hi Thorsten,

das problem lag an DIGITUS DA-70157, als er das original Homematic Gerät auch nicht erkannt hat. Habe ich ein anderes genommen und siehe Mal da, es funktioniert. Ich habe vorgestern einen wiz108sr bestellt. Werde es heute ausprobieren nach der Arbeit.

Gruß
Arthur


Thorsten Pferdekaemper

FUIP

loetmeister

Hallo,

da dieser Thread im HomeMatic_Wired Wiki verlinkt ist, ein Hinweiß auf die aktualisierte Software für den 4-Fach Rolladenaktor
https://github.com/loetmeister/HBWired/tree/master/HBW-LC-BL-4

Das ganze ist die Software von Markus, portiert auf die aktuelle lib von Thorsten + peering und ein paar kleine Änderungen...  :D
HMW_DEVICETYPE 0x82
Direktes Peering möglich. (open: 100%, close: 0%, toggle/stop & stop)
Getestet auf einem Arduino NANO.

Gruß,
Thomas

Thorsten Pferdekaemper

Hi,
danke für den Hinweis. Ich habe auch Deinen Pull-Request bekommen. Ich werde mir das mal im Einzelnen anschauen. Das Ding ist allerdings recht groß, da kann es etwas dauern.
Gruß,
    Thorsten
FUIP

Thorsten Pferdekaemper

Zitat von: loetmeister am 06 März 2018, 19:00:36
da dieser Thread im HomeMatic_Wired Wiki verlinkt ist, ein Hinweiß auf die aktualisierte Software für den 4-Fach Rolladenaktor
https://github.com/loetmeister/HBWired/tree/master/HBW-LC-BL-4
Ich habe Dir in dem anderen Thread bereits zum Pull-Request geantwortet.
Das Wiki können wir ja dann auf den neusten Stand bringen, wenn es in meinem Repo ist. Ich denke, dass es besser ist, wenn wir alles an einem Ort haben.
(Ich gehe mal davon aus, dass wir uns einigen können, siehe den anderen Thread...)
Gruß,
   Thorsten
FUIP

Fhemmichl

Hallo,

würde gerne den HBW_LC_Bl_4 Rolladenaktor mit jeweils 2 externen Tastern pro Channel, also für Hoch/Stop und Runter/Stop betreiben.
Leider weiss ich nicht wie ich das machen soll, vielleicht kann mir jemand helfen.

Das Problem ist, dass es mir nicht möglich ist 2 Taster vom HBW_Sen_Key_12 auf einen Channel des HBW_LC_Bl_4 zu peeren.
Bzw das peeren ist möglich aber einer der 2 Taster funktioniert dann nach dem peeren nicht.

Ausserdem wird mir beim Reading des HBW_LC_Bl_4 keine Änderung bei "direction" und bei "working" angezeigt.
Somit kann ich auch kein doif oder notify erstellen, da ich nicht weiss ob der Rolladen gerade fährt oder steht.

Kann mich jemand unterstützen?



Hier mal ein Auszug meines HBW_LC_Bl_4


Internals:
   DEF        42000003
   FailedConfigReads 0
   IODev      hm485
   NAME       HBW_LC_Bl_4_HBW7296259
   NR         178
   RawDeviceType 130
   RawFwVersion 40
   STATE      ACK
   TYPE       HM485
   channel_01 HBW_LC_Bl_4_HBW7296259_01
   channel_02 HBW_LC_Bl_4_HBW7296259_02
   channel_03 HBW_LC_Bl_4_HBW7296259_03
   channel_04 HBW_LC_Bl_4_HBW7296259_04
   peer_sen_0 channel_01 ← HBW_Sen_Key_12_HBW7296258_01
   peer_sen_1 channel_01 ← HBW_Sen_Key_12_HBW7296258_02
   READINGS:
     2018-11-24 21   D-deviceKey     HBW_LC_BL_4
     2018-11-24 21   D-fwVersion     0.4
     2018-11-24 21   D-serialNr      HBW7296259
     2018-11-24 21   R-central_address 00000001
     2018-11-24 21   R-logging_time  2.00
     2018-11-24 21   configStatus    OK
     2018-11-24 11   state           ACK
   cache:
     sets       Unknown argument ?, choose one of  config getConfig raw reset 
     01:
       allowedSets level on off up down stop inhibit install_test
       sets       Unknown argument ?, choose one of  config down inhibit install_test level off on peer href='/fhem?detail=HBW_Sen_Key_12_HBW7296258_03'>HBW_Sen_Key_12_HBW7296258_03,HBW_Sen_Key_12_HBW7296258_04,HBW_Sen_Key_12_HBW7296258_05,HBW_Sen_Key_12_HBW7296258_06,HBW_Sen_Key_12_HBW7296258_07,HBW_Sen_Key_12_HBW7296258_08,HBW_Sen_Key_12_HBW7296258_09,HBW_Sen_Key_12_HBW7296258_10,HBW_Sen_Key_12_HBW7296258_11,HBW_Sen_Key_12_HBW7296258_12 peeringdetails stop unpeer href='/fhem?detail=HBW_Sen_Key_12_HBW7296258_01'>HBW_Sen_Key_12_HBW7296258_01,HBW_Sen_Key_12_HBW7296258_02 up  on-till-overnight blink intervals off-till off-till-overnight on-for-timer off-for-timer on-till
       peeredChannels:
         HBW_Sen_Key_12_HBW7296258_01
         HBW_Sen_Key_12_HBW7296258_02
     02:
       allowedSets level on off up down stop inhibit install_test
       sets       Unknown argument ?, choose one of  config down inhibit install_test level off on peer href='/fhem?detail=HBW_Sen_Key_12_HBW7296258_01'>HBW_Sen_Key_12_HBW7296258_01,HBW_Sen_Key_12_HBW7296258_02,HBW_Sen_Key_12_HBW7296258_03,HBW_Sen_Key_12_HBW7296258_04,HBW_Sen_Key_12_HBW7296258_05,HBW_Sen_Key_12_HBW7296258_06,HBW_Sen_Key_12_HBW7296258_07,HBW_Sen_Key_12_HBW7296258_08,HBW_Sen_Key_12_HBW7296258_09,HBW_Sen_Key_12_HBW7296258_10,HBW_Sen_Key_12_HBW7296258_11,HBW_Sen_Key_12_HBW7296258_12 stop up  off-till-overnight off-till off-for-timer on-for-timer on-till blink intervals on-till-overnight
       peeredChannels:
     03:
       allowedSets level on off up down stop inhibit install_test
       sets       Unknown argument ?, choose one of  config down inhibit install_test level off on peer href='/fhem?detail=HBW_Sen_Key_12_HBW7296258_01'>HBW_Sen_Key_12_HBW7296258_01,HBW_Sen_Key_12_HBW7296258_02,HBW_Sen_Key_12_HBW7296258_03,HBW_Sen_Key_12_HBW7296258_04,HBW_Sen_Key_12_HBW7296258_05,HBW_Sen_Key_12_HBW7296258_06,HBW_Sen_Key_12_HBW7296258_07,HBW_Sen_Key_12_HBW7296258_08,HBW_Sen_Key_12_HBW7296258_09,HBW_Sen_Key_12_HBW7296258_10,HBW_Sen_Key_12_HBW7296258_11,HBW_Sen_Key_12_HBW7296258_12 stop up  off-till off-till-overnight on-till off-for-timer on-for-timer blink intervals on-till-overnight
       peeredChannels:
     04:
       allowedSets level on off up down stop inhibit install_test
       sets       Unknown argument ?, choose one of  config down inhibit install_test level off on peer href='/fhem?detail=HBW_Sen_Key_12_HBW7296258_01'>HBW_Sen_Key_12_HBW7296258_01,HBW_Sen_Key_12_HBW7296258_02,HBW_Sen_Key_12_HBW7296258_03,HBW_Sen_Key_12_HBW7296258_04,HBW_Sen_Key_12_HBW7296258_05,HBW_Sen_Key_12_HBW7296258_06,HBW_Sen_Key_12_HBW7296258_07,HBW_Sen_Key_12_HBW7296258_08,HBW_Sen_Key_12_HBW7296258_09,HBW_Sen_Key_12_HBW7296258_10,HBW_Sen_Key_12_HBW7296258_11,HBW_Sen_Key_12_HBW7296258_12 stop up  off-for-timer on-for-timer on-till off-till off-till-overnight blink intervals on-till-overnight
       peeredChannels:
     linkParams:
       actuator:
       sensor:
         address_start 38
         address_step 9
         channel_param channel
         channels   01 02 03 04
         count      32
         peer_param sensor
         type       link
         parameter:
           HASH(0x22b4cd8)
           HASH(0x22b4a08)
           HASH(0x22b47f8)
           HASH(0x22b0e60)
           HASH(0x22b0c08)
           HASH(0x22b07b8)
           HASH(0x22b0560)
     peers:
       actuators:
       sensors:
         0:
           channel    01
           sensor     42000002_01
         1:
           channel    01
           sensor     42000002_02
Attributes:
   IODev      hm485
   room       HM485