FHEM Forum

FHEM => fhem-users => Thema gestartet von: Dirk am 16 September 2009, 20:41:16

Titel: [FHZ] FHZ1000 mit opensuse 11
Beitrag von: Dirk am 16 September 2009, 20:41:16
                                             

Hallole
ich bekommen die FHZ1000 nicht unter Suse 11 zum laufen.
Bisher ich habe die NSLU2 mit FHZ1000 am laufen möchte jetzt wechseln.
Stand: kopien aus Verschieden logfiles

Log/messages:

Sep 16 19:13:26 linux-x61s kernel: drivers/usb/serial/usb-serial.c:
USB Serial support registered for FTDI USB Serial Device
Sep 16 19:13:26 linux-x61s kernel: ftdi_sio 4-1:1.0: FTDI USB Serial
Device converter detected
Sep 16 19:13:26 linux-x61s kernel: drivers/usb/serial/ftdi_sio.c:
Detected FT8U232AM
Sep 16 19:13:26 linux-x61s kernel: usb 4-1: FTDI USB Serial Device
converter now attached to ttyUSB0
Sep 16 19:13:26 linux-x61s kernel: usbcore: registered new interface
driver ftdi_sio
Sep 16 19:13:26 linux-x61s kernel: drivers/usb/serial/ftdi_sio.c:
v1.4.3:USB FTDI Serial Converters Driver

dmesg:

usb 4-1: new full speed USB device using uhci_hcd and address 4
usb 4-1: configuration #1 chosen from 1 choice
ftdi_sio 4-1:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT8U232AM
usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0
usb 4-1: New USB device found, idVendor=0403, idProduct=f06f
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-1: Product: ELV FHZ 1000 PC
usb 4-1: Manufacturer: ELV AG
usb 4-1: SerialNumber: ELUxxxx

lsusb:

Bus 006 Device 002: ID 1199:6813 Sierra Wireless, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 004: ID 0403:f06f Future Technology Devices
International, Ltd
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics
Fingerprint Reader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


auszug aus der fhz1000.cfg

attr global port 7072 global                 # our TCP/IP port
(working from localhost only)
attr global modpath /usr/local/lib            # where our FHZ1000
director
attr global logfile /var/log/fhem/fhz1000.log
attr global statefile /var/log/fhem/fhem-%d-%m.save  # where to save
the state of the devices
attr global verbose 5                   # "normal" verbosity (min 1,
max 5)
define FHZ FHZ none /dev/ttyUSB0 strangetty
set FHZ FHTcode 57
attr FHZ fhtsoftbuffer

Ich weis nicht mehr weiter, nach meinen Verständniss erkennt suse das
Gerät doch.
Ich kann den Server starten  mit fhem.pl fhz1000.cfg, list und die
verschiedenen Befehle absetzen.
Trotzdem blinkt die FHZ1000 nicht.

Vielleicht hat hier jemand eine idee.
thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-
Titel: [FHZ] Re: FHZ1000 mit opensuse 11
Beitrag von: rudolfkoenig am 16 September 2009, 23:50:15
                                                   

> Stand: kopien aus Verschieden logfiles
[...]
Der vom fhem (/var/log/fhem/fhz1000.log ) waere noch klasse.

> define FHZ FHZ none /dev/ttyUSB0 strangetty
Klingt komisch. Das mit dem "none" wuerde ich probeweise weglassen.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-
Titel: [FHZ] Re: FHZ1000 mit opensuse 11
Beitrag von: Seppel18 am 17 September 2009, 00:21:31
                                             

Hallo,

du hast wohl auch kein Bett?
Hier noch der gewünschte auszug fhem.log
wie zu erkenn ist eben was verändert weiss aber nicht mehr was sch...
jetzt gehts nicht mehr der fhem server läuft nicht mehr.
Schau mal ob du da wasfindest.

nachtrag das ::none:: rein und der fhem server startet wieder.

