Giter Site home page Giter Site logo

Integration broken about cielo_home HOT 25 CLOSED

jrseliga avatar jrseliga commented on June 2, 2024
Integration broken

from cielo_home.

Comments (25)

bodyscape avatar bodyscape commented on June 2, 2024 2

I'll check the problem this week.

from cielo_home.

gwilliams1205 avatar gwilliams1205 commented on June 2, 2024

This has happened to me as well.. It looks like something changed within Cielo.. When I go the home.cielowigle.com app it now shows 0 devices even though their native app still shows my device available.
image

from cielo_home.

mworsnop avatar mworsnop commented on June 2, 2024

same here. On the Cielo app website I can click on temp or anything and it says session expired. and it doesnt work

from cielo_home.

WaleedAly avatar WaleedAly commented on June 2, 2024

Same issue here

from cielo_home.

josheharvey avatar josheharvey commented on June 2, 2024

Came here because of the same issue

from cielo_home.

m3rg3d0wn avatar m3rg3d0wn commented on June 2, 2024

Similar issue. Some attributes works, but not the ones that matter.

IMG_0290

from cielo_home.

snug-inglenook avatar snug-inglenook commented on June 2, 2024

#56

from cielo_home.

robajr avatar robajr commented on June 2, 2024

Seems to be tied to the APIdevice identification
File "/config/custom_components/cielo_home/cielohomedevice.py", line 385, in get_available_modes
return self._device["appliance"]["mode"]
~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'appliance'

from cielo_home.

robajr avatar robajr commented on June 2, 2024

File "/config/custom_components/cielo_home/cielohomedevice.py", line 580, in _get_action
if self._device["latestAction"]["light"] == "on/off"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'light'

from cielo_home.

robajr avatar robajr commented on June 2, 2024

Here's a full traceback:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 905, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1645, in async_turn_on
await self.hass.async_add_executor_job(ft.partial(self.turn_on, **kwargs))
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/cielo_home/switch.py", line 91, in turn_on
self._device.send_power_on()
File "/config/custom_components/cielo_home/cielohomedevice.py", line 85, in send_power_on
self._send_power("on")
File "/config/custom_components/cielo_home/cielohomedevice.py", line 96, in _send_power
action = self._get_action()
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/cielo_home/cielohomedevice.py", line 584, in _get_action
if self.get_available_modes() != "mode":
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/cielo_home/cielohomedevice.py", line 385, in get_available_modes
return self._device["appliance"]["mode"]
~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'appliance'

from cielo_home.

robajr avatar robajr commented on June 2, 2024

And a received JSON

2024-03-31 08:19:35.742 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "80", "action_source": "iOS", "statustimestamp": "1710023048", "fanspeed": "auto", "turbo": "off", "end_turbo_timestamp": "1692636128", "swinginternal": " ", "mode": "heat", "swing": "pos2", "ontimestamp": "1711897771", "start_turbo_timestamp": "1692636128", "power": "off", "mode_timestamp": "1701188789", "timestamp": "1711897771", "moderules": "default:default:default"}, "mac_address": "xxxxxxx", "mid": "Device", "stateSync": "0", "exe": "0", "my_rule_configuration": {}, "lat_env_var": {"temperature": "75", "humidity": "0"}, "device_status": 1, "device_name": "Office", "fw_version": "2.6.0,2.6.0"}
2024-03-31 08:19:52.379 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140483649093952] 'appliance'

from cielo_home.

level451 avatar level451 commented on June 2, 2024

Same

from cielo_home.

mworsnop avatar mworsnop commented on June 2, 2024

Cielo has fixed the problem. Mine are all working as expected.

from cielo_home.

bodyscape avatar bodyscape commented on June 2, 2024

Cielo has fixed the problem. Mine are all working as expected.

Yup me too is working again!!

from cielo_home.

m3rg3d0wn avatar m3rg3d0wn commented on June 2, 2024

Cielo has fixed the problem. Mine are all working as expected.

YES! Mine is working again as well.

from cielo_home.

gwilliams1205 avatar gwilliams1205 commented on June 2, 2024

Yup.. it's back up and running!!! I did call them and opened a ticket. Looks like they figured some stuff out

from cielo_home.

bodyscape avatar bodyscape commented on June 2, 2024

