Giter Site home page Giter Site logo

cielo_home's People

Contributors

bodyscape avatar mikeyoon avatar viper5000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cielo_home's Issues

Getting Invalid Response Status Error

Early this morning the integration stopped working and the logs were being flooded with this log:

Logger: custom_components.cielo_home.cielohome
Source: custom_components/cielo_home/cielohome.py:259
First occurred: 6:08:13 AM (399 occurrences)
Last logged: 6:23:38 AM
498, message='Invalid response status', url=URL('wss://apiwss.smartcielo.com/websocket/?sessionId=chrome-1693476893&token=REDACTED

Using the Cielo app and google home integration works as expected.

MrCool Turbo Mode

@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?

Login not working

is it working for you guys? I'm getting the error:

[custom_components.cielo_home] Failed to login to Cielo Home

I already checked and the username and password is ok and it was working until yesterday

need clarification

been using this since June. works great, thanks!

What is the difference between

Temperature temperature changes
and
Temperature temperature changed

Thanks

Hal

Followed Instructions, no longer appears to authenticate

Not sure what I'm doing wrong but after a few attempts with in-private and/or shutting all the browsers down, can't seem to get it to authenticate. Has this been attempted by others recently? Could Cielo have changed something?

Freeze Protection

Thank you for this excellent integration, I have waited years to be able to control my MrCool multi-zone unit. Everything seems to be working perfectly, but I do not see a setting to turn on the Freeze Protection function. Am I just missing it? If not, it would be handy to have access to this function as I use this mini split in a remote cabin where the units live in FP mode for a good portion of the winter.

Question on Cielo device temp/humidity polling

Hi @bodyscape , was curious if you know how often the local data from the Cielo devices propagate into home assistant? Been having a problem with my devices not being completely in sync with the actual temp displayed on them in home assistant.

I use the temp to trigger automation to adjust different heating areas in my house and been noticing the automation isn't being triggered because the home assistant value is above the trigger when in reality the device has a temp below the trigger.

Not sure if this is a device issue (firmware) or if it's something with the integration that needs to poll the cloud more frequently.

Manual Installation Missing Setup

Hi there --

Love your work. I re-installed Cielo Home with a manual installation but am missing the configuration section for authentication tokens, etc.

Any ideas?

image

Threading issue with schedule_update_ha_state

Getting this error in Home Assistant Core

After this I'm unable to set temperature until HA is restarted.

Logger: root
Source: helpers/entity.py:904
First occurred: December 16, 2023 at 11:52:57 PM (100 occurrences)
Last logged: 10:21:11 AM

Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.11/threading.py", line 1401, in run
self.function(*self.args, **self.kwargs)
File "/config/custom_components/cielo_home/cielohomedevice.py", line 874, in dispatch_state_updated
listener.state_updated()
File "/config/custom_components/cielo_home/entity.py", line 37, in state_updated
self.schedule_update_ha_state(False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 904, in schedule_update_ha_state
self.hass.loop.call_soon_threadsafe(self.async_write_ha_state)
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'loop'

Integration stopped working after adding Thermostat to CIelo

I just added Cielo's standard HVAC thermostat (the on with the C wire). Afterwards, the integration stopped working alltogether. When I check the log I see this
2023-07-31 12:55:52.153 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Cielo Home for cielo_home Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/cielo_home/__init__.py", line 48, in async_setup_entry list_devices = await api.async_get_devices() File "/config/custom_components/cielo_home/cielohome.py", line 334, in async_get_devices appliance_id: str = str(device["applianceId"]) KeyError: 'applianceId'

Sync AC State

The integration has been working great, this is a feature request. I'm having an issue related to the physical Cielo device itself where occasionally the AC doesn't see the IR signal and the app and AC get out of sync. I've tried manually setting the state in Home Assistant with a python script, but it seems that if the Cielo app still thinks it's on, it won't respond accordingly. The app does have an option to sync the AC state as shown in the screenshot. Is there any way to integrate this functionally into your integration to call it from HA?
Screenshot_20230316-071215

Cannot change F to C in Controls

All works perfectly well, thanks!
One hiccup: I cannot change the temperature unit to C in Controls. Sensors show C, so does the app. There must be something simple about it, but can;t find it. Thank you

Enhancement: Is it possible to add air filter status?

Everything is working perfectly with my Mrcool DIY unit but I noticed that air filter status feature is not exist. Im not sure if its good idea or/and hard to add the feature? The feature under eSaver category in Mrcool app.

Unable to authenticate

Hi - Thanks for the integration; I'm really grateful someone's finally done it :)

I want to report that the climate entities were showing up as unavailable in the last day or two. I tried reloading the integration and doing partial and full reboots of Home Assistant, but neither helped. I checked the logs and there was an authentication error. I didn't find a way to reconfigure the integration, so I opted to remove the integration altogether and add it back again.

As I did that, adding the integration asks you to sign in. I keep getting the "Invalid authentication" error (screenshot below). I can confirm that my username and password work. I validated that through the app and their online website; so it's not a credentials problem. Any ideas on how to proceed? Thanks in advance!

image

HA Not Updating Room Temperature

I have an automation to turn off my Cielo Pro when its measured space temperature goes below a Setpoint value in HA. I have noted on numerous occasions the temperature doesn’t update in HA, and the unit continues to run overcooling the space. It will be a couple degrees or more lower on the display than what’s shown in HA. If I reload the service it updates the temperature immediately and the automation turns off the unit.

I have lost half of my entities

Today I have lost half of my entities, from 3 rooms with same model Cielo Breez Eco and same AC Type, suddenly I can control only one, from living through climate.living entity.
The other 2 does not have this control, it dissapeared.

I have deleted the integration and added again, same issue.

I am new to HA, so I really dont know where is the issue and how to solve it.

image
image
image
image

Possible API Issue: Unable to control power from HA or Web

Recently I have run into an issue where HA can no longer control specifically the power functions (On/Off) of the HVAC mini-split using this integration. Looking into the issue I have found the following to be true.

  1. Only the power functions (off/on) are affected, I can change fan speed and function (Heat/Cool/etc) just fine.
  2. Using Cielo's web application (https://home.cielowigle.com/) exhibits the same behavior.
  3. Use of either the buttons on the cielo, or the android application both work as they should.

This leads me to believe that something about the web calls broke (as otherwise the web app should work) - and I am not adept with python, but it seems this is emulating the functionality of the web app application. This would explain why both the web app and the HA integration broke at the same time, also why android and device actions work. Is anyone else having this issue? HA debug logs of a successful event and an unsuccessful event, as well as the environment are below.

Environment:

  • Daikin Mini-Split AC.
  • Cielo Breez PLUS (FW: 1.1.1.2.4.1)
  • Home Assistant 2023.6.2
  • cielo_home 1.4.6

Success

2023 - 06 - 15 15: 46: 50.908 DEBUG(MainThread)[custom_components.cielo_home.cielohome]Receive Json:

{
    "message_type": "StateUpdate",
    "action": {
        "uirules": "default:default:default",
        "device_status": "off",
        "temp": "72",
        "action_source": "MAC_ADDRESS",
        "statustimestamp": "1686856365",
        "fanspeed": "high",
        "turbo": "off",
        "end_turbo_timestamp": "1686856053",
        "mode": "cool",
        "swing": "auto",
        "followme": "off",
        "ontimestamp": "1686858411",
        "start_turbo_timestamp": "1686856053",
        "power": "on",
        "mode_timestamp": "1686856053",
        "timestamp": "1686858411",
        "moderules": "default:default:default"
    },
    "mac_address": "C45BBE68149E",
    "mid": "5f837565312cc7e7",
    "stateSync": "0",
    "lat_env_var": {
        "temperature": "77",
        "humidity": "50"
    },
    "device_status": 1,
    "device_name": "AC_UNIT",
    "fw_version": "1.1.1,2.4.1",
    "accessToken": "-----",
    "refreshToken": "-----"
}

Failure

2023 - 06 - 15 15: 46: 41.975 DEBUG(MainThread)[custom_components.cielo_home.cielohome]Receive Json:

{
    "message_type": "StateUpdate",
    "action": {
        "uirules": "default:default:default",
        "device_status": "off",
        "temp": "72",
        "action_source": "WEB/StateSync",
        "statustimestamp": "1686856365",
        "fanspeed": "high",
        "turbo": "off",
        "end_turbo_timestamp": "1686856053",
        "mode": "cool",
        "swing": "auto",
        "followme": "off",
        "ontimestamp": "1686858402",
        "start_turbo_timestamp": "1686856053",
        "power": "off",
        "mode_timestamp": "1686856053",
        "timestamp": "1686858402",
        "moderules": "default:default:default"
    },
    "mac_address": "MAC_ADDRESS",
    "mid": "WEB",
    "stateSync": "0",
    "lat_env_var": {
        "temperature": "77",
        "humidity": "50"
    },
    "device_status": 1,
    "device_name": "AC_UNIT",
    "fw_version": "1.1.1,2.4.1",
    "accessToken": "-----",
    "refreshToken": "-----"
}

Failed Authentication

I noticed my integration stopped working this morning (couldn't see devices in the integration any more). I deleted the integration and removed it from HACS, rebooted, re-installed in HACS, rebooted, followed the instructions to get the auth/refresh/user/session ids, closed chrome, re-opned chrome and tried to add the integration again in HA with the data pasted from note pad. Tried several times and always get a failed authorization response.

Power On/Off function not working

The power on and off works perfectly fine in Cielo app but for some reason through home assistant automation it’s does not work. my ac unit beeps like it’s getting a signal but does not power on or off.

I have uninstalled and reinstalled but still same issue.

Mr Cool multiple usb wifi adapters in cielo only first unit shows as a climate entity

I have 10 different indoor Mr Cool Air handlers with the usb wifi dongle. I can control them all in the Mr. Cool app. When I added my cielo account to Home assistant, most of the units came in with controls for Freezing Point, and Power as switches and Target temperature as a variable entity; Status and Temperature as a sensor.

Only the first (alphabetically) unit came in including a climate entity with full control over operation, status, target temperature, preset, fan mode, and swing mode.

How can I get the other units to come in with climate entities?

I have attached a pdf showing how the devices present with and without the climate entities.

cielo.pdf

How to enable Cielo Follow Me mode?

Hi - how do you call/enable the Cielo Breez Max Follow Me mode within HA? Currently I can do it from within the Cielo iOS app (it toggles on or off) along with the LED mode on/off. Thanks.

Invalid authentication when trying to add to home assist

I had this integration previously working but since i added a new device and it wasn't detecting it, I tried deleting the integration and starting over. But now I can't get past the first step of adding the integration. I know my username/pass are correct since they work on the website. Is this a bug or am I doing something wrong?

I should note that to try to fix this, i did try updating home assist core, and restart home assist.

image

Worked great until recently.

Lost connectivity in HA. I can still log in through the web site. I deleted the device, restarted HA, and tried to reinstall but it won't take the new config info.

Error while setting up cielo_home platform for climate

I am getting the below error in HA logs and the climate entity doesn't show up. I do have individual controls and sensors show up in this integration, and I can use the switch to turn my AC on and off.

Home Assistant 2023.9.2
Breez Eco, Firmware: 1.0.9,2.4.0
cielo_home v1.6.2 installed via HACS

Any suggestions on how to troubleshoot this error

Logger: homeassistant.components.climate
Source: custom_components/cielo_home/cielohomedevice.py:555
Integration: Climate (documentation, issues)
First occurred: 10:53:16 PM (1 occurrences)
Last logged: 10:53:16 PM

Error while setting up cielo_home platform for climate
Traceback (most recent call last):
  File "/lsiopy/lib/python3.11/site-packages/homeassistant/helpers/entity_platform.py", line 359, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/cielo_home/climate.py", line 49, in async_setup_entry
    entity = CieloHomeThermostat(device)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/cielo_home/climate.py", line 101, in __init__
    self._attr_min_temp = self._device.get_min_temp()
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/cielo_home/cielohomedevice.py", line 555, in get_min_temp
    self.get_unit_of_temperature(), device_unit, int(range_temps[0])
                                                 ^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'inc'

Invalid Response Status (Cielo unavailable)

I'm getting this error in my logs when noticing my devices suddenly went unavailable. Will investigate further in the morning if it's still happening. Just want to put this here in case someone else is having this problem. Note: I stripped the tokens from the logs

This error originated from a custom integration.

Logger: custom_components.cielo_home.cielohome
Source: custom_components/cielo_home/cielohome.py:259
Integration: Cielo Home (documentation, issues)
First occurred: 11:00:28 PM (83 occurrences)
Last logged: 11:05:41 PM

498, message='Invalid response status', url=URL('wss://apiwss.smartcielo.com/websocket/?sessionId=chrome-1693537226&token=)
498, message='Invalid response status', url=URL('wss://apiwss.smartcielo.com/websocket/?sessionId=chrome-1693537425&token=')
498, message='Invalid response status', url=URL('wss://apiwss.smartcielo.com/websocket/?sessionId=chrome-1693537226&token=')
498, message='Invalid response status', url=URL('wss://apiwss.smartcielo.com/websocket/?sessionId=chrome-1693537425&token=')
498, message='Invalid response status', url=URL('wss://apiwss.smartcielo.com/websocket/?sessionId=chrome-1693537226&token=')

noob help

How do i add tis integration to my home assistant? I can figure it out.

Unable to use any device controls. KeyError: 'turbo'

Error after adding integration:

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/cielo_home/cielohomedevice.py:316
Integration: Cielo Home (documentation, issues)
First occurred: 6:25:36 AM (1 occurrences)
Last logged: 6:25:36 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/cielo_home/cielohome.py", line 243, in async_connect_wss
    listener.lost_connection()
  File "/config/custom_components/cielo_home/cielohomedevice.py", line 649, in lost_connection
    self.dispatch_state_updated()
  File "/config/custom_components/cielo_home/cielohomedevice.py", line 644, in dispatch_state_updated
    listener.state_updated()
  File "/config/custom_components/cielo_home/entity.py", line 36, in state_updated
    self._update_internal_state()
  File "/config/custom_components/cielo_home/climate.py", line 107, in _update_internal_state
    self._attr_preset_mode = self._device.get_preset_mode()
  File "/config/custom_components/cielo_home/cielohomedevice.py", line 527, in get_preset_mode
    if self.get_turbo() == "on":
  File "/config/custom_components/cielo_home/cielohomedevice.py", line 316, in get_turbo
    return self._device["latestAction"]["turbo"]
KeyError: 'turbo'

Error toggling any device controls:

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/cielo_home/cielohomedevice.py:342
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 6:37:35 AM (1 occurrences)
Last logged: 6:37:35 AM

[139913008286880] 'turbo'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1022, in async_turn_on
    await self.hass.async_add_executor_job(ft.partial(self.turn_on, **kwargs))
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/cielo_home/switch.py", line 41, in turn_on
    self._device.send_power_on()
  File "/config/custom_components/cielo_home/cielohomedevice.py", line 46, in send_power_on
    self._send_power("on")
  File "/config/custom_components/cielo_home/cielohomedevice.py", line 57, in _send_power
    action = self._get_action()
  File "/config/custom_components/cielo_home/cielohomedevice.py", line 342, in _get_action
    "turbo": self._device["latestAction"]["turbo"],
KeyError: 'turbo'

Unable to set 'Heat' below 18 degrees....

Hi. I have a Cielo Breeze connected to my heat pump. Works great. Using the Cielo app I can set the temperature for heating over a range of 10 - 30 degrees Celsius. It is connected to Google Home, and I can set the temperature (for heating) to anywhere between 10 - 32 degrees Celsius.

Using this great HACS addition with HA, the lowest temperature I can set for heating is 18 degrees Celcius.

Is it possible to change this minimum to be 16 degrees (this is the temperature I set the heat pump to overnight)? Currently I am needing to use the Cielo app or Google Home to do this - and I would prefer to use HA....

Thanks!

Mode select no longer working

Whenever I try to turn on or off the system or change modes from HA it throws this error

This error originated from a custom integration.

Logger: custom_components.cielo_home.cielohome
Source: custom_components/cielo_home/cielohome.py:250
Integration: Cielo Home (documentation, issues)
First occurred: September 8, 2023 at 1:43:56 PM (8 occurrences)
Last logged: 9:49:59 AM

'message_type'

When I turn the system on from the official app or make changes manually at the unit HA updates and displays appropriately.

I'm running 1.5.3
Home Assistant 2023.9.0
Supervisor 2023.08.3
Operating System 10.5
Frontend 20230906.1 - latest 9

Freezing Point no longer working

For some reason the Freezing Point setting is no longer working. When I toggle it on, it turns itself back off again after a few seconds. I have only one unit turned on, in heat mode, when I toggle the switch. I have also tried turning it on from OFF, the unit turns on, but only to heat mode, the toggle resets this way as well.

Also, Freezing Point is the only entity that is not passing through the HomeKit Bridge, even though it is enabled (not excluded).

Fan controls not working with HomeKit

Not sure if this is an issue with this add-in or Homeassistant's HomeKit bridge.

I can set everything without issue from Home Assistant, however the fan controls in HomeKit do not respond. When changing the fan speed it is not reflected in Home Assistant or the Cielo app.

myRuleConfiguration error when ever try to change a setting

I uninstalled the old version, rebooted, installed 1.6.1, rebooted and followed the direction for getting the tokens, etc. and closed chrome. The login seems to be working fine, history shows the humidity, temp and connected have been solid since I updated (yesterday). However, whenever I try to control the AC unit (power, temp, etc.) I get a 'myRuleConfiguration' error. I've tried controlling the AC from the integration card, services tab, etc. I even just tried reinstalling the integration and still the same issue. Anyone else seeing this? Everything was fine before Cielo messed things up by changing the logon.
Thanks.

Below are some logs if it helps:
2023-09-13 18:37:21.980 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'myRuleConfiguration'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 704, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 666, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 1969, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2006, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 830, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/cielo_home/climate.py", line 144, in async_sync_ac_state
self._device.sync_ac_state(power, temp, mode, fan_speed, swing)
File "/config/custom_components/cielo_home/cielohomedevice.py", line 114, in sync_ac_state
self._send_msg(action, "", "", default_action="syncState")
File "/config/custom_components/cielo_home/cielohomedevice.py", line 164, in _send_msg
"myRuleConfiguration": self.get_my_rule_configuration(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/cielo_home/cielohomedevice.py", line 418, in get_my_rule_configuration
return self._device["myRuleConfiguration"]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'myRuleConfiguration'

Breeze Lite Mode Not Working

When my Breeze Lite device is turned on, the Cielo web UI shows it on:

image

But HA shows it off:

image

Here is the API return the web UI is parsing:

{
    "status": 200,
    "message": "SUCCESS",
    "data": {
        "iosVersion": "4.4.0",
        "iosLatestVersion": "4.4.0",
        "iosExpiryTime": 1693508400,
        "androidVersion": "5.4.6",
        "androidLatestVersion": "5.5.4",
        "androidExpiryTime": 1640977200,
        "manufactureDBversion": "1009.28",
        "comfyMinimumLimit": {
            "fahRoomTemp": 0,
            "celRoomTemp": 0,
            "roomHumidity": 3
        },
        "listDevices": [
            {
                "isLocalDbAck": 0,
                "deviceId": "qcYk9g",
                "isFaren": 1,
                "macAddress": "redacted",
                "deviceName": "Garage",
                "fwVersion": "1.0.2,1.0.2",
                "connectionSource": 1,
                "deviceType": "BREEZ-LITE",
                "deviceTypeVersion": "BL02",
                "suggestedRemotes": [
                    {
                        "applianceId": "2120",
                        "protocolId": 402,
                        "isFaren": 1,
                        "priority": 6
                    },
                    {
                        "applianceId": "2710",
                        "protocolId": 770,
                        "isFaren": 1,
                        "priority": 6
                    }
                ],
                "broadcastName": "Cielo_BL02_F9B78C",
                "deviceTimeZone": "-04:00",
                "deviceTimeZoneName": "America/New_York",
                "applianceId": 2120,
                "applianceType": "AC",
                "isEnergyDevice": 0,
                "createdAt": 1698179297,
                "retainCreatedAt": 1698179297,
                "deviceStatus": 1,
                "latestAction": {
                    "uirules": "default:default:default:default",
                    "deviceStatus": "off",
                    "temp": "78",
                    "actionSource": "WEB",
                    "statustimestamp": "1698251501",
                    "fanspeed": "fanspeed",
                    "mode": "mode",
                    "swing": " ",
                    "followme": "off",
                    "ontimestamp": "1698239951",
                    "power": "on",
                    "modeTimestamp": "1698179273",
                    "timestamp": "1698240754",
                    "moderules": "default:default:default:default"
                },
                "wifiName": "redacted",
                "userId": "redacted",
                "applianceSubtype": 1,
                "isOnceSyncedState": 1,
                "isFotaRequired": 1,
                "isUpdatingFw": 0,
                "fwInitiatedAt": 0,
                "fpFailureAttempts": 0,
                "fpSuccessAttempts": 0,
                "turboFailureAttempts": 0,
                "turboSuccessAttempts": 0,
                "scheduleDetails": {},
                "isBlocked": 0,
                "blockMessage": "Unblocked",
                "groupId": "-1",
                "deviceSettings": {
                    "isBleAlwaysEnabled": "0"
                },
                "latestBucketError": "0",
                "thermostatDeviceId": "N/A",
                "structureId": "N/A",
                "thermostatHomeAway": {},
                "bleMacAddress": "redacted",
                "isBacktrackEnabled": 1,
                "latEnv": {
                    "temp": 82.0,
                    "humidity": 51.0
                },
                "humCalibrationOffset": "0",
                "tempCalibrationOffset": "0",
                "isHumCalibrationSync": 1,
                "isTempCalibrationSync": 1,
                "myRules": [],
                "myRuleConfiguration": {},
                "deviceFilterDuration": "14",
                "deviceFilterFlag": 1,
                "filterTimestamp": 1698251469,
                "deviceFilterDurationValue": 864,
                "isWifiDisabled": 0,
                "priority": 1
            }
        ],
        "listGroups": [],
        "devicesCount": 1
    }
}

When it's turned off, the web UI shows off:

image

... and HA still shows it off:

image

Here is the API response:

    "status": 200,
    "message": "SUCCESS",
    "data": {
        "iosVersion": "4.4.0",
        "iosLatestVersion": "4.4.0",
        "iosExpiryTime": 1693508400,
        "androidVersion": "5.4.6",
        "androidLatestVersion": "5.5.4",
        "androidExpiryTime": 1640977200,
        "manufactureDBversion": "1009.28",
        "comfyMinimumLimit": {
            "fahRoomTemp": 0,
            "celRoomTemp": 0,
            "roomHumidity": 3
        },
        "listDevices": [
            {
                "isLocalDbAck": 0,
                "deviceId": "qcYk9g",
                "isFaren": 1,
                "macAddress": "redacted",
                "deviceName": "Garage",
                "fwVersion": "1.0.2,1.0.2",
                "connectionSource": 1,
                "deviceType": "BREEZ-LITE",
                "deviceTypeVersion": "BL02",
                "suggestedRemotes": [
                    {
                        "applianceId": "2120",
                        "protocolId": 402,
                        "isFaren": 1,
                        "priority": 6
                    },
                    {
                        "applianceId": "2710",
                        "protocolId": 770,
                        "isFaren": 1,
                        "priority": 6
                    }
                ],
                "broadcastName": "Cielo_BL02_F9B78C",
                "deviceTimeZone": "-04:00",
                "deviceTimeZoneName": "America/New_York",
                "applianceId": 2120,
                "applianceType": "AC",
                "isEnergyDevice": 0,
                "createdAt": 1698179297,
                "retainCreatedAt": 1698179297,
                "deviceStatus": 1,
                "latestAction": {
                    "uirules": "default:default:default:default",
                    "deviceStatus": "off",
                    "temp": "78",
                    "actionSource": "WEB",
                    "statustimestamp": "1698251501",
                    "fanspeed": "fanspeed",
                    "mode": "mode",
                    "swing": " ",
                    "followme": "off",
                    "ontimestamp": "1698254017",
                    "power": "off",
                    "modeTimestamp": "1698179273",
                    "timestamp": "1698254017",
                    "moderules": "default:default:default:default"
                },
                "wifiName": "redacted",
                "userId": "redacted",
                "applianceSubtype": 1,
                "isOnceSyncedState": 1,
                "isFotaRequired": 1,
                "isUpdatingFw": 0,
                "fwInitiatedAt": 0,
                "fpFailureAttempts": 0,
                "fpSuccessAttempts": 0,
                "turboFailureAttempts": 0,
                "turboSuccessAttempts": 0,
                "scheduleDetails": {},
                "isBlocked": 0,
                "blockMessage": "Unblocked",
                "groupId": "-1",
                "deviceSettings": {
                    "isBleAlwaysEnabled": "0"
                },
                "latestBucketError": "0",
                "thermostatDeviceId": "N/A",
                "structureId": "N/A",
                "thermostatHomeAway": {},
                "bleMacAddress": "redacted",
                "isBacktrackEnabled": 1,
                "latEnv": {
                    "temp": 82.0,
                    "humidity": 52.0
                },
                "humCalibrationOffset": "0",
                "tempCalibrationOffset": "0",
                "isHumCalibrationSync": 1,
                "isTempCalibrationSync": 1,
                "myRules": [],
                "myRuleConfiguration": {},
                "deviceFilterDuration": "15",
                "deviceFilterFlag": 1,
                "filterTimestamp": 1698254017,
                "deviceFilterDurationValue": 906,
                "isWifiDisabled": 0,
                "priority": 1
            }
        ],
        "listGroups": [],
        "devicesCount": 1
    }
}

Also, there is no option in HA for the mode:

image

Me Cool Unavailable

Integration broken since latest HA update.
Cielio 1.5.3 all mr cool hvacs unavailable

Access Token Issue after HA Update

After updating my HA install and updating any out of date integrations in HACS, I noticed my Mr. Cool is not available inside Home Assistant. I noticed this in the logs, but I'm not too good and deciphering what is going on with the integration. Any help would be appreciated.

Logger: homeassistant.config_entries
Source: custom_components/cielo_home/__init__.py:39
Integration: Cielo Home (documentation, issues)
First occurred: 1:33:12 PM (5 occurrences)
Last logged: 1:48:24 PM

Error setting up entry Cielo Home for cielo_home
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/cielo_home/__init__.py", line 39, in async_setup_entry
    entry.data["access_token"],
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'access_token'

Losing connection to Cielo Bre

I have a Breeze Plus that Cielo loses connection every 2 hours, day after day. Cielo maintains network connection, but Home Assistant Cielo add-on looses connection.
Cielodisconnects
023-07-04 11:34:20.382 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: ‘homeassistant.util.read_only_dict.ReadOnlyDict object’ has no attribute ‘hol2023-07-04 11:34:20.381 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: ‘homeassistant.util.read_only_dict.ReadOnlyDict object’ has no attribute ‘hvac_current_setting’ when rendering ‘{{ states.climate.main_level_ac.attributes.hvac_current_setting }}’
d_acttion’ when rendering ‘{{ states.climate.main_level_ac.attributes.hold_acttion }}’
2023-07-04 11:34:20.383 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: ‘homeassistant.util.read_only_dict.ReadOnlyDict object’ has no attribute ‘current_temp’ when rendering ‘{{ states.climate.main_level_ac.attributes.current_temp }}’
2023-07-04 11:34:23.869 DEBUG (Thread-14497) [custom_components.cielo_home.cielohome] Send Ping Connection Reset
2023-07-04 11:34:24.021 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {“message”: “Ping Connection Reset”, “token”: “*****”}
2023-07-04 11:34:27.431 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Websocket closed : 8
2023-07-04 11:34:27.431 INFO (MainThread) [custom_components.cielo_home.cielohome] Try reconnection in 5 secondes
2023-07-04 11:34:32.786 INFO (MainThread) [custom_components.cielo_home.cielohome] Connected success
2023-07-04 11:34:33.295 DEBUG (MainThread) [custom_components.cielo_home.cielohome] devices : [

"Websocket error, try reconnecting" on device changes

1.3.1 seems to be working, Thank you! But I still get errors in the logs. Some actions seem to fail, but I can't consistently reproduce. Below is all that was provided by HASS.

This error originated from a custom integration.

Logger: custom_components.cielo_home.cielohome
Source: custom_components/cielo_home/cielohome.py:237
Integration: Cielo Home (documentation, issues)
First occurred: 7:15:06 AM (5 occurrences)
Last logged: 7:37:14 AM

Websocket error, try reconnecting

Plugin not working intermittently

Sorry for the vague issue, but I have been having issues with the plugin recently. I have noticed a couple times a day it stops working. When I make a change it does not get reflected in the actual device (AC unit) but it updates the integration as if it did. I usually reload the integration and it starts working again.

I looked through the logs and haven't seen anything pointing to any errors. The devices do get disconnected every so often. If you need anything else from me let me know. I am running the latest version.

Integration don't work anymore since they add reCAPTCHA in the Auth process.

I'm having some difficulty with your integration. I installed it and it was working great for about 2 months. Now the entities are appearing unavailable. I can reinitialize the integration and they are available for about 5 seconds and then go unavailable again.
I did remove the integration and reinstall it. I still have the same issue.

Firmware version
2.5.3,2.5.0

Home Assistant 2023.4.6
Supervisor 2023.08.3
Operating System 10.5
Frontend 20230411.1 - latest

Any suggestions?

All thermostats became unavailable, 498 invalid response

Log shows the following:

Logger: custom_components.cielo_home.cielohome
Source: custom_components/cielo_home/cielohome.py:254
Integration: Cielo Home ([documentation](https://github.com/bodyscape/cielo_home), [issues](https://github.com/bodyscape/cielo_home/issues))
First occurred: 10:45:52 AM (1087 occurrences)
Last logged: 11:33:11 AM

498, message='Invalid response status', url=URL('wss://apiwss.smartcielo.com/websocket/?sessionId=chrome-1693495915&toke')

Failure to connect to service

I am seeing a lot of errors when trying to do any sort of action (turn on unit, change temp, turn off unit, etc...). Looking at the logs, I see a lot of errors when trying to connect to the service and trying to refetch the auth token. Reloading the plugin solves the issue, but eventually it will start happening again.

2023-12-27 09:22:56.602 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration cielo_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-12-27 09:22:56.603 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-12-27 09:23:57.820 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.basement_thermostat_current_temperature') | round }}°F | {{ states('sensor.basement_thermostat_current_humidity') | round }}%) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1646, in forgiving_round
    value = round(float(value), precision)
                  ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 569, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2247, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1651, in forgiving_round
    raise_no_default("round", value)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1627, in raise_no_default
    raise ValueError(
ValueError: Template error: round got invalid input 'unavailable' when rendering template '{{ states('sensor.basement_thermostat_current_temperature') | round }}°F | {{ states('sensor.basement_thermostat_current_humidity') | round }}%' but no default was specified

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 695, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 571, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unavailable' when rendering template '{{ states('sensor.basement_thermostat_current_temperature') | round }}°F | {{ states('sensor.basement_thermostat_current_humidity') | round }}%' but no default was specified
2023-12-27 09:24:26.595 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.basement_thermostat_current_temperature') | round }}°F | {{ states('sensor.basement_thermostat_current_humidity') | round }}%) renders=6>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1646, in forgiving_round
    value = round(float(value), precision)
                  ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 569, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2247, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1651, in forgiving_round
    raise_no_default("round", value)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1627, in raise_no_default
    raise ValueError(
ValueError: Template error: round got invalid input 'unavailable' when rendering template '{{ states('sensor.basement_thermostat_current_temperature') | round }}°F | {{ states('sensor.basement_thermostat_current_humidity') | round }}%' but no default was specified

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 695, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 571, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unavailable' when rendering template '{{ states('sensor.basement_thermostat_current_temperature') | round }}°F | {{ states('sensor.basement_thermostat_current_humidity') | round }}%' but no default was specified
2023-12-27 09:25:10.198 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.openweathermap_rain (mm/h) cannot be converted to the unit of previously compiled statistics (in). Generation of long term statistics will be suppressed unless the unit changes back to in or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
2023-12-27 09:25:10.198 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.openweathermap_snow (mm/h) cannot be converted to the unit of previously compiled statistics (in). Generation of long term statistics will be suppressed unless the unit changes back to in or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
2023-12-27 12:58:46.270 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.50 data: Unable to connect to the device: 192.168.0.50:9999: 
2023-12-27 13:48:57.522 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 13:54:54.684 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 13:57:00.676 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 14:00:41.261 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 14:07:17.888 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 14:11:09.554 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 14:15:44.188 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 14:39:03.453 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 14:40:36.482 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 14:48:55.293 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 16:21:35.269 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.50 data: Unable to connect to the device: 192.168.0.50:9999: 
2023-12-27 16:47:51.142 WARNING (Thread-9) [pychromecast.socket_client] [Living Room TV(192.168.0.90):8009] Heartbeat timeout, resetting connection
2023-12-27 16:48:21.167 ERROR (Thread-9) [pychromecast.socket_client] [Living Room TV(192.168.0.90):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.90', 8009)), retrying in 5.0s
2023-12-27 20:08:06.464 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 20:27:28.472 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 20:33:06.684 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-27 20:44:46.867 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 00:50:22.269 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.50 data: Unable to connect to the device: 192.168.0.50:9999: 
2023-12-28 00:56:56.268 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.50 data: Unable to connect to the device: 192.168.0.50:9999: 
2023-12-28 02:02:00.684 WARNING (Thread-8) [pychromecast.socket_client] [Bedroom speaker(192.168.0.89):8009] Heartbeat timeout, resetting connection
2023-12-28 02:02:01.715 ERROR (Thread-8) [pychromecast.socket_client] [Bedroom speaker(192.168.0.89):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.89', 8009)), retrying in 5.0s
2023-12-28 02:18:04.507 WARNING (Thread-5) [pychromecast.socket_client] [Home(192.168.0.71):8009] Heartbeat timeout, resetting connection
2023-12-28 02:18:19.873 ERROR (Thread-5) [pychromecast.socket_client] [Home(192.168.0.71):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.71', 8009)), retrying in 5.0s
2023-12-28 04:41:06.009 ERROR (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Error reading from socket.
2023-12-28 04:41:06.010 WARNING (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Error communicating with socket, resetting connection
2023-12-28 04:41:06.019 ERROR (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.88', 8009)), retrying in 5.0s
2023-12-28 10:19:15.600 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 10:20:14.811 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 10:24:09.481 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 10:30:32.838 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 10:33:17.462 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 10:35:23.546 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 10:37:42.866 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 10:42:45.066 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 10:45:45.073 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:08:43.571 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:17:53.739 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:20:07.682 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:26:05.548 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:32:18.474 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:45:47.470 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:49:52.418 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:55:03.591 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:58:06.531 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 18:59:02.966 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 19:00:40.488 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 19:04:37.490 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 19:07:50.671 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 19:08:49.543 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 19:10:26.678 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-28 20:39:25.359 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.50 data: Unable to connect to the device: 192.168.0.50:9999: [Errno 113] Connect call failed ('192.168.0.50', 9999)
2023-12-28 21:46:07.471 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.50 data: Unable to connect to the device: 192.168.0.50:9999: [Errno 113] Connect call failed ('192.168.0.50', 9999)
2023-12-28 23:49:47.439 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.50 data: Unable to connect to the device: 192.168.0.50:9999: [Errno 113] Connect call failed ('192.168.0.50', 9999)
2023-12-29 02:49:02.836 WARNING (Thread-8) [pychromecast.socket_client] [Bedroom speaker(192.168.0.89):8009] Heartbeat timeout, resetting connection
2023-12-29 02:49:21.663 ERROR (Thread-8) [pychromecast.socket_client] [Bedroom speaker(192.168.0.89):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.89', 8009)), retrying in 5.0s
2023-12-29 03:17:44.094 ERROR (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Error reading from socket.
2023-12-29 03:17:44.094 WARNING (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Error communicating with socket, resetting connection
2023-12-29 03:17:44.109 ERROR (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.88', 8009)), retrying in 5.0s
2023-12-29 04:27:40.366 WARNING (Thread-5) [pychromecast.socket_client] [Home(192.168.0.71):8009] Heartbeat timeout, resetting connection
2023-12-29 04:27:47.504 ERROR (Thread-5) [pychromecast.socket_client] [Home(192.168.0.71):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.71', 8009)), retrying in 5.0s
2023-12-29 09:50:11.485 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.samsung_q80_series_65 is taking over 10 seconds
2023-12-29 09:57:21.067 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-29 10:03:52.693 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-29 10:13:32.928 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-29 10:15:26.931 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.52 data: Unable to query the device 192.168.0.52:9999: 
2023-12-29 11:39:52.712 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [140202230056512] from fe80::1cb5:f6ca:d41d:a230 (Home Assistant/2023.12 (io.robbie.HomeAssistant; build:2023.499; iPadOS 17.1.1)): Disconnected: Did not receive auth message within 10 seconds
2023-12-29 12:22:05.207 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703888525, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "74", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 74}
2023-12-29 12:23:38.893 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703888618, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "82", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 82}
2023-12-29 12:24:05.417 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E868E7DBCD55", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "REDACTED_version": "1.0.0", "ts": 1703888645, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "80", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 80}
2023-12-29 12:31:27.407 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.73 data: Unable to connect to the device: 192.168.0.73:9999: 
2023-12-30 03:16:33.269 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.0.50 data: Unable to connect to the device: 192.168.0.50:9999: 
2023-12-30 03:27:24.003 ERROR (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Error reading from socket.
2023-12-30 03:27:24.003 WARNING (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Error communicating with socket, resetting connection
2023-12-30 03:27:24.017 ERROR (Thread-7) [pychromecast.socket_client] [Living Room display(192.168.0.88):8009] Failed to connect to service ServiceInfo(type='mdns', data='google-nest-hub-d30d677f19d251bc3dd80560ec2de57f._googlecast._tcp.local.'), retrying in 5.0s
2023-12-30 03:48:57.110 WARNING (Thread-8) [pychromecast.socket_client] [Bedroom speaker(192.168.0.89):8009] Heartbeat timeout, resetting connection
2023-12-30 03:49:16.114 ERROR (Thread-8) [pychromecast.socket_client] [Bedroom speaker(192.168.0.89):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.89', 8009)), retrying in 5.0s
2023-12-30 04:22:25.694 WARNING (Thread-5) [pychromecast.socket_client] [Home(192.168.0.71):8009] Heartbeat timeout, resetting connection
2023-12-30 04:22:41.213 ERROR (Thread-5) [pychromecast.socket_client] [Home(192.168.0.71):8009] Failed to connect to service ServiceInfo(type='host', data=('192.168.0.71', 8009)), retrying in 5.0s
2023-12-30 08:03:18.242 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703959398, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "74", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 74}
2023-12-30 08:03:20.452 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703959400, "actions": {"power": "off", "mode": "heat", "fanspeed": "auto", "temp": "74", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "power", "actionValue": "off"}
2023-12-30 08:03:23.672 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703959403, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "74", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "power", "actionValue": "on"}
2023-12-30 08:03:27.892 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703959407, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "72", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 72}

Not receiving any response when sending command

When trying to issue an action (setting temp, turn on, turn off, etc...) nothing is happening. There isn't much to go on by the logs, the only thing I have noticed is there is no response after making the API calls.

In the logs below, I have tried to set the thermostat to a different value but nothing happened on the unit.

2023-12-29 12:22:05.207 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703888525, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "74", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 74}
2023-12-29 12:23:38.893 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703888618, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "82", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 82}
2023-12-29 12:24:05.417 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703888645, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "80", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 80}

In these logs below, you can see after a Send Json action is made, a Receive Json action is received.

2023-12-30 09:29:34.461 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703964574, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "78", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 78}
2023-12-30 09:29:36.212 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "on", "temp": "78", "action_source": "WEB", "statustimestamp": "1702674430", "fanspeed": "auto", "mode": "heat", "swing": "auto", "followme": "off", "ontimestamp": "1703937117", "power": "on", "mode_timestamp": "1702467807", "timestamp": "1703946576", "moderules": "default:default:default"}, "mac_address": "REDACTED", "mid": "WEB", "stateSync": "0", "exe": "1", "my_rule_configuration": {}, "lat_env_var": {"temperature": "67", "humidity": "40"}, "device_status": 1, "device_name": "Living room heat pump", "fw_version": "1.0.9,2.4.0", "accessToken": "*****", "refreshToken": "*****"}
2023-12-30 09:29:38.625 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703964578, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "76", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 76}
2023-12-30 09:29:39.930 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "on", "temp": "76", "action_source": "WEB", "statustimestamp": "1702674442", "fanspeed": "auto", "mode": "heat", "swing": "auto", "followme": "off", "ontimestamp": "1703946280", "power": "on", "mode_timestamp": "1698867842", "timestamp": "1703946295", "moderules": "default:default:default"}, "mac_address": "REDACTED", "mid": "Heartbeat", "stateSync": "0", "exe": "0", "my_rule_configuration": {}, "lat_env_var": {"temperature": "59", "humidity": "43"}, "device_status": 1, "device_name": "Basement heat pump", "fw_version": "1.0.8,2.4.0", "accessToken": "*****", "refreshToken": "*****"}
2023-12-30 09:29:40.284 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "on", "temp": "76", "action_source": "WEB", "statustimestamp": "1702674430", "fanspeed": "auto", "mode": "heat", "swing": "auto", "followme": "off", "ontimestamp": "1703937117", "power": "on", "mode_timestamp": "1702467807", "timestamp": "1703946580", "moderules": "default:default:default"}, "mac_address": "REDACTED", "mid": "WEB", "stateSync": "0", "exe": "1", "my_rule_configuration": {}, "lat_env_var": {"temperature": "67", "humidity": "40"}, "device_status": 1, "device_name": "Living room heat pump", "fw_version": "1.0.9,2.4.0", "accessToken": "*****", "refreshToken": "*****"}
2023-12-30 09:31:10.646 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703964670, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "74", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 74}
2023-12-30 09:31:12.410 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "on", "temp": "74", "action_source": "WEB", "statustimestamp": "1702674430", "fanspeed": "auto", "mode": "heat", "swing": "auto", "followme": "off", "ontimestamp": "1703937117", "power": "on", "mode_timestamp": "1702467807", "timestamp": "1703946672", "moderules": "default:default:default"}, "mac_address": "REDACTED", "mid": "WEB", "stateSync": "0", "exe": "1", "my_rule_configuration": {}, "lat_env_var": {"temperature": "67", "humidity": "40"}, "device_status": 1, "device_name": "Living room heat pump", "fw_version": "1.0.9,2.4.0", "accessToken": "*****", "refreshToken": "*****"}
2023-12-30 09:31:13.214 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703964673, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "72", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 72}
2023-12-30 09:31:14.956 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "on", "temp": "72", "action_source": "WEB", "statustimestamp": "1702674430", "fanspeed": "auto", "mode": "heat", "swing": "auto", "followme": "off", "ontimestamp": "1703937117", "power": "on", "mode_timestamp": "1702467807", "timestamp": "1703946675", "moderules": "default:default:default"}, "mac_address": "REDACTED", "mid": "WEB", "stateSync": "0", "exe": "1", "my_rule_configuration": {}, "lat_env_var": {"temperature": "67", "humidity": "40"}, "device_status": 1, "device_name": "Living room heat pump", "fw_version": "1.0.9,2.4.0", "accessToken": "*****", "refreshToken": "*****"}
2023-12-30 09:31:16.164 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "REDACTED", "deviceTypeVersion": "BB02", "fwVersion": "1.0.9,2.4.0", "actionSource": "WEB", "applianceType": "AC", "applianceId": 308, "myRuleConfiguration": {}, "connection_source": 0, "user_id": "REDACTED", "token": "*****", "mid": "chrome-1696167032", "preset": 0, "application_version": "1.0.0", "ts": 1703964676, "actions": {"power": "on", "mode": "heat", "fanspeed": "auto", "temp": "76", "swing": "auto", "light": "off", "followme": "off"}, "oldPower": "on", "actionType": "temp", "actionValue": 76}
2023-12-30 09:31:17.925 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "on", "temp": "76", "action_source": "WEB", "statustimestamp": "1702674430", "fanspeed": "auto", "mode": "heat", "swing": "auto", "followme": "off", "ontimestamp": "1703937117", "power": "on", "mode_timestamp": "1702467807", "timestamp": "1703946678", "moderules": "default:default:default"}, "mac_address": "REDACTED", "mid": "WEB", "stateSync": "0", "exe": "1", "my_rule_configuration": {}, "lat_env_var": {"temperature": "67", "humidity": "40"}, "device_status": 1, "device_name": "Living room heat pump", "fw_version": "1.0.9,2.4.0", "accessToken": "*****", "refreshToken": "*****"}

