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

Bug During offline mode I can not change the temperature of the thermostat #2369

Open
itSme1990 opened this issue Nov 5, 2024 · 8 comments
Labels
Add-on: Climate Bug Identifies an issue where the system is not functioning as expected. Page: climate Concerns specific to the page's interface or functionality.
Milestone

Comments

@itSme1990
Copy link

TFT Version

4.3.11

Firmware Version

4.3.11

Blueprint Version

4.3.11

Panel Model

EU

What is the bug?

I use the climate add-on with relay 1 to control an underfloor heating. If home assistant is online everything works fine. But during offline mode I can not change the temperature of the thermostat. If I click on the current temperature in home screens it does not show the thermostat page.
Btw.: It still controls the temperature but I can just not change the target temperature.
I am not sure if this is a bug or works as expected. If it is not a bug than I would rephrase it as a feature request :)

Steps to Reproduce

  • Activate the climate add-on in the esp configuration
  • Shut down Home assistant.
  • Click on the temperature on Home screen

Your Panel's YAML

No response

ESPHome Logs

No response

Home Assistant Logs

No response

@itSme1990 itSme1990 added the Bug Identifies an issue where the system is not functioning as expected. label Nov 5, 2024
@edwardtfn edwardtfn changed the title Bug Bug During offline mode I can not change the temperature of the thermostat Nov 5, 2024
@edwardtfn edwardtfn added this to the v4.4.0 milestone Nov 5, 2024
@edwardtfn edwardtfn added Page: climate Concerns specific to the page's interface or functionality. Add-on: Climate labels Nov 5, 2024
@edwardtfn
Copy link
Collaborator

I am not sure if this is a bug or works as expected.

I was expecting the local control of target temperature even with Wi-Fi out, so certainly a bug.

@itSme1990
Copy link
Author

Thanks for your fast response and great work! If you need any logs or something else, please let me know :)

@edwardtfn
Copy link
Collaborator

I will try to duplicate it here. If I cannot duplicate, then I will ask for additional info.

@Nevinskas
Copy link

I just want to double confirm, that I'm also having the same issue.
Let me know as well if you need more debug info for this problem.
Thanks!

@Nevinskas
Copy link

Hey @itSme1990 @edwardtfn
I've made myself a setup for debugging this problem. Have reproduced it and have some info.
@itSme1990 Is it okay if I post my findings here? I don't want to hijack someones else problem.
Or should I create separate issue and link with this one?
Thanks!

@itSme1990
Copy link
Author

@Nevinskas, yes sure - Please post it here. Great to hear you do have a debugging setup for the issue 🙂

@edwardtfn
Copy link
Collaborator

That will be very useful. 😃

@Nevinskas
Copy link

hey @edwardtfn
so finally I found some spare time to log everything.
I've compiled fw with verbose logging, and attaching full logs for each finding.
This might be overwhelming at first, but I think I found few problem related:

  1. While the NSPanel is offline, pressing on the temperature numbers nothing happens.
    pressing_on_temperature.log
    I think this is initial issue. I've marked the places in the log with XXXX where I did pressing.
    But after digging deeper, I've found that you can get into thermostat dialog by long pressing the temperature numbers. @itSme1990 Check if you can get in to the thermostat setting while the NSPanel is offline by pressing and holding on temperature.

  2. While the NSPanel is offline, changing temperature (sometimes) causes to crash the NSPanel. crash_on_changing_temperature.log
    I've got this crash by getting in to the thermostat settings and changing the temperature. I haven't reproduced it the second time, but I thought that someone else might find it interesting.

  3. While the NSPanel is offline, turning up the heat to trigger the heating relay, the NSPanel crashes.
    random_crash_after_turning_heating_on_2.log
    random_crash_after_turning_heating_on.log
    So, when the NSPanel triggers the relay for a heating, after a period of time (5-20secs) the panel crashes. Got this reproduced two times and both logs attached.

  4. After some crash, the NSPanel does not responds to any "commands".
    reboot_not_working_and_holding_on_temp.log
    The NSPanel got into weird state, where the screen is showing (and touch is working), but getting into thermostat dialog page is impossible by holding finger on temperature numbers. Also, by holding down the time, you can get into different dialogue (with brightness and reboot button), but reboot button does not work. You have to power cycle the panel.
    This is most likely not related to the thermostat, but I've think you might find this interesting as well.

I would attach the firmware elf file (for gdb debugging) but it contains my wifi password. But if you think that the fw file would help to debug this, I would not mind sharing the fw elf via email.
Also, let me know if you need something to clear up or attach additional info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add-on: Climate Bug Identifies an issue where the system is not functioning as expected. Page: climate Concerns specific to the page's interface or functionality.
Projects
None yet
Development

No branches or pull requests

3 participants