-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from benderl/dev
add more device and component config pages
- Loading branch information
Showing
32 changed files
with
1,052 additions
and
149 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<div class="device-alphaess-bat"> | ||
<openwb-base-heading> | ||
Einstellungen für Alpha ESS Batteriespeicher | ||
<span class="small">(Modul: {{ $options.name }})</span> | ||
</openwb-base-heading> | ||
<openwb-base-select-input | ||
title="Version" | ||
notSelected="Bitte auswählen" | ||
:options="[ | ||
{ value: 0, text: 'EMS älter als 1.23V' }, | ||
{ value: 1, text: 'EMS 1.23V oder neuer' }, | ||
]" | ||
:model-value="configuration.version" | ||
@update:model-value=" | ||
updateConfiguration($event, 'configuration.version') | ||
" | ||
/> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "DeviceAlphaessBat", | ||
emits: ["update:configuration"], | ||
props: { | ||
configuration: { type: Object, required: true }, | ||
deviceId: { default: undefined }, | ||
componentId: { required: true }, | ||
}, | ||
methods: { | ||
updateConfiguration(event, path = undefined) { | ||
this.$emit("update:configuration", { value: event, object: path }); | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<div class="device-alphaess-counter"> | ||
<openwb-base-heading> | ||
Einstellungen für Alpha ESS Zähler | ||
<span class="small">(Modul: {{ $options.name }})</span> | ||
</openwb-base-heading> | ||
<openwb-base-select-input | ||
title="Version" | ||
notSelected="Bitte auswählen" | ||
:options="[ | ||
{ value: 0, text: 'EMS älter als 1.23V' }, | ||
{ value: 1, text: 'EMS 1.23V oder neuer' }, | ||
]" | ||
:model-value="configuration.version" | ||
@update:model-value=" | ||
updateConfiguration($event, 'configuration.version') | ||
" | ||
/> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "DeviceAlphaessCounter", | ||
emits: ["update:configuration"], | ||
props: { | ||
configuration: { type: Object, required: true }, | ||
deviceId: { default: undefined }, | ||
componentId: { required: true }, | ||
}, | ||
methods: { | ||
updateConfiguration(event, path = undefined) { | ||
this.$emit("update:configuration", { value: event, object: path }); | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<template> | ||
<div class="device-alphaess"> | ||
<openwb-base-heading> | ||
Einstellungen für Alpha ESS | ||
<span class="small">(Modul: {{ $options.name }})</span> | ||
</openwb-base-heading> | ||
<openwb-base-alert subtype="info"> | ||
Für dieses Gerät gibt es keine Einstellungen. | ||
</openwb-base-alert> | ||
<openwb-base-alert subtype="warning"> | ||
ToDo: Einstellung "Version" von den Komponenten in das Gerät | ||
verschieben! | ||
</openwb-base-alert> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "DeviceAlphaess", | ||
emits: ["update:configuration"], | ||
props: { | ||
configuration: { type: Object, required: true }, | ||
deviceId: { default: undefined }, | ||
}, | ||
methods: { | ||
updateConfiguration(event, path = undefined) { | ||
this.$emit("update:configuration", { value: event, object: path }); | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<div class="device-alphaess-inverter"> | ||
<openwb-base-heading> | ||
Einstellungen für Alpha ESS Wechselrichter | ||
<span class="small">(Modul: {{ $options.name }})</span> | ||
</openwb-base-heading> | ||
<openwb-base-select-input | ||
title="Version" | ||
notSelected="Bitte auswählen" | ||
:options="[ | ||
{ value: 0, text: 'EMS älter als 1.23V' }, | ||
{ value: 1, text: 'EMS 1.23V oder neuer' }, | ||
]" | ||
:model-value="configuration.version" | ||
@update:model-value=" | ||
updateConfiguration($event, 'configuration.version') | ||
" | ||
/> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "DeviceAlphaessInverter", | ||
emits: ["update:configuration"], | ||
props: { | ||
configuration: { type: Object, required: true }, | ||
deviceId: { default: undefined }, | ||
componentId: { required: true }, | ||
}, | ||
methods: { | ||
updateConfiguration(event, path = undefined) { | ||
this.$emit("update:configuration", { value: event, object: path }); | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<template> | ||
<div class="device-fronius-counters0"> | ||
<openwb-base-heading> | ||
Einstellungen für Fronius S0 Zähler | ||
<span class="small">(Modul: {{ $options.name }})</span> | ||
</openwb-base-heading> | ||
<openwb-base-alert subtype="info"> | ||
Diese Komponente erfordert keine Einstellungen. | ||
</openwb-base-alert> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "DeviceFroniusCounters0", | ||
emits: ["update:configuration"], | ||
props: { | ||
configuration: { type: Object, required: true }, | ||
deviceId: { default: undefined }, | ||
componentId: { required: true }, | ||
}, | ||
methods: { | ||
updateConfiguration(event, path = undefined) { | ||
this.$emit("update:configuration", { value: event, object: path }); | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<template> | ||
<div class="device-fronius-countersm"> | ||
<openwb-base-heading> | ||
Einstellungen für Fronius SmartMeter | ||
<span class="small">(Modul: {{ $options.name }})</span> | ||
</openwb-base-heading> | ||
<openwb-base-select-input | ||
title="Installationsort" | ||
notSelected="Bitte auswählen" | ||
:options="[ | ||
{ value: 0, text: 'EVU-Zweig' }, | ||
{ value: 1, text: 'Hausverbrauchszweig' }, | ||
]" | ||
:model-value="configuration.meter_location" | ||
@update:model-value=" | ||
updateConfiguration($event, 'configuration.meter_location') | ||
" | ||
/> | ||
<openwb-base-select-input | ||
title="Kompatibilitätsmodus" | ||
notSelected="Bitte auswählen" | ||
:options="[ | ||
{ value: 0, text: 'Aus' }, | ||
{ value: 1, text: 'Variante 1' }, | ||
{ value: 2, text: 'Variante 2' }, | ||
]" | ||
:model-value="configuration.variant" | ||
@update:model-value=" | ||
updateConfiguration($event, 'configuration.variant') | ||
" | ||
/> | ||
<openwb-base-alert subtype="warning"> | ||
ToDo: Einstellung "Installationsort" entfernen und durch die | ||
Hierarchie festlegen. | ||
</openwb-base-alert> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "DeviceFroniusCountersm", | ||
emits: ["update:configuration"], | ||
props: { | ||
configuration: { type: Object, required: true }, | ||
deviceId: { default: undefined }, | ||
componentId: { required: true }, | ||
}, | ||
methods: { | ||
updateConfiguration(event, path = undefined) { | ||
this.$emit("update:configuration", { value: event, object: path }); | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<template> | ||
<div class="device-huawei-bat"> | ||
<openwb-base-heading> | ||
Einstellungen für Huawei Batteriespeicher | ||
<span class="small">(Modul: {{ $options.name }})</span> | ||
</openwb-base-heading> | ||
<openwb-base-alert subtype="info"> | ||
Diese Komponente erfordert keine Einstellungen. | ||
</openwb-base-alert> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "DeviceHuaweiBat", | ||
emits: ["update:configuration"], | ||
props: { | ||
configuration: { type: Object, required: true }, | ||
deviceId: { default: undefined }, | ||
componentId: { required: true }, | ||
}, | ||
methods: { | ||
updateConfiguration(event, path = undefined) { | ||
this.$emit("update:configuration", { value: event, object: path }); | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<template> | ||
<div class="device-huawei-counter"> | ||
<openwb-base-heading> | ||
Einstellungen für Huawei Zähler | ||
<span class="small">(Modul: {{ $options.name }})</span> | ||
</openwb-base-heading> | ||
<openwb-base-alert subtype="info"> | ||
Diese Komponente erfordert keine Einstellungen. | ||
</openwb-base-alert> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "DeviceHuaweiCounter", | ||
emits: ["update:configuration"], | ||
props: { | ||
configuration: { type: Object, required: true }, | ||
deviceId: { default: undefined }, | ||
componentId: { required: true }, | ||
}, | ||
methods: { | ||
updateConfiguration(event, path = undefined) { | ||
this.$emit("update:configuration", { value: event, object: path }); | ||
}, | ||
}, | ||
}; | ||
</script> |
Oops, something went wrong.