Reloading the plugin fixes the issue, but it happens eventually after some time. My guess is a token is not being refreshed if expired before making an API request resulting in nothing happening.

WARNING Log - Websocket closed : WSMsgType.CLOSE

I noticed this WARNING message has been occurring in my logs. There do not seem to be any issues with the integration for me, but I wanted to report it just in case it needed to be looked into. Thanks!

This error originated from a custom integration.

Logger: custom_components.cielo_home.cielohome
Source: custom_components/cielo_home/cielohome.py:204
Integration: Cielo Home (documentation, issues)
First occurred: May 6, 2023 at 8:09:46 AM (87 occurrences)
Last logged: 12:19:10 PM

Websocket closed : WSMsgType.CLOSE
Websocket closed : WSMsgType.CLOSED

'Set target temperature' service call HVAC Mode parameter not working

What's expected: When calling the Set target temperature service with both the Temperature and HVAC mode parameters defined on a device that is currently powered off, the device should power on and the mode and target temperature set on the device.

What's happening: When calling the service with both parameters defined, the device does not power on and the parameters are not set. If the device is already powered on the temperature is set, and if the mode is set using the Set HVAC mode service the device powers on if turned off when the service is called.

Note that if only the HVAC mode parameter is defined, the trace reflects an error that the temperature parameter is required.

