mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 22:15:09 +00:00
LandroidUtils.pm: add some usage (Forum 111959)
git-svn-id: https://svn.fhem.de/fhem/trunk@27407 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
62625c1342
commit
37610c5b00
@ -5,6 +5,12 @@ use warnings;
|
|||||||
|
|
||||||
# https://github.com/iobroker-community-adapters/ioBroker.worx
|
# https://github.com/iobroker-community-adapters/ioBroker.worx
|
||||||
# https://forum.fhem.de/index.php?topic=111959
|
# https://forum.fhem.de/index.php?topic=111959
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
# define m2c MQTT2_CLIENT xx
|
||||||
|
# attr m2c username a@bc.de
|
||||||
|
# attr m2c connectFn {use LandroidUtils;;Landroid_connect($NAME,"worx")}
|
||||||
|
# set m2c password mySecret
|
||||||
|
|
||||||
my %types = (
|
my %types = (
|
||||||
worx => {
|
worx => {
|
||||||
@ -33,7 +39,7 @@ my %types = (
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
# Step 1: request & parse the access_token
|
# Step 1: check parameters, request & parse the access_token
|
||||||
sub
|
sub
|
||||||
Landroid_connect($$)
|
Landroid_connect($$)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user