5 deleted 126 characters in body
source | link

I initially asked about a way to use 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:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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.

I initially asked about a way to use 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:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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.

I initially asked about a way to use 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. 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:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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.

    Post Closed as "duplicate" by jasonwryan, Ramesh, cuonglm, Braiam, slm of
4 Title, formatting
source | link

Extract Values from htmlHTML via HTML parser

I initially asked about a way to grepuse grep/awk.....directlyawk 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:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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.

Extract Values from html via HTML parser

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:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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.

Extract Values from HTML via HTML parser

I initially asked about a way to use 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:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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.

3 deleted 17 characters in body; edited tags
source | link

I initially asked about a way to grep/awk.....directly from an HTML file....I I got some feedback but first I see that people did not have the whole HTML and so the solutions suggested failed.... now someSome have mentioned that htmlHTML parsing would be a much better option....as As I have no idea iI kindly would like to ask the experts here how this would work and if easily possible provideprovided some input....I I work on Raspberry Pi with standard Linux/Debian Wheezy.

The htmlHTML mentioned is found here, simple htmlHTML...but I guess it's important to see the whole file to be able to help:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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.:

  • 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 This is my attempt now to bring this back to the experts here in the forum.

I initially asked about a way to grep/awk.....directly from an HTML file....I got some feedback but first I see that people did not have the whole HTML and so the solutions failed.... now some mentioned that html parsing would be 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 provide 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:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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 in the forum.

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:

https://www.dropbox.com/s/9jdgzen2hwjxhjp/main.htm

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.

2 added 15 characters in body
source | link
1
source | link