Installation details:
Home Assistant:
Core 2024.1.5
Supervisor 2023.12.1
Operating System 11.4

Cielo Integration v1.7.0

Device Model BREEZ-PLUS (BP01)
Firmware: 1.1.1,2.4.1

Does it work with CIELO BREEZ MAX?

Hi

Anyone give a try with the CIELO BREEZ MAX?

I do not own any CIELO for the moment.
I have been using AmbiClimate for some years, but they recently got so many issues with their cloud, So I cannot control my AC for hours as I cannot login through their app.

I am planning to switch to Cielo even though it looks like that you must have a cielo account but at least they have physical buttons on the Cielo (compared with Sensibo which do not have)
You can use physical button without internet or cielo account right?

Thanks

Any action called results in "Failed to call service climate/<service>. "light"

Here is the info from the logger. This was from trying to change the mode to "off". But it's similar for every action performed.

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/cielo_home/cielohomedevice.py:345
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 1:36:09 PM (1 occurrences)
Last logged: 1:36:09 PM

[548299430048] 'light'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 497, in async_set_hvac_mode
await self.hass.async_add_executor_job(self.set_hvac_mode, hvac_mode)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/cielo_home/climate.py", line 67, in set_hvac_mode
self._device.send_hvac_mode(hvac_mode)
File "/config/custom_components/cielo_home/cielohomedevice.py", line 551, in send_hvac_mode
self.send_power_off()
File "/config/custom_components/cielo_home/cielohomedevice.py", line 50, in send_power_off
self._send_power("off")
File "/config/custom_components/cielo_home/cielohomedevice.py", line 57, in _send_power
action = self._get_action()
File "/config/custom_components/cielo_home/cielohomedevice.py", line 345, in _get_action
if self._device["latestAction"]["light"] == "on/off"
KeyError: 'light'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.