Please Help - tons of log entries, I have no idea

Hi,

I have tons of same log entries. Every ~30 seconds a new one. I have no idea what that cause.
Everything seems normal. I run hass.io on raspberry pi 3 with HA v0.59.2.

Please help

2017-12-08 21:03:51 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx/1.12.2</center>
</body>
</html>, template: {{ value_json.status == 'enabled' }})
2017-12-08 21:04:22 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx/1.12.2</center>
</body>
</html>, template: {{ value_json.status == 'enabled' }})
2017-12-08 21:04:53 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx/1.12.2</center>
</body>
</html>, template: {{ value_json.status == 'enabled' }})

Does nobody have an idea?

Looks like there’s a REST sensor or something that returns no json data, but a “400 Bad Request”
Search your configuration for value_json.status == 'enabled'

1 Like

Ok thx, found the error.

It was a faulty configured command line switch for Pi Hole.

Thx a lot