Closed bsell93 closed 8 months ago
Not sure if this helps, but here is the device list coming from cielo home website
@bsell93 i can't say because i have the turbo mode on my 3 HAVC and they work flawless with this integration.
one exception this integration missing the come back to normal after the Turbo timeout of running.
Okay. I will do some playing around and see if I can figure out what is going on.
@bodyscape I enabled debug logging and I'm noticing the request is sending with turbo set to "on", but then the response comes back a couple seconds later with it set to "off"
2023-10-07 17:39:54.689 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E868E7E6A8F9", "deviceTypeVersion": "BI03", "fwVersion": "2.5.3,2.5.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 1663, "myRuleConfiguration": {"activeTemplates": {"1": 1, "ruleTemplates": 1}, "1": "1,0", "ruleTemplates": {"1": [1, 5]}}, "connection_source": 1, "user_id": "QQG0LSSc9b", "token": "*****", "mid": "chrome-1694466449", "preset": 0, "application_version": "1.0.0", "ts": 1696732794, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "79", "swing": "pos2", "turbo": "on", "light": "off"}, "oldPower": "off", "actionType": "turbo", "actionValue": "on/off"}
2023-10-07 17:39:56.410 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "on", "temp": "79", "action_source": "WEB", "statustimestamp": "1696633849", "fanspeed": "auto", "turbo": "off", "end_turbo_timestamp": "0", "mode": "heat", "swing": "pos2", "ontimestamp": "1696714575", "start_turbo_timestamp": "1664032692", "power": "on", "mode_timestamp": "1696714126", "timestamp": "1696714575", "moderules": "default:default:default"}, "mac_address": "E868E7E6A8F9", "mid": "WEB", "stateSync": "0", "exe": "1", "my_rule_configuration": {"active_templates": {"1": "1"}, "1": "1,0", "rule_templates": {"1": ["1", "5"]}}, "lat_env_var": {"temperature": "73", "humidity": "0"}, "device_status": 1, "device_name": "Living Room", "fw_version": "2.5.3,2.5.0", "accessToken": "*****", "refreshToken": "*****"}
@bodyscape the "end_turbo_timestamp":"0" sticks out to me as a potential cause. Perhaps if the timestamp is set then it will work for me?
@bsell93 maybe, hard to say because on my side the response come back with the value on.
I'm going to try forking the repo and see if I can get it working
I tried setting the start/end turbo timestamps, but that didn't work. This is what I have for send turbo method. I tried camel case and snake case; doesn't seem to make a difference.
def _send_turbo(self, value) -> None:
"""c"""
if self._device["latestAction"]["turbo"] == value:
return
action = self._get_action()
start_turbo_timestamp = str(round(time.time()))
end_turbo_timestamp = str(round(time.time() + (30 * 60))) # 30 minutes from now
action["turbo"] = value
action["start_turbo_timestamp"] = start_turbo_timestamp
action["end_turbo_timestamp"] = end_turbo_timestamp
self._device["latestAction"]["turbo"] = value
self._device["latestAction"]["start_turbo_timestamp"] = start_turbo_timestamp
self._device["latestAction"]["end_turbo_timestamp"] = end_turbo_timestamp
self._send_msg(action, "turbo", "on/off")
Also worth noting, I tried setting turbo on https://home.cielowigle.com/ and it was just setting fan speed to "High" and sets turbo back to off. Now when I use the "Turbo" button through the mrcool app it works as expected... So something is funky there.
Your right, this is a weird behavior.
@bodyscape I've noticed when trying to change turbo mode on my mrcool units it beeps but nothing changes. I'm guessing maybe something isn't passing correctly? I'm on the latest versions on everything. All other functions except swing work as expected.
Unrelated, but regarding swing my units only have a on/off state for swing so the position toggles don't do anything for me. Perhaps a future improvement?