2012.12.11 23:07:43 1: Including fhem.cfg
2012.12.11 23:07:44 3: telnetPort: port 7072 opened
2012.12.11 23:07:45 3: WEB: port 8083 opened
2012.12.11 23:07:45 3: WEBphone: port 8084 opened
2012.12.11 23:07:45 3: WEBtablet: port 8085 opened
2012.12.11 23:07:46 3: Opening Lankonf1 device 192.168.1.116:1000
2012.12.11 23:07:46 3: Lankonf1 device opened
2012.12.11 23:07:46 1: Including ./log/fhem.save
2012.12.11 23:07:47 0: Server started (version Fhem 5.3 (DEVELOPMENT), $Id: fhem.pl 1996 2012-10-20 07:11:56Z rudolfkoenig $, pid 14269)
2012.12.11 23:08:11 1: HMLAN setting owner to 245202 from C7AF02
2012.12.12 00:53:41 1: 192.168.1.116:1000 disconnected, waiting to reappear
2012.12.12 00:53:46 1: 192.168.1.116:1000 reappeared (HMLAN1)
2012.12.12 04:52:25 1: 192.168.1.116:1000 disconnected, waiting to reappear
2012.12.12 04:52:31 1: 192.168.1.116:1000 reappeared (HMLAN1)
2012.12.12 08:51:33 1: 192.168.1.116:1000 disconnected, waiting to reappear
2012.12.12 08:51:38 1: 192.168.1.116:1000 reappeared (HMLAN1)
2012.12.12 12:50:41 1: 192.168.1.116:1000 disconnected, waiting to reappear
2012.12.12 12:50:46 1: 192.168.1.116:1000 reappeared (HMLAN1)
2012.12.12 16:49:48 1: 192.168.1.116:1000 disconnected, waiting to reappear
Diese Regelmäßigkeit ist schon auffällig.
Gruß
Matthias
Aeh... was macht WOL?
Also ich meine was ist der Sinn des Moduls?
Hallo Martin,
Gruß
Matthias2012.12.14 15:02:19 1: 192.168.1.116:1000 reappeared (HMLAN1) 2012.12.14 16:38:12 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.14 16:38:17 1: 192.168.1.116:1000 reappeared (HMLAN1) 2012.12.14 20:37:17 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.14 20:37:22 1: 192.168.1.116:1000 reappeared (HMLAN1) 2012.12.15 00:36:21 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.15 00:36:26 1: 192.168.1.116:1000 reappeared (HMLAN1) 2012.12.15 04:35:24 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.15 04:35:29 1: 192.168.1.116:1000 reappeared (HMLAN1) 2012.12.15 08:34:27 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.15 08:34:32 1: 192.168.1.116:1000 reappeared (HMLAN1)
2012.12.15 12:44:17 1: Including fhem.cfg 2012.12.15 12:44:18 3: telnetPort: port 7072 opened 2012.12.15 12:44:19 3: WEB: port 8083 opened 2012.12.15 12:44:19 3: WEBphone: port 8084 opened 2012.12.15 12:44:19 3: WEBtablet: port 8085 opened 2012.12.15 12:44:19 3: Opening HMLAN1 device 192.168.1.116:1000 2012.12.15 12:44:19 3: Can't connect to 192.168.1.116:1000: Connection refused 2012.12.15 12:44:20 3: Opening CUL_0 device /dev/ttyACM0 2012.12.15 12:44:21 3: Setting CUL_0 baudrate to 9600 2012.12.15 12:44:21 3: CUL_0 device opened 2012.12.15 12:44:21 3: CUL_0: Possible commands: BCFiAZEGMRTVWXefmltux 2012.12.15 12:44:21 3: No I/O device found for schalter1 2012.12.15 12:44:21 1: Including ./log/fhem.save 2012.12.15 12:44:22 1: usb create starting 2012.12.15 12:44:22 1: usb create end 2012.12.15 12:44:22 0: Server started (version Fhem 5.3 (DEVELOPMENT), $Id: fhem.pl 1996 2012-10-20 07:11:56Z rudolfkoenig $, pid 25942) 2012.12.15 13:07:46 0: Server shutdown 2012.12.15 13:07:49 1: Including fhem.cfg 2012.12.15 13:07:51 3: telnetPort: port 7072 opened 2012.12.15 13:07:51 3: WEB: port 8083 opened 2012.12.15 13:07:51 3: WEBphone: port 8084 opened 2012.12.15 13:07:51 3: WEBtablet: port 8085 opened 2012.12.15 13:07:52 3: Opening HMLAN1 device 192.168.1.116:1000 2012.12.15 13:07:52 3: Can't connect to 192.168.1.116:1000: Connection refused 2012.12.15 13:07:53 3: Opening CUL_0 device /dev/ttyACM0 2012.12.15 13:07:53 3: Setting CUL_0 baudrate to 9600 2012.12.15 13:07:53 3: CUL_0 device opened 2012.12.15 13:07:53 3: CUL_0: Possible commands: BCFiAZEGMRTVWXefmltux 2012.12.15 13:07:54 3: No I/O device found for schalter1 2012.12.15 13:07:54 1: Including ./log/fhem.save 2012.12.15 13:07:54 1: usb create starting 2012.12.15 13:07:54 1: usb create end 2012.12.15 13:07:54 0: Server started (version Fhem 5.3 (DEVELOPMENT), $Id: fhem.pl 1996 2012-10-20 07:11:56Z rudolfkoenig $, pid 26256)
Ich werde nochmal mit -3 testen...
Matthias
ich verwende WOL nicht, habe aber jetzt seit gestern mit -3 den Effekt, dass nach dem Neustart von fhem der Adapter gleich geöffnet wird und bis heute morgen geöffnet blieb.
Es scheint also bei der Anbindung eines Hm Lan cfg Adapters an die Fritzbox 7390 notwendig den WOL auf -3 zu setzen. Sieht im Moment gut aus.
attr gloval verbose 1
attr gloval mseglog 1
--
To unsubscribe from this group, send email to
fhem-users+...@googlegroups.com
ich hatte den Wert im Modul WOL auf -w 3 erhöht:
und nun scheint die Verbindung dauerhaft zu sein.
Andere Veränderungen hatte ich noch nicht vorgenommen. Ich kann aber gerne mal loggen.
2012.12.17 08:23:19 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.17 08:23:24 1: 192.168.1.116:1000 reappeared (HMLAN1) 2012.12.17 12:22:22 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.17 12:22:27 1: 192.168.1.116:1000 reappeared (HMLAN1) 2012.12.17 16:21:26 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.17 16:21:31 1: 192.168.1.116:1000 reappeared (HMLAN1)
Also ist klar - ohne WOL Nutzung bringt auch Veränderung der pingwaittime nichts.
Ich hatte mit -w 1 die gleichen disconnects.
Die regelmäßigen Abstände machen mich stutzig. Alle 4 h für 5 sec..
Ich werde also mal loggen, um zu sehen was wirklich passiert.
Gruß
Matthias
2012.12.17 19:10:07.064 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A5537D d2:0000 2012.12.17 19:10:32.100 1: HMLAN_Send: K 2012.12.17 19:10:32.104 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A5B4EB d2:0000 2012.12.17 19:10:57.116 1: HMLAN_Send: K 2012.12.17 19:10:57.124 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A61643 d2:0000 2012.12.17 19:11:22.132 1: HMLAN_Send: K 2012.12.17 19:11:22.136 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A67799 d2:0000 2012.12.17 19:11:47.152 1: HMLAN_Send: K 2012.12.17 19:11:47.156 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A6D8F3 d2:0000 2012.12.17 19:12:12.188 1: HMLAN_Send: K 2012.12.17 19:12:12.208 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A73A6B d2:0000 2012.12.17 19:12:37.228 1: HMLAN_Send: K 2012.12.17 19:12:37.232 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A79BCC d2:0000 2012.12.17 19:13:02.256 1: HMLAN_Send: K 2012.12.17 19:13:02.260 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A7FD2F d2:0000 2012.12.17 19:13:27.272 1: HMLAN_Send: K 2012.12.17 19:13:27.276 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A85E86 d2:0000 2012.12.17 19:13:52.296 1: HMLAN_Send: K 2012.12.17 19:13:52.300 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A8BFE4 d2:0000 2012.12.17 19:14:17.340 1: HMLAN_Send: K 2012.12.17 19:14:17.344 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:04A92157 d2:0000 2012.12.17 19:14:42.384 1: HMLAN_Send: K 2012.12.17 19:14:42.388 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:2452
alles gut würde ich sagen.
Also alle 25 sec. wird ein keep alive geschickt. Die Frage ist:
Wenn meine Abbrüche in den Morgenstunden kommen, wurde ien keep alive gesendet oder kam die Antwort nicht oder zu spät?
Hat den Fehler sonst niemand?
Es sind doch mit Sicherheit einige user mit der Kombi Fritzbox/HM-Lanadapter unterwegs.
Na schaun wir mal auf das log morgen früh....
Gruß
Matthias
Hat den Fehler sonst niemand?
Es sind doch mit Sicherheit einige user mit der Kombi Fritzbox/HM-Lanadapter unterwegs.
2012.12.18 12:16:37.827 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:0850FC85 d2:0000 2012.12.18 12:16:37.831 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:0850FC95 d2:0000 2012.12.18 12:17:02.819 1: HMLAN_Send: K 2012.12.18 12:17:02.831 1: HMLAN_Send: K 2012.12.18 12:17:02.843 1: HMLAN_Send: K 2012.12.18 12:17:02.847 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08515DD8 d2:0000 2012.12.18 12:17:02.847 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08515DE3 d2:0000 2012.12.18 12:17:02.859 1: HMLAN_Send: K 2012.12.18 12:17:02.863 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08515DEF d2:0000 2012.12.18 12:17:02.867 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08515DFF d2:0000 2012.12.18 12:16:34.564 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.18 17:04:47.020 1: HMLAN_Send: SAEC29A5B,00,00000000,01,AEC29A5B,06A0112452021783EE0201C80000D027 2012.12.18 17:04:49.036 1: HMLAN_Send: SAEC2A23B,00,00000000,01,AEC2A23B,06A0112452021783EE0201C80000D027 2012.12.18 17:04:50.056 1: HMLAN_Send: SAEC2A637,00,00000000,01,AEC2A637,06A0112452021783EE0201C800
Was ist das denn? Die Zeit läuft beim disconnect wieder rückwärts?
Bei mir sind im Moment die disconnects im Bereich von eigentlicher Ruhe für fhem.
Ich habe nur einen HM-LC-SW1-FM, einen AB440 über einen CUL an der Fritzbox 7390 und den besagten HMLAN im Einsatz.
Ich habe kein WOL am laufen und lediglich eine Zeitschaltuhrfunktion für die HM-LC-SW1-FM und den AB440 im System.
Zusätzlich logge ich nur die Daten von einem FHT80b und zweier FHT8 mit. Weiteres folgt erst wenn der HMLAN ohne Probleme läuft.
Ich hoffe das log hilft weiter.
Gruß
Matthias
Gruß
Matthias
2012.12.18 12:16:12.743 1: HMLAN_Send: K 2012.12.18 12:16:12.755 1: HMLAN_Send: K 2012.12.18 12:16:12.767 1: HMLAN_Send: K 2012.12.18 12:16:12.771 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08509AFF d2:0000 2012.12.18 12:16:12.771 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08509B0A d2:0000 2012.12.18 12:16:12.783 1: HMLAN_Send: K 2012.12.18 12:16:12.787 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08509B16 d2:0000 2012.12.18 12:16:12.791 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08509B26 d2:0000 2012.12.18 12:16:37.783 1: HMLAN_Send: K 2012.12.18 12:16:37.795 1: HMLAN_Send: K 2012.12.18 12:16:37.807 1: HMLAN_Send: K 2012.12.18 12:16:37.811 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:0850FC6D d2:0000 2012.12.18 12:16:37.811 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:0850FC79 d2:0000 2012.12.18 12:16:37.823 1: HMLAN_Send: K 2012.12.18 12:16:37.827 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:0850FC85 d2:0000 2012.12.18 12:16:37.831 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:0850FC95 d2:0000 2012.12.18 12:17:02.819 1: HMLAN_Send: K 2012.12.18 12:17:02.831 1: HMLAN_Send: K 2012.12.18 12:17:02.843 1: HMLAN_Send: K 2012.12.18 12:17:02.847 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08515DD8 d2:0000 2012.12.18 12:17:02.847 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08515DE3 d2:0000 2012.12.18 12:17:02.859 1: HMLAN_Send: K 2012.12.18 12:17:02.863 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08515DEF d2:0000 2012.12.18 12:17:02.867 1: HMLAN_Parse: HMLAN1 V:03C1 sNo:IEQ0245202 d:173FE7 O:245202 m:08515DFF d2:0000 2012.12.18 12:16:34.564 1: 192.168.1.116:1000 disconnected, waiting to reappear 2012.12.18 17:04:47.020 1: HMLAN_Send: SAEC29A5B,00,00000000,01,AEC29A5B,06A0112452021783EE0201C80000D027 2012.12.18 17:04:49.036 1: HMLAN_Send: SAEC2A23B,00,00000000,01,AEC2A23B,06A0112452021783EE0201C80000D027 2012.12.18 17:04:50.056 1: HMLAN_Send: SAEC2A637,00,00000000,01,AEC2A637,06A0112452021783EE0201C80000D027
Overloading the HMLAN with messages can be detected, I believe, since it echo's back what you sent it. Once it stops doing that, you know it has not sent out the command to the device. So you throttled that, which is the best solution.
One option is to reduce the wakeup time to 15 seconds so it would survive 1 failed ping, but I believe that would only solve the problem for the WOL module. There might be other modules that wait for a response from a device.
Is it not possible to run this HMLAN wakeup "outside" of the regular modules, so it is not affected by other modules?
das keep-alive kannst du in 00_HMLAN.pm aendern, line 454(etwa)
InternalTimer(gettimeofday()+25, "HMLAN_KeepAlive", "keepAlive:".$name, 1);
Die timer sind vieleicht richtig, es kann sein das die nicht im richtigen reihenfolge im log geschrieben sind. Normalerweise wen es im 200 und mehr ms geht hat mann moeglichewiese dieses problem nicht,
Die aendereung nach 15 is nur proof das ein anders modul dise probleme verursacht, es ist nicht die loesung. Design rules (<100ms) oder multithreading. ist die loesung.
Ubrichens, der HMLAN schickt seiene eigene Ack, das kansst du tun durch ein +A12345,0 wo A12345 die HM device addresse ist zum HMLAN zu schicken.
(muss mal checken ob es A12345,0 oder A12345,02,0 ist um den Ack vom HMLAN abschicken zu lassen.
Die anzahl Acks die HMAN in stock hat sieht man im antwort auf dem K, leider nicht fuer welche devices. Jedenfalls so habe Ich das interpretiert.
Ich schicke gar kein Acks ab in mein Basic program..
Die timer sind vieleicht richtig, es kann sein das die nicht im richtigen reihenfolge im log geschrieben sind. Normalerweise wen es im 200 und mehr ms geht hat mann moeglichewiese dieses problem nicht,
Die aendereung nach 15 is nur proof das ein anders modul dise probleme verursacht, es ist nicht die loesung. Design rules (<100ms) oder multithreading. ist die loesung.
Ubrichens, der HMLAN schickt seiene eigene Ack, das kansst du tun durch ein +A12345,0 wo A12345 die HM device addresse ist zum HMLAN zu schicken.
(muss mal checken ob es A12345,0 oder A12345,02,0 ist um den Ack vom HMLAN abschicken zu lassen.Die anzahl Acks die HMAN in stock hat sieht man im antwort auf dem K, leider nicht fuer welche devices. Jedenfalls so habe Ich das interpretiert.
Ich schicke gar kein Acks ab in mein Basic program..
In addition to my previous message, I initialize the HMLAN and then send
' setup ACK's for paired units
rResult = Devices.FindDevicesForInterface(36)
FOR EACH rResult
SendHMLAN("+" & rResult!address & ",00,00")
NEXTwhere rResult!address is a pull from a DB giving me the Homematic deviceaddressesAnd everytime a message has been acknowledged by the HMLAN I prepare a new ACK
IF Sdst = sHMLANid AND bAckRequested = TRUE AND sMsgtype <> "00" AND sMsgtype <> "3F" AND Left$(sSegments[0], 1) = "E" THEN
sCmd = "+" & sSrc & ",02,00,"
SendHMLAN(sCmd)
I'm dealing with the pairing request (00) and the timesync (3F) separate.
Similar to the current impelmentation in FHEM.
each device that needs to be handles is addded with
+<hmid>
There is also a command
-<hmid>
I assume those are for multi-HMLAN setups and you can use to to controll which HMLAN has to serve the rspective device.
I have seen the additional values
+<hmID>,00,00
also with different values then "00". Do you have an idea or guess about the meaning of the numbers? It was used whensetting up teh RC12from HMCONFIG
Martin
--
johank,
that is an interresting information.
The detail with +<hmID> was expected. Interresting is the 02 feature.
For TC I would say this is not necessary. It works fine without. Maybe we can improve functionallity.
But I will try this with the VD. this does not react adequate if we try to control it from FHEM.
Regarding the HMLAN status-word reply I have
0000 : message "E" type - message ok for further parsing Not seen with 'R' type
0001 : send - ack received
0002 : ?? return our own message?
0008 : no ack received
0021 :?? also something with wakeup?
0081 : => according to you this is the wakeup indication from - pending data can be transmitted by now
To control I have
+<hmId> # should be send once - then the deivce will be handled by this HLMAN adapter
-<hmId> # remote this ID fom LAN adapter - could be used if multiple adapter are in use.
+<hmId>,00,00 # I think there is no difference to the first one - seems to be default
+<hmId>,02,00 # prepare for wakeup??? have to experiment
+<hmId>,01,00,F1EF #send from HMconfig to my RC12 once a while during read - after a certain block.
Others I am not aware off
I don't agree that -hmid +hmid needs to be sent. It works fine without that.
Some similar procedure was implemented at the time I forst looked at the code. I came to the conclusion after some testing that this is not necessary. All it finally did was to add some delay to the transmission.
You have to obey that many (most?/all?) HM deviceses need an outage of ~100ms between messages. Sending faster may cause message loss. Second you have to obey wireless transmission speed of HMLAN. Sending faster then that will cause the HMLAN to disconnect. I do calculate that briefly out of the data to be transmitted. I cannot consider concestion on the air interface nor resend aktions due to missing acks.
I am not sure about the HMLAN buffer for transmit messages - but it is very short. You need to queue and delay externally.
Thanks - I will restart testing the VD with your information
--
kann es sein, dass dies auch mein Rauchmelder Problem behebt?
Oder hast du die Hoffnung bei denen schon aufgegeben? ;-)
I have to check, I believe there is also one that means "nice message, but for another HMLAN)
To control I have
+<hmId> # should be send once - then the deivce will be handled by this HLMAN adapter
the device will always be handled by this HMLAN (pairing), this makes sure it sends Acks-<hmId> # remote this ID fom LAN adapter - could be used if multiple adapter are in use.Don't think so, the messages are also used in a single HMLAN setup. Additionally, each HM device can only pair with one HMLAN adapter...at least that is what the third message in the pairing sequence tells me.
But I might be proven wrong, after all there is a dual HMLAN setup possible.
+<hmId>,00,00 # I think there is no difference to the first one - seems to be defaultI'm sending 00,00 at the init, afterwards only 00,02, and once I'm done with a device -hmid,+hmid.
Send the 00,00 message and the count at the end of the K reply will go up, not sure if the same is true for the +hmid message, might well be but in this case I copied the behaviour of the homematic software.
+<hmId>,02,00 # prepare for wakeup??? have to experiment
+<hmId>,01,00,F1EF #send from HMconfig to my RC12 once a while during read - after a certain block.
Others I am not aware off
I don't agree that -hmid +hmid needs to be sent. It works fine without that.
If you start using the 02 feature it might become necessary.
Some similar procedure was implemented at the time I forst looked at the code. I came to the conclusion after some testing that this is not necessary. All it finally did was to add some delay to the transmission.
You have to obey that many (most?/all?) HM deviceses need an outage of ~100ms between messages. Sending faster may cause message loss. Second you have to obey wireless transmission speed of HMLAN. Sending faster then that will cause the HMLAN to disconnect. I do calculate that briefly out of the data to be transmitted. I cannot consider concestion on the air interface nor resend aktions due to missing acks.
I used actually 350ms between commands. So far I only noted the length of my command queue to make sure all messages had an ACK. I also requeued failed commands to give it another try. (and kept a general counter). So not very sophisticated.
Actually I have 2 queues, a "interface queue" (emptied one message per 350 ms) and a command stack.
In the command stack oldest messages for a device are sent first. Also when resending failed commands I re-timestamp them.
I am not sure about the HMLAN buffer for transmit messages - but it is very short. You need to queue and delay externally.
I think I wrote registers, not command buffer, the command buffer/queue is in the software. HMLAN just transmits up to three times the last command, until it gets an ACK from the device.
Thanks - I will restart testing the VD with your informationIf you are brave you can try to set registers in the HMLAN, the D and Y command will probably do that, with the right code behind it :)
D1 and D2 will give some info back, again I don't know what, did not make sense to me.the B command sets the red light, an puts the HMLAN in a mode in which it seems to be waiting for something. Power off and on to regain control of the adapter :)
Good luck !
Am Donnerstag, 20. Dezember 2012 15:26:07 UTC+1 schrieb Johank:I have to check, I believe there is also one that means "nice message, but for another HMLAN)
I don't understand. messages do not destinguish between HMLAN and other HMID. So what you mean is that those message could be like monitored events between two HM devices? I will watch
I consider an environment with 2 HMLAN both having the same ID.
will see. You mentioned both 00,02 and 02,00. Is this a type?
350ms is to long I think. The window for wakeup devices is like 200ms (without 02...) Waiting 350 will certainly be too late - we tried that.
this is a deep field. e.g. setting parameter in the device is a sequence of at least 3 messages.
Johan
Problemstellung: Laengere Verarbeitungsprozesse in einzelnen Modulen (z.B. aufgrund von Netzwerklatenzen oder toten Geraeten) halten fhem komplett an und verhindern die Verarbeitung von Events.
Loesung: Multiprocessing
Beim Multiprocessing wird der fhem-Prozess geforkt, wenn ein Reading vom Geraet eingelesen werden soll. Der Vaterprozess wird sofort fortgesetzt und erledigt weitere Aufgaben. Der Kindprozess holt die Readings vom Geraet, liefert sie an den Vaterprozess und verendet.
Die Lieferung an den Vaterprozess erfolgt durch eine Verbindung zu fhem via Netzwerk und Aufruf des Befehls
ende quote