AndroidDB: added FHEM reading attributes

git-svn-id: https://svn.fhem.de/fhem/trunk@25875 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
zap 2022-03-23 09:24:41 +00:00
parent 3a33ece08c
commit cbe73ecfce
3 changed files with 565 additions and 562 deletions

View File

@ -1,5 +1,6 @@
# 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.
- feature: 89_AndroidDB: Added FHEM reading attributes
- bugfix: 70_SVDRP.pm: bugfix in NextTimer - bugfix: 70_SVDRP.pm: bugfix in NextTimer
- bugfix: 38_netatmo: fixed average wind angle calculation for PUBLIC - bugfix: 38_netatmo: fixed average wind angle calculation for PUBLIC
- feature: 10_KNX.pm: new dpt22.101, fixes: (UTF8) & dpt20 encode - feature: 10_KNX.pm: new dpt22.101, fixes: (UTF8) & dpt20 encode

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
# #
# 89_AndroidDBHost # 89_AndroidDBHost
# #
# Version 0.6 # Version 0.7
# #
# FHEM Integration for Android Debug Bridge # FHEM Integration for Android Debug Bridge
# #
@ -23,6 +23,7 @@ package main;
use strict; use strict;
use warnings; use warnings;
use SetExtensions;
sub AndroidDBHost_Initialize ($) sub AndroidDBHost_Initialize ($)
{ {
@ -35,18 +36,18 @@ sub AndroidDBHost_Initialize ($)
$hash->{NotifyFn} = "AndroidDBHost::Notify"; $hash->{NotifyFn} = "AndroidDBHost::Notify";
$hash->{ShutdownFn} = "AndroidDBHost::Shutdown"; $hash->{ShutdownFn} = "AndroidDBHost::Shutdown";
$hash->{parseParams} = 1; $hash->{parseParams} = 1;
} }
package AndroidDBHost; package AndroidDBHost;
use strict; use strict;
use warnings; use warnings;
use SetExtensions;
# use Data::Dumper; # use Data::Dumper;
use IPC::Open3; use IPC::Open3;
use SetExtensions;
# use POSIX; # use POSIX;
use GPUtils qw(:all); use GPUtils qw(:all);
@ -58,7 +59,7 @@ BEGIN {
readingsBulkUpdateIfChanged readingsBulkUpdateIfChanged
readingsBeginUpdate readingsBeginUpdate
readingsEndUpdate readingsEndUpdate
devspec2array devspec2array
Log3 Log3
AttrVal AttrVal
ReadingsVal ReadingsVal