- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
68 lines
2.2 KiB
YAML
68 lines
2.2 KiB
YAML
description: Module that collects power and energy measurements from an GSH01 powermeter
|
|
provides:
|
|
main:
|
|
description: Implementation of the driver functionality
|
|
interface: powermeter
|
|
config:
|
|
powermeter_device_id:
|
|
description: The powermeter's address on the serial bus, 255 is broadcast
|
|
type: integer
|
|
minimum: 0
|
|
maximum: 255
|
|
default: 255
|
|
serial_port:
|
|
description: Serial port the hardware is connected to
|
|
type: string
|
|
default: /dev/ttyUSB0
|
|
baudrate:
|
|
description: Baudrate
|
|
type: integer
|
|
minimum: 0
|
|
maximum: 230400
|
|
default: 115200
|
|
parity:
|
|
description: 'Parity bit: 0: None, 1: Odd, 2: Even'
|
|
type: integer
|
|
minimum: 0
|
|
maximum: 2
|
|
default: 0
|
|
rs485_direction_gpio:
|
|
description: GPIO to use for direction switching. Set to -1 to disable.
|
|
type: integer
|
|
default: -1
|
|
num_of_retries:
|
|
description: Number of retries sent via serial interface. Set to 0 to disable retry.
|
|
type: integer
|
|
minimum: 0
|
|
maximum: 3
|
|
default: 0
|
|
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
|
|
default: false
|
|
max_clock_diff_s:
|
|
description: Maximal time difference (in seconds) between meter clock and system clock, until new set_time command is sent
|
|
type: integer
|
|
minimum: 30
|
|
maximum: 300
|
|
default: 60
|
|
publish_device_data:
|
|
description: Regularly publish device data not covered by the "powermeter" interface (for debugging purposes).
|
|
type: boolean
|
|
default: false
|
|
publish_device_diagnostics:
|
|
description: Regularly publish device diagnostics (e.g. log messages, errors, SW/HW revisions; for debugging purposes).
|
|
type: boolean
|
|
default: false
|
|
enable_external_mqtt: true
|
|
metadata:
|
|
license: https://opensource.org/licenses/Apache-2.0
|
|
authors:
|
|
- Lars Dieckmann
|
|
- Andreas Heinrich
|
|
- Cornelius Claussen
|
|
- Florin Mihut
|
|
- Jan Christoph Habig
|
|
- Kai-Uwe Hermann
|
|
- Miriam Thome
|