2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

70_LaMetric2: add channels parameter to commandRef

git-svn-id: https://svn.fhem.de/fhem/trunk@18530 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-02-08 14:26:04 +00:00
parent c0a573bcef
commit 18af738e44

View File

@ -268,7 +268,7 @@ sub LaMetric2_Define($$) {
$hash->{HOST} = $host;
$hash->{".API_KEY"} = $apikey;
$hash->{VERSION} = "2.3.0";
$hash->{VERSION} = "2.3.1";
$hash->{INTERVAL} =
$interval && looks_like_number($interval) ? $interval : 60;
$hash->{PORT} = $port && looks_like_number($port) ? $port : 4343;
@ -2351,6 +2351,11 @@ sub LaMetric2_IsDuringTimeframe($$;$) {
<code>set lametric app MyPrivateFHEMapp push token=ASDFGHJKL23456789 icon=i334 Show this message to my app and use my icon.</code><br>
<code>set lametric app MyPrivateFHEMapp push token=ASDFGHJKL23456789 Show this message to my app.\nThis is a second frame.</code><br>
<code>set lametric app MyPrivateFHEMapp push token=ASDFGHJKL23456789 title="This is the head frame" This text goes to the 2nd frame.</code><br>
</ul><br>
<br>
If you have configured channels for your app and would like to address a specific one, you may add the parameter 'channels' accordingly:
<ul>
<code>set lametric app MyPrivateFHEMapp push token=ASDFGHJKL23456789 channels=ch1,ch3 Show this message in 2 of 3 channels in my app.</code><br>
</ul>
</ul>
</ul><br>