Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurator not working #263

Open
Ancalgon opened this issue Dec 7, 2024 · 8 comments
Open

Configurator not working #263

Ancalgon opened this issue Dec 7, 2024 · 8 comments

Comments

@Ancalgon
Copy link

Ancalgon commented Dec 7, 2024

Hi guys, I have a problem.
Till few days ago the configurtion plugin was working like a charm, from yesterday (no updating anything) every time I start the UI to configure the zones, I get and error:

Error executing template: Failed to execute template

In the logs I can see:

`s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun backend (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
ERROR:root:Running as a Home Assistant Add-on.

  • Serving Flask app 'backend'
  • Debug mode: off
    ERROR:root:Failed to execute template. Status Code: 400
    ERROR:root:Response: {"message":"Error rendering template: Template output exceeded maximum size of 262144 characters"}`

The device is working, I had done a reset, I had tried also to create a docker on my server and connect to my home assistant but the error and the logs are identical

Other details:
ESPHome 2024.11.3
Device is not visible
Error executing template: Failed to execute template

@EverythingSmartHome
Copy link
Owner

Did you change the name of the device?

@Ancalgon
Copy link
Author

Ancalgon commented Dec 9, 2024

Yes the first time that I'd used the device, months ago. But the addon has worked for the first few days and then suddenly I've got the error. I had tried to to a backup of Home Assistant, roll-back to the day before I've installed the plugin and to install it fresh on the system, same problem from the first run. Of course was an experiment so I had rollforward to the newest backup.
But the sensor it self is working, something is strange because i had loosed all the zones data.

@Ancalgon
Copy link
Author

Nothing, I had reset another time my EP Lite, reinstalled the firmware, configured the wifi and exposed all the sensors. I had reinstalled ESPHome, remove any custom name but nothing. The configurator is not working and I really don't know how to solve the problem. The sensor itself is working

`s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun backend (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
ERROR:root:Running as a Home Assistant Add-on.

  • Serving Flask app 'backend'
  • Debug mode: off
    ERROR:root:Failed to execute template. Status Code: 400
    ERROR:root:Response: {"message":"Error rendering template: Template output exceeded maximum size of 262144 characters"}
    ERROR:root:Failed to execute template. Status Code: 400
    ERROR:root:Response: {"message":"Error rendering template: Template output exceeded maximum size of 262144 characters"}
    ERROR:root:Failed to execute template. Status Code: 400
    ERROR:root:Response: {"message":"Error rendering template: Template output exceeded maximum size of 262144 characters"}`

@EverythingSmartHome
Copy link
Owner

Does it find the name of the device but doesn't work after that or does it not show the device in the drop down at all?

@Ancalgon
Copy link
Author

The configurator does not show any device. In home assistant the device hasn't any custom name, just the default one.

@EverythingSmartHome
Copy link
Owner

Can you share the ESPHome diagnostics by going to the device page in home assistant, click the 3 dots and download ESPHome diagnostics

@Ancalgon
Copy link
Author

I have tried to install the configurator as Home Assistant addon, as VM and LXC in Proxmox and as docker on Unraid. The Error is always the same. Interesting I get the error even if I don't give the home assistant ip. It happened inside the Unraid docker. And when I've configured the docker with the IP of my home assistant, for a brief moment something happen only to refresh the page after a second and end in the same popup error

Log of the addon inside Home Assistant
`s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun backend (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
ERROR:root:Running as a Home Assistant Add-on.

  • Serving Flask app 'backend'
  • Debug mode: off
    ERROR:root:Failed to execute template. Status Code: 400
    ERROR:root:Response: {"message":"Error rendering template: Template output exceeded maximum size of 262144 characters"}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants