I initially asked about a way to grep/awk.....directly from an HTML file. I got some feedback but I see that people did not have the whole HTML and so the solutions suggested failed. Some have mentioned that HTML parsing would be a much better option. As I have no idea I kindly would like to ask the experts here how this would work and if easily possible provided some input. I work on Raspberry Pi with standard Linux/Debian Wheezy.
The HTML mentioned is found here, simple HTML...but I guess it's important to see the whole file to be able to help:
So what is required is to:
- Extract the two values, Pplus and Pminus (18.0000 and 0.00000) and provide them, plus providing the SUM.
- Both values come from a smart meter (energy meter) that provides the energy generated P- and energy/power taken from the network P+.
- P- in case of sun and solar plant working, so 18W is at night, 0.0000 means no generation as no sun, just to give you some background information.
I tried to update and ask for support in the original thread but seems that nobody's seen it again since there hasn't been any new feedback the last few days. This is my attempt now to bring this back to the experts here.