[FHZ] Problems while define CUL - CUL + FHEM

Begonnen von rudolfkoenig, 02 Dezember 2009, 14:09:05

Vorheriges Thema - Nächstes Thema

rudolfkoenig

Originally posted by: <email address deleted>

Hi list,

yesterday my CUL arrived.
Now i have some troubles getting started with CUL and FHEM.
I flashed the CUL succesfully:

fhem/culfw-1.35/Devices/CUL# dfu-programmer at90usb162 flash
CUL_FHT8v.hex
Validating...
11290 bytes used (91.89%)

now i can acces the CUL via "screen":

output of V and T:

V 1.35 CUL868
0000B70E

so i started FHEM with:

perl fhem.pl /var/log/fhem/fhem.cfg

this is my config:
#
# Minimalistic fhem.pl & pgm2 configfile. Take a look at the other
examples for
# more.
#
attr global logfile .-%Y-%m.log
attr global statefile ..save   # where to save the state of the
devices
attr global verbose 5                  # "normal" verbosity (min 1,
max 5)
attr global port 7072                  # our TCP/IP port (localhost
only)
attr global modpath /usr/local/lib                  # where our FHEM
directory is

define WEB FHEMWEB 8083 global
attr WEB plotmode SVG


# Fake logfile, to access the global log
define Logfile FileLog .-%Y-%m.log fakelog


and now i will define the CUL:

telnet localhost 7072
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
define
Usage: define
define CUL1 CUL /dev/ttyACM0 0000
Connection closed by foreign host.
nb-stegmaier:/home/rene/fhem/fhem-4.8#

define
Usage: define
define CUL1 CUL /dev/ttyACM0 0000
Connection closed by foreign host.
nb-stegmaier:/home/rene/fhem/fhem-4.8#


and there ist the problem.... while defining the CUL there get
something wrong an the FHEM crash...
There is no FHEM process in the ps aux list.
So and now is the question: what happend?

I also tried the CUL.hex but the same problem.


cheers,

René


--

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

                                                   

> and there ist the problem.... while defining the CUL there get
> something wrong an the FHEM crash...
> There is no FHEM process in the ps aux list.
> So and now is the question: what happend?

Would you please take a look into the logfile?

--

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.

Guest

Originally posted by: <email address deleted>

in what logfile?

there is no logfile in /var/log/fhem



On Dec 2, 3:19 pm, Rudolf Koenig wrote:
> > and there ist the problem.... while defining the CUL there get
> > something wrong an the FHEM crash...
> > There is no FHEM process in the ps aux list.
> > So and now is the question: what happend?
>
> Would you please take a look into the logfile?

--

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

                                                   

[...]
> attr global logfile .-%Y-%m.log

Try .-2009-12.log in the current directory.

--

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.

Guest

Originally posted by: <email address deleted>

2009.12.02 15:41:38 5: Cmd: >define CUL CUL /dev/ttyACM0 1111<
2009.12.02 15:41:38 5: Loading /usr/local/lib/FHEM/00_CUL.pm
2009.12.02 15:41:39 3: CUL opening CUL device /dev/ttyACM0
Can't locate Device/SerialPort.pm in @INC (@INC contains: /etc/perl /
usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /
usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/
site_perl .) at /usr/local/lib/FHEM/00_CUL.pm line 923.

is thre any perl module i need?

Thanks

René
On Dec 2, 3:40 pm, Rudolf Koenig wrote:
> [...]
>
> > attr global logfile .-%Y-%m.log
>
> Try .-2009-12.log in the current directory.

--

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

Originally posted by: <email address deleted>

shame on me.. i forgot the serialPort module for Perl...

On 2 Dez., 15:44, reneger wrote:
> 2009.12.02 15:41:38 5: Cmd: >define CUL CUL /dev/ttyACM0 1111<
> 2009.12.02 15:41:38 5: Loading /usr/local/lib/FHEM/00_CUL.pm
> 2009.12.02 15:41:39 3: CUL opening CUL device /dev/ttyACM0
> Can't locate Device/SerialPort.pm in @INC (@INC contains: /etc/perl /
> usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /
> usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/
> site_perl .) at /usr/local/lib/FHEM/00_CUL.pm line 923.
>
> is thre any perl module i need?
>
> Thanks
>
> René
> On Dec 2, 3:40 pm, Rudolf Koenig wrote:
>
> > [...]
>
> > > attr global logfile .-%Y-%m.log
>
> > Try .-2009-12.log in the current directory.

--

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.