Simple Local Webpage Scape Help Needed

Really not getting this, need to pull the pressure and temperate from a local webpage device into a sensor. I think I need scrape but I cant get it working.

Here is the local page.

Any help at all would be amazing. I have two of these to setup.

Thanks
Will

I have this so far

scrape:

But it don’t work :frowning:

Where does select: "p" come from. What does "p" come from?

It was from an example online, I have no idea what I am doing, lol

The device also provides the data via this page, maybe a better way to scrape?

I have now managed to get it to scape, but it pulls in the whole string.

Aqua-Scope Device-Id: 0ea5b1d9Uptime: 416208 sFlowState: 0 Water Cons: 0 mlPressure: 1788 mBarExt Water Sensor: 0Battery Voltage: 600 mVWater Temperature: 346 1/10 C Home Net (JSON) Data (JSON) Setup Config

How do I trim out just the data I need?

Think I need a value template ?

I think so.

Struggling to find a good guide on how to do it.

You mean other than Templating - Home Assistant

Perhaps

"{{value_json.Pressure}}"

Yep, I tried that, and HA just shows state of sensor as unknown.

scrape:
  - resource: http://192.168.5.127
    sensor:
      - name: "Will Test Scrape"
        select: "*"
        value_template: "{{value_json.Pressure}}"
        

Managed to get it working :slight_smile: Now how to convert the value from mBar to PSI ???

Simple template, plus convert mbar to psi - Google Search

Sorry im still learning, what is a simple template. I understand how to convert myself, but unsure how to get HA to do it. At the moment, my tile displays in mBar. Wanting to convert or Bar first :slight_smile:

scrape:
  - resource: http://192.168.5.127/data
    sensor:
      - name: "Will Test Scrape"
        select: "*"
        value_template: "{{value_json.Pressure | float(0) / 1000}}"

try

value_template: "{{value_json.Pressure | float(0) / 1000 / 68.948 }}"

You may need to add

unit_of_measurement: psi

That works, woo hoo thank you