[FHZ] FHEM on Fritzbox 7170

Begonnen von Guest, 09 Februar 2010, 19:41:10

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

Hi all,

being fascinated about the possibilities FHEM offers, I am currently
trying to install it on my Fritzbox 7170. Yet, I'm encountering some
serious trouble in installing and now I'm hoping that you might be
able to help me solve those :).

The current state:
Webserver is running (Apache + perl and php), Webinterface (pgm5) can
be called, yet, I get no connection to the FHEM server.
An FS20 Receiver (FS20PCE) is already plugged, a sender is coming
soon.

My dummy config file:
attr global logfile /var/media/ftp/uStor01/fritzext/fhem-4.8/fhem.log
attr global statefile /var/media/ftp/uStor01/fritzext/fhem-4.8/
fhem.save
attr global verbose 3
attr global port 7072
attr global modpath /var/media/ftp/uStor01/fritzext/fhem-4.8
define FS20 /dev/ttyUSB3
define lamp FS20 8765 01

(usb device string:
BUS=001
DEV=004
VID=18ef
PID=e014
CLS=00
SCL=00
SPEED='full'
VER='1.1'
MANU='ELV Elektronik AG'
PROD='FS20PCE'
ISOC=0
INUM=1
ICLS1=03
ISCL1=00
)

When the FHEM server is startet using the debug.cfg by rebooting the
FritzBox I get the following error:

2010.02.09 19:16:18 3: Unknown argument FS20, choose one of FHEMWEB
SVG weblink
No such signal: SIGINT at fhem.pl line 1700.
No such signal: SIGTERM at fhem.pl line 1701.
No such signal: SIGPIPE at fhem.pl line 1702.

Moreover, when calling the webinterface I get the message
Use of uninitialized value in hash element at fhemweb.pl line 314.
Use of uninitialized value in hash element at fhemweb.pl line 314.

Can't connect to the server on localhost:7072





How can I get FHEM to work?

Sincerely,
Matthias

--
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>

Matthias wrote:

> The current state:
> Webserver is running (Apache + perl and php), Webinterface (pgm5) can
> be called, yet, I get no connection to the FHEM server.
> An FS20 Receiver (FS20PCE) is already plugged, a sender is coming
> soon.

I might be mistaken, but as to my knowledge, FS20PCE is not supported
by FHEM. From reading the specs on elv.de, that seems to be receiver
for FS20 only, which translates FS20 messages to, hmm, keycodes or the
like (USB HID)?

You need either an ELV FHZ or a busware.de CUL device.

> define FS20 /dev/ttyUSB3
> define lamp FS20 8765 01

No, doesn't work that way.

Either define a CUL or FHZ device with the serial device's path. HTH,
         kai

--
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>

Hi,

thank you for your reply. As it is an official elv device - is there
any chance to get it supported? I would be glad helping you in any way
I can.

Thank you very much,
Matthias


On 9 Feb., 20:08, "Kai 'wusel' Siering"
wrote:
> Matthias wrote:
> > The current state:
> > Webserver is running (Apache + perl and php), Webinterface (pgm5) can
> > be called, yet, I get no connection to the FHEM server.
> > An FS20 Receiver (FS20PCE) is already plugged, a sender is coming
> > soon.
>
> I might be mistaken, but as to my knowledge, FS20PCE is not supported
> by FHEM. From reading the specs on elv.de, that seems to be receiver
> for FS20 only, which translates FS20 messages to, hmm, keycodes or the
> like (USB HID)?
>
> You need either an ELV FHZ or a busware.de CUL device.
>
> > define FS20 /dev/ttyUSB3
> > define lamp FS20 8765 01
>
> No, doesn't work that way.
>
> Either define a CUL or FHZ device with the serial device's path. HTH,
>                         kai

--
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

                                                   

> As it is an official elv device - is there any chance to get it supported?

I'm afraid fhem is not about supporting "official" ELV devices, I'm not even
sure that ELV is aware of fhem.


> I would be glad helping you in any way I can.

