PeteRager / lennoxs30

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

Multi-zone Contol Issue for HA UI #146

Closed garyak closed 2 years ago

garyak commented 2 years ago

Recently updated HA Core to 2022.3.8 and just noticed multi-zone control problem from the UI. Not sure the update caused the issue. When attempting to increase the set point from the current setting, the set point will indicated the increase, then immediately fall back to previous value. Native App and Thermostat UI work as expected. Single-zone control continues to operate from the HA UI as expected.

No errors appear in the HA log. HA Log output set to debug produces the following while using the HA UI to change setpoint:

2022-03-30 06:43:04 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:05 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:06 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:19 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.76] running
2022-03-30 06:43:20 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Master] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Master] temperature [70] F
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [31]
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [31]
2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:24 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Master] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Master] temperature [71] F
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [31]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [31]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Office] support_flags [24]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Office] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Office] mode [off]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Office] support_flags [24]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Office] temperature [68] F
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Office] humidity [31]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Office] humidity [31]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Office] support_flags [24]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Media Equipment] support_flags [24]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Media Equipment] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Media Equipment] mode [off]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Media Equipment] support_flags [24]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Media Equipment] temperature [71] F
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Media Equipment] humidity [31]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Media Equipment] humidity [31]
2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Media Equipment] support_flags [24]
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Media Room] support_flags [24]
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Media Room] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Media Room] mode [off]
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Media Room] support_flags [24]
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Media Room] temperature [69] F
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Media Room] humidity [31]
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Media Room] humidity [31]
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Media Room] support_flags [24]
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Master] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Master] temperature [71] F
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [31]
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [31]
2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 06:43:31 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:32 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:32 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.76] running
2022-03-30 06:43:34 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:35 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.76] running
2022-03-30 06:43:36 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:39 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 06:43:40 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.76] running
2022-03-30 06:43:45 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.76] running
2022-03-30 06:43:46 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.76] running
PeteRager commented 2 years ago

Not having control is not good.

Which zone is it that you are trying to control? I see that some of your zones are Off. If it's one of those, then try putting it in Heat or Cool mode first before performing the setpoint.

Line 9: 2022-03-30 06:43:23 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
    Line 19: 2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
    Line 29: 2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Office] mode [off]
    Line 38: 2022-03-30 06:43:26 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Media Equipment] mode [off]
    Line 47: 2022-03-30 06:43:27 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Media Room] mode [off]
    Line 60: 2022-03-30 06:43:30 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]

If it's one of the zones that is in Heat mode, then let's try changing the setpoint and provide the debug log output - you should see something like this. We'll want that and anything that follows.

        _LOGGER.debug(
            f"climate:async_set_temperature zone [{self._myname}] hvacMode [{r_hvacMode}] temperature [{r_temperature}] temp_high [{r_csp}] temp_low [{r_hsp}]"
        )
garyak commented 2 years ago

North_Media Room moved from Cool to off. North Master moved from Off to previous set point. When attempting to move North Master to a higher set point, the set point would return to the previous value. Testing just now I raised the set point from 70 degrees to 71 degrees. The furnace responded and began heating. In Heat mode, further raising of the set point resulted in the fallback to 71 degrees. This is the HA log for that period.

2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:async_set_temperature zone [North_Master] hvacMode [None] temperature [74.0] temp_high [None] temp_low [None]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:async_set_temperature set_temperature system in heat mode - zone [North_Master] sp [74.0]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Master] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Master] temperature [71] F
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [34]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [34]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Master] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Master] temperature [71] F
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [34]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [34]
2022-03-30 14:17:53 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:preset_modes name[North_Master] presets[['schedule IQ', 'summer', 'winter', 'spring/fall', 'save energy', 'away', 'cancel hold', 'cancel away mode', 'none']]
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:hvac_mode name [North_Master] mode [heat]
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_temperature name [North_Master] temperature [71] F
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [33]
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:current_humidity name [North_Master] humidity [33]
2022-03-30 14:17:54 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 14:17:57 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 14:17:58 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 14:17:58 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running

Repeated attempts to raise the set point resulted in a similar fallback to 71 degrees.

After the furnace went to idle, I was able to lower the set point and have it stick.

PeteRager commented 2 years ago

That is strange behavior. Is it that the setpoints you do in the HA UI do not stick in HA or in HA and the S30? Meaning, with the heat coming on, it seems like it sent it to the S30, but HA did not show the right value?

3 more pieces of info needed to see what is going on.

Let's enable logging for the API also.

logger:
  default: warning
  logs:
    custom_components.lennoxs30: debug
    lennoxs30api: debug

Also, we'll want to see the messages going back and forth. Go into integration configuration for this connection. Enable s30 message logging to a file - like "s30_north_master_message.log".

Perform the test again. and send the contents of both files around that time frame.

Next lets get version info, for the S30 that North Master is on. Here's an example from the lennox. object for the connection.

s30

And version of the integration - are you on 0.2.4?

I'll be back later tonite. I will be setting up 2022.3.8 in the AM to test. I am running on 2022.3.6 with a single zone system fine.

garyak commented 2 years ago

