device-info

command
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

This example shows how to read all information about a CCU device. The output is valid Go code, which can be used for defining virtual devices.

Usage of device-info:

-ccu address
		address of the CCU (default "127.0.0.1")
-device address
		address (serial no.) of a CCU device/channel (default "BidCoS-RF:1")
-list
		list all devices
-log severity
		specifies the minimum severity of printed log messages: off, error, warning, info, debug or trace (default INFO)
-port number
		port number of the CCU interface process: e.g. 2000 (BidCos-Wired), 2001 (BidCos-RF), 2010 (HmIP-RF), 8701 (CUxD), 2121 (CCU-Jack) (default 2001)

Prerequisites:

Authentication of the XML-RPC interface must be switched off in the CCU's system control.

Build command:

go build -trimpath "-ldflags=-s -w" .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL