Originally posted by: <email address deleted>
Im trying to switch on /off light but i cant get it working.
i have fritzbox 7390 with FHEM
i have programmed TUL connected to EIB cable (green and orange leds
are on)
i have for example on 0.0.2 - switch device Siemens N576/21 - 16
channels (3= ch A, 7 = ch B....)
and definde group of lights on 1/1/200
a tasten tensezor JUNG on 0.0.1 (4 fach)
So i wrote to FHEM:
define tul1 TUL tul:/dev/ttyACM0 0.0.2
define light1 EIB 1/1/200
attr light1 IODev tul1
When i click on , off nothing happen.
Log:
2011.12.21 00:22:56 0: Server started (version 5.1 from 2011-07-08
($Id: fhem.pl,v 1.150 2011-08-16 18:06:38 rudolfkoenig Exp $), AVM
Build: 84.05.05-20538, pid 2302)
2011.12.21 00:24:20 3: TUL opening tul1 device tul:/dev/ttyACM0
2011.12.21 00:24:20 3: TUL setting tul1 baudrate to 19200
2011.12.21 00:24:20 3: TUL device opened
2011.12.21 00:25:01 2: EIB set light1 on
2011.12.21 00:25:02 2: EIB set light1 off
Please for help. I cant find any aditional infos about TUL / EIB for
FHEM - only this group.
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
Hi Mares,
You are right here. Which version of TUL/EIB-Modul are You using?
(from SVN, FHEM-5.1,...)
I had in the earlier versions a bug that only 0/0/* were correctly
handled. So pls. try the latest Version from SVN.
Please Set the verbose level to 5 (pls. have a Look at commandref or
fhem Doku how to Set the festbleibe higher, otherwise I can tell it to
You tomorrow)
Pls. do the same test and then You will have lots of more lines of
Log.
Pls. send them here or send them to me via PN. I will have a look
tomorrow.
On Dec 21, 12:47 am, mares wrote:
> Im trying to switch on /off light but i cant get it working.
>
> i have fritzbox 7390 with FHEM
> i have programmed TUL connected to EIB cable (green and orange leds
> are on)
> i have for example on 0.0.2 - switch device Siemens N576/21 - 16
> channels (3= ch A, 7 = ch B....)
> and definde group of lights on 1/1/200
> a tasten tensezor JUNG on 0.0.1 (4 fach)
>
> So i wrote to FHEM:
>
> define tul1 TUL tul:/dev/ttyACM0 0.0.2
> define light1 EIB 1/1/200
> attr light1 IODev tul1
>
> When i click on , off nothing happen.
>
> Log:
> 2011.12.21 00:22:56 0: Server started (version 5.1 from 2011-07-08
> ($Id: fhem.pl,v1.150 2011-08-16 18:06:38 rudolfkoenig Exp $), AVM
> Build:84.05.05-20538, pid 2302)
> 2011.12.21 00:24:20 3: TUL opening tul1 device tul:/dev/ttyACM0
> 2011.12.21 00:24:20 3: TUL setting tul1 baudrate to 19200
> 2011.12.21 00:24:20 3: TUL device opened
> 2011.12.21 00:25:01 2: EIB set light1 on
> 2011.12.21 00:25:02 2: EIB set light1 off
>
> Please for help. I cant find any aditional infos about TUL / EIB for
> FHEM - only this group.
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
I have TUL from:
http://www.busware.de/tiki-index.php?page=TUL
I programmed it with transparent TPUART from same site:
http://www.busware.de/tiki-download_file.php?fileId=54
I dont know the version...
Or did you mean FHEM TUL file - 00_TUL.pm ?
I just have what is automaticaly installed by fritz!box firmware FHEM
84.05.05-20538
in FHEM is written: 5.1 from 2011-07-08 ($Id: fhem.pl,v 1.150
2011-08-16 18:06:38 rudolfkoenig Exp $), AVM Build: 84.05.05-20538
I set verbose to 5
Now i have in log:
2011.12.21 12:44:34 5: Loading /usr/share/fhem/FHEM/00_TUL.pm
2011.12.21 12:44:34 3: TUL opening tul1 device tul:/dev/ttyACM0
2011.12.21 12:44:34 3: TUL setting tul1 baudrate to 19200
2011.12.21 12:44:34 3: TUL device opened
2011.12.21 12:44:34 5: Triggering global (1 changes)
2011.12.21 12:44:34 5: global trigger: Checking autocreate for notify
2011.12.21 12:44:34 4: /fhem?room=Unsorted&cmd=define+tul1+TUL+tul%3A
%2Fdev%2FttyACM0+0.0.2 / RL: 772 / text/html; charset=ISO-8859-1 /
Content-Encoding: gzip
/
2011.12.21 12:44:34 5: waiting to receive 8 bytes ...
2011.12.21 12:44:34 5: Received fixlen packet: bc002c0909e10081
2011.12.21 12:44:34 5: buf len: 8 expected: 8
2011.12.21 12:44:34 5: getRequest len: 8 packet: bc002c0909e10081
2011.12.21 12:44:34 5: receiving telegram with len: 9
2011.12.21 12:44:34 5: waiting to receive 1 bytes ...
2011.12.21 12:44:34 5: Received fixlen packet: 0f
2011.12.21 12:44:34 5: buf len: 1 expected: 1
2011.12.21 12:44:34 5: getRequest len: 1 packet: 0f
2011.12.21 12:44:34 5: receiving telegram with len: 9
2011.12.21 12:44:34 5: Telegram: (9): bc002c0909e10081
2011.12.21 12:44:34 5: Buf: (0):
2011.12.21 12:44:34 5: msg cmd: 0x81 datalen: 2 apci: 2
2011.12.21 12:44:34 5: decode_tpuart byte len: 1 array size: 1
2011.12.21 12:44:34 5: SimpleRead msg.type: write, msg.src: 002c,
msg.dst: 1109
2011.12.21 12:44:34 5: SimpleRead data: 01
2011.12.21 12:44:34 4: SimpleRead: B002cw110901
2011.12.21 12:44:34 4: tul1: B002cw110901
2011.12.21 12:44:34 5: tul1 dispatch B002cw110901
2011.12.21 12:44:34 5: Loading /usr/share/fhem/FHEM/10_EIB.pm
2011.12.21 12:44:34 3: EIB Unknown device 1109 (1/1/9), Value 01,
please define it
2011.12.21 12:44:34 5: Triggering global (1 changes)
2011.12.21 12:44:34 5: global trigger: Checking autocreate for notify
2011.12.21 12:44:34 2: autocreate: define EIB_1109 EIB 1109
2011.12.21 12:44:34 5: name2hex: 1109
2011.12.21 12:44:34 5: Triggering global (1 changes)
2011.12.21 12:44:34 5: waiting to receive 8 bytes ...
2011.12.21 12:44:34 5: Received fixlen packet: bc002c0909e10080
2011.12.21 12:44:34 5: buf len: 8 expected: 8
2011.12.21 12:44:34 5: getRequest len: 8 packet: bc002c0909e10080
2011.12.21 12:44:34 5: receiving telegram with len: 9
2011.12.21 12:44:34 5: waiting to receive 1 bytes ...
2011.12.21 12:44:34 5: Received fixlen packet: 0e
2011.12.21 12:44:34 5: buf len: 1 expected: 1
2011.12.21 12:44:34 5: getRequest len: 1 packet: 0e
2011.12.21 12:44:34 5: receiving telegram with len: 9
2011.12.21 12:44:34 5: Telegram: (9): bc002c0909e10080
2011.12.21 12:44:34 5: Buf: (0):
2011.12.21 12:44:34 5: msg cmd: 0x80 datalen: 2 apci: 2
2011.12.21 12:44:35 5: decode_tpuart byte len: 1 array size: 1
2011.12.21 12:44:35 5: SimpleRead msg.type: write, msg.src: 002c,
msg.dst: 1109
2011.12.21 12:44:35 5: SimpleRead data: 00
2011.12.21 12:44:35 4: SimpleRead: B002cw110900
2011.12.21 12:44:35 4: tul1: B002cw110900
2011.12.21 12:44:35 5: tul1 dispatch B002cw110900
2011.12.21 12:44:35 2: EIB EIB_1109 off
2011.12.21 12:44:35 5: Triggering EIB_1109 (1 changes)
2011.12.21 12:44:35 5: EIB_1109 trigger: Checking autocreate for
notify
2011.12.21 12:44:35 5: waiting to receive 8 bytes ...
2011.12.21 12:44:35 5: Received fixlen packet: 4747
2011.12.21 12:44:35 5: buf len: 2 expected: 8
2011.12.21 12:44:35 5: buf len: 2 expected: 8
2011.12.21 12:44:35 5: buf len: 2 expected: 8
2011.12.21 12:44:35 5: buf len: 2 expected: 8
2011.12.21 12:44:35 5: buf len: 2 expected: 8
2011.12.21 12:44:35 5: buf len: 2 expected: 8
this line ist now 60000times down, and FHEM become not available for
ca 3 minutes
2011.12.21 12:48:35 5: buf len: 2 expected: 8
2011.12.21 12:48:35 5: buf len: 2 expected: 8
2011.12.21 12:48:35 5: buf len: 2 expected: 8
2011.12.21 12:48:35 5: buf len: 2 expected: 8
2011.12.21 12:48:35 5: buf len: 2 expected: 8
2011.12.21 12:48:35 5: buf len: 2 expected: 8
2011.12.21 12:48:35 5: Received fixlen packet: bc0019
2011.12.21 12:48:35 5: buf len: 5 expected: 8
2011.12.21 12:48:35 5: Received fixlen packet: 0804e1
2011.12.21 12:48:35 5: buf len: 8 expected: 8
2011.12.21 12:48:35 5: getRequest len: 8 packet: 4747bc00190804e1
2011.12.21 12:48:35 5: TPUART RSP 0x47 ignored.
2011.12.21 12:48:35 4: No data received.
2011.12.21 12:48:35 1: tul:/dev/ttyACM0 disconnected, waiting to
reappear
2011.12.21 12:48:40 5: Triggering tul1 (1 changes)
2011.12.21 12:48:40 5: tul1 trigger: Checking autocreate for notify
2011.12.21 12:48:40 3: TUL setting tul1 baudrate to 19200
2011.12.21 12:48:40 1: TUL tul:/dev/ttyACM0 reappeared (tul1)
2011.12.21 12:48:40 5: Triggering tul1 (1 changes)
2011.12.21 12:48:40 5: tul1 trigger: Checking autocreate for notify
2011.12.21 12:48:40 4: HTTP FHEMWEB:192.168.10.22:1320 GET /fhem?
room=all
2011.12.21 12:48:40 4: /fhem?room=all / RL: 948 / text/html;
charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:48:40 4: Connection accepted from FHEMWEB:
192.168.10.22:1356
2011.12.21 12:48:40 5: Triggering global (1 changes)
2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
2011.12.21 12:48:40 4: Connection closed for FHEMWEB:
192.168.10.22:1305
2011.12.21 12:48:40 4: HTTP FHEMWEB:192.168.10.22:1321 GET /fhem?
detail=tul1
2011.12.21 12:48:40 4: /fhem?detail=tul1 / RL: 1288 / text/html;
charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:48:40 4: HTTP FHEMWEB:192.168.10.22:1319 GET /fhem?
room=Unsorted&cmd=define+light1+EIB+1%2F1%2F200
2011.12.21 12:48:40 5: Cmd: >define light1 EIB 1/1/200<
2011.12.21 12:48:40 5: name2hex: 1/1/200
2011.12.21 12:48:40 5: Triggering global (1 changes)
2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
2011.12.21 12:48:40 4: /fhem?room=Unsorted&cmd=define+light1+EIB
+1%2F1%2F200 / RL: 922 / text/html; charset=ISO-8859-1 / Content-
Encoding: gzip
/
2011.12.21 12:48:40 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem
2011.12.21 12:48:40 4: /fhem / RL: 538 / text/html;
charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:48:40 5: Triggering global (1 changes)
2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
2011.12.21 12:48:40 4: Connection closed for FHEMWEB:
192.168.10.22:1320
2011.12.21 12:48:40 5: Triggering global (1 changes)
2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
2011.12.21 12:48:40 4: Connection closed for FHEMWEB:
192.168.10.22:1321
2011.12.21 12:48:40 5: Triggering global (1 changes)
2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
2011.12.21 12:48:40 4: Connection closed for FHEMWEB:
192.168.10.22:1319
2011.12.21 12:49:25 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
room=all
2011.12.21 12:49:25 4: /fhem?room=all / RL: 950 / text/html;
charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:49:25 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem/icons/
off.png
2011.12.21 12:49:25 4: /fhem/icons/off.png / RL: 2282 / image/png / /
Expires: Wed Dec 21 13:04:25 2011 GMT
2011.12.21 12:49:29 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.EIB_1109=set%20EIB_1109%20on&room=all
2011.12.21 12:49:29 5: Cmd: >set EIB_1109 on<
2011.12.21 12:49:29 2: EIB set EIB_1109 on
2011.12.21 12:49:29 5: tul1 sending Bw110901
2011.12.21 12:49:29 5: encode_tpuart dst: 1109 apci: 2 datalen: 1
data: 1
2011.12.21 12:49:29 5: SendGroup: dst: 1109, msg: 128 188 129 0 130 2
131 17 132 9 133 225 134 0 135 129 72 57
2011.12.21 12:49:29 5: sendRequest:
80bc810082028311840985e1860087814839
2011.12.21 12:49:29 5: waiting to receive 10 bytes ...
2011.12.21 12:49:29 5: buf len: 0 expected: 10
2011.12.21 12:49:29 5: buf len: 0 expected: 10
2011.12.21 12:49:29 5: buf len: 0 expected: 10
2011.12.21 12:49:29 5: Received fixlen packet: bc000211
2011.12.21 12:49:29 5: buf len: 4 expected: 10
2011.12.21 12:49:29 5: Received fixlen packet: 09e1008139
2011.12.21 12:49:29 5: buf len: 9 expected: 10
2011.12.21 12:49:29 5: Received fixlen packet: 8b
2011.12.21 12:49:29 5: buf len: 10 expected: 10
2011.12.21 12:49:29 5: getRequest len: 10 packet: bc00021109e10081398b
2011.12.21 12:49:29 5: Triggering EIB_1109 (1 changes)
2011.12.21 12:49:29 5: EIB_1109 trigger: Checking autocreate for
notify
2011.12.21 12:49:29 4: /fhem?cmd.EIB_1109=set
%20EIB_1109%20on&room=all / RL: 948 / text/html; charset=ISO-8859-1 /
Content-Encoding: gzip
/
2011.12.21 12:49:29 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem/icons/
on.png
2011.12.21 12:49:29 4: /fhem/icons/on.png / RL: 2045 / image/png / /
Expires: Wed Dec 21 13:04:29 2011 GMT
2011.12.21 12:49:30 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.EIB_1109=set%20EIB_1109%20off&room=all
2011.12.21 12:49:30 5: Cmd: >set EIB_1109 off<
2011.12.21 12:49:30 2: EIB set EIB_1109 off
2011.12.21 12:49:30 5: tul1 sending Bw110900
2011.12.21 12:49:30 5: encode_tpuart dst: 1109 apci: 2 datalen: 1
data: 0
2011.12.21 12:49:30 5: SendGroup: dst: 1109, msg: 128 188 129 0 130 2
131 17 132 9 133 225 134 0 135 128 72 56
2011.12.21 12:49:30 5: sendRequest:
80bc810082028311840985e1860087804838
2011.12.21 12:49:30 5: waiting to receive 10 bytes ...
2011.12.21 12:49:30 5: buf len: 0 expected: 10
2011.12.21 12:49:30 5: buf len: 0 expected: 10
2011.12.21 12:49:30 5: Received fixlen packet: bc
2011.12.21 12:49:30 5: buf len: 1 expected: 10
2011.12.21 12:49:30 5: Received fixlen packet: 00021109e10080
2011.12.21 12:49:30 5: buf len: 8 expected: 10
2011.12.21 12:49:30 5: Received fixlen packet: 388b
2011.12.21 12:49:30 5: buf len: 10 expected: 10
2011.12.21 12:49:30 5: getRequest len: 10 packet: bc00021109e10080388b
2011.12.21 12:49:30 5: Triggering EIB_1109 (1 changes)
2011.12.21 12:49:30 5: EIB_1109 trigger: Checking autocreate for
notify
2011.12.21 12:49:30 4: /fhem?cmd.EIB_1109=set
%20EIB_1109%20off&room=all / RL: 950 / text/html; charset=ISO-8859-1 /
Content-Encoding: gzip
/
2011.12.21 12:49:31 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.light1=set%20light1%20on&room=all
2011.12.21 12:49:31 5: Cmd: >set light1 on<
2011.12.21 12:49:31 2: EIB set light1 on
2011.12.21 12:49:31 5: tul1 sending Bw11c801
2011.12.21 12:49:31 5: encode_tpuart dst: 11c8 apci: 2 datalen: 1
data: 1
2011.12.21 12:49:31 5: SendGroup: dst: 11c8, msg: 128 188 129 0 130 2
131 17 132 200 133 225 134 0 135 129 72 248
2011.12.21 12:49:31 5: sendRequest:
80bc81008202831184c885e18600878148f8
2011.12.21 12:49:31 5: waiting to receive 10 bytes ...
2011.12.21 12:49:31 5: buf len: 0 expected: 10
2011.12.21 12:49:31 5: buf len: 0 expected: 10
2011.12.21 12:49:31 5: buf len: 0 expected: 10
2011.12.21 12:49:31 5: buf len: 0 expected: 10
2011.12.21 12:49:31 5: Received fixlen packet: bc00
2011.12.21 12:49:31 5: buf len: 2 expected: 10
2011.12.21 12:49:31 5: Received fixlen packet: 0211c8e10081f8
2011.12.21 12:49:31 5: buf len: 9 expected: 10
2011.12.21 12:49:31 5: Received fixlen packet: 8b
2011.12.21 12:49:31 5: buf len: 10 expected: 10
2011.12.21 12:49:31 5: getRequest len: 10 packet: bc000211c8e10081f88b
2011.12.21 12:49:31 5: Triggering light1 (1 changes)
2011.12.21 12:49:31 5: light1 trigger: Checking autocreate for notify
2011.12.21 12:49:31 4: /fhem?cmd.light1=set%20light1%20on&room=all /
RL: 951 / text/html; charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:49:32 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.light1=set%20light1%20off&room=all
2011.12.21 12:49:32 5: Cmd: >set light1 off<
2011.12.21 12:49:32 2: EIB set light1 off
2011.12.21 12:49:32 5: tul1 sending Bw11c800
2011.12.21 12:49:32 5: encode_tpuart dst: 11c8 apci: 2 datalen: 1
data: 0
2011.12.21 12:49:32 5: SendGroup: dst: 11c8, msg: 128 188 129 0 130 2
131 17 132 200 133 225 134 0 135 128 72 249
2011.12.21 12:49:32 5: sendRequest:
80bc81008202831184c885e18600878048f9
2011.12.21 12:49:32 5: waiting to receive 10 bytes ...
2011.12.21 12:49:32 5: buf len: 0 expected: 10
2011.12.21 12:49:32 5: buf len: 0 expected: 10
2011.12.21 12:49:32 5: buf len: 0 expected: 10
2011.12.21 12:49:32 5: Received fixlen packet: bc0002
2011.12.21 12:49:32 5: buf len: 3 expected: 10
2011.12.21 12:49:32 5: Received fixlen packet: 11c8e10080
2011.12.21 12:49:32 5: buf len: 8 expected: 10
2011.12.21 12:49:32 5: Received fixlen packet: f9
2011.12.21 12:49:32 5: buf len: 9 expected: 10
2011.12.21 12:49:32 5: Received fixlen packet: 8b
2011.12.21 12:49:32 5: buf len: 10 expected: 10
2011.12.21 12:49:32 5: getRequest len: 10 packet: bc000211c8e10080f98b
2011.12.21 12:49:32 5: Triggering light1 (1 changes)
2011.12.21 12:49:32 5: light1 trigger: Checking autocreate for notify
2011.12.21 12:49:32 4: /fhem?cmd.light1=set%20light1%20off&room=all /
RL: 945 / text/html; charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:49:57 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
room=all&cmd=attr+light1+IODev+tul1
2011.12.21 12:49:57 5: Cmd: >attr light1 IODev tul1<
2011.12.21 12:49:57 4: /fhem?room=all&cmd=attr+light1+IODev+tul1 / RL:
945 / text/html; charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:49:59 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.light1=set%20light1%20on&room=all
2011.12.21 12:49:59 5: Cmd: >set light1 on<
2011.12.21 12:49:59 2: EIB set light1 on
2011.12.21 12:49:59 5: tul1 sending Bw11c801
2011.12.21 12:49:59 5: encode_tpuart dst: 11c8 apci: 2 datalen: 1
data: 1
2011.12.21 12:49:59 5: SendGroup: dst: 11c8, msg: 128 188 129 0 130 2
131 17 132 200 133 225 134 0 135 129 72 248
2011.12.21 12:49:59 5: sendRequest:
80bc81008202831184c885e18600878148f8
2011.12.21 12:49:59 5: waiting to receive 10 bytes ...
2011.12.21 12:49:59 5: buf len: 0 expected: 10
2011.12.21 12:49:59 5: buf len: 0 expected: 10
2011.12.21 12:49:59 5: buf len: 0 expected: 10
2011.12.21 12:49:59 5: Received fixlen packet: bc0002
2011.12.21 12:49:59 5: buf len: 3 expected: 10
2011.12.21 12:49:59 5: Received fixlen packet: 11c8e1
2011.12.21 12:49:59 5: buf len: 6 expected: 10
2011.12.21 12:49:59 5: Received fixlen packet: 0081f88b
2011.12.21 12:49:59 5: buf len: 10 expected: 10
2011.12.21 12:49:59 5: getRequest len: 10 packet: bc000211c8e10081f88b
2011.12.21 12:49:59 5: Triggering light1 (1 changes)
2011.12.21 12:49:59 5: light1 trigger: Checking autocreate for notify
2011.12.21 12:49:59 4: /fhem?cmd.light1=set%20light1%20on&room=all /
RL: 951 / text/html; charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:50:00 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.light1=set%20light1%20off&room=all
2011.12.21 12:50:00 5: Cmd: >set light1 off<
2011.12.21 12:50:00 2: EIB set light1 off
2011.12.21 12:50:00 5: tul1 sending Bw11c800
2011.12.21 12:50:00 5: encode_tpuart dst: 11c8 apci: 2 datalen: 1
data: 0
2011.12.21 12:50:00 5: SendGroup: dst: 11c8, msg: 128 188 129 0 130 2
131 17 132 200 133 225 134 0 135 128 72 249
2011.12.21 12:50:00 5: sendRequest:
80bc81008202831184c885e18600878048f9
2011.12.21 12:50:00 5: waiting to receive 10 bytes ...
2011.12.21 12:50:00 5: buf len: 0 expected: 10
2011.12.21 12:50:00 5: buf len: 0 expected: 10
2011.12.21 12:50:00 5: buf len: 0 expected: 10
2011.12.21 12:50:00 5: Received fixlen packet: bc000211c8
2011.12.21 12:50:00 5: buf len: 5 expected: 10
2011.12.21 12:50:00 5: Received fixlen packet: e10080f9
2011.12.21 12:50:00 5: buf len: 9 expected: 10
2011.12.21 12:50:00 5: Received fixlen packet: 8b
2011.12.21 12:50:00 5: buf len: 10 expected: 10
2011.12.21 12:50:00 5: getRequest len: 10 packet: bc000211c8e10080f98b
2011.12.21 12:50:00 5: Triggering light1 (1 changes)
2011.12.21 12:50:00 5: light1 trigger: Checking autocreate for notify
2011.12.21 12:50:00 4: /fhem?cmd.light1=set%20light1%20off&room=all /
RL: 945 / text/html; charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:50:01 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.light1=set%20light1%20on&room=all
2011.12.21 12:50:01 5: Cmd: >set light1 on<
2011.12.21 12:50:01 2: EIB set light1 on
2011.12.21 12:50:01 5: tul1 sending Bw11c801
2011.12.21 12:50:01 5: encode_tpuart dst: 11c8 apci: 2 datalen: 1
data: 1
2011.12.21 12:50:01 5: SendGroup: dst: 11c8, msg: 128 188 129 0 130 2
131 17 132 200 133 225 134 0 135 129 72 248
2011.12.21 12:50:01 5: sendRequest:
80bc81008202831184c885e18600878148f8
2011.12.21 12:50:01 5: waiting to receive 10 bytes ...
2011.12.21 12:50:01 5: buf len: 0 expected: 10
2011.12.21 12:50:01 5: buf len: 0 expected: 10
2011.12.21 12:50:01 5: Received fixlen packet: bc
2011.12.21 12:50:01 5: buf len: 1 expected: 10
2011.12.21 12:50:01 5: Received fixlen packet: 000211c8e100
2011.12.21 12:50:01 5: buf len: 7 expected: 10
2011.12.21 12:50:01 5: Received fixlen packet: 81f88b
2011.12.21 12:50:01 5: buf len: 10 expected: 10
2011.12.21 12:50:01 5: getRequest len: 10 packet: bc000211c8e10081f88b
2011.12.21 12:50:01 5: Triggering light1 (1 changes)
2011.12.21 12:50:01 5: light1 trigger: Checking autocreate for notify
2011.12.21 12:50:01 4: /fhem?cmd.light1=set%20light1%20on&room=all /
RL: 951 / text/html; charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:50:02 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.light1=set%20light1%20off&room=all
2011.12.21 12:50:02 5: Cmd: >set light1 off<
2011.12.21 12:50:02 2: EIB set light1 off
2011.12.21 12:50:02 5: tul1 sending Bw11c800
2011.12.21 12:50:02 5: encode_tpuart dst: 11c8 apci: 2 datalen: 1
data: 0
2011.12.21 12:50:02 5: SendGroup: dst: 11c8, msg: 128 188 129 0 130 2
131 17 132 200 133 225 134 0 135 128 72 249
2011.12.21 12:50:02 5: sendRequest:
80bc81008202831184c885e18600878048f9
2011.12.21 12:50:02 5: waiting to receive 10 bytes ...
2011.12.21 12:50:02 5: buf len: 0 expected: 10
2011.12.21 12:50:02 5: buf len: 0 expected: 10
2011.12.21 12:50:02 5: buf len: 0 expected: 10
2011.12.21 12:50:02 5: Received fixlen packet: bc00
2011.12.21 12:50:02 5: buf len: 2 expected: 10
2011.12.21 12:50:02 5: Received fixlen packet: 0211c8e10080
2011.12.21 12:50:02 5: buf len: 8 expected: 10
2011.12.21 12:50:02 5: Received fixlen packet: f98b
2011.12.21 12:50:02 5: buf len: 10 expected: 10
2011.12.21 12:50:02 5: getRequest len: 10 packet: bc000211c8e10080f98b
2011.12.21 12:50:02 5: Triggering light1 (1 changes)
2011.12.21 12:50:02 5: light1 trigger: Checking autocreate for notify
2011.12.21 12:50:03 4: /fhem?cmd.light1=set%20light1%20off&room=all /
RL: 945 / text/html; charset=ISO-8859-1 / Content-Encoding: gzip
/
2011.12.21 12:50:18 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
cmd.light1=set%20light1%20off&room=all
2011.12.21 12:50:18 5: Cmd: >set light1 off<
2011.12.21 12:50:18 2: EIB set light1 off
2011.12.21 12:50:18 5: tul1 sending Bw11c800
2011.12.21 12:50:18 5: encode_tpuart dst: 11c8 apci: 2 datalen: 1
data: 0
2011.12.21 12:50:18 5: SendGroup: dst: 11c8, msg: 128 188 129 0 130 2
131 17 132 200 133 225 134 0 135 128 72 249
2011.12.21 12:50:18 5: sendRequest:
80bc81008202831184c885e18600878048f9
2011.12.21 12:50:18 5: waiting to receive 10 bytes ...
2011.12.21 12:50:18 5: buf len: 0 expected: 10
2011.12.21 12:50:18 5: buf len: 0 expected: 10
2011.12.21 12:50:18 5: buf len: 0 expected: 10
2011.12.21 12:50:18 5: buf len: 0 expected: 10
2011.12.21 12:50:18 5: buf len: 0 expected: 10
2011.12.21 12:50:18 5: Received fixlen packet: bc0002
2011.12.21 12:50:18 5: buf len: 3 expected: 10
2011.12.21 12:50:18 5: Received fixlen packet: 11c8e10080f9
2011.12.21 12:50:18 5: buf len: 9 expected: 10
2011.12.21 12:50:18 5: Received fixlen packet: 8b
2011.12.21 12:50:18 5: buf len: 10 expected: 10
2011.12.21 12:50:18 5: getRequest len: 10 packet: bc000211c8e10080f98b
2011.12.21 12:50:18 5: Triggering light1 (1 changes)
2011.12.21 12:50:18 5: light1 trigger: Checking autocreate for notify
2011.12.21 12:50:18 4: /fhem?cmd.light1=set%20light1%20off&room=all /
RL: 945 / text/html; charset=ISO-8859-1 / Content-Encoding: gzip
/
On 21 Dez., 01:05, Maz wrote:
> Hi Mares,
> You are right here. Which version of TUL/EIB-Modul are You using?
> (from SVN, FHEM-5.1,...)
> I had in the earlier versions a bug that only 0/0/* were correctly
> handled. So pls. try the latest Version from SVN.
>
> Please Set the verbose level to 5 (pls. have a Look at commandref or
> fhem Doku how to Set the festbleibe higher, otherwise I can tell it to
> You tomorrow)
>
> Pls. do the same test and then You will have lots of more lines of
> Log.
> Pls. send them here or send them to me via PN. I will have a look
> tomorrow.
>
> On Dec 21, 12:47 am, mares wrote:
>
>
>
> > Im trying to switch on /off light but i cant get it working.
>
> > i have fritzbox 7390 with FHEM
> > i have programmed TUL connected to EIB cable (green and orange leds
> > are on)
> > i have for example on 0.0.2 - switch device Siemens N576/21 - 16
> > channels (3= ch A, 7 = ch B....)
> > and definde group of lights on 1/1/200
> > a tasten tensezor JUNG on 0.0.1 (4 fach)
>
> > So i wrote to FHEM:
>
> > define tul1 TUL tul:/dev/ttyACM0 0.0.2
> > define light1 EIB 1/1/200
> > attr light1 IODev tul1
>
> > When i click on , off nothing happen.
>
> > Log:
> > 2011.12.21 00:22:56 0: Server started (version 5.1 from 2011-07-08
> > ($Id: fhem.pl,v1.150 2011-08-16 18:06:38 rudolfkoenig Exp $), AVM
> > Build:84.05.05-20538, pid 2302)
> > 2011.12.21 00:24:20 3: TUL opening tul1 device tul:/dev/ttyACM0
> > 2011.12.21 00:24:20 3: TUL setting tul1 baudrate to 19200
> > 2011.12.21 00:24:20 3: TUL device opened
> > 2011.12.21 00:25:01 2: EIB set light1 on
> > 2011.12.21 00:25:02 2: EIB set light1 off
>
> > Please for help. I cant find any aditional infos about TUL / EIB for
> > FHEM - only this group.- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
Hallo!
You helped me - update is needed!
So for everybody using Fritz!Box 7390 with build FHEM firmware AVM
Build: 84.05.05-20538 + TUL for EIB - you must UPDATE FHEM with
command - updatefhem
After update i reloaded modules with command reload 00_TUL and reload
10_EIB
after that, EIB + FB7390 + TUL works!!
Now i need time to learn more...
Brightnes Sensor on EIB is next.
Regards,
Marko Smrekar
On 21 Dez., 12:52, mares wrote:
> I have TUL from:http://www.busware.de/tiki-index.php?page=TUL
> I programmed it with transparent TPUART from same site:http://www.busware.de/tiki-download_file.php?fileId=54
> I dont know the version...
>
> Or did you mean FHEM TUL file - 00_TUL.pm ?
> I just have what is automaticaly installed by fritz!box firmware FHEM
> 84.05.05-20538
> in FHEM is written: 5.1 from 2011-07-08 ($Id: fhem.pl,v 1.150
> 2011-08-16 18:06:38 rudolfkoenig Exp $), AVM Build: 84.05.05-20538
>
> I set verbose to 5
>
> Now i have in log:
> 2011.12.21 12:44:34 5: Loading /usr/share/fhem/FHEM/00_TUL.pm
> 2011.12.21 12:44:34 3: TUL opening tul1 device tul:/dev/ttyACM0
> 2011.12.21 12:44:34 3: TUL setting tul1 baudrate to 19200
> 2011.12.21 12:44:34 3: TUL device opened
> 2011.12.21 12:44:34 5: Triggering global (1 changes)
> 2011.12.21 12:44:34 5: global trigger: Checking autocreate for notify
> 2011.12.21 12:44:34 4: /fhem?room=Unsorted&cmd=define+tul1+TUL+tul%3A
> %2Fdev%2FttyACM0+0.0.2 / RL: 772 / text/html; charset=ISO-8859-1 /
> Content-Encoding: gzip
> /
> 2011.12.21 12:44:34 5: waiting to receive 8 bytes ...
> 2011.12.21 12:44:34 5: Received fixlen packet: bc002c0909e10081
>
> 2011.12.21 12:44:34 5: buf len: 8 expected: 8
> 2011.12.21 12:44:34 5: getRequest len: 8 packet: bc002c0909e10081
>
> 2011.12.21 12:44:34 5: receiving telegram with len: 9
> 2011.12.21 12:44:34 5: waiting to receive 1 bytes ...
> 2011.12.21 12:44:34 5: Received fixlen packet: 0f
>
> 2011.12.21 12:44:34 5: buf len: 1 expected: 1
> 2011.12.21 12:44:34 5: getRequest len: 1 packet: 0f
>
> 2011.12.21 12:44:34 5: receiving telegram with len: 9
> 2011.12.21 12:44:34 5: Telegram: (9): bc002c0909e10081
> 2011.12.21 12:44:34 5: Buf: (0):
> 2011.12.21 12:44:34 5: msg cmd: 0x81 datalen: 2 apci: 2
> 2011.12.21 12:44:34 5: decode_tpuart byte len: 1 array size: 1
> 2011.12.21 12:44:34 5: SimpleRead msg.type: write, msg.src: 002c,
> msg.dst: 1109
> 2011.12.21 12:44:34 5: SimpleRead data: 01
> 2011.12.21 12:44:34 4: SimpleRead: B002cw110901
>
> 2011.12.21 12:44:34 4: tul1: B002cw110901
> 2011.12.21 12:44:34 5: tul1 dispatch B002cw110901
> 2011.12.21 12:44:34 5: Loading /usr/share/fhem/FHEM/10_EIB.pm
> 2011.12.21 12:44:34 3: EIB Unknown device 1109 (1/1/9), Value 01,
> please define it
> 2011.12.21 12:44:34 5: Triggering global (1 changes)
> 2011.12.21 12:44:34 5: global trigger: Checking autocreate for notify
> 2011.12.21 12:44:34 2: autocreate: define EIB_1109 EIB 1109
> 2011.12.21 12:44:34 5: name2hex: 1109
> 2011.12.21 12:44:34 5: Triggering global (1 changes)
> 2011.12.21 12:44:34 5: waiting to receive 8 bytes ...
> 2011.12.21 12:44:34 5: Received fixlen packet: bc002c0909e10080
>
> 2011.12.21 12:44:34 5: buf len: 8 expected: 8
> 2011.12.21 12:44:34 5: getRequest len: 8 packet: bc002c0909e10080
>
> 2011.12.21 12:44:34 5: receiving telegram with len: 9
> 2011.12.21 12:44:34 5: waiting to receive 1 bytes ...
> 2011.12.21 12:44:34 5: Received fixlen packet: 0e
>
> 2011.12.21 12:44:34 5: buf len: 1 expected: 1
> 2011.12.21 12:44:34 5: getRequest len: 1 packet: 0e
>
> 2011.12.21 12:44:34 5: receiving telegram with len: 9
> 2011.12.21 12:44:34 5: Telegram: (9): bc002c0909e10080
> 2011.12.21 12:44:34 5: Buf: (0):
> 2011.12.21 12:44:34 5: msg cmd: 0x80 datalen: 2 apci: 2
> 2011.12.21 12:44:35 5: decode_tpuart byte len: 1 array size: 1
> 2011.12.21 12:44:35 5: SimpleRead msg.type: write, msg.src: 002c,
> msg.dst: 1109
> 2011.12.21 12:44:35 5: SimpleRead data: 00
> 2011.12.21 12:44:35 4: SimpleRead: B002cw110900
>
> 2011.12.21 12:44:35 4: tul1: B002cw110900
> 2011.12.21 12:44:35 5: tul1 dispatch B002cw110900
> 2011.12.21 12:44:35 2: EIB EIB_1109 off
> 2011.12.21 12:44:35 5: Triggering EIB_1109 (1 changes)
> 2011.12.21 12:44:35 5: EIB_1109 trigger: Checking autocreate for
> notify
> 2011.12.21 12:44:35 5: waiting to receive 8 bytes ...
> 2011.12.21 12:44:35 5: Received fixlen packet: 4747
>
> 2011.12.21 12:44:35 5: buf len: 2 expected: 8
> 2011.12.21 12:44:35 5: buf len: 2 expected: 8
> 2011.12.21 12:44:35 5: buf len: 2 expected: 8
> 2011.12.21 12:44:35 5: buf len: 2 expected: 8
> 2011.12.21 12:44:35 5: buf len: 2 expected: 8
> 2011.12.21 12:44:35 5: buf len: 2 expected: 8
> this line ist now 60000times down, and FHEM become not available for
> ca 3 minutes
>
> 2011.12.21 12:48:35 5: buf len: 2 expected: 8
> 2011.12.21 12:48:35 5: buf len: 2 expected: 8
> 2011.12.21 12:48:35 5: buf len: 2 expected: 8
> 2011.12.21 12:48:35 5: buf len: 2 expected: 8
> 2011.12.21 12:48:35 5: buf len: 2 expected: 8
> 2011.12.21 12:48:35 5: buf len: 2 expected: 8
> 2011.12.21 12:48:35 5: Received fixlen packet: bc0019
>
> 2011.12.21 12:48:35 5: buf len: 5 expected: 8
> 2011.12.21 12:48:35 5: Received fixlen packet: 0804e1
>
> 2011.12.21 12:48:35 5: buf len: 8 expected: 8
> 2011.12.21 12:48:35 5: getRequest len: 8 packet: 4747bc00190804e1
>
> 2011.12.21 12:48:35 5: TPUART RSP 0x47 ignored.
> 2011.12.21 12:48:35 4: No data received.
> 2011.12.21 12:48:35 1: tul:/dev/ttyACM0 disconnected, waiting to
> reappear
> 2011.12.21 12:48:40 5: Triggering tul1 (1 changes)
> 2011.12.21 12:48:40 5: tul1 trigger: Checking autocreate for notify
> 2011.12.21 12:48:40 3: TUL setting tul1 baudrate to 19200
> 2011.12.21 12:48:40 1: TUL tul:/dev/ttyACM0 reappeared (tul1)
> 2011.12.21 12:48:40 5: Triggering tul1 (1 changes)
> 2011.12.21 12:48:40 5: tul1 trigger: Checking autocreate for notify
> 2011.12.21 12:48:40 4: HTTP FHEMWEB:192.168.10.22:1320 GET /fhem?
> room=all
> 2011.12.21 12:48:40 4: /fhem?room=all / RL: 948 / text/html;
> charset=ISO-8859-1 / Content-Encoding: gzip
> /
> 2011.12.21 12:48:40 4: Connection accepted from FHEMWEB:
> 192.168.10.22:1356
> 2011.12.21 12:48:40 5: Triggering global (1 changes)
> 2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
> 2011.12.21 12:48:40 4: Connection closed for FHEMWEB:
> 192.168.10.22:1305
> 2011.12.21 12:48:40 4: HTTP FHEMWEB:192.168.10.22:1321 GET /fhem?
> detail=tul1
> 2011.12.21 12:48:40 4: /fhem?detail=tul1 / RL: 1288 / text/html;
> charset=ISO-8859-1 / Content-Encoding: gzip
> /
> 2011.12.21 12:48:40 4: HTTP FHEMWEB:192.168.10.22:1319 GET /fhem?
> room=Unsorted&cmd=define+light1+EIB+1%2F1%2F200
> 2011.12.21 12:48:40 5: Cmd: >define light1 EIB 1/1/200<
> 2011.12.21 12:48:40 5: name2hex: 1/1/200
> 2011.12.21 12:48:40 5: Triggering global (1 changes)
> 2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
> 2011.12.21 12:48:40 4: /fhem?room=Unsorted&cmd=define+light1+EIB
> +1%2F1%2F200 / RL: 922 / text/html; charset=ISO-8859-1 / Content-
> Encoding: gzip
> /
> 2011.12.21 12:48:40 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem
> 2011.12.21 12:48:40 4: /fhem / RL: 538 / text/html;
> charset=ISO-8859-1 / Content-Encoding: gzip
> /
> 2011.12.21 12:48:40 5: Triggering global (1 changes)
> 2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
> 2011.12.21 12:48:40 4: Connection closed for FHEMWEB:
> 192.168.10.22:1320
> 2011.12.21 12:48:40 5: Triggering global (1 changes)
> 2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
> 2011.12.21 12:48:40 4: Connection closed for FHEMWEB:
> 192.168.10.22:1321
> 2011.12.21 12:48:40 5: Triggering global (1 changes)
> 2011.12.21 12:48:40 5: global trigger: Checking autocreate for notify
> 2011.12.21 12:48:40 4: Connection closed for FHEMWEB:
> 192.168.10.22:1319
> 2011.12.21 12:49:25 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
> room=all
> 2011.12.21 12:49:25 4: /fhem?room=all / RL: 950 / text/html;
> charset=ISO-8859-1 / Content-Encoding: gzip
> /
> 2011.12.21 12:49:25 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem/icons/
> off.png
> 2011.12.21 12:49:25 4: /fhem/icons/off.png / RL: 2282 / image/png / /
> Expires: Wed Dec 21 13:04:25 2011 GMT
>
> 2011.12.21 12:49:29 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
> cmd.EIB_1109=set%20EIB_1109%20on&room=all
> 2011.12.21 12:49:29 5: Cmd: >set EIB_1109 on<
> 2011.12.21 12:49:29 2: EIB set EIB_1109 on
> 2011.12.21 12:49:29 5: tul1 sending Bw110901
> 2011.12.21 12:49:29 5: encode_tpuart dst: 1109 apci: 2 datalen: 1
> data: 1
> 2011.12.21 12:49:29 5: SendGroup: dst: 1109, msg: 128 188 129 0 130 2
> 131 17 132 9 133 225 134 0 135 129 72 57
>
> 2011.12.21 12:49:29 5: sendRequest:
> 80bc810082028311840985e1860087814839
>
> 2011.12.21 12:49:29 5: waiting to receive 10 bytes ...
> 2011.12.21 12:49:29 5: buf len: 0 expected: 10
> 2011.12.21 12:49:29 5: buf len: 0 expected: 10
> 2011.12.21 12:49:29 5: buf len: 0 expected: 10
> 2011.12.21 12:49:29 5: Received fixlen packet: bc000211
>
> 2011.12.21 12:49:29 5: buf len: 4 expected: 10
> 2011.12.21 12:49:29 5: Received fixlen packet: 09e1008139
>
> 2011.12.21 12:49:29 5: buf len: 9 expected: 10
> 2011.12.21 12:49:29 5: Received fixlen packet: 8b
>
> 2011.12.21 12:49:29 5: buf len: 10 expected: 10
> 2011.12.21 12:49:29 5: getRequest len: 10 packet: bc00021109e10081398b
>
> 2011.12.21 12:49:29 5: Triggering EIB_1109 (1 changes)
> 2011.12.21 12:49:29 5: EIB_1109 trigger: Checking autocreate for
> notify
> 2011.12.21 12:49:29 4: /fhem?cmd.EIB_1109=set
> %20EIB_1109%20on&room=all / RL: 948 / text/html; charset=ISO-8859-1 /
> Content-Encoding: gzip
> /
> 2011.12.21 12:49:29 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem/icons/
> on.png
> 2011.12.21 12:49:29 4: /fhem/icons/on.png / RL: 2045 / image/png / /
> Expires: Wed Dec 21 13:04:29 2011 GMT
>
> 2011.12.21 12:49:30 4: HTTP FHEMWEB:192.168.10.22:1356 GET /fhem?
> cmd.EIB_1109=set%20EIB_1109%20off&room=all
> 2011.12.21 12:49:30 5: Cmd: >set EIB_1109 off<
> 2011.12.21 12:49:30 2: EIB set EIB_1109 off
> 2011.12.21 12:49:30 5: tul1 sending Bw110900
> 2011.12.21 12:49:30 5: encode_tpuart dst: 1109 apci: 2 datalen: 1
> data: 0
> 2011.12.21 12:49:30 5: SendGroup: dst: 1109, msg: 128 188 129 0 130 2
> 131 17 132 9 133 225 134 0 135 128 72 56
>
> 2011.12.21 12:49:30 5: sendRequest:
> 80bc810082028311840985e1860087804838
>
> 2011.12.21 12:49:30 5: waiting to receive 10 bytes ...
> 2011.12.21 12:49:30 5: buf len: 0 expected: 10
> 2011.12.21 12:49:30 5: buf len: 0 expected: 10
> 2011.12.21 12:49:30 5: Received fixlen packet: bc
>
> 2011.12.21 12:49:30 5: buf len: 1 expected: 10
> 2011.12.21 12:49:30 5: Received fixlen packet: 00021109e10080
>
> Erfahren Sie mehr »...
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com