avmctl

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | COMMANDS | COMMON HINTS | SEE ALSO | AUTHOR

NAME         top

avmctl − Control AVM Smart Home switches

SYNOPSIS         top

avmctl [OPTION] {COMMAND} ...

DESCRIPTION         top

avmctl helps you to control your AVM Smart Home switches like the AVM FRITZ!Powerline 546E. These switches can be listed, inspected and last but not least turned on and off. You could use this application from a simple Bash script.

OPTIONS         top

The following options are understood:
-h --help

Show the available operations / arguments

-v --version

Show version information

-c --config <file>

Set the path to a config file

-H --host

Set a host for the operations (overwrites config host)

-u --user

Set a username for session (overwrites config username)

-p --password

Set a password for the session (overwrites config password)

COMMANDS         top

check-config

Try to start a test session and on success end it

list

List all usable actors and print some meta information about them

present [AIN]

Check if the configured actor is present/connected (EXIT_SUCCESS = present, EXIT_FAILURE = not present)

state [AIN]

Retrieve the current state of the actor (EXIT_SUCCESS = on, EXIT_FAILURE = off)

status [AIN]

Print information about presence and state of the actor

toggle [AIN]

Toggle the state of the actor

off [AIN]

Turn the actor off

on [AIN]

Turn the actor on

COMMON HINTS         top

All configuration arguments (-H, -u, -p and any [AIN]) overwrites their counter parts from a configuration file. This is can be handy if you just want to operate on another actor with the same credentials or on another FRITZ!Box with the same username and password.

SEE ALSO         top

The avmctl can consume a avm-motion-trigger.conf (5) configuration file.

AUTHOR         top

Hermann Mayer <jack@jity.de>