Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to flip coil values #55

Open
DaAwesomeP opened this issue Mar 15, 2023 · 0 comments
Open

Ability to flip coil values #55

DaAwesomeP opened this issue Mar 15, 2023 · 0 comments

Comments

@DaAwesomeP
Copy link
Contributor

It would be great to have an option to flip coil/bool values like invert: True

Example:

modules:
  - name: "fake"
    protocol: 'tcp/ip'
    metrics:
      - name: "coil"
        help: "some help for some coil"
        address: 124
        dataType: bool
        bitOffset: 0
        metricType: gauge
        invert: True # 1 becomes 0, 0 becomes 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant