mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
diverse: meta changes
git-svn-id: https://svn.fhem.de/fhem/trunk@19098 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
239942111e
commit
814076bffa
@ -215,10 +215,11 @@ HUEBridge_Define($$)
|
||||
{
|
||||
my ($hash, $def) = @_;
|
||||
|
||||
my @args = split("[ \t]+", $def);
|
||||
|
||||
return $@ unless ( FHEM::Meta::SetInternals($hash) );
|
||||
|
||||
|
||||
my @args = split("[ \t]+", $def);
|
||||
|
||||
return "Usage: define <name> HUEBridge [<host>] [interval]" if(@args < 2);
|
||||
|
||||
my ($name, $type, $host, $interval) = @args;
|
||||
@ -2044,6 +2045,7 @@ HUEBridge_Attr($$$)
|
||||
|
||||
=end html
|
||||
|
||||
=encoding utf8
|
||||
=for :application/json;q=META.json 30_HUEBridge.pm
|
||||
{
|
||||
"abstract": "module for the phillips hue bridge",
|
||||
@ -2060,7 +2062,8 @@ HUEBridge_Attr($$$)
|
||||
"keywords": [
|
||||
"fhem-mod",
|
||||
"fhem-mod-device",
|
||||
"HUE"
|
||||
"HUE",
|
||||
"zigbee"
|
||||
],
|
||||
"release_status": "stable",
|
||||
"x_fhem_maintainer": [
|
||||
|
@ -6,6 +6,8 @@ package main;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use FHEM::Meta;
|
||||
|
||||
use CoProcess;
|
||||
require "$attr{global}{modpath}/FHEM/30_HUEBridge.pm";
|
||||
|
||||
@ -47,6 +49,8 @@ tradfri_Initialize($)
|
||||
"disable:1 disabledForIntervals ".
|
||||
"createGroupReadings:1,0 ".
|
||||
$readingFnAttributes;
|
||||
|
||||
return FHEM::Meta::InitMod( __FILE__, $hash );
|
||||
}
|
||||
|
||||
#####################################
|
||||
@ -64,6 +68,9 @@ tradfri_Define($$)
|
||||
{
|
||||
my ($hash, $def) = @_;
|
||||
|
||||
return $@ unless ( FHEM::Meta::SetInternals($hash) );
|
||||
|
||||
|
||||
my @a = split("[ \t][ \t]*", $def);
|
||||
|
||||
return "Usage: define <name> tradfri" if(@a != 2);
|
||||
@ -686,4 +693,61 @@ tradfri_Attr($$$)
|
||||
</ul><br>
|
||||
|
||||
=end html
|
||||
|
||||
=encoding utf8
|
||||
=for :application/json;q=META.json 30_tradfri.pm
|
||||
{
|
||||
"abstract": "Module to control the FHEM/Tradfri integration",
|
||||
"x_lang": {
|
||||
"de": {
|
||||
"abstract": "Modul zur Konfiguration der FHEM/Tradfri Integration"
|
||||
}
|
||||
},
|
||||
"keywords": [
|
||||
"fhem-mod",
|
||||
"fhem-mod-device",
|
||||
"tradfri",
|
||||
"tradfri-fhem",
|
||||
"zigbee",
|
||||
"nodejs",
|
||||
"node"
|
||||
],
|
||||
"release_status": "stable",
|
||||
"x_fhem_maintainer": [
|
||||
"justme1968"
|
||||
],
|
||||
"x_fhem_maintainer_github": [
|
||||
"justme-1968"
|
||||
],
|
||||
"prereqs": {
|
||||
"runtime": {
|
||||
"requires": {
|
||||
"FHEM": 5.00918799,
|
||||
"perl": 5.014,
|
||||
"Meta": 0,
|
||||
"CoProcess": 0,
|
||||
"JSON": 0,
|
||||
"Data::Dumper": 0
|
||||
},
|
||||
"recommends": {
|
||||
},
|
||||
"suggests": {
|
||||
"HUEDevice": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"x_prereqs_nodejs": {
|
||||
"runtime": {
|
||||
"requires": {
|
||||
"node": 8.0,
|
||||
"tradfri-fhem": 0
|
||||
},
|
||||
"recommends": {
|
||||
},
|
||||
"suggests": {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
=end :application/json;q=META.json
|
||||
=cut
|
||||
|
@ -264,10 +264,11 @@ sub HUEDevice_Define($$)
|
||||
{
|
||||
my ($hash, $def) = @_;
|
||||
|
||||
my @args = split("[ \t]+", $def);
|
||||
|
||||
return $@ unless ( FHEM::Meta::SetInternals($hash) );
|
||||
|
||||
|
||||
my @args = split("[ \t]+", $def);
|
||||
|
||||
$hash->{helper}->{devtype} = "";
|
||||
if( $args[2] eq "group" ) {
|
||||
$hash->{helper}->{devtype} = "G";
|
||||
@ -1732,6 +1733,7 @@ absent:{<json>}</code></li>
|
||||
|
||||
=end html
|
||||
|
||||
=encoding utf8
|
||||
=for :application/json;q=META.json 31_HUEDevice.pm
|
||||
{
|
||||
"abstract": "devices connected to a Phillips HUE bridge, an Osram LIGHTIFY gateway or a IKEA TRADFRI gateway",
|
||||
@ -1748,7 +1750,8 @@ absent:{<json>}</code></li>
|
||||
"keywords": [
|
||||
"fhem-mod",
|
||||
"fhem-mod-device",
|
||||
"HUE"
|
||||
"HUE",
|
||||
"zigbee"
|
||||
],
|
||||
"release_status": "stable",
|
||||
"x_fhem_maintainer": [
|
||||
|
@ -1320,7 +1320,7 @@ alexa_Attr($$$)
|
||||
|
||||
=end html
|
||||
|
||||
|
||||
=encoding utf8
|
||||
=for :application/json;q=META.json 39_alexa.pm
|
||||
{
|
||||
"abstract": "Module to control the FHEM/Alexa integration",
|
||||
|
Loading…
x
Reference in New Issue
Block a user