fahvswitch

command
v0.0.0-...-400c0fd Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: MIT Imports: 10 Imported by: 0

README

fahvswitch

Be a proxy for virtual devices

Small test program which take the deviceId of a virtual "SwitchingActuator" and copy the input datapoint 0000 to the output datapoint 0000. So it works like a very simple actuator (lamp).

That's only a simple showcase and everything might change quickly.

Example:

$ DEVICEID=$(fahcli -d virtual --create abcVAct 7200 "Virtual Test Actuator" SwitchingActuator)
$ fahvswitch $DEVICEID
$ # or use the native id
$ fahvswitch -n abcVAct

Creating a virtual device und calling fahvswitch with the device id (or -n and the native id).

List all virtual devices

To list all your virtual devices in your system use the -l switch.

Example:

$ fahvswitch -l
600023AFXXXX.ch0000 abc777   16:38:40:             /                  [AcSwitch]  ein name: OFF
60009B33XXXX.ch0000 abc1234  16:38:40: Etage 2     / Atelier          [SeWindow]  Binärsensor: zu
6000D4FDXXXX.ch0000 abcVAc   16:38:40: Etage 2     / Atelier          [AcSwitch]  Virtual Test Actuator: ON
6000CF03XXXX.ch0000 abc99    16:38:40:             /                  [SeSwitch]  Binary sensor: OFF

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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