13.1.2. AST_DC650

Module that collects power and energy measurements from an AST powermeter

13.1.2.1. Provides

Implementation of the driver functionality
config:
powermeter_device_id:
description:The powermeter’s address on the serial bus
type:integer
serial_port:
description:Serial port the hardware is connected to
type:string
default:/dev/ttyUSB0
baudrate:
description:Baudrate
type:integer
parity:
description:Parity bit: 0: None, 1: Odd, 2: Even
type:integer
rs485_direction_gpio:
description:GPIO to use for direction switching. Set to -1 to disable.
type:integer
ignore_echo:
description:On some hardware every message that is sent is read back, this setting filters the sent message in the reply.
type:boolean
gmt_offset_quarter_hours:
description:GMT offset in quarters of an hour, e.g. 8 = +2h
type:integer
publish_device_data:
description:Regularly publish device data not covered by the “powermeter” interface (for debugging purposes).
type:boolean
publish_device_diagnostics:
description:Regularly publish device diagnostics (e.g. log messages, errors, SW/HW revisions; for debugging purposes).
type:boolean
config:
powermeter_device_id:integer <optional>
default: 1
The powermeter’s address on the serial bus
serial_port:string <optional>
default: “/dev/ttyUSB0”
Serial port the hardware is connected to
baudrate:integer <optional>
default: 9600
Baudrate
parity:integer <optional>
default: 0
Parity bit: 0: None, 1: Odd, 2: Even
rs485_direction_gpio:integer <optional>
default: -1
GPIO to use for direction switching. Set to -1 to disable.
ignore_echo:boolean <optional>
default: False
On some hardware every message that is sent is read back, this setting filters the sent message in the reply.
gmt_offset_quarter_hours:integer <optional>
default: 0
GMT offset in quarters of an hour, e.g. 8 = +2h
publish_device_data:boolean <optional>
default: False
Regularly publish device data not covered by the “powermeter” interface (for debugging purposes).
publish_device_diagnostics:boolean <optional>
default: False
Regularly publish device diagnostics (e.g. log messages, errors, SW/HW revisions; for debugging purposes).

13.1.2.2. Metadata

13.1.2.2.1. Authors

Lars Dieckmann
Andreas Heinrich
Cornelius Claussen
Florin Mihut
Jan Christoph Habig
Kai-Uwe Hermann

13.1.2.2.2. License