Problem nach Update mit Wired

Begonnen von rud0815, 14 November 2017, 18:42:29

Vorheriges Thema - Nächstes Thema

Thorsten Pferdekaemper

Hi,
ich habe das Gefühl, Du hast immer noch eine alte Version.
Ich hätte auch noch gerne die Ausgabe von "update list" und "version".

"set ... getConfig": siehe Anhang.

Gruß,
   Thorsten
FUIP

Thorsten Pferdekaemper

Zitat von: rud0815 am 14 November 2017, 21:05:41
HM_Bus_1: Device 00000001 not defined yet. We need the type for autocreate
Das ist seltsam. Das sieht so aus, als ob es (außer dem IO-Device) nochmal ein Device mit HMWId 00000001 gibt. Hast Du da irgendein Eigenbau-Gerät, welches diese Adresse senden könnte?
Gruß,
   Thorsten
FUIP

rud0815

Hab ich nicht, siehe:
Zitathttps://screenshots.firefox.com/gPxFoecx7a0EYch1/192.168.2.5

Update list
Zitathttp://fhem.de/fhemupdate/controls_fhem.txt
https://raw.githubusercontent.com/kc-GitHub/FHEM-HM485/master/controls_hm485.txt

Version
ZitatLatest Revision: 15431

File                     Rev   Last Change

fhem.pl                  15377 2017-11-01 16:59:23Z rudolfkoenig
90_at.pm                 14995 2017-09-03 14:23:14Z rudolfkoenig
98_autocreate.pm         15377 2017-11-01 16:59:23Z rudolfkoenig
10_CUL_HM.pm             15422 2017-11-11 16:43:17Z martinp876
95_Dashboard.pm          12251 2016-10-03 09:45:43Z talkabout
98_dummy.pm              12700 2016-12-02 16:49:42Z rudolfkoenig
91_eventTypes.pm         14888 2017-08-13 12:07:12Z rudolfkoenig
01_FHEMWEB.pm            15328 2017-10-27 10:51:17Z rudolfkoenig
92_FileLog.pm            14888 2017-08-13 12:07:12Z rudolfkoenig
10_HM485.pm                810 2017-11-13 21:00:00Z ThorstenPferdekaemper
No Id found for 00_HM485_LAN.pm
00_HMLAN.pm              14073 2017-04-22 13:45:25Z martinp876
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             14888 2017-08-13 12:07:12Z rudolfkoenig
33_readingsGroup.pm      15100 2017-09-19 21:21:27Z justme1968
99_SUNRISE_EL.pm         14888 2017-08-13 12:07:12Z rudolfkoenig
00_TCM.pm                14876 2017-08-11 18:46:35Z klaus.schauer
98_telnet.pm             15006 2017-09-05 09:37:33Z rudolfkoenig
98_update.pm             15377 2017-11-01 16:59:23Z rudolfkoenig
99_Utils.pm              13259 2017-01-28 17:39:39Z rudolfkoenig
77_UWZ.pm                15215 2017-10-09 09:01:41Z CoolTux
98_version.pm            15140 2017-09-26 09:20:09Z markusbloch
91_watchdog.pm           14888 2017-08-13 12:07:12Z rudolfkoenig
98_weblink.pm            14888 2017-08-13 12:07:12Z rudolfkoenig

Blocking.pm              15412 2017-11-09 14:34:29Z rudolfkoenig
Color.pm                 11159 2016-03-30 16:08:06Z justme1968
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
HMConfig.pm              15337 2017-10-29 06:43:02Z martinp876
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
No Id found for hmw_virtual.pm
HttpUtils.pm             15284 2017-10-18 19:46:13Z rudolfkoenig
myUtilsTemplate.pm        7570 2015-01-14 18:31:44Z 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
No Id found for XmlConverter.pm

fhemweb.js                 15228 2017-10-10 17:34:56Z rudolfkoenig
fhemweb_readingsGroup.js   15189 2017-10-03 17:53:27Z justme1968
svg.js                     13579 2017-03-02 12:39:59Z rudolfkoenig

Wilhelm
Eine FS20/HomeMatic Anlage (gemischt) und eine HomeMatic Anlage, beide mit Raspberry Pi und FHEM

rud0815

Sollte ich so damals einrichten:
Zitat# HM485 Bus-Adapter
define HM_Bus_1 HM485_LAN 192.168.2.2:1000
attr HM_Bus_1 hmwId 00000001
attr HM_Bus_1 room Bus
attr HM_Bus_1 verbose 4
# HM485 Bus-Adapter
Ging da noch nicht automatisch.

Wilhelm
Eine FS20/HomeMatic Anlage (gemischt) und eine HomeMatic Anlage, beide mit Raspberry Pi und FHEM

