mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
74_AMAD: New Version 2.6.1 support for more Mediaplayer Readings
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11968 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2dd56e0d4b
commit
31c788a205
2
CHANGED
2
CHANGED
@ -1,5 +1,7 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- updated: 74_AMAD: New Version 2.6.1 support for more Mediaplayer Readings
|
||||||
|
new error handling for "send data to AMADCommBridge Flow"
|
||||||
- change: 38_netatmo: status "no data"
|
- change: 38_netatmo: status "no data"
|
||||||
- bugfix: 98_Hyperion: reporting Hyperion as off while clearall is active
|
- bugfix: 98_Hyperion: reporting Hyperion as off while clearall is active
|
||||||
- updated: 74_AMAD: New Minor Release 2.6 new 2 Media Readings,
|
- updated: 74_AMAD: New Minor Release 2.6 new 2 Media Readings,
|
||||||
|
@ -37,8 +37,8 @@ use TcpServerUtils;
|
|||||||
use Encode qw(encode);
|
use Encode qw(encode);
|
||||||
|
|
||||||
|
|
||||||
my $modulversion = "2.6.0";
|
my $modulversion = "2.6.1";
|
||||||
my $flowsetversion = "2.6.0";
|
my $flowsetversion = "2.6.1";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1166,6 +1166,15 @@ sub AMAD_CommBridge_Read($) {
|
|||||||
elsif( !defined($device) ) {
|
elsif( !defined($device) ) {
|
||||||
readingsSingleUpdate( $bhash, "transmitterERROR", $name." has no device name sends", 1 ) if( ReadingsVal( $bname, "expertMode", 0 ) eq "1" );
|
readingsSingleUpdate( $bhash, "transmitterERROR", $name." has no device name sends", 1 ) if( ReadingsVal( $bname, "expertMode", 0 ) eq "1" );
|
||||||
Log3 $name, 4, "AMAD ($name) - ERROR - no device name given. please check your global variable in automagic";
|
Log3 $name, 4, "AMAD ($name) - ERROR - no device name given. please check your global variable in automagic";
|
||||||
|
|
||||||
|
$response = "header lines: \r\n AMADCommBridge receive no device name. please check your global variable in automagic\r\n FHEM to do nothing\r\n";
|
||||||
|
$c = $hash->{CD};
|
||||||
|
print $c "HTTP/1.1 200 OK\r\n",
|
||||||
|
"Content-Type: text/plain\r\n",
|
||||||
|
"Connection: close\r\n",
|
||||||
|
"Content-Length: ".length($response)."\r\n\r\n",
|
||||||
|
$response;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1395,6 +1404,8 @@ sub AMAD_decrypt($) {
|
|||||||
<li>currentMusicAlbum - currently playing album of mediaplayer</li>
|
<li>currentMusicAlbum - currently playing album of mediaplayer</li>
|
||||||
<li>currentMusicApp - currently playing player app</li>
|
<li>currentMusicApp - currently playing player app</li>
|
||||||
<li>currentMusicArtist - currently playing artist of mediaplayer</li>
|
<li>currentMusicArtist - currently playing artist of mediaplayer</li>
|
||||||
|
<li>currentMusicIcon - cover of currently play album<b>Noch nicht fertig implementiert</b></li>
|
||||||
|
<li>currentMusicState - state of currently/last used mediaplayer</li>
|
||||||
<li>currentMusicTrack - currently playing song title of mediaplayer</li>
|
<li>currentMusicTrack - currently playing song title of mediaplayer</li>
|
||||||
<li>daydream - on/off, daydream currently active</li>
|
<li>daydream - on/off, daydream currently active</li>
|
||||||
<li>deviceState - state of Android devices. unknown, online, offline.</li>
|
<li>deviceState - state of Android devices. unknown, online, offline.</li>
|
||||||
@ -1651,4 +1662,4 @@ sub AMAD_decrypt($) {
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
=end html_DE
|
=end html_DE
|
||||||
=cut
|
=cut
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user