mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 14:47:00 +00:00
47_OBIS: Add set <dev> data <sml-message>
git-svn-id: https://svn.fhem.de/fhem/trunk@27732 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0693076063
commit
b32479ff95
@ -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: 47_OBIS: Add unofficial "set <dev> data <sml-hexstring>"
|
||||
- bugfix: 93_DbRep: SQL syntax for Postgre maxValue deleteOther Forum:#134170
|
||||
- bugfix: 93_DbRep: fix check of DbRep_afterproc, DbRep_beforeproc if should
|
||||
exec PERL code
|
||||
|
@ -109,6 +109,7 @@ sub OBIS_Initialize($)
|
||||
$hash->{DefFn} = "OBIS_Define";
|
||||
$hash->{ParseFn} = "OBIS_Parse";
|
||||
$hash->{GetFn} = "OBIS_Get";
|
||||
$hash->{SetFn} = "OBIS_Set";
|
||||
$hash->{UndefFn} = "OBIS_Undef";
|
||||
$hash->{AttrFn} = "OBIS_Attr";
|
||||
$hash->{AttrList}= "do_not_notify:1,0 interval offset_feed offset_energy IODev channels directions alignTime pollingMode:on,off extChannels:on,off,auto unitReadings:on,off ignoreUnknown:on,off valueBracket:first,second,both resetAfterNoDataTime createPreValues:on,off httpAuthorization ".
|
||||
@ -282,7 +283,10 @@ sub OBIS_Set($@)
|
||||
}
|
||||
|
||||
}
|
||||
return;
|
||||
if ($opt eq "data") {
|
||||
OBIS_Parse($hash,(pack 'H*', $value));
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
||||
# Update-Routine
|
||||
|
Loading…
x
Reference in New Issue
Block a user