PeteRager / lennoxs30

Home Assistant Lennox S40 / S30 / E30 / M30 integration
MIT License
89 stars 13 forks source link

S40 Diagnostict data stops reporting after 3 hours #324

Closed klkohl closed 5 months ago

klkohl commented 5 months ago

Describe the bug After setting the Diagnostic Level to 2, diagnostic entity data is recorded for approximately 3 hours then flatlines.

To Reproduce Reset the diagnostic level to 0 and back to 2. Wait approximately 3 hours.

Expected behavior Once the diagnostic level is set to 2, I expect the entities to keep recording until the diagnostic level changes.

Screenshots/Logs If applicable, add screenshots to help explain your problem.

Version

Integration Configuration

Additional context My dealer upgraded me from a S30 to a S40 a couple of months ago. I didn't experience this problem with the S30, but I've been experiencing this problem ever since the change.

I tried running the Fix Lennox S40 Diagnostics script, but when I try to save the script in Home Assistant I get the following error: Message malformed: extra keys not allowed @ data['trigger']

klkohl commented 5 months ago

Capture

PeteRager commented 5 months ago

That is a known issue with S40, see this issue for a sample automation to use.

https://github.com/PeteRager/lennoxs30/issues/283

I will add this to the documentation / samples.

PeteRager commented 5 months ago

I tried running the Fix Lennox S40 Diagnostics script, but when I try to save the script in Home Assistant I get the following error: Message malformed: extra keys not allowed @ data['trigger']

post that script here and I'll look at it.

klkohl commented 5 months ago

After reading #283 It looks like the script is supposed to be an automation. That's probably why I was getting the error. I found the "script" here: https://github.com/PeteRager/lennoxs30/blob/master/docs/diagnostics.md

alias: Fix Lennox S40 Diagnostics description: "" trigger:

PeteRager commented 5 months ago

Yes, that is an automation. The docs say script which is incorrect. I will fix that. You should be able to go into the automation editor, create a new automation, switch to YAML mode, and paste it in.

klkohl commented 5 months ago

I did that and it appears to be working. Thanks.

klkohl commented 5 months ago

Thanks.