2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

FAQ fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@253 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2008-10-11 08:04:22 +00:00
parent 7a78cc3d05
commit 87c7c2f89e
2 changed files with 25 additions and 4 deletions

View File

@ -59,6 +59,7 @@ messages from my FHT80b. How to switch back to the actuator:0% messages?</a>
<a href="#faq16">16. Setting auto-mode from manual for the FHT won't change the <a href="#faq16">16. Setting auto-mode from manual for the FHT won't change the
desired temperature!</a><br> desired temperature!</a><br>
<a href="#faq17">17. I have problem receiving data, I get "Bad CRC" or "Oversized message."</a><br>
<br/> <br/>
<br/> <br/>
@ -355,8 +356,8 @@ messages from my FHT80b. How to switch back to the actuator:0% messages?
return if (!defined($r));;\ return if (!defined($r));;\
my $olddesired = $r->{"desired-temp"}{VAL};;\ my $olddesired = $r->{"desired-temp"}{VAL};;\
return if (!defined($olddesired));;\ return if (!defined($olddesired));;\
my @day = ("sun", "mon", "tue", "wed", "thu", "fri", "sat");;\ my @@day = ("sun", "mon", "tue", "wed", "thu", "fri", "sat");;\
my $now = sprintf("%02d:%02d", $hour, $min);;\ my $now = sprintf("%%02d:%%02d", $hour, $min);;\
my $wd = $day[$wday];;\ my $wd = $day[$wday];;\
my $desired;;\ my $desired;;\
if (defined($r->{"warnings"}{VAL}) && $r->{"warnings"}{VAL} eq "Window open") {\ if (defined($r->{"warnings"}{VAL}) && $r->{"warnings"}{VAL} eq "Window open") {\
@ -374,6 +375,26 @@ messages from my FHT80b. How to switch back to the actuator:0% messages?
</pre> </pre>
</ul> </ul>
<a name="faq17">
<b>17. I have problem receiving data, I get "Bad CRC" or "Oversized
message."</b>
<ul>
Some Linux distibutions have problems with the settings of the serial USB
lines. Sometimes the 8.th bit is stripped, sometimes software flowcontrol
is enabled. Fhem tries to clear the serial line, but it is not always
successfull. Following command fixes the problem in some cases:
<pre>
stty < /dev/elv_fhz1300pc\
-parenb -parodd cs8 hupcl -cstopb -cread clocal\
-crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr\
-igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8 -opost\
-olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0\
bs0 vt0 ff0 -isig -icanon -iexten -echo -echoe -echok -echonl\
-noflsh -xcase -tostop -echoprt -echoctl -echoke
</pre>
</ul>
</body> </body>

View File

@ -128,8 +128,8 @@
<h2>Links</h2> <h2>Links</h2>
<ul> <ul>
<li>Complete fhem package for the fritzbox: <a href="fb_fhem_0.3.tar.gz"> <li>Complete fhem package for the fritzbox: <a href="fb_fhem_0.4.tar.gz">
fb_fhem_0.3.tar.gz</a></li> fb_fhem_0.4.tar.gz</a></li>
<li>Telnet on the fritzbox: <li>Telnet on the fritzbox:
<a href="http://www.ip-phone-forum.de/showthread.php?t=69245"> <a href="http://www.ip-phone-forum.de/showthread.php?t=69245">
ip-phone-thread</a></li> ip-phone-thread</a></li>