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

ENIGMA2 ONKYO_AVR: versioning

git-svn-id: https://svn.fhem.de/fhem/trunk@4490 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2013-12-28 14:19:27 +00:00
parent 04b268ef06
commit 5275e27426
3 changed files with 20 additions and 14 deletions

View File

@ -1,6 +1,8 @@
# 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.
- SVN - SVN
- bugfix: ENIGMA2: improved compatibility for Fritzbox and old
Webif versions
- feature: readingsGroup: process events only if visible in browser, - feature: readingsGroup: process events only if visible in browser,
allow <br> for line breaks in multi-reading lines allow <br> for line breaks in multi-reading lines
- feature: FLOORPLAN: Style4 (S300TH specific) now keeps its formatting - feature: FLOORPLAN: Style4 (S300TH specific) now keeps its formatting
@ -11,15 +13,15 @@
time patches (justme1968 & Boris) time patches (justme1968 & Boris)
- feature: Add new module Dashboard - feature: Add new module Dashboard
- change: ONKYO_AVR: transfer command database into separate packet - change: ONKYO_AVR: transfer command database into separate packet
ONKYOdb.pm ONKYOdb.pm
- feature: ENIGMA2: bouquet support e.g. for named channels - feature: ENIGMA2: bouquet support e.g. for named channels
- feature: Add new module ONKYO_AVR - feature: Add new module ONKYO_AVR
- feature: SYSSTAT: allow (remote) monitoring via snmp, support - feature: SYSSTAT: allow (remote) monitoring via snmp, support
for monitoring windows systems and synology system temperature for monitoring windows systems and synology system temperature
- feature: New module LINDY_HDMI_SWITCH.pm added - feature: New module LINDY_HDMI_SWITCH.pm added
- feature: ENIGMA2: improved logging, default attributes for webCmd and - change: ENIGMA2: improved logging, default attributes for webCmd and
devStateIcon devStateIcon
- bugfix: ENIGMA2: support for option channels - feature: ENIGMA2: support for option channels
- feature: mailcheck: decode non ascii subjet to utf-8, verify gpg signatures - feature: mailcheck: decode non ascii subjet to utf-8, verify gpg signatures
- feature: PRESENCE: "statusRequest" command for lan-bluetooth mode - feature: PRESENCE: "statusRequest" command for lan-bluetooth mode
(collectord >= 1.4, presenced >= 1.1 required) (collectord >= 1.4, presenced >= 1.1 required)

View File

@ -24,7 +24,7 @@
# along with fhem. If not, see <http://www.gnu.org/licenses/>. # along with fhem. If not, see <http://www.gnu.org/licenses/>.
# #
# #
# Version: 1.2.0 # Version: 1.2.1
# #
# Major Version History: # Major Version History:
# - 1.2.0 - 2013-12-21 # - 1.2.0 - 2013-12-21
@ -1502,7 +1502,7 @@ sub ENIGMA2_Define($$) {
# use http-method POST for FritzBox environment as GET does not seem to # use http-method POST for FritzBox environment as GET does not seem to
# work properly. Might restrict use to newer # work properly. Might restrict use to newer
# ENIGMA2 Webif versions only. # ENIGMA2 Webif versions or use of OWIF only.
if ( exists $ENV{CONFIG_PRODUKT_NAME} if ( exists $ENV{CONFIG_PRODUKT_NAME}
&& defined $ENV{CONFIG_PRODUKT_NAME} ) && defined $ENV{CONFIG_PRODUKT_NAME} )
{ {
@ -1522,6 +1522,9 @@ sub ENIGMA2_Define($$) {
$attr{$name}{devStateIcon} = $attr{$name}{devStateIcon} =
'on:rc_GREEN:off off:rc_YELLOW:on absent:rc_STOP:on'; 'on:rc_GREEN:off off:rc_YELLOW:on absent:rc_STOP:on';
} }
unless ( exists( $attr{$name}{icon} ) ) {
$attr{$name}{icon} = 'dreambox';
}
unless ( exists( $hash->{helper}{AVAILABLE} ) unless ( exists( $hash->{helper}{AVAILABLE} )
and ( $hash->{helper}{AVAILABLE} == 0 ) ) and ( $hash->{helper}{AVAILABLE} == 0 ) )
@ -1577,9 +1580,9 @@ sub ENIGMA2_SendCommand($$;$) {
Log3 $name, 4, "ENIGMA2 $name: REQ $service"; Log3 $name, 4, "ENIGMA2 $name: REQ $service";
} }
else { else {
Log3 $name, 4, "ENIGMA2 $name: REQ $service/" . urlDecode($cmd);
$cmd = "?" . $cmd . "&" $cmd = "?" . $cmd . "&"
if ( $http_method eq "GET" || $http_method eq "" ); if ( $http_method eq "GET" || $http_method eq "" );
Log3 $name, 4, "ENIGMA2 $name: REQ $service/" . urlDecode($cmd);
} }
if ( defined($http_user) && defined($http_passwd) ) { if ( defined($http_user) && defined($http_passwd) ) {
@ -1689,14 +1692,14 @@ sub ENIGMA2_SendCommand($$;$) {
else { else {
if ( !defined($cmd) || $cmd eq "" ) { if ( !defined($cmd) || $cmd eq "" ) {
Log3 $name, 5, Log3 $name, 5,
"ENIGMA2 $name: RES $service ERROR: not in XML format\n" "ENIGMA2 $name: RES ERROR $service - not in XML format\n"
. $response; . $response;
} }
else { else {
Log3 $name, 5, Log3 $name, 5,
"ENIGMA2 $name: RES $service/" "ENIGMA2 $name: RES ERROR $service/"
. urlDecode($cmd) . urlDecode($cmd)
. " ERROR: not in XML format\n" . " - not in XML format\n"
. $response; . $response;
} }

View File

@ -24,7 +24,7 @@
# along with fhem. If not, see <http://www.gnu.org/licenses/>. # along with fhem. If not, see <http://www.gnu.org/licenses/>.
# #
# #
# Version: 1.0.0 # Version: 1.0.1
# #
# Major Version History: # Major Version History:
# - 1.0.0 - 2013-12-16 # - 1.0.0 - 2013-12-16
@ -200,9 +200,10 @@ sub ONKYO_AVR_GetStatus($;$) {
} }
} }
else { else {
Log3 $name, 4, "ONKYO_AVR $name: net-receiver-information command unsupported, this must be a pre2013 device! Implicit fallback to protocol version pre2013."; Log3 $name, 4,
$hash->{helper}{receiver} = 0; "ONKYO_AVR $name: net-receiver-information command unsupported, this must be a pre2013 device! Implicit fallback to protocol version pre2013.";
readingsBulkUpdate( $hash, "deviceyear", "pre2013"); $hash->{helper}{receiver} = 0;
readingsBulkUpdate( $hash, "deviceyear", "pre2013" );
} }
# Input alias handling # Input alias handling