Skip to content
Merged

Dev #151

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/components/devices/sonnenbatterie/device.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
title="IP oder Hostname"
subtype="host"
required
:model-value="configuration.ip"
:model-value="configuration.ip_address"
@update:model-value="
updateConfiguration($event, 'configuration.ip')
updateConfiguration($event, 'configuration.ip_address')
"
/>
<openwb-base-select-input
Expand Down Expand Up @@ -71,18 +71,20 @@ export default {
computed: {
linkRestApi1() {
return (
"http://" + this.configuration.ip + ":7979/rest/devices/battery"
"http://" +
this.configuration.ip_address +
":7979/rest/devices/battery"
);
},
linkRestApi2() {
return (
"http://" +
this.configuration.ip +
this.configuration.ip_address +
":7979/rest/devices/battery/M05"
);
},
linkJsonApi() {
return "http://" + this.configuration.ip + "/api/v1/status";
return "http://" + this.configuration.ip_address + "/api/v1/status";
},
},
methods: {
Expand Down
3 changes: 1 addition & 2 deletions src/views/ChargeLog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,7 @@ export default {
sortable: false,
display: (row) => {
return this.alignEnd(
this.formatNumber(row.costs / 1000, 2) +
"&nbsp;€"
this.formatNumber(row.costs, 2) + "&nbsp;€"
);
},
},
Expand Down
9 changes: 9 additions & 0 deletions src/views/DebugConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
Schreibvorgänge auf der SD-Karte zu reduzieren.
</template>
</openwb-base-button-group-input>
<openwb-base-alert subtype="warning">
Achtung! In den Einstellungen "Info" und "Details"
können in den Logdateien sensible Daten wie
Benutzernamen und Kennwörter enthalten sein. Diese
sollten vor dem Veröffentlichen z.B. im Forum
unkenntlich gemacht werden. Private IP-Adressen (z.B.
192.168.x.x) müssen nicht maskiert werden, da diese
nicht über das Internet erreichbar sind.
</openwb-base-alert>
</div>
</openwb-base-card>
<openwb-base-submit-buttons
Expand Down