Go ahead, and write a FHEM Module for it :) I will be glad to add it to the
distribution.

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.

Guest

Originally posted by: <email address deleted>

Matthias wrote:

> thank you for your reply. As it is an official elv device - is there
> any chance to get it supported? I would be glad helping you in any way
> I can.

As I see it, FHEM works mostly on a you-want-it-you-do-it-basis ... ;)

The FS20PCE seems to be a one halve of the FHZ: it's receive only, so
you could use your FS20 remote control to send a command which the PCE
receives and deliveres to a computer, which acts upon that. For FHEM,
I don't see much use in it (I assume a CUL is not much more expensive,
giving you a full 868 MHz receiver) and problems in interfacing it with
existing FS20 modules (which expect a transceiver); well, if care's
taken, that could work out, but as you will never be able to control,
say, a FS20-ST via a PCE, what's the use?

But if your willing to do it: Just fetch FHZ.pm or CUL.pm, drop the
Write() call and build a translation table on what's received from the
PCE to what would be expected from FHZ and send that off via Dispatch().
         kai

--
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>

Hi Kai,

thank you very much. I've got an FS20PCS sender also here. So I will
try to write that translation table :).

Matthias

On 10 Feb., 10:40, "Kai 'wusel' Siering"
wrote:
> Matthias wrote:
> > thank you for your reply. As it is an official elv device - is there
> > any chance to get it supported? I would be glad helping you in any way
> > I can.
>
> As I see it, FHEM works mostly on a you-want-it-you-do-it-basis ... ;)
>
> The FS20PCE seems to be a one halve of the FHZ: it's receive only, so
> you could use your FS20 remote control to send a command which the PCE
> receives and deliveres to a computer, which acts upon that. For FHEM,
> I don't see much use in it (I assume a CUL is not much more expensive,
> giving you a full 868 MHz receiver) and problems in interfacing it with
> existing FS20 modules (which expect a transceiver); well, if care's
> taken, that could work out, but as you will never be able to control,
> say, a FS20-ST via a PCE, what's the use?
>
> But if your willing to do it: Just fetch FHZ.pm or CUL.pm, drop the
> Write() call and build a translation table on what's received from the
> PCE to what would be expected from FHZ and send that off via Dispatch().
>                         kai

--
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>

Hallo,

also ich habe die letzten Tage ein wenig probiert. Ergebnis des
ganzen: Irgendwie werden weder Sender noch Empfänger von der ftdi_sio
unterstützt, womit es extrem schwierig wird auf eine fftyUSB*
zuzugreifen.

Deswegen habe ich beschlossen mir nun eine passende Sender-/
Empfängerkombination zu kaufen. Die Frage ist nur, welche ist denn nun
wirklich die richtige - sie soll danach auf jeden Fall mit der
Fritzbox funktionieren.

Auf der einen Seite hätte ich nun auf Anregung von Kai die CC1101-USB-
Lite 868MHz (CUL) (http://shop.busware.de/product_info.php/products_id/
29). Auf der anderen Seite suche ich noch ein FHZ Modul - die Frage
ist nur welches. Bisher habe ich nur Module für 100 Euro aufwärts
gesehen (wird wohl kaum richtig sein oder?)

Was würdet ihr empfehlen? Habt ihr irgendeine funktionierende Variante
mit der FritzBox am Laufen?

Vielen Dank,
Matthias

On 10 Feb., 13:19, Matthias wrote:
> Hi Kai,
>
> thank you very much. I've got an FS20PCS sender also here. So I will
> try to write that translation table :).
>
> Matthias
>
> On 10 Feb., 10:40, "Kai 'wusel' Siering"
> wrote:
>
> > Matthias wrote:
> > > thank you for your reply. As it is an official elv device - is there
> > > any chance to get it supported? I would be glad helping you in any way
> > > I can.
>
> > As I see it, FHEM works mostly on a you-want-it-you-do-it-basis ... ;)
>
> > The FS20PCE seems to be a one halve of the FHZ: it's receive only, so
> > you could use your FS20 remote control to send a command which the PCE
> > receives and deliveres to a computer, which acts upon that. For FHEM,
> > I don't see much use in it (I assume a CUL is not much more expensive,
> > giving you a full 868 MHz receiver) and problems in interfacing it with
> > existing FS20 modules (which expect a transceiver); well, if care's
> > taken, that could work out, but as you will never be able to control,
> > say, a FS20-ST via a PCE, what's the use?
>
> > But if your willing to do it: Just fetch FHZ.pm or CUL.pm, drop the
> > Write() call and build a translation table on what's received from the
> > PCE to what would be expected from FHZ and send that off via Dispatch().
> >                         kai