reopen this issue if you any problem!

from cielo_home.

jrseliga avatar jrseliga commented on June 2, 2024

These situations are always a good reminder to look for locally controlled alternatives wherever possible. There's just too many variables when relying on companies to stay in business, hoping they continue to support / do not sunset products, having an active internet connection, or just dealing with simple bugs that may have low priority to these vendors.

Despite all the awesome work the community and people like @bodyscape do to help us get these devices into Home Assistant, these concerns become particularly important for critical systems that handle heating/cooling as often times reliability is entirely our of their hands.

With those concerns in mind this lead me to looking for other options and I came across this article. It has a pretty comprehensive guide to get local control of your heat pump / mini-split through ESPHome.

The pre-built dongle lists support for an array of devices from many vendors. I cannot speak to those known-working devices, but I can confirm it works with MRCOOL 4th Gen DIY indoor air handlers.

The process was super simple. Plug-in the dongle, setup WIFI, and the device was auto-discovered by Home Assistant's ESPHome integration.

The only challenging part, as noted in that article, was the USB port did need to be modified. I've seen at least one person suggest you can just force it to fit but I chose to remove the plastic notches with a hobby knife.

from cielo_home.

oggolc avatar oggolc commented on June 2, 2024

These situations are always a good reminder to look for locally controlled alternatives wherever possible. There's just too many variables when relying on companies to stay in business, hoping they continue to support / do not sunset products, having an active internet connection, or just dealing with simple bugs that may have low priority to these vendors.

Despite all the awesome work the community and people like @bodyscape do to help us get these devices into Home Assistant, these concerns become particularly important for critical systems that handle heating/cooling as often times reliability is entirely our of their hands.

With those concerns in mind this lead me to looking for other options and I came across this article. It has a pretty comprehensive guide to get local control of your heat pump / mini-split through ESPHome.

The pre-built dongle lists support for an array of devices from many vendors. I cannot speak to those known-working devices, but I can confirm it works with MRCOOL 4th Gen DIY indoor air handlers.

The process was super simple. Plug-in the dongle, setup WIFI, and the device was auto-discovered by Home Assistant's ESPHome integration.

The only challenging part, as noted in that article, was the USB port did need to be modified. I've seen at least one person suggest you can just force it to fit but I chose to remove the plastic notches with a hobby knife.

I'm thinking can we flash the existing USB dongle instead of getting a new one so that we don't have to cut the plastic.

from cielo_home.

mworsnop avatar mworsnop commented on June 2, 2024

It would be cool if we could flash the Cielo devices. 😊 they told me the latest version (and most expensive, of course) The schedules and Compfy Our local and do not need Internet to work. I wonder if they would also communicate with HA locally.

or I wonder if we could make a board with a ESP 32 or 8266 and some components To do the same thing. It might be worth looking into I guess.

from cielo_home.

oggolc avatar oggolc commented on June 2, 2024

It would be cool if we could flash the Cielo devices. 😊 they told me the latest version (and most expensive, of course) The schedules and Compfy Our local and do not need Internet to work. I wonder if they would also communicate with HA locally.

or I wonder if we could make a board with a ESP 32 or 8266 and some components To do the same thing. It might be worth looking into I guess.

I'm gonna pop open the existing USB dongle tonight and see if I can find the ESP32/8266 chip in it.

from cielo_home.

macjustice avatar macjustice commented on June 2, 2024

Mine is still offline, did people who had the problem resolve have to re-authenticate or did it just clear up without user action?

edit: Nevermind, reloading the integration did the trick, thanks everybody!

from cielo_home.

mworsnop avatar mworsnop commented on June 2, 2024

Mine just worked again

from cielo_home.

mworsnop avatar mworsnop commented on June 2, 2024

I think my resolution might be to get a BroadLink IR transmitter and a temperature sensor. Even if the temperature sensor needed to be a completely separate unit, it would still be less than $60 for Both units and then it would be all local.

from cielo_home.

WaleedAly avatar WaleedAly commented on June 2, 2024

@mworsnop I had removed my Cielo integration when it stopped working. After getting your comment, I reinstalled it and I confirm it works for me as well. The integration was not updated, so I'm not sure if it will continue to work or might break again.

from cielo_home.

Related Issues (20)

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.