Skip to content

Commit

Permalink
Modbus setting (#352)
Browse files Browse the repository at this point in the history
* Modbus setting

* naming

* add link
  • Loading branch information
LKuemmel authored Oct 16, 2023
1 parent 962ef2a commit 7be8a90
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/views/GeneralConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,52 @@
"
>
</openwb-base-button-group-input>
<openwb-base-button-group-input
title="Steuerung über Modbus als secondary"
:buttons="[
{
buttonValue: false,
text: 'Aus',
class: 'btn-outline-danger',
},
{
buttonValue: true,
text: 'An',
class: 'btn-outline-success',
},
]"
:model-value="
$store.state.mqtt['openWB/general/modbus_control']
"
@update:model-value="
updateState('openWB/general/modbus_control', $event)
"
>
<template #help>
Im secondary-Modus kann die openWB über die
Modbus-Schnittstelle gesteuert werden. Die Register sind
<a
href="https://openwb.de/main/wp-content/uploads/2023/10/ModbusTCP-openWB-series2-Pro-1.pdf"
target="_blank"
rel="noopener noreferrer"
>
hier</a
>dokumentiert. Bei aktivierter Modbus-Schnittstelle darf
die openWB nicht von einer primary-openWB gesteuert
werden.
</template>
</openwb-base-button-group-input>
<div
v-if="
$store.state.mqtt['openWB/general/modbus_control'] ===
!0
"
>
<openwb-base-alert subtype="info">
Wenn die Steuerung über Modbus auf "aus" geändert wird,
muss danach ein Neustart durchgeführt werden!
</openwb-base-alert>
</div>
</openwb-base-card>
<openwb-base-card title="Hardware">
<div v-if="$store.state.mqtt['openWB/general/extern'] === true">
Expand Down Expand Up @@ -518,6 +564,7 @@ export default {
"openWB/general/control_interval",
"openWB/general/grid_protection_configured",
"openWB/general/external_buttons_hw",
"openWB/general/modbus_control",
"openWB/general/notifications/selected",
"openWB/general/notifications/configuration",
"openWB/general/notifications/start_charging",
Expand Down

0 comments on commit 7be8a90

Please sign in to comment.