Hey aeveryone!
I’m completely stuck with the following… want to scrape the data-value Temperatur = from the following code:
<!DOCTYPE HTML>
<html>
<head><META HTTP-EQUIV="refresh" CONTENT="15"></head>
<body><h1>ESP8266 DHT22 Web Server</h1>
<table border="2" width="456" cellpadding="10"><tbody><tr><td>
<h3>Standort =
Schlafzimmer
<h3>IP Adresse =
192.168.178.160
<h3> Signalstärke (RSSI) =
-66
dBm
<h3> WLAN Kanal =
13
</h3><h3>Uptime =
176317
sec</h3><h3>Letzter ThingSpeak Status Code =
200
<h3>Nächster ThingSpeak Upload in
228
sec
<h3>Temperatur =
20.98
°C</h3><h3>Luftfeuchte =
72.14
%</h3>
</h3></td></tr></tbody></table></body></html>
The Sensor State always returns unknown.
I’ve been trying for 6 hours…
I checked the docs, looked at the css selector stuff, … googled some things… no solution so far. So I’m hoping that this community can find a solution.
- platform: scrape
resource: http://192.168.178.160
name: TestDHT22
select: ".Temperatur"
Thanks!