Thermostat controller with portable A/C

Makes sense, thanks. Here are event logs from the temp sensor that’s in the Thermostat Controller. We see at 9:01pm last night it had a temp above the set temp + hysteresis. But the AC still didn’t turn on. Any other ideas?

You'd have to show the Thermostat Controller setup page, and app logs, to begin to understand what is happening.

I think I posted it all above, no? Most in the second to last message as well as earlier in the thread for app setup.

Edit: Added current setup below, since screenshot above had old control offset:

I also couldn't find in the documentation what "Idle Method" of "Mode Off" vs. "Control Offset" means, but I've left it on the default of the former, as you can see.

I take it back. Restrictions are active, not passive, and do create events. So there is some other reason it's not working.

Idle Method has to do with how the controlled thermostat is caused to stop calling for cooling. Mode Off means that it is switched from Cool mode to Off, and Control Offset means that its setpoint is pushed above where it would call for cooling.

Need to see the app logs for when it doesn't do what you expect.

Again, I shared logs before in this post above, 2nd screenshot. But here it is again without filtering for the few minutes after 9pm yesterday.

And here is 6am where the app (487) turns the AC off, 2nd to last line in this small screenshot:

I'm sorry, but what is the problem? It's restricted from 6 am to 9 pm, and it shows being turned off at 6 am, and then it's responding again at 9:00.

Do you have the restriction logic backwards? "Only between x and y" means it will only run during those times.

The problem is that the controller sets thermostatOperatingState to off at 6am (correctly) but never sets it back to on at 9pm so that all the further controller calls from 9pm onward to set the temp, etc., do nothing because the thermostat is still off.

I'm not seeing this problem -- it works as expected for me (see logs below). Perhaps you should remove this instance and re-create it. Not sure what is going on with your set up.

These logs from this Restriction:

I just deleted and reinstalled the app. No dice, same exact log pattern (off but not on). I wonder if this is somehow an issue with the Midea driver I think written by @tomw (code). But I don’t know what the issue would be. Anything pop out at you on the driver page?


Are you able to set the mode to off, and then back to cool from the device page?

I spent quite a bit of time on this over the past couple of days, because I found an unrelated bug in Thermostat Controller. TC never fails the way yours is. I don't know about this being a driver issue, because your TC logs are not showing TC setting back to cool at the beginning of the 'Only between two times" time period (as shown in what I posted above).

Another thing you should show us are the Scheduled Jobs from the TC App Status page (gear icon) from sometime before 9:00 PM. There should be a job scheduled for 9:00 PM...