2009.09.16 23:43:23 5: Cmd: >setstate steckdose1_log active<
2009.09.16 23:43:23 5: Cmd: >setstate tester1 active<
2009.09.16 23:43:23 5: Cmd: >setstate tester2 active<
2009.09.16 23:43:23 5: Cmd: >setstate tester4 active<
2009.09.16 23:43:23 5: Cmd: >setstate tester5 active<
2009.09.16 23:43:23 5: Cmd: >setstate wz1_fern1 active<
2009.09.16 23:43:23 5: Cmd: >setstate wz1_fern2 active<
2009.09.16 23:43:23 5: Cmd: >setstate wz2 off<
2009.09.16 23:43:23 5: Cmd: >setstate wz2 2009-09-16 22:04:00 state
off<
2009.09.16 23:43:23 5: Cmd: >setstate wz2_halb off<
2009.09.16 23:43:23 5: Cmd: >setstate wz2_halb 2009-09-16 22:04:00
state off<
2009.09.16 23:43:23 0: Server started (version 4.6 from 2009-07-03
($Id: fhem.pl,v 1.74 2009/07/03 06:53:50 rudolfkoenig Exp $), pid
6968)
2009.09.16 23:43:42 0: Server shutdown
2009.09.16 23:57:46 5: Cmd: >attr global userattr freig1 freig2 freig3
freig4 rollstop1 rollstop2<
2009.09.16 23:57:46 5: Cmd: ><
2009.09.16 23:57:46 5: Cmd: >{ sunrise_coord( "9.46667" , "48.55" ,
"" ) }<
2009.09.16 23:57:46 5: Cmd: >define FHZ FHZ /dev/ttyUSB0 strangetty<
2009.09.16 23:57:46 5: Loading /usr/local/lib/FHEM/00_FHZ.pm, order 00
2009.09.16 23:57:46 3: FHZ opening FHZ device /dev/ttyUSB0
Can't locate Device/SerialPort.pm in @INC (@INC contains: /usr/lib/
perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/
perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/
site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-
multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .)
at /usr/local/lib/FHEM/00_FHZ.pm line 326, <$fh> line 39.
2009.09.17 00:13:02 5: Cmd: >attr global userattr freig1 freig2 freig3
freig4 rollstop1 rollstop2<
2009.09.17 00:13:02 5: Cmd: ><
2009.09.17 00:13:02 5: Cmd: >{ sunrise_coord( "9.46667" , "48.55" ,
"" ) }<
2009.09.17 00:13:02 5: Cmd: >define FHZ FHZ /dev/ttyUSB0 strangetty<
2009.09.17 00:13:02 5: Loading /usr/local/lib/FHEM/00_FHZ.pm, order 00
2009.09.17 00:13:02 3: FHZ opening FHZ device /dev/ttyUSB0
Can't locate Device/SerialPort.pm in @INC (@INC contains: /usr/lib/
perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/
perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/
site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-
multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .)
at /usr/local/lib/FHEM/00_FHZ.pm line 326, <$fh> line 39.
2009.09.17 00:13:16 5: Cmd: >attr global userattr freig1 freig2 freig3
freig4 rollstop1 rollstop2<
2009.09.17 00:13:16 5: Cmd: ><
2009.09.17 00:13:16 5: Cmd: >{ sunrise_coord( "9.46667" , "48.55" ,
"" ) }<
2009.09.17 00:13:16 5: Cmd: >define FHZ FHZ /dev/ttyUSB0 strangetty<
2009.09.17 00:13:16 5: Loading /usr/local/lib/FHEM/00_FHZ.pm, order 00
2009.09.17 00:13:16 3: FHZ opening FHZ device /dev/ttyUSB0
Can't locate Device/SerialPort.pm in @INC (@INC contains: /usr/lib/
perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/
perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/
site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-
multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .)
at /usr/local/lib/FHEM/00_FHZ.pm line 326, <$fh> line 39.
2009.09.17 00:13:57 5: Cmd: >attr global userattr freig1 freig2 freig3
freig4 rollstop1 rollstop2<
2009.09.17 00:13:57 5: Cmd: ><
2009.09.17 00:13:57 5: Cmd: >{ sunrise_coord( "9.46667" , "48.55" ,
"" ) }<
2009.09.17 00:13:57 5: Cmd: >define FHZ FHZ /dev/ttyUSB0<
2009.09.17 00:13:57 5: Loading /usr/local/lib/FHEM/00_FHZ.pm, order 00
2009.09.17 00:13:57 3: FHZ opening FHZ device /dev/ttyUSB0
Can't locate Device/SerialPort.pm in @INC (@INC contains: /usr/lib/
perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/
perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/
site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-
multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .)
at /usr/local/lib/FHEM/00_FHZ.pm line 326, <$fh> line 39.