--
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>

Moin,

Matthias wrote:

> Deswegen habe ich beschlossen mir nun eine passende Sender-/
> Empfängerkombination zu kaufen. Die Frage ist nur, welche ist denn nun
> wirklich die richtige - sie soll danach auf jeden Fall mit der
> Fritzbox funktionieren.

Für "Fritzbox" wäre erst mal wichtig zu wissen, welche; die 71er sind
proprietärer Mist, was USB angeht (kein LowSpeed, kein isochroner Mo-
dus, also damit weder typische HID-Geräte noch USB-Cameras, AFAIR), wo-
bei FHZ und/oder CUL daran wohl funktionieren. Die 72er haben wohl 'nen
richtigen "USB-Chip" drin; wobei, mehr als 'nen HSPA-WLAN-Router zu bau-
en habe ich mit meiner 7240 noch nicht gemacht.

> Auf der einen Seite hätte ich nun auf Anregung von Kai die CC1101-USB-
> Lite 868MHz (CUL) (http://shop.busware.de/product_info.php/products_id/
> 29). Auf der anderen Seite suche ich noch ein FHZ Modul - die Frage
> ist nur welches. Bisher habe ich nur Module für 100 Euro aufwärts
> gesehen (wird wohl kaum richtig sein oder?)

Was meinst Du mit "FHZ Modul"? CUL kann mit der culfw-Firmware "FHZ" emp-
fangen als auch senden. "FHZ" stehe hier für, man korrigiere mich, FS20-,
FHT-, HMS-, KS- und RM-Protokolle, CUL mit culfw kann also alles, was eine
FHZ1350 auch kann, wie man an CUL_FHTTK sieht, sogar mehr (FHZ wertet die
Signale der FHT80TF m. W. nicht aus, das macht sonst nur der FHT80B).

> Was würdet ihr empfehlen? Habt ihr irgendeine funktionierende Variante
> mit der FritzBox am Laufen?

... nur, wie gesagt, zu FHEM & FB muß ich passen. FB ist bei mir zwar auch
"aufgebohrt", aber nur mit OpenVPn & Asterisk ;)
         kai


--
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>

Hi,

vielen Dank erstmal. Soweit also CC1101-USB-Lite 868MHz (CUL) :). Die
Frage ist nur noch ob es auf der Fritzbox läuft ...

Schöne Grüße,
Matthias

