2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

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.
# 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: 38_netatmo: fixed average wind angle calculation for PUBLIC
- 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
#
# Version 0.6
# Version 0.7
#
# FHEM Integration for Android Debug Bridge
#
@ -23,6 +23,7 @@ package main;
use strict;
use warnings;
use SetExtensions;
sub AndroidDBHost_Initialize ($)
{
@ -35,18 +36,18 @@ sub AndroidDBHost_Initialize ($)
$hash->{NotifyFn} = "AndroidDBHost::Notify";
$hash->{ShutdownFn} = "AndroidDBHost::Shutdown";
$hash->{parseParams} = 1;
$hash->{parseParams} = 1;
}
package AndroidDBHost;
use strict;
use warnings;
use SetExtensions;
# use Data::Dumper;
use IPC::Open3;
use SetExtensions;
# use POSIX;
use GPUtils qw(:all);
@ -58,7 +59,7 @@ BEGIN {
readingsBulkUpdateIfChanged
readingsBeginUpdate
readingsEndUpdate
devspec2array
devspec2array
Log3
AttrVal
ReadingsVal