Help, I don't undertand the Scrape sensor

We recently purchased solar panels from a local company that uses a proprietary controller and the only way to see the production of the panels is through their website.
This is why I am trying to use the Scrape integration but I don’t quite understand how to use it to, in this case, identify and extract the 144 from this:

<g class="dxg-subvalue-indicator" fill="#333333"><path d="M 54 175 L 54 146 L 18 146 L 18 170 L 49 170 Z" transform="translate(0,0)"></path><text style="white-space:pre;fill:#ffffff;font-size:15px;font-family:Raleway;font-weight:400;cursor:default;" x="36" y="163" transform="translate(0,0)" text-anchor="middle">144</text></g>

This is the link:

https://monitor.beesolar.mx/Mediciones.aspx?BC=BC-090781011070

Please help me

@Luismm2311 - What is the URL of the site you’re trying to scrape? This will allow others to give better assistance.

Also. I’ll chime in here as well with a related question for anyone else - what’s the best way to test a SCRAPE sensor (other than multiple restarts?)

This is the link

https://monitor.beesolar.mx/Mediciones.aspx?BC=BC-090781011070

1 Like