On 12 Feb., 19:48, "Kai 'wusel' Siering"
wrote:
> Moin,
>
> Matthias wrote:
> > Deswegen habe ich beschlossen mir nun eine passende Sender-/
> > Empfängerkombination zu kaufen. Die Frage ist nur, welche ist denn nun
> > wirklich die richtige - sie soll danach auf jeden Fall mit der
> > Fritzbox funktionieren.
>
> Für "Fritzbox" wäre erst mal wichtig zu wissen, welche; die 71er sind
> proprietärer Mist, was USB angeht (kein LowSpeed, kein isochroner Mo-
> dus, also damit weder typische HID-Geräte noch USB-Cameras, AFAIR), wo-
> bei FHZ und/oder CUL daran wohl funktionieren. Die 72er haben wohl 'nen
> richtigen "USB-Chip" drin; wobei, mehr als 'nen HSPA-WLAN-Router zu bau-
> en habe ich mit meiner 7240 noch nicht gemacht.
>
> > Auf der einen Seite hätte ich nun auf Anregung von Kai die CC1101-USB-
> > Lite 868MHz (CUL) (http://shop.busware.de/product_info.php/products_id/
> > 29). Auf der anderen Seite suche ich noch ein FHZ Modul - die Frage
> > ist nur welches. Bisher habe ich nur Module für 100 Euro aufwärts
> > gesehen (wird wohl kaum richtig sein oder?)
>
> Was meinst Du mit "FHZ Modul"? CUL kann mit der culfw-Firmware "FHZ" emp-
> fangen als auch senden. "FHZ" stehe hier für, man korrigiere mich, FS20-,
> FHT-, HMS-, KS- und RM-Protokolle, CUL mit culfw kann also alles, was eine
> FHZ1350 auch kann, wie man an CUL_FHTTK sieht, sogar mehr (FHZ wertet die
> Signale der FHT80TF m. W. nicht aus, das macht sonst nur der FHT80B).
>
> > Was würdet ihr empfehlen? Habt ihr irgendeine funktionierende Variante
> > mit der FritzBox am Laufen?
>
> ... nur, wie gesagt, zu FHEM & FB muß ich passen. FB ist bei mir zwar auch
> "aufgebohrt", aber nur mit OpenVPn & Asterisk ;)
>                         kai

--
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>

Achso was ich vergessen habe -- es ist eine Fritzbox 7170.

On 12 Feb., 19:52, Matthias wrote:
> Hi,
>
> vielen Dank erstmal. Soweit also CC1101-USB-Lite 868MHz (CUL) :). Die
> Frage ist nur noch ob es auf derFritzboxläuft ...
>
> Schöne Grüße,
> Matthias
>
> On 12 Feb., 19:48, "Kai 'wusel' Siering"
> wrote:
>
> > Moin,
>
> > Matthias wrote:
> > > Deswegen habe ich beschlossen mir nun eine passende Sender-/
> > > Empfängerkombination zu kaufen. Die Frage ist nur, welche ist denn nun
> > > wirklich die richtige - sie soll danach auf jeden Fall mit der
> > >Fritzboxfunktionieren.
>
> > Für "Fritzbox" wäre erst mal wichtig zu wissen, welche; die 71er sind
> > proprietärer Mist, was USB angeht (kein LowSpeed, kein isochroner Mo-
> > dus, also damit weder typische HID-Geräte noch USB-Cameras, AFAIR), wo-
> > bei FHZ und/oderCULdaran wohl funktionieren. Die 72er haben wohl 'nen
> > richtigen "USB-Chip" drin; wobei, mehr als 'nen HSPA-WLAN-Router zu bau-
> > en habe ich mit meiner 7240 noch nicht gemacht.
>
> > > Auf der einen Seite hätte ich nun auf Anregung von Kai die CC1101-USB-
> > > Lite 868MHz (CUL) (http://shop.busware.de/product_info.php/products_id/
> > > 29). Auf der anderen Seite suche ich noch ein FHZ Modul - die Frage
> > > ist nur welches. Bisher habe ich nur Module für 100 Euro aufwärts
> > > gesehen (wird wohl kaum richtig sein oder?)
>
> > Was meinst Du mit "FHZ Modul"?CULkann mit der culfw-Firmware "FHZ" emp-
> > fangen als auch senden. "FHZ" stehe hier für, man korrigiere mich, FS20-,
> > FHT-, HMS-, KS- und RM-Protokolle,CULmit culfw kann also alles, was eine
> > FHZ1350 auch kann, wie man an CUL_FHTTK sieht, sogar mehr (FHZ wertet die
> > Signale der FHT80TF m. W. nicht aus, das macht sonst nur der FHT80B).
>
> > > Was würdet ihr empfehlen? Habt ihr irgendeine funktionierende Variante
> > > mit derFritzBoxam Laufen?
>
> > ... nur, wie gesagt, zu FHEM & FB muß ich passen. FB ist bei mir zwar auch
> > "aufgebohrt", aber nur mit OpenVPn & Asterisk ;)
> >                         kai

--
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.