I love you @bodyscape Seems to be working geat, thank you!
Thank you so much @bodyscape! I love my Cielo Breez and have been hoping to integrate it with Home Assistant. Your integration works beautifully. Thank you for sharing it!
Another big thank you for this!
@bodyscape I found an issue with your integration. I usually turn my split on at night with the remote and it registers in Cielo and all is great. I have it set to turn off every morning at 730am since we leave or arenât in that room. Here is what it looks like at 10:30AM
It hasnât updated. If I reload the integration it then displays the correct status:
Let me know if you want me to post this on Github instead and if there are some sort of logs I can grab to help you.
@Mibix Did you install the version 1.2? I found a similar problem yesterday and i fix it. If you still have it, you can create a issue on github it will be great.
Was on 1.1, just updated to 1.2, will post on Github if the issue persists. Thanks!
Could you tell me what card that is and how I would get it to work with Cielo?
It is just a Thermostat card with the entity set to the climate.(your ceilo device name here) entity that the Ceilo integration brings in. Mine is a bit smaller because of some custom styles but it basically looks the same stock just less smooshed.
First, want to say THANK YOU! I have been looking for over a year for this and even reached out to Cielo to beg them to write an integration. Is there a tip/donate button anywhere?
Also, I do not get the same controls that you do in your documentation. All I get is some informational status but no way to actually control it other than on and off:
Each breez has 4 entities:
Is there something else in HA I need to do to enable more control?
Sorry, the thank you should be to you! I really appreciate this. Please let me know if you have a donate/tip button or paypal. I seriously want to send something over
@shaxs first no need for money, itâs really my pleasure. second normally you should have the same control you have on the app. Because the control are suppose to fit with you device. Like me i have a Bosch wall HVAC. There really no documentation to integrate this, there api itâs no public at all. So i reverse engineering this page https://home.cielowigle.com/. So go to this page, login and send me json data of this url. https://api.smartcielo.com/web/devices?limit=420.
Like this
You can open the right panel in a Chrome browser when you hit F12.
Sent thank you
Love you man!!! It works amazing!!! One change that needs to be done, in order for me to work perfectly is adding this line on line 131:
self._send_msg(action, "power", action["power"])
of cielohomedevice.py
This allow me from the off state, clicking on HVAC mode Auto for example and power the AC before changing the HVAC state.
@arormoser weird because on mine you can make one call for power on and change the HVAC mode on the same send_msg. Maybe your device donât support that. I will check to split it.
Yep, it seems mine didnât support that, the only way to make the power on working was adding that line.
I have a Cielo Breez Plus that has been working great. I added a Cielo Breez Lite to control a Gree Mini-Split (the Gree HA integration was giving me fits so I decided to move over to another Breez) and while the controls are all there in HA, and the app works to control the unit, when I use the HA controls to make changes, nothing happens. The log doesnât show any errors and when I click from the offending Breezâs control page to another area in HA and then come back, the controls are set back to the unitâs current settings (my changes are not âstickingâ). This is only occurring with the Breez Lite, my Plus is still working great.
Here is the json data from the âhttps://api.smartcielo.com/web/devices?limit=420ââŚnot sure if I did it correctlyâŚbut I thought Iâd try to help if possible.
{"status": 200, "message": "SUCCESS", "data": {"iosVersion": "4.1.6", "iosLatestVersion": "4.1.6", "iosExpiryTime": 1640977200, "androidVersion": "5.2.4", "androidLatestVersion": "5.2.4", "androidExpiryTime": 1640977200, "manufactureDBversion": "1008.02", "comfyMinimumLimit": {"fahRoomTemp": 0, "celRoomTemp": 0, "roomHumidity": 3}, "listDevices": [{"isLocalDbAck": 1, "deviceId": "rlk4QT", "isFaren": 1, "macAddress": "C45BBE67CBC3", "deviceName": "Kim Gym", "fwVersion": "1.0.9,2.4.0", "connectionSource": 0, "deviceType": "BREEZ-PLUS", "deviceTypeVersion": "BP01", "suggestedRemotes": [], "broadcastName": "Cielo_BP01_67CBC3", "deviceTimeZone": "-06:00", "deviceTimeZoneName": "America/Chicago", "applianceId": 521, "applianceType": "AC", "isEnergyDevice": 0, "createdAt": 1644804898, "retainCreatedAt": 1644804898, "deviceStatus": 1, "latestAction": {"uirules": "default:default:default", "deviceStatus": "on", "temp": "68", "actionSource": "WEB", "statustimestamp": "1676909011", "fanspeed": "high", "serviceFunctions": {"serve1": "off", "servf2": "0", "servf1": "off", "serve5": "C", "servf6": "CH", "servf7": "0", "servf4": "1", "servf5": "1"}, "turbo": "off", "endTurboTimestamp": "1644804518", "mode": "cool", "swing": "auto/stop", "followme": "off", "light": "on/off", "ontimestamp": "1677030061", "startTurboTimestamp": "1644804518", "power": "off", "modeTimestamp": "1677030050", "timestamp": "1677030061", "moderules": "default:default:default"}, "wifiName": "P-Ahouse", "userId": "fLMDKA1QA5", "applianceSubtype": 1, "isOnceSyncedState": 0, "isFotaRequired": 1, "isUpdatingFw": 0, "fwInitiatedAt": 0, "fpFailureAttempts": 0, "fpSuccessAttempts": 0, "turboFailureAttempts": 0, "turboSuccessAttempts": 0, "scheduleDetails": {}, "isBlocked": 0, "blockMessage": "Unblocked", "groupId": "-1", "deviceSettings": {"screenDisplayValue": "1", "tbenabled": "1", "brightnessValue": "100"}, "latestBucketError": "0", "thermostatDeviceId": "N/A", "structureId": "N/A", "thermostatHomeAway": {}, "isBacktrackEnabled": 1, "latEnv": {"temp": 73.0, "humidity": 66.0}, "humCalibrationOffset": "0", "tempCalibrationOffset": "0", "isHumCalibrationSync": 1, "isTempCalibrationSync": 1, "myRules": [], "myRuleConfiguration": {}, "deviceFilterDuration": "5554", "deviceFilterFlag": 1, "filterTimestamp": 1677030061, "deviceFilterDurationValue": 333248, "isWifiDisabled": 0, "priority": 1}, {"isLocalDbAck": 0, "deviceId": "CiZCKk", "isFaren": 1, "macAddress": "5443B2F998C8", "deviceName": "Office", "fwVersion": "1.0.0,1.0.0", "connectionSource": 1, "deviceType": "BREEZ-LITE", "deviceTypeVersion": "BL02", "suggestedRemotes": [{"applianceId": "1662", "protocolId": 6, "isFaren": 1, "priority": 1}, {"applianceId": "1748", "protocolId": 54, "isFaren": 1, "priority": 2}, {"applianceId": "2700", "protocolId": 764, "isFaren": 1, "priority": 6}, {"applianceId": "2681", "protocolId": 753, "isFaren": 1, "priority": 6}, {"applianceId": "1661", "protocolId": 5, "isFaren": 0, "priority": 2}, {"applianceId": "1744", "protocolId": 53, "isFaren": 0, "priority": 3}], "broadcastName": "Cielo_BL02_F998C8", "deviceTimeZone": "-06:00", "deviceTimeZoneName": "America/Chicago", "applianceId": 1662, "applianceType": "AC", "isEnergyDevice": 0, "createdAt": 1677029349, "retainCreatedAt": 1677029349, "deviceStatus": 1, "latestAction": {"uirules": "default:default:default", "deviceStatus": "off", "temp": "76", "actionSource": "Alexa", "statustimestamp": "1677030929", "fanspeed": "auto", "turbo": "off", "endTurboTimestamp": "1677029328", "mode": "cool", "swing": "pos2", "followme": "off", "light": "on", "ontimestamp": "1677029382", "startTurboTimestamp": "1677029328", "power": "on", "modeTimestamp": "1677029400", "timestamp": "1677031333", "moderules": "default:default:default"}, "wifiName": "P-Ahouse", "userId": "fLMDKA1QA5", "applianceSubtype": 1, "isOnceSyncedState": 0, "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": "5443B2F998CA", "isBacktrackEnabled": 1, "latEnv": {"temp": 78.0, "humidity": 48.0}, "humCalibrationOffset": "0", "tempCalibrationOffset": "0", "isHumCalibrationSync": 1, "isTempCalibrationSync": 1, "myRules": [], "myRuleConfiguration": {}, "deviceFilterDuration": "0", "deviceFilterFlag": 1, "filterTimestamp": 1677030929, "deviceFilterDurationValue": 25, "isWifiDisabled": 0, "priority": 0}], "listGroups": [], "devicesCount": 2}}
@studiozepp the data appear to be ok. Send me this 2 messages of json data.
This messages appear after you make a action like power on or off or change HVAC mode.
Here you goâŚagainâŚlet me know if I captured the correct data. Thanks for your help!
{"action":"actionControl","macAddress":"5443B2F998C8","deviceTypeVersion":"BL02","fwVersion":"1.0.0,1.0.0","actionSource":"WEB","applianceType":"AC","applianceId":1662,"actionType":"mode","actionValue":"cool","connection_source":1,"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiZkxNREtBMVFBNSIsImV4cCI6MTY3NzA4NDI4MCwiY3JlYXRlZF9hdCI6IjE2NDQ4MDM2NTkiLCJkZXZpY2VfdHlwZSI6IldFQiIsIm1vYmlsZV9kZXZpY2VfaWQiOiJXRUIiLCJhcHBsaWNhdGlvbl90eXBlIjoiV0VCIiwiYXBwbGljYXRpb25fdmVyc2lvbiI6IjEuMCIsImlwX2FkZHJlc3MiOiIwLjAuMC4wIiwidXNlcl9uYW1lIjoiTi9BIiwibG9jYWxlIjoiZW4iLCJpc19zbWFydF9odmFjIjoiMCIsImVtYWlsX2lkIjoic3R1ZGlvemVwcEBob3RtYWlsLmNvbSIsImlzX2ZvdGFfcmVxdWlyZWQiOiIxIiwiaXNfbWluaXN0YXRfZm90YV9hdmFpbGFibGUiOiIxIiwiaXNfYmxlX2VuYWJsZWRfYXZhaWxhYmxlIjoiMSIsInVzZXJfZGV2aWNlX2xpbWl0IjoiNDIwIiwidXNlcl9ncm91cF9saW1pdCI6IjIwIn0.5rW2o4H14AsdRZgh3O5Bkj87F4gqJAvfCShRupAm5UM","actions":{"power":"on","mode":"cool","fanspeed":"auto","temp":"76","swing":"pos2","turbo":"off","light":"on","oldPower":"on"},"mid":"chrome-1677080680","application_version":"1.0.0","ts":1677080865}
{"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "76", "action_source": "WEB", "statustimestamp": "1677080412", "fanspeed": "auto", "turbo": "off", "end_turbo_timestamp": "1677029328", "mode": "cool", "swing": "pos2", "followme": "off", "light": "on", "ontimestamp": "1677029382", "start_turbo_timestamp": "1677029328", "power": "on", "mode_timestamp": "1677080867", "timestamp": "1677080867", "moderules": "default:default:default"}, "mac_address": "5443B2F998C8", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "79", "humidity": "47"}, "device_status": 1}