Hey,
i’m struggling with a scrape sensor integration. Want to get my pool values into HomeAssistant.
For the temperature for example i’m talking about the “27.9” number in the example below.
with my current yaml.setting i get no results:
- platform: scrape
resource: http://192.168.2.128/
name: Pool Temperatur
select: “tr:nth-child(1) td:nth-of-type(2)”
value_template: ‘{{ states.sensor.pool_temperatur.state.split(" “)[0] | replace (”.", “,”) | float }}’
unit_of_measurement: “°C”
also tried: select: “table:nth-child(1) tr:nth-child(13) td:nth-of-type(2) tr:nth-child(1) td:nth-of-type(2)”
and: select: “body > table > tbody > tr:nth-child(13) > td.line-content > span:nth-child(4)”
Local Website:
Pool statusPool status
Node UUID: 05E12D373439465343071B3E
Temperature | 27.9 °C |
pH | 7.19 |
ORP | 5.06 mV |
Chlorine concentration | not available |
Conductivity | not available |
Looking forward for some help. Thx.