A Home Assistant custom integration to control Cielo Home devices.
This fork adds email / password login — no more extracting tokens from the browser. Setup is just:
- In Home Assistant go to Settings → Devices & Services → + Add Integration.
- Search for Cielo Home and select it.
- Enter the email and password for your Cielo Home / MrCool account.
- (Optional) leave the two connection-source toggles unchecked unless you know you need them.
That's it. Behind the scenes the integration logs in through Cielo's mobile API endpoint (which, unlike the web login, does not require a reCAPTCHA), obtains the session tokens automatically, and refreshes them as needed.
How it works / notes
- The password is sent as a SHA-256 hash, exactly as the official apps do.
- The websocket
sessionIdis generated locally (the mobile login does not return one). If live push updates ever stop working, that's the first thing to revisit.- Two static app API keys are baked in (one for login, one for the
/web/*API calls). If Cielo ever rotates them, they'd need updating inconst.py.- If the integration is offline long enough for the refresh token to expire, just reload it (or re-enter your credentials via the integration's options).
Legacy token-based setup (no longer required)
Older versions required pasting access_token, refresh_token, session_id,
user_id, and x_api_key extracted from the browser's network log on
https://home.cielowigle.com/. The email/password flow above replaces that.
You can call the Cielo Sync AC State as a HA service.
A exemple of thermostat card i use : https://github.com/nervetattoo/simple-thermostat
# YAML
- type: custom:simple-thermostat
entity: climate.basement
step_size: 1
layout:
step: row
mode:
names: true
headings: false
header: true
control:
hvac:
_name: Mode
fan:
_name: Fan Mode
swing:
_name: Swing Mode
preset:
_name: Preset ModeClick on the button below to automatically navigate to the repository within HACS:
Alternatively, follow the steps below:
- Go to HACS "Integrations >" section
- Click 3 dots in top right
- Click "Custom repositories"
- Add repository https://github.com/bodyscape/cielo_home with category Integration
- In the lower right click "+ Explore & Download repositories"
- Search for "Cielo Home" and add it
Copy the cielo_home directory, from custom_components in this repository,
and place it inside your Home Assistant Core installation's custom_components directory.
Note: If installing manually, in order to be alerted about new releases, you will need to subscribe to releases from this repository.
Click on the button below to add the integration:
Alternatively, follow the steps below:
- Install this integration.
- Navigate to the Home Assistant Integrations page (Settings --> Devices & Services)
- Click the
+ ADD INTEGRATIONbutton in the lower right-hand corner - Search for
Cielo


