thomasloven / lovelace-layout-card

🔹 Get more control over the placement of lovelace cards.
MIT License
1.08k stars 127 forks source link

Sorry #202

Closed drschlaumeier closed 2 years ago

drschlaumeier commented 2 years ago

My Home Assistant version: 2022.7.5

Layout-card version (FROM BROWSER CONSOLE): 2.4.2

What I am doing:

I try to read my ESP32 HTML sensor. HTML Code is as following:

**<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <meta HTTP-EQUIV="refresh" CONTENT="30"/>
    </head>

    <body>
        AQUARIUM Temperatur: 25.00 &deg;C <br>Battery: 4.10V, 100%, -<br>BootTime: CEST, 18.Jul 2022, Mon, 18:44:54, NowTime: CEST, 20.Jul 2022, Wed, 16:55:14
    </body>
</html>**

my multicraper is like this:

**- resource: http://192.168.1.114 scan_interval: 60 verify_ssl: false log_response: true parser: html.parser sensor:

What I expected to happen:

I want to get the temperature value 25.00

What happened instead:

I get following error code but not sure what this means. Ist it a bug or any other problem? Hopefully someone can help me here: 2022-07-20 17:04:46 DEBUG (MainThread) [custom_components.multiscrape.http] Scraper_noname_0 # Error executing get request to url: http://192.168.1.114. Error message: RemoteProtocolError("illegal chunk header: bytearray(b'167 \r\n')") 2022-07-20 17:04:46 ERROR (MainThread) [custom_components.multiscrape.coordinator] Scraper_noname_0 # Updating failed with exception: illegal chunk header: bytearray(b'167 \r\n')

By putting an X in the boxes ([X]) below, I indicate that I: