Skip to content

apc mode/Propagate "mode" between frontend and /api/default route#72

Open
suddencoffee wants to merge 3 commits intoArthurMitchell42:mainfrom
suddencoffee:propagate_mode
Open

apc mode/Propagate "mode" between frontend and /api/default route#72
suddencoffee wants to merge 3 commits intoArthurMitchell42:mainfrom
suddencoffee:propagate_mode

Conversation

@suddencoffee
Copy link
Copy Markdown

Right now /api/default does not work for "apc" mode as it defaults to the "nut" mode, even if the config specifies mode='apc'

Here is my config fragment:

servers:
  - server: "192.168.7.125"
    port: 3551
    default: true
    mode: 'apc'
    devices:
      - device: 'nix'
        mode: 'apc'
        power: 900
        displayname: 'Back-UPS RS 1500MS2'

Signed-off-by: suddencoffee <106411847+suddencoffee@users.noreply.github.com>
Signed-off-by: suddencoffee <106411847+suddencoffee@users.noreply.github.com>
Signed-off-by: suddencoffee <106411847+suddencoffee@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

1 participant