-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
14_SD_BELL - fixed repeats #593
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
############################################################################## | ||
# $Id: 14_SD_BELL.pm 32 2018-12-29 14:00:00 v3.3.3-dev_08.12. $HomeAuto_User | ||
# $Id: 14_SD_BELL.pm 18657 2019-02-19 21:02:24Z HomeAuto_User $ | ||
# | ||
# The file is part of the SIGNALduino project. | ||
# The purpose of this module is to support many wireless BELL devices. | ||
|
@@ -184,7 +184,12 @@ sub Set($$$@) { | |
|
||
my $msg = "P$protocol#" . $bitData; | ||
|
||
$msg .= "#R$repeats"; | ||
if ($model eq "Heidemann_|_Heidemann_HX_|_VTX-BELL") { | ||
$msg .= "#R135"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hast Du mal nachgerechnet ob das die maximale Sendezeit einhält? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wenn ich richtig gerechnet habe 0.017906 Sekunden Grundlage
Um unter 2 Sekunden zu bleiben, würde ich ggf noch mit R110 "mitgehen". SR;;R=110;;P0=-5209;;P1=365;;P2=-325;;P3=692;;P4=-668;;D=01412323414141412341414123;; 0.017906 Sekunden There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. immerhin, aber trotzdem das sind Welten für so einen Microcontroller? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dazugehöriger Faden + User |
||
} else { | ||
$msg .= "#R$repeats"; | ||
} | ||
|
||
Log3 $name, 3, "$ioname: $name sendMsg=$msg"; | ||
|
||
if ($cmd ne "?") { | ||
|
@@ -426,7 +431,8 @@ sub Attr(@) { | |
<li>model<br> | ||
The attribute indicates the model type of your device.<br></li></ul> | ||
<ul><li><a name="repeats"></a>repeats<br> | ||
This attribute can be used to adjust how many repetitions are sent. Default is 5.</li></ul><br> | ||
This attribute can be used to adjust how many repetitions are sent. Default is 5.<br> | ||
<i>(For the model Heidemann_|_Heidemann_HX_|_VTX-BELL, the value repeats is fixed at 135!)</i></li></ul><br> | ||
<br> | ||
</ul> | ||
=end html | ||
|
@@ -471,7 +477,8 @@ sub Attr(@) { | |
<li>model<br> | ||
Das Attribut bezeichnet den Modelltyp Ihres Gerätes.<br></li></ul> | ||
<ul><li><a name="repeats"></a>repeats<br> | ||
Mit diesem Attribut kann angepasst werden, wie viele Wiederholungen sendet werden. Standard ist 5.</li></ul><br> | ||
Mit diesem Attribut kann angepasst werden, wie viele Wiederholungen sendet werden. Standard ist 5.<br> | ||
<i>(Bei dem Model Heidemann_|_Heidemann_HX_|_VTX-BELL ist der Wert repeats fest auf 135 gesetzt unabhäning vom eingestellten Attribut!)</i></li></ul><br> | ||
<br> | ||
</ul> | ||
=end html_DE | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Die Bezeichnung von model sieht seltsam aus. Ist die wirklich so lang und "seltsam" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja, die Bezeichnung ist schon seit Beginn so.