Hi Trying to scape a local site.
the html part:
P1 monitor | |
---|---|
Totaal verbruik tarief 1: | 1933.819*kWh |
Totaal verbruik tarief 2: | 1073.243*kWh |
Teruggeleverd tarief 1: | 908.102*kWh |
Teruggeleverd tarief 2: | 2023.695*kWh |
Actueel verbruik : | 0.000*kW |
Huidige teruglevering : | 0.422*kW |
Totaal gasverbuik : | 810.452*m3 |
In the end I want all values but started with the first
-
platform: template
sensors:
totaaltemplate:
friendly_name: “Totaal”
value_template: ‘{{sensor.p1_totaal1}}’
unit_of_measurement: ‘kW’ -
platform: scrape
resource: http://192.168.1.39/P1
name: p1_totaal1
select: ‘tr:nth-of-type(2) td:nth-of-type(2)’
scan_interval: 60