mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
70_NEU70_NEUTRINO: new reading model / change commandref
git-svn-id: https://svn.fhem.de/fhem/trunk@14786 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
761bc72f37
commit
989921ce27
@ -241,6 +241,10 @@ sub NEUTRINO_SendCommand($$;$$) {
|
|||||||
$serviceurl = "standby";
|
$serviceurl = "standby";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
elsif ($service eq "model") {
|
||||||
|
$serviceurl = "info";
|
||||||
|
}
|
||||||
|
|
||||||
elsif ($service eq "bouquet") {
|
elsif ($service eq "bouquet") {
|
||||||
$serviceurl = "getbouquet?actual";
|
$serviceurl = "getbouquet?actual";
|
||||||
}
|
}
|
||||||
@ -880,7 +884,14 @@ sub NEUTRINO_ReceiveCommand($$$) {
|
|||||||
Log3 $name, 5, "NEUTRINO $name [NEUTRINO_ReceiveCommand] [$service] detect change";
|
Log3 $name, 5, "NEUTRINO $name [NEUTRINO_ReceiveCommand] [$service] detect change";
|
||||||
readingsBulkUpdate( $hash, "power","on");
|
readingsBulkUpdate( $hash, "power","on");
|
||||||
readingsBulkUpdate( $hash, "state", "on" );
|
readingsBulkUpdate( $hash, "state", "on" );
|
||||||
|
delete($hash->{helper}{FIRSTSTART});
|
||||||
|
}
|
||||||
|
|
||||||
|
#2017.07.25 - Erste Start: NUTRINO Version auslesen
|
||||||
|
if ($hash->{helper}{FIRSTSTART} eq '') {
|
||||||
NEUTRINO_SendCommand( $hash, "version" );
|
NEUTRINO_SendCommand( $hash, "version" );
|
||||||
|
NEUTRINO_SendCommand( $hash, "model" );
|
||||||
|
$hash->{helper}{FIRSTSTART} = '1';
|
||||||
}
|
}
|
||||||
|
|
||||||
#2017.07.12 - time_raw_now/time_now vom FHEM-Server verwenden
|
#2017.07.12 - time_raw_now/time_now vom FHEM-Server verwenden
|
||||||
@ -1044,6 +1055,17 @@ sub NEUTRINO_ReceiveCommand($$$) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# model
|
||||||
|
elsif ( $service eq "model" ) {
|
||||||
|
|
||||||
|
if (@ans[0]) {
|
||||||
|
readingsBulkUpdate( $hash, "model",@ans[0]);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Log3 $name, 5, "NEUTRINO $name [NEUTRINO_ReceiveCommand] [$service] ERROR: no model could be extracted";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# timerlist
|
# timerlist
|
||||||
elsif ( $service eq "timerlist" ) {
|
elsif ( $service eq "timerlist" ) {
|
||||||
|
|
||||||
@ -1646,28 +1668,7 @@ sub NEUTRINO_Undefine($$) {
|
|||||||
<b>eventid</b> - Shows the current event id of the current program
|
<b>eventid</b> - Shows the current event id of the current program
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<b>image_branch</b> - Shows image information of NEUTRINO
|
<b>image_*</b> - Shows image information of NEUTRINO
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_builddate</b> - Shows image information of NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_commit</b> - Shows image information of NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_creator</b> - Shows image information of NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_describe</b> - Shows image information of NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_homepage</b> - Shows image information of NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_imagename</b> - Shows image information of NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_version</b> - Shows image information of NEUTRINO
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<b>input</b> - Shows currently used input
|
<b>input</b> - Shows currently used input
|
||||||
@ -1768,7 +1769,7 @@ sub NEUTRINO_Undefine($$) {
|
|||||||
# Alternativer Port<br>
|
# Alternativer Port<br>
|
||||||
define SATReceiver NEUTRINO 192.168.0.10 8080<br>
|
define SATReceiver NEUTRINO 192.168.0.10 8080<br>
|
||||||
<br>
|
<br>
|
||||||
# Alternativer poll interval von 20 seconds<br>
|
# Alternativer poll intervall von 20 seconds<br>
|
||||||
define SATReceiver NEUTRINO 192.168.0.10 80 20<br>
|
define SATReceiver NEUTRINO 192.168.0.10 80 20<br>
|
||||||
<br>
|
<br>
|
||||||
# Mit HTTP Benutzer Zugangsdaten<br>
|
# Mit HTTP Benutzer Zugangsdaten<br>
|
||||||
@ -1920,28 +1921,7 @@ sub NEUTRINO_Undefine($$) {
|
|||||||
<b>eventid</b> - Zeigt die aktuelle Event ID von der aktuellen Sendung an
|
<b>eventid</b> - Zeigt die aktuelle Event ID von der aktuellen Sendung an
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<b>image_branch</b> - Zeigt Image Informationen von NEUTRINO
|
<b>image_*</b> - Zeigt Image Informationen von NEUTRINO
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_builddate</b> - Zeigt Image Informationen von NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_commit</b> - Zeigt Image Informationen von NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_creator</b> - Zeigt Image Informationen von NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_describe</b> - Zeigt Image Informationen von NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_homepage</b> - Zeigt Image Informationen von NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_imagename</b> - Zeigt Image Informationen von NEUTRINO
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b>image_version</b> - Zeigt Image Informationen von NEUTRINO
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<b>input</b> - Zeigt den aktuellen Input an (TV/Radio)
|
<b>input</b> - Zeigt den aktuellen Input an (TV/Radio)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user