00_SIGNALduino.pm: Fixes missing event and possible crash of uC

git-svn-id: https://svn.fhem.de/fhem/trunk@9835 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mrsidey 2015-11-08 21:52:25 +00:00
parent f156a69867
commit e344956f20
5 changed files with 2842 additions and 2738 deletions

View File

@ -1,5 +1,8 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 00_SIGNALduino:
Firmware Update 3.1.8-HF2 fixes a possible crash
Fixes missing event when DMSG is updated
- feature: 02_RSS: new attribute noscroll
- feature: 98_help: replace anchor links in help output with a working
link to local commandref or fhem.de

View File

@ -113,6 +113,7 @@ my %ProtocolListSIGNALduino = (
postamble => '', # Append to converted message
clientmodule => 'SIGNALduino_RSL', # not used now
modulematch => '^r[A-Fa-f0-9]+', # not used now
length_min => '12',
},
"2" =>
@ -1303,7 +1304,7 @@ sub SIGNALduno_Dispatch($$$)
$hash->{MSGCNT}++;
$hash->{TIME} = time();
$hash->{DMSG} = $dmsg;
readingsSingleUpdate($hash, "state", $hash->{READINGS}{state}{VAL}, 0);
readingsSingleUpdate($hash, "state", $hash->{READINGS}{state}{VAL}, 1);
$hash->{RAWMSG} = $rmsg;
my %addvals = (RAWMSG => $rmsg, DMSG => $dmsg);
Dispatch($hash, $dmsg, \%addvals); ## Dispatch to other Modules
@ -2066,12 +2067,13 @@ sub SIGNALduino_Hideki()
<br><br>
<ul>
<li>Temperatur / humidity sensors suppored by 14_CUL_TCM97001</li>
<li>Temperatur / humidity sensors suppored by 14_CUL_TCM97001:</li>
<li>PEARL NC7159, LogiLink WS0002,GT-WT-02,AURIOL,TCM97001, TCM27 and many more </li>
<li>Oregon Scientific v2 Sensors --> 41_OREGON.pm</li>
<li>Temperatur / humidity sensors suppored by 14_SD_WS07</li>
<li>technoline WS 6750 and TX70DTH</li>
<li>Eurochon EAS 800z</li>
<li>FreeTec NC-7344</li>
</ul>
<br><br>
@ -2081,9 +2083,8 @@ sub SIGNALduino_Hideki()
Note: this module require the Device::SerialPort or Win32::SerialPort
module. It can currently only attatched via USB.
</td><td>
<img src="ccc.jpg"/>
</td></tr>
</td>
</tr>
</table>
<a name="SIGNALduinodefine"></a>
<b>Define</b><br>
@ -2176,6 +2177,13 @@ attr sduino longids BTHR918N
Issue a SIGNALduino firmware command, and wait for one line of data returned by
the SIGNALduino. See the SIGNALduino firmware code for details on SIGNALduino
commands. With this line, you can send almost any signal via a transmitter connected
<br><br>
Example for Send raw:
SR;R=5;P0=294;P1=-381;P2=650;P3=-727;P4=-13076;P5=-15842;D=0501230121212301230301230121212121212303012301230304012301212123012303012301212121212123030123012303;
<br>
<br>Message is send 5 Types (R=5)
<br>D= specifies the messages, which is generated with Pulses (P0-P5).
</li><br>
<li>cmds<br>
Depending on the firmware installed, SIGNALduinos have a different set of

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff