[FHZ] Can't get M232 to work at NSLU serial port

Begonnen von Guest, 03 November 2009, 13:53:24

Vorheriges Thema - Nächstes Thema

Dr. Boris Neubert

                                                   

> @Rudi: Könnte mann  den ReverseLookUp per %defptr nicht globalisieren
> %defptr{}{[...]}?

Wozu brauchst Du einen globalen defptr? Da steht modulspezifisch (d.h
privat) drin, welche RF-Adresse welchem logischen Geraet entspicht.
Aber ich habe nix gegen ein Autodiscover Modul, der automatisch
Geraete anlegt. Diese kann man manuell umbenennen, wenn man es besser
weiss.

Weiterhin:
- Dieses thread war urspruenglich ein M232 Thead, Ihr habt es
"gekapert" und unbenannt. Das ist eine Unsitte, und wird bitte nicht
mehr gemacht. Wenn ich es nicht verstanden habe, dann bitte ich um
Korrektur.
- Ich blicke nicht mehr, was der Stand der CUL_TF Moduls ist. Wenn Ihr
eine Version (mit commandref Doku!) habt, dann kann ich es gerne
einbauen, bzw. auch helfen (nicht bei der Doku :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~-
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Guest

Originally posted by: <email address deleted>

Ist das Modul nicht im cvs? Hab grad ein Update gezogen, aber kanns
nicht finden.

--

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

Dr. Boris Neubert

Originally posted by: <email address deleted>

Till wrote:
> Ist das Modul nicht im cvs? Hab grad ein Update gezogen, aber kanns
> nicht finden.

Rudolf schrieb am 09.11.:
> Komische Zeiten. Ich kriege schon wieder in Abstand von wenigen Stunden Code
> von unterschiedlichen Leuten fuer die gleiche Sache. Diesmal war Alex
> schneller.  Ich werde beide Pakete anschauen, und versuchen sie nach besten
> Wissen zu integrieren.

Das ist demnach wohl noch nicht abgeschlossen. Mein diff hing meiner Mail
ja an, falls Du's also gar nicht mehr abwarten kannst -- unter der Gefahr,
daß die von Rudolf gewählte Implementierung anders sein könnte --, pack's
und probier's aus.

Mein zum Testen bestellter HMS100 TFK ist heute gekommen; ich sinniere noch,
ob eine Übersetzung von FHT80 TF auf HMS100 TFK evtl. sinnvoll(er) wäre, mal
sehen. Was ich aber für praktisch hielte, wäre ein FHT80 TF-konformes senden
für einen in FHEM definierten Fake-FHT80 TF. Z. B. um einen HMS auch als FHT
via FHEM zu nutzen (z. B. hätte ich bei der Terassentür eher den Wunsch, ein
Öffnen ASAP mitzubekommen, z. B. um per FHEM "motion" anzuweisen, die ent-
sprechende Kamera auf Aufnahme zu schalten; da die max. 2:30 Minuten zu war-
ten, bis der FHT sich meldet, wäre kontraproduktiv. HMS & FHT (für die Heiz-
ungssteuerung via FHT80 B) an einer Tür wäre aber meiner Meinung nach over-
kill, wenn ich schon 'ne Software laufen habe. Und ja, wg. Ausfallsicherheit,
WAF und weil ich Redundanzliebhaber bin, würde ich den FHT80 B derzeit nicht
aus der Gleichung nehmen.)

Aber die Sendeseite bzgl. FHEM & CUL habe ich mir noch gar nicht angesehen ...
         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=.
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Guest

Originally posted by: <email address deleted>

Hi,

thanks, but I had increased the timeout already earlier. Given how
much time I spent troubleshooting this, I went ahead and ordered a USB-
to-RS232 converter and 1-to 4 USB hub.

Hopefully that will work out using Rudolf Koenig's instructions. My
suspicion is that one would need to so a similar change to the Kernel
to make the serial port work with device:serialport. Unfortunately, I
could not find instructions for non-experts on how to do that .

I'll report on my progress in a couple days when the converter
arrives.

Best regards,

Wieland

On 7 Nov., 14:48, "Dr. Boris Neubert" wrote:
> Hi,
>
> >     $nfound = select($rin, undef, undef, 1.0); # 3 seconds timeout
>
> Could please try to increase the timeout in the above line from 1.0 (1
> second) to 5.0 (5 seconds)?
>
> Boris

--

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

Dr. Boris Neubert

Originally posted by: <email address deleted>

The USB-to-serial converter, combined with a USB hub (circa 10 total €
on e**y) fixed everything for me, and was even plug and play. No need
to recompile the Linux kernel...:-). Now I am on to installing
hardware (like temperature detectors, and the optical counter for the
PV array).

Thanks,

Wieland



On 16 Nov., 12:09, LB_ORL wrote:
> Hi,
>
> thanks, but I had increased the timeout already earlier. Given how
> much time I spent troubleshooting this, I went ahead and ordered a USB-
> to-RS232 converter and 1-to 4 USB hub.
>
> Hopefully that will work out using Rudolf Koenig's instructions. My
> suspicion is that one would need to so a similar change to the Kernel
> to make the serial port work with device:serialport. Unfortunately, I
> could not find instructions for non-experts on how to do that .
>
> I'll report on my progress in a couple days when the converter
> arrives.
>
> Best regards,
>
> Wieland
>
> On 7 Nov., 14:48, "Dr. Boris Neubert" wrote:
>
>
>
> > Hi,
>
> > >     $nfound = select($rin, undef, undef, 1.0); # 3 seconds timeout
>
> > Could please try to increase the timeout in the above line from 1.0 (1
> > second) to 5.0 (5 seconds)?
>
> > Boris- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

--

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.
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!