diff --git a/html/index.html b/html/index.html
index be0309b..dd429c0 100644
--- a/html/index.html
+++ b/html/index.html
@@ -29,6 +29,9 @@
+
+
+
mdi-plus
@@ -174,7 +177,8 @@
"url": "",
},
"menuSupport": false,
- "deliveryModes": []
+ "deliveryModes": [],
+ "germanUmlautSupport": false,
},
autocompleteData: {
wbx: {counties: {}, countyNames: []},
diff --git a/index.js b/index.js
index 3faddba..6cdf2df 100644
--- a/index.js
+++ b/index.js
@@ -83,7 +83,7 @@ async function triggerAlert(alarmConfig) {
dayCounter++
}
await axios.post(new URL(config.pager.url).origin + '/api/message/' + (!!alarmConfig.preset ? 'preset' : 'advanced'),
- Object.assign({ preset: alarmConfig.preset }, { payload: `WBI: ${ alarmConfig.wbxStation } ${ dayStrs.join('-') }` }))
+ Object.assign({ preset: alarmConfig.preset }, { payload: `WBI: ${ replaceUmlaute(alarmConfig.wbxStation) } ${ dayStrs.join(' - ') }` }))
}
if (alarmConfig.gbxEnabled) {
gbxData = await axios.get("https://www.wettergefahren.de/warnungen/indizes/grasland.html")
@@ -102,7 +102,7 @@ async function triggerAlert(alarmConfig) {
dayCounter++
}
await axios.post(new URL(config.pager.url).origin + '/api/message/' + (!!alarmConfig.preset ? 'preset' : 'advanced'),
- Object.assign({ preset: alarmConfig.preset }, { payload: `GBI: ${ alarmConfig.gbxStation } ${ dayStrs.join('-') }` }))
+ Object.assign({ preset: alarmConfig.preset }, { payload: `GBI: ${ replaceUmlaute(alarmConfig.gbxStation) } ${ dayStrs.join(' - ') }` }))
}
}
async function minuteCheck() {