Thorsten Pferdekaemper

Zitat von: rud0815 am 14 November 2017, 21:15:51
Hab ich nicht, siehe:
Das ist der Kanal, bitte mal im Device schauen.
Ansonsten sieht es ok aus.

Zitat von: rud0815 am 14 November 2017, 21:18:07
Sollte ich so damals einrichten:Ging da noch nicht automatisch.
Klar, das IO-Device hat 00000001, aber sonst nix.

Gruß,
   Thorsten
FUIP

Thorsten Pferdekaemper

Hi,
ich muss mal ein paar Minuten was ganz genau anschauen...
Gruß,
   Thorsten
FUIP

rud0815

Nein, sonst ist da nichts dran. Alles original Homematic.

Nach "set ... getConfig" im Logfile:
Zitat2017.11.14 21:24:38 4: HM_Bus_1: Event:HASH(0x35f88f8)
2017.11.14 21:24:38 4: HM_Bus_1: Device 00000001 not defined yet. We need the type for autocreate
2017.11.14 21:24:38 4: HM_Bus_1: Event:HASH(0x3780ed0)
2017.11.14 21:24:38 3: HMW_IO_12_Sw7_DR_HEQ0240663: HM485_ProcessChannelState: hmwId = 00005AC7 No Device Key
2017.11.14 21:24:39 3: HM_Bus_1: Initialisierung von Modul 00009D53

Wilhelm
Eine FS20/HomeMatic Anlage (gemischt) und eine HomeMatic Anlage, beide mit Raspberry Pi und FHEM

Thorsten Pferdekaemper

Hi,
kannst Du mal verbose im IO-Device auf 5 stellen und mir das liefern?
...danach wieder auf 3, sonst ballert's Dir das Logfile zu.
Gruß,
    Thorsten
FUIP

rud0815

Zitat2017.11.14 21:29:04 4: HM_Bus_1: Event:HASH(0x3783180)
2017.11.14 21:29:04 3: HMW_IO_12_Sw7_DR_MEQ0279324: HM485_ProcessChannelState: hmwId = 00012DCE No Device Key
2017.11.14 21:29:04 4: HM_Bus_1: Event:HASH(0x37834b0)
2017.11.14 21:29:04 3: HMW_IO_12_Sw7_DR_MEQ0279324: HM485_ProcessChannelState: hmwId = 00012DCE No Device Key
2017.11.14 21:29:04 4: HM_Bus_1: Event:HASH(0x37ec5c8)
2017.11.14 21:29:04 4: HM_Bus_1: Device 00000001 not defined yet. We need the type for autocreate
2017.11.14 21:29:04 4: HM_Bus_1: Event:HASH(0x3026ba0)
2017.11.14 21:29:04 3: HMW_IO_12_Sw7_DR_MEQ0279324: HM485_ProcessChannelState: hmwId = 00012DCE No Device Key
2017.11.14 21:29:05 4: HM_Bus_1: Event:HASH(0x37829b0)
2017.11.14 21:29:05 3: HMW_IO_12_Sw7_DR_MEQ0279324: HM485_ProcessChannelState: hmwId = 00012DCE No Device Key
2017.11.14 21:29:05 4: HM_Bus_1: Event:HASH(0x3782800)
2017.11.14 21:29:05 3: HMW_IO_12_Sw7_DR_MEQ0279324: HM485_ProcessChannelState: hmwId = 00012DCE No Device Key
2017.11.14 21:29:05 4: HM_Bus_1: Event:HASH(0x37823e0)
2017.11.14 21:29:25 5: HM_Bus_1: HM485_LAN_Write TX: 116
2017.11.14 21:29:25 5: SW: fd02744b
2017.11.14 21:29:25 5: HM_Bus_1: HM485_LAN_parseIncommingCommand: MsgId: 116 Cmd: 97
2017.11.14 21:29:25 5: HM_Bus_1: HM485_LAN_parseIncommingCommand: Alive: (116) 00 AliveStatus: 00
2017.11.14 21:29:41 5: HM_Bus_1: HM485_LAN_parseIncommingCommand: MsgId: 229 Cmd: 101
2017.11.14 21:29:41 4: HM_Bus_1: Event:HASH(0x3784a18)
2017.11.14 21:29:41 5: HM_Bus_1: Dispatch: FD0EE56500005AC77A00000001780DC8
2017.11.14 21:29:41 5: HM_Bus_1: dispatch �\016�e\000\000Z�z\000\000\000\001x\r�
2017.11.14 21:29:41 5: HM_Bus_1: HM485_Parse: MsgId: 229
2017.11.14 21:29:41 5: HM_Bus_1: HM485_Parse: ProcessEvent
2017.11.14 21:29:41 5: HM_Bus_1: HM485_ProcessEvent: hmwId = 00000001 msgData = 780DC8
2017.11.14 21:29:41 4: HM_Bus_1: Device 00000001 not defined yet. We need the type for autocreate
2017.11.14 21:29:41 5: HM_Bus_1: HM485_QueueCommand68
2017.11.14 21:29:41 5: HM_Bus_1: HM485_QueueStart: Num: 2203
2017.11.14 21:29:41 5: HM_Bus_1: HM485_LAN_parseIncommingCommand: MsgId: 230 Cmd: 101
2017.11.14 21:29:41 4: HM_Bus_1: Event:HASH(0x335e690)
2017.11.14 21:29:41 5: HM_Bus_1: Dispatch: FD0FE665000000013800005AC7690DC800
2017.11.14 21:29:41 5: HM_Bus_1: dispatch �\017�e\000\000\000\0018\000\000Z�i\r�\000
2017.11.14 21:29:41 5: HM_Bus_1: HM485_Parse: MsgId: 230
2017.11.14 21:29:41 5: HM_Bus_1: HM485_Parse: ProcessEvent
2017.11.14 21:29:41 5: HM_Bus_1: HM485_ProcessEvent: hmwId = 00005AC7 msgData = 690DC800
2017.11.14 21:29:41 3: HMW_IO_12_Sw7_DR_HEQ0240663: HM485_ProcessChannelState: hmwId = 00005AC7 No Device Key
Eine FS20/HomeMatic Anlage (gemischt) und eine HomeMatic Anlage, beide mit Raspberry Pi und FHEM

