Skip to content

Request: naming consistency on OPC_GATEWAY_HOST and OPC_GATE_HOST #36

@jamesbraza

Description

@jamesbraza

I am trying to get the OPC gateway service to work, and am observing a distinction between OPC_GATEWAY_HOST and OPC_GATE_HOST for the environment variable name:

  • OPC_GATE_HOST: seems to be correct, it's used in README and openopc2/config.py
  • When I install the service and run with debug, it prints OPC_GATEWAY_HOST
Open Opc Config:
OPC_HOST              : localhost
OPC_SERVER            : Matrikon.OPC.Simulation
OPC_CLIENT            : OpenOPC
OPC_GATEWAY_HOST      : 192.168.0.115
OPC_GATEWAY_PORT      : 7766

I would like to point out that the changing of names in the stdout is a potential source of confusion. Imo it's user-friendly to standardize the attribute names printed by the service with the environment variable names. Thank you for your consideration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions