Skip to content

Bcg

services.bcg.automaticRemoveKitFromNames

Automatically remove kits. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.automaticRenameGenericNodes

Automatically rename generic nodes. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.automaticRenameKitNodes

Automatically rename kit's nodes. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.automaticRenameNodes

Automatically rename all nodes. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.baseTopicPrefix

Topic prefix added to all MQTT messages. Type: string

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.device

Device name to configure gateway to use. Type: string

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.enable

Whether to enable BigClown gateway. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.environmentFiles

File to load as environment file. Environment variables from this file will be interpolated into the config file using envsubst with this syntax: $ENVIRONMENT or ${VARIABLE}. This is useful to avoid putting secrets into the nix store.

Type: list of path

Default

[ ]

Example

["/run/keys/bcg.env"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.mqtt.cafile

Certificate Authority file for MQTT server access. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.mqtt.certfile

Certificate file for MQTT server access. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.mqtt.host

Host where MQTT server is running. Type: string

Default

"127.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.mqtt.keyfile

Key file for MQTT server access. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.mqtt.password

MQTT server access password. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.mqtt.port

Port of MQTT server. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

1883

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.mqtt.username

MQTT server access username. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.name

Name for the device.

Supported variables: * {ip} IP address * {id} The ID of the connected usb-dongle or core-module

null can be used for automatic detection from gateway firmware.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.package

The bcg package to use. Type: package

Default

pkgs.python3Packages.bcg

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.qosNodeMessages

Set the guarantee of MQTT message delivery. Type: signed integer

Default

1

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.rename

Rename nodes to different name. Type: attribute set of string

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.retainNodeMessages

Specify that node messages should be retaied in MQTT broker. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix

services.bcg.verbose

Verbosity level. Type: one of "CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG"

Default

"WARNING"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/bcg.nix