Thorsten Pferdekaemper

Hi,
das hier...

2017.11.14 21:29:41 5: HM_Bus_1: Dispatch: FD0EE56500005AC77A00000001780DC8

...bedeutet, dass die Zentrale dem Device 5AC7 sagt "schalte Kanal 14 ein". Das ist seltsam, da FHEM das empfängt und nicht sendet. D.h. da gibt es noch eine zweite Zentrale irgendwo. Hängt da noch eine CCU dran oder ein zweites FHEM oder so?
Gruß,
   Thorsten
FUIP

rud0815

Ich wüste nicht, das da noch was dran hängt, kann es evtl. ein Taster sein, der hängt?


Gruß
Wilhelm
Eine FS20/HomeMatic Anlage (gemischt) und eine HomeMatic Anlage, beide mit Raspberry Pi und FHEM

Thorsten Pferdekaemper

Das glaube ich nicht. Es ist aber wirklich extrem seltsam. Das Device 5AC7 antwortet auch noch und schaltet den Kanal tatsächlich ein. Irgendwas ist da oberfaul.
Naja, mal sehen...
Kannst Du mal in der Datei /opt/fhem/FHEM/10_HM485.pl die folgende Änderung machen:

sub HM485_CheckForAutocreate($$;$$) {
my ($ioHash, $hmwId, $requestType, $msgData) = @_;

         # ab hier einfuegen
# If something comes in with a central address, don't try to autocreate
return if(substr($hmwId,0,6) eq '000000');
# ...bis hier

my $logTxt = 'Device %s not defined yet. We need the %s for autocreate';

if ($requestType && $msgData) {

Das ganze ist etwa ab Zeile 2231.
Danach shutdown restart.
Gruß,
   Thorsten
FUIP

rud0815

Das kann ich erst morgen machen. Da komme ich heute nicht ran.
Die Anlage ist bei meinem Sohn. Was bewirkt das?
Soll die Centrale Adresse übergangen werden?

Gruß
Wilhelm
Eine FS20/HomeMatic Anlage (gemischt) und eine HomeMatic Anlage, beide mit Raspberry Pi und FHEM

Thorsten Pferdekaemper

Ja, genau. Die zentrale Adresse wird für autocreate ignoriert.
...wobei ich mich wirklich sehr stark wundere, wie das sein kann.

Was Du auch versuchen könntest, das wäre das Device anzulegen:

define myCentral HM485 00000001 HM_Bus_1

Dann gibt es ggf. weiterhin Fehlermeldungen, aber das System versucht zumindest nicht mehr, das Ding anzulegen. Das sollte ermöglichen, das es erstmal weitergeht.
Das define oben legt ein virtuelles Device mit 50 Tasten an, aber das musst Du ja nicht benutzen.
Gruß,
    Thorsten

FUIP

rud0815

Wie lege ich das an? Über die Kommandoeingabe im FHEM?

Gruß und einen schönen Abend
Wilhelm
Eine FS20/HomeMatic Anlage (gemischt) und eine HomeMatic Anlage, beide mit Raspberry Pi und FHEM