On 16 Sep., 20:41, Seppel18 wrote:
> Hallole
> ich bekommen die FHZ1000 nicht unter Suse 11 zum laufen.
> Bisher ich habe die NSLU2 mit FHZ1000 am laufen möchte jetzt wechseln.
> Stand: kopien aus Verschieden logfiles
>
> Log/messages:
>
> Sep 16 19:13:26 linux-x61s kernel: drivers/usb/serial/usb-serial.c:
> USB Serial support registered for FTDI USB Serial Device
> Sep 16 19:13:26 linux-x61s kernel: ftdi_sio 4-1:1.0: FTDI USB Serial
> Device converter detected
> Sep 16 19:13:26 linux-x61s kernel: drivers/usb/serial/ftdi_sio.c:
> Detected FT8U232AM
> Sep 16 19:13:26 linux-x61s kernel: usb 4-1: FTDI USB Serial Device
> converter now attached to ttyUSB0
> Sep 16 19:13:26 linux-x61s kernel: usbcore: registered new interface
> driver ftdi_sio
> Sep 16 19:13:26 linux-x61s kernel: drivers/usb/serial/ftdi_sio.c:
> v1.4.3:USB FTDI Serial Converters Driver
>
> dmesg:
>
> usb 4-1: new full speed USB device using uhci_hcd and address 4
> usb 4-1: configuration #1 chosen from 1 choice
> ftdi_sio 4-1:1.0: FTDI USB Serial Device converter detected
> drivers/usb/serial/ftdi_sio.c: Detected FT8U232AM
> usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0
> usb 4-1: New USB device found, idVendor=0403, idProduct=f06f
> usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 4-1: Product: ELV FHZ 1000 PC
> usb 4-1: Manufacturer: ELV AG
> usb 4-1: SerialNumber: ELUxxxx
>
> lsusb:
>
> Bus 006 Device 002: ID 1199:6813 Sierra Wireless, Inc.
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 004: ID 0403:f06f Future Technology Devices
> International, Ltd
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics
> Fingerprint Reader
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> auszug aus der fhz1000.cfg
>
> attr global port 7072 global                 # our TCP/IP port
> (working from localhost only)
> attr global modpath /usr/local/lib            # where our FHZ1000
> director
> attr global logfile /var/log/fhem/fhz1000.log
> attr global statefile /var/log/fhem/fhem-%d-%m.save  # where to save
> the state of the devices
> attr global verbose 5                   # "normal" verbosity (min 1,
> max 5)
> define FHZ FHZ none /dev/ttyUSB0 strangetty
> set FHZ FHTcode 57
> attr FHZ fhtsoftbuffer
>
> Ich weis nicht mehr weiter, nach meinen Verständniss erkennt suse das
> Gerät doch.
> Ich kann den Server starten  mit fhem.pl fhz1000.cfg, list und die
> verschiedenen Befehle absetzen.
> Trotzdem blinkt die FHZ1000 nicht.
>
> Vielleicht hat hier jemand eine idee.
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-
Titel: [FHZ] Re: FHZ1000 mit opensuse 11
Beitrag von: Guest am 17 September 2009, 00:41:39
Originally posted by: <email address deleted>

Hi,

hast Du möglicherweise vergessen SerialPort für Perl zu installieren ?

Es scheint, als könnte Perl das Modul für die Kommunikation mit dem
seriellen Port nicht finden. Ist ein Modul, welches man für Perl
nachträglich installieren muß (siehe FHEM-Homepage).

Gruß,
Olaf

Seppel18 schrieb:
> Hallo,
>
> du hast wohl auch kein Bett?
> Hier noch der gewünschte auszug fhem.log
> wie zu erkenn ist eben was verändert weiss aber nicht mehr was sch...
> jetzt gehts nicht mehr der fhem server läuft nicht mehr.
> Schau mal ob du da wasfindest.
>
> nachtrag das ::none:: rein und der fhem server startet wieder.
>

> 2009.09.16 23:57:46 5: Loading /usr/local/lib/FHEM/00_FHZ.pm, order 00
> 2009.09.16 23:57:46 3: FHZ opening FHZ device /dev/ttyUSB0
> Can't locate Device/SerialPort.pm in @INC (@INC contains: /usr/lib/
> perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/
> perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/
> site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-
> multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .)
> at /usr/local/lib/FHEM/00_FHZ.pm line 326, <$fh> line 39.
>
------------------------------------------------------------------------
Dr. Olaf Droegehorn
General Manager              Tel.  : +49-561-82020-410
DHS - Computertechnik GmbH   Fax.  : +49-561-82020-399
Carlsdorfer Straße 3         E-Mail: O.Droegehorn@dhs-computertechnik.de

                              WEB:    www.dhs-computertechnik.de
D-34128 Kassel
------------------------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-
Titel: [FHZ] Re: FHZ1000 mit opensuse 11
Beitrag von: Seppel18 am 18 September 2009, 00:38:18
                                             

Hallo,

der Hinweis mit dem Serialport für Perl war gut.
Jetzt regagiert die FHZ auf die Tasten der Fernbedienung blinkt also,
nur erfolgt keine Auswertung von fhem. Der Aktor schaltet nicht.

Seltsam, die Befehle von der Website werden ausgeführt, also sendet
die FHZ.
Diese Bad CRC message kommen vieleicht von einem falsch senden FS20/
FHT oder. werde morgen mal auf die Suche gehen.


fhem.log

2009.09.17 23:56:34 0: Server shutdown
2009.09.17 23:56:40 3: FHZ opening FHZ device /dev/ttyUSB3
2009.09.17 23:56:40 3: FHZ opened FHZ device /dev/ttyUSB3
2009.09.17 23:56:42 2: FHZ set FHZ FHTcode 57
2009.09.17 23:56:42 3: Please define roll_wz1_2 first
2009.09.17 23:56:42 0: Server started (version 4.6 from 2009-07-03
($Id: fhem.pl,v 1.74 2009/07/03 06:53:50 rudolfkoenig Exp $), pid
17709)
2009.09.17 23:57:32 4: Connection accepted from 127.0.0.1:6313
2009.09.17 23:57:38 4: Setting inform to on
2009.09.17 23:57:44 4: Bad CRC message, skipping it (Bogus message
follows)
2009.09.17 23:57:45 4: Bad CRC message, skipping it (Bogus message
follows)





On 17 Sep., 00:41, Olaf Droegehorn computertechnik.de> wrote:
> Hi,
>
> hast Du möglicherweise vergessen SerialPort für Perl zu installieren ?
>
> Es scheint, als könnte Perl das Modul für die Kommunikation mit dem
> seriellen Port nicht finden. Ist ein Modul, welches man für Perl
> nachträglich installieren muß (siehe FHEM-Homepage).
>
> Gruß,
> Olaf


> > nachtrag das ::none:: rein und der fhem server startet wieder.
>
> > 2009.09.16 23:57:46 5: Loading /usr/local/lib/FHEM/00_FHZ.pm, order 00
> > 2009.09.16 23:57:46 3: FHZ opening FHZ device /dev/ttyUSB0
> > Can't locate Device/SerialPort.pm in @INC (@INC contains: /usr/lib/
> > perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/
> > perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/
> > site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-
> > multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .)
> > at /usr/local/lib/FHEM/00_FHZ.pm line 326, <$fh> line 39.
>
> ------------------------------------------------------------------------
> Dr. Olaf Droegehorn
> General Manager              Tel.  : +49-561-82020-410
> DHS - Computertechnik GmbH   Fax.  : +49-561-82020-399
> Carlsdorfer Straße 3         E-Mail: O.Droegeh...@dhs-computertechnik.de
>
>                               WEB:    www.dhs-computertechnik.de
> D-34128 Kassel
> ------------------------------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en
-~----------~----~----~----~------~----~------~--~-