Hello everyone,
i’m struggling with one of my scrape sensors. Very weird, because the first one is working and the second one is on the same website, just a view lines further down. in my opinion the ccs selection should be fine, also checked with ccs selector tools! any thoughts/ideas on that? thx…
configuration_yaml
- platform: scrape
resource: http://192.168.2.152/
name: Photovoltaik
select: “table:nth-child(2) tr:nth-of-type(4) td:nth-of-type(3)”
unit_of_measurement: “W”- platform: scrape
resource: http://192.168.2.152/
name: Spannung Photovoltaik String 1
select: “table:nth-child(2) tr:nth-of-type(14) td:nth-of-type(3)”
unit_of_measurement: “V”
- platform: scrape
logfile:
2021-09-17 09:54:17 DEBUG (SyncWorker_7) [homeassistant.components.scrape.sensor]
PV Webserver
PIKO 10.1
Weindl (255) |
|
AC-Leistung | Energie | ||||||
aktuell | **1108** | W | Gesamtenergie | 80196 | kWh | ||
Tagesenergie | 1.13 | kWh | |||||
Status | Einspeisen MPP | ||||||
|
RS485 Kommunikation | |
Wechselrichter | |
Historie | Einstellungen |
2021-09-17 09:54:17 ERROR (MainThread) [homeassistant.components.scrape.sensor] Unable to extract data from HTML for Spannung Photovoltaik String 1