Hauptmenü

[FHZ] CM11 and LM12

Begonnen von rudolfkoenig, 26 Februar 2009, 14:27:05

Vorheriges Thema - Nächstes Thema

rudolfkoenig

Originally posted by: <email address deleted>

Hi!

I'm planing to buy CM11 computer com interface and LM12 and use FHEM
to manage that devices.

I've installed the last version of fhem from cvs:

cvs -z3 -d:pserver:anonymous@cvs.fhem.berlios.de:/cvsroot/fhem co fhem

I'm writing config as it is written on
 http://groups.google.com/group/FHZ1000-users-on-unix/browse_ thread/thread/125859bf3dbcda82?hl=en

When I'm stating fhem, I have such text in log file:

{{{
2009.02.26 16:16:35 3: wrong syntax: define FHZ devicename
[normal|strangetty] [mobile]
2009.02.26 16:16:35 3: Unknown argument lm12, choose one of CM11 CUL
CUL_EM CUL_WS EM EMEM EMGZ EMWZ FHT FHZ FS20 FileLog HMS IPWE KS300
LIRC M232 M232Counter M232Voltage SCIVT WS2000 WS300 X10 at dummy
notify structure watchdog
2009.02.26 16:16:35 0: Server started (version =VERS= from =DATE=
($Id: fhem.pl,v 1.69 2009/02/11 12:58:22 rudolfkoenig Exp $), pid
21694)
}}}

Here is my whole fhem config file:

{{{
#
# Minimalistic fhem.pl configfile. Take a look at the other examples
for more.
#
attr global logfile /var/log/fhem/fhem-%Y-%m.log
attr global statefile /var/log/fhem/fhem.save       # where to save
the state of the devices
attr global verbose 3                               # "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 CM11 CM11
define lamp1 lm12 A 1
}}}

Can you please explain to me how can i set up CM11. Thank you.

--
bessaraobov
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~-

rudolfkoenig

                                                   

> 2009.02.26 16:16:35 3: wrong syntax: define FHZ devicename
> [normal|strangetty] [mobile]

The message is somehow misleading, as it is a CM11 device, not an FHZ
device. You have to specify the CM11-devicename.
Something like
define myCM11 CM11 /dev/ttyUSB0
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~-

UliM

Originally posted by: <email address deleted>

Thank you for your answer.

So, now my conf file has lines (I'm planning to buy com device, not usb):

{{{
define myCM11 CM11 /dev/ttyS0
define lamp1 lm12 A 1
}}}

In my log I have:
{{{
2009.02.26 18:30:50 3: CM11 opening CM11 device /dev/ttyS0
2009.02.26 18:30:50 3: CM11 opened CM11 device /dev/ttyS0
2009.02.26 18:30:50 3: Unknown argument lm12, choose one of CM11 CUL CUL_EM
CUL_WS EM EMEM EMGZ EMWZ FHT FHZ FS20 FileLog HMS IPWE KS300 LIRC M232
M232Counter M232Voltage SCIVT WS2000 WS300 X10 at dummy notify structure
watchdog
2009.02.26 18:30:50 0: Server started (version =VERS= from =DATE= ($Id:
fhem.pl,v 1.69 2009/02/11 12:58:22 rudolfkoenig Exp $), pid 2400)
}}}

So I don't have error for the wrong syntax, but I have error with unknown
argument lm12.

I stil don't understand. How should I define the X10 module?

2009/2/26 Rudolf Koenig

>
> The message is somehow misleading, as it is a CM11 device, not an FHZ
> device. You have to specify the CM11-devicename.
> Something like
> define myCM11 CM11 /dev/ttyUSB0
>

--
bessarabov.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~---
RPi4/Raspbian, CUL V3 (ca. 30 HomeMatic-devices), LAN (HarmonyHub, alexa etc.).  Fördermitglied des FHEM e.V.

Dr. Boris Neubert

                                             

Am Donnerstag, 26. Februar 2009 schrieb Иван Бессарабов:
> {{{
> define myCM11 CM11 /dev/ttyS0
> define lamp1 lm12 A 1
> }}}

the correct syntax (see X10 section in commandref.html, especially examples)
is

define lamp1 X10 lm12 A 1

Regards,
Boris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~-
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Guest

Originally posted by: <email address deleted>

Thank you! Now everythings seems ok. (Actually i have an error "CM11 device
myCM11: Timeout reading checksum", but I hope this is normal, I still
haven't buy any X10 devices =) Now I feel ready to buy some X10 modules and
try them.

Sorry for such dumb question - it is my first day with X10 things =)

So, thanks again! =)

2009/2/26 Boris Neubert

>
> Am Donnerstag, 26. Februar 2009 schrieb Иван Бессарабов:
> > {{{
> > define myCM11 CM11 /dev/ttyS0
> > define lamp1 lm12 A 1
> > }}}
>
> the correct syntax (see X10 section in commandref.html, especially
> examples)
> is
>
> define lamp1 X10 lm12 A 1
>
> Regards,
> Boris
>
>
> >
>


--
bessarabov.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "FHZ1000 users on Linux" group.
To post to this group, send email to FHZ1000-users-on-unix@googlegroups.com
To unsubscribe from this group, send email to FHZ1000-users-on-unix+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/FHZ1000-users-on-unix?hl=en
-~----------~----~----~----~------~----~------~--~---