I hope, that you can help me with my prepaid subscription. (Vodafone DE)
I uploaded the Raw output to Pastebin
I want to get the remaining volume, the total volume and my balance.
The device is not the OH Server, therefore the command needs to be executed remotely.
Using the http binding would be easier, of course
My first attempt is this:
wget -q --output-document=- wap.meincallya.de/dr/s/ch | grep (…)
I do not want to get the whole line, which includes my result only the value (one per call)
But actually i am not really good in REGEX strings.
What i want to extract from the file is the following:
<span style="color:#e60000;"> 1,23 € </span> -> 1,23
<span> 123,4 MB von 850 MB verfügbar </span> -> 123,4 and 850
The 850MB are static, but it could be, that the provider will change it in the next time, It is also needed to calculate a percentage.