[FHZ] FHZ 1000 PC disconnect

Begonnen von Zwiebel, 29 November 2009, 15:27:22

Vorheriges Thema - Nächstes Thema

Zwiebel

Originally posted by: <email address deleted>

Hi,

I'm new with the FHZ stuff with FHEM.

I just installed it an run

perl /usr/local/bin/fhem.pl /var/log/fhem/fhem.cfg

do a telnet to localhost 7072

FHZ> list

Type list for detailed info.

_internal_:
  global               ()

FHEMWEB:
  WEB                  (Initialized)

FileLog:
  Logfile              (active)


When executing

define FHZ1 FHZ /dev/ttyUSB0

FHZ> define FHZ1 FHZ /dev/ttyUSB0
Connection closed by foreign host.

it disconnects??

dmesg output

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

any idea what goes wrong??

regards Richard

--

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.

rudolfkoenig

                                                   

> any idea what goes wrong??

After opening the device fhem sends an initialization string to the FHZ. It is
possible that the firmware reboots after receiving this string. Could you add
some "Log" entries to the FHZ_DoInit function in 00_FHEM.pm, and/or replace the
init2 string in this function with init3 or init1? I never really understood
the difference between these init strings...

Regards,
  Rudi

--

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.