Where would the additional log file (s30_north_master_message.log) be stored by default? HAlennoxs30log.txt

version is 2.4.

Device info S30 by Lennox Firmware: 3.81.207 I'm not capturing history for the s30's. Single zone system doesn't exhibit this behavior.

Moving the set point on the HA UI to beyond the initial setting ( 71 -> 72) does not reach the s30. s30 set point remains at 71.

PeteRager commented 2 years ago

This is good info in the file. I can see the setpoint of hsp=75 to the schedule id 16 go through (line 1231,1253) and see the response on line 1289 saying the hsp is 75, and then on line 1345 the zone which is running schedule id 16 reports hsp =71. So what you are saying is consistent with the log.

I’d like to see the same log extract when you set it to 75 from the Lennox App. When you do that the integration should receive a similar set of messages - changes to schedule 16 and update to the zone hsp

Are you able to set it from home assistant at all or is it just rejecting changes over 71?

garyak commented 2 years ago

Attached file is the output using the native app to adjust the set point to 75 from 70. System was running in heat mode at the time. Adjustment to lower the set point seem to work, HA UI reflected the set point changes after some delay. s30native.txt

I'm able to make an initial setting (67 -> 70). Following that subsequent changes are rejected. 70 is arbitrary.

PeteRager commented 2 years ago

Thanks. I’ve be reading the first log more. I see the first setpoint go through 71 on line 574, controller reflect the schedule back on line 611, and then the zone updates on line 667 with the new hsp. On all the other attempts, there is an extra message with the setpoint getting reset on the schedule to 71.

This message for North Master is odd. The sysuptime is the number of seconds the North Master controller has been up (last reboot, power interruption, etc.). It is at 600,000 - which seems to be an unlikely number give that it gets sent every minute.


    "messages": [
        {
            "MessageId": 0,
            "SenderID": "**redacted**",
            "TargetID": "ha_prod",
            "MessageType": "PropertyChange",
            "Data": {
                "system": {
                    "time": {
                        "sysUpTime": 600000,
                        "currentTime": "1648675736"
                    },
                    "publisher": {
                        "publisherName": "lcc"
                    }
                }
            }
        }
    ]
}
2022-03-30 15:28:56 DEBUG (MainThread) [lennoxs30api.s30api_async] update_attr: system Id [LCC] attr [sysUpTime] value [600000]
2022-03-30 15:28:56 DEBUG (MainThread) [lennoxs30api.s30api_async] processMessage complete system id [LCC] dirty [True] dirtyList [['sysUpTime']]
2022-03-30 15:28:56 DEBUG (MainThread) [custom_components.lennoxs30] messagePump_task host [192.168.3.94] running
2022-03-30 15:28:57 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]
2022-03-30 15:28:57 DEBUG (MainThread) [custom_components.lennoxs30.climate] climate:supported_features name[North_Master] support_flags [24]

I’ll review the new log in a minute

PeteRager commented 2 years ago

On that new log. Some of the message for North Master are missing. My guess is they are now off in the message log file -s30_north_master_message.log - which should be in the same folder as the home assistant log - as a result of restarting the integration?

messagelogconfig

garyak commented 2 years ago

s30_north_master_message.log

Here's a new version moving setpoint from 70 -> 74 with the native app.

PeteRager commented 2 years ago

Thanks. It looks like the same message that we are sending to the local port, but with the result of setpoint taking affect.

The firmware version is the same as what I am running and Lennox hasn't updated in a while.

The only difference is one is coming from the App through the cloud and the one we are sending is going direct.

You are able to issue setpoints to the other S30 and we can see the code sending the right messages.

I think you are saying that the first setpoint always works after starting the integration. So for example you could set it to 75 initially at it would stick?

At this point, let's try a couple of things to see if resetting the controller helps us. I would try these:

  1. Reboot controller, there should be an option on the thermostat panel to restart it.
  2. If that does not restore functionality, then let's power cycle the controller. On my system, I'd go the the circuit breaker panel. Turn it off, check that the lights go out on the S30 box with the antennae. Turn back on.
  3. If that does not restore functionality, then let's try changing the app_id for the connection from ha_prod to something else. I recall last summer when we had issues with your cloud connection - this fixed it.

If none of that works, we will look at the MessageID that go in the setpoint messages. Right now they start at 1 when integration is reset and count up. So the only difference in content between the first setpont and the second is the MessageID.. This will require some code change on my side and we can try always sending 1, generating a big random number, or starting from a higher base.

"MessageID": "00000000-0000-0000-0000-000000000001"
garyak commented 2 years ago

I've restarted the Smart Hub and it may have done the trick. I'll test further today, and if necessary, I'll work through your list.

PeteRager commented 2 years ago

Thanks for the update. Keep me posted.

PeteRager commented 2 years ago

Any further issues since restarting the smarthub?

garyak commented 2 years ago

No further issues. Tested both heating and cooling. The smart hub seems to have been the problem. Thanks again for your work on this.

PeteRager commented 2 years ago

Sounds good. What I’ll do is add some troubleshooting documentation concerning this issue, so that if other see it they know what to do.

garyak commented 2 years ago

This appears to have been an issue with the Lennox Smart Hub.