bodyscape / cielo_home

Integration with Cielo Home
Apache License 2.0
44 stars 10 forks source link

Power On/Off function not working #15

Closed jorpilla94 closed 11 months ago

jorpilla94 commented 12 months ago

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.

bodyscape commented 12 months ago

Which Cielo device you use?

jorpilla94 commented 12 months ago

I have a Cielo breeze plus. Sent from my iPhoneOn Jul 4, 2023, at 2:54 AM, bodyscape @.***> wrote: Which Cielo device you use?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

bodyscape commented 11 months ago

Well i will need more info then that! Can you share me the response json from this url 'https://api.smartcielo.com/web/devices?limit=420' on this Cielo website https://home.cielowigle.com/.

jorpilla94 commented 11 months ago

Sorry I am fairly new to this, not sure exactly how to implement the above.

bodyscape commented 11 months ago

image

bodyscape commented 11 months ago

try version 1.4.8

jorpilla94 commented 11 months ago

Tried Version 1.4.8 but issue still persists.

Below is the JSON Response Requested Earlier:

{ "status": 200, "message": "SUCCESS", "data": { "iosVersion": "4.3.2", "iosLatestVersion": "4.3.2", "iosExpiryTime": 1640977200, "androidVersion": "5.2.4", "androidLatestVersion": "5.2.4", "androidExpiryTime": 1640977200, "manufactureDBversion": "1008.73", "comfyMinimumLimit": { "fahRoomTemp": 0, "celRoomTemp": 0, "roomHumidity": 3 }, "listDevices": [ { "isLocalDbAck": 1, "deviceId": "TdvKVg", "isFaren": 1, "macAddress": "E89F6D812AAF", "deviceName": "AC", "fwVersion": "1.1.1,2.4.1", "connectionSource": 0, "deviceType": "BREEZ-PLUS", "deviceTypeVersion": "BP01", "suggestedRemotes": [ { "applianceId": "1716", "protocolId": 162, "isFaren": 1, "priority": 1 }, { "applianceId": "1965", "protocolId": 235, "isFaren": 1, "priority": 6 }, { "applianceId": "2551", "protocolId": 600, "isFaren": 0, "priority": 6 } ], "broadcastName": "Cielo_BP01_812AAF", "deviceTimeZone": "-10:00", "deviceTimeZoneName": "Pacific/Honolulu", "applianceId": 2040, "applianceType": "AC", "isEnergyDevice": 0, "createdAt": 1684400532, "retainCreatedAt": 1684400532, "deviceStatus": 1, "latestAction": { "uirules": "default:default:default", "deviceStatus": "off", "temp": "60", "actionSource": "WEB", "statustimestamp": "1689825639", "fanspeed": "medium", "turbo": "off", "endTurboTimestamp": "1684397045", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1689998368", "startTurboTimestamp": "1684397045", "power": "on", "modeTimestamp": "1689842707", "timestamp": "1689998368", "moderules": "default:default:default" }, "wifiName": "Orpilla%20Amplifi%20Wifi%206", "userId": "WPy0gtqoNV", "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": { "screenDisplayValue": 1, "tbenabled": "1", "brightnessValue": "05" }, "latestBucketError": "0", "thermostatDeviceId": "N/A", "structureId": "N/A", "thermostatHomeAway": {}, "isBacktrackEnabled": 1, "latEnv": { "temp": 69.0, "humidity": 87.0 }, "humCalibrationOffset": "0", "tempCalibrationOffset": "0", "isHumCalibrationSync": 1, "isTempCalibrationSync": 1, "myRules": [], "myRuleConfiguration": {}, "deviceFilterDuration": "1409", "deviceFilterFlag": 1, "filterTimestamp": 1689998367, "deviceFilterDurationValue": 84512, "isWifiDisabled": 0, "priority": 1 } ], "listGroups": [], "devicesCount": 1 } }

bodyscape commented 11 months ago

Do you have any error log in HA?

jorpilla94 commented 11 months ago

No error log in HA. IMG_1714

bodyscape commented 11 months ago

Screenshot_20230722-070522.png

jorpilla94 commented 11 months ago

I dont see any error logs. I put the cielo integration in debugging mode to see the responses I get.

When turning off then turning on the AC using home assistant (AC does not respond) here is what I get from the debugging logs:

2023-07-22 08:44:31.356 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 0, "token": "", "mid": "chrome-1689998205", "application_version": "1.0.0", "ts": 1690087471, "actions": {"power": "off", "mode": "cool", "fanspeed": "low", "temp": "72", "swing": "pos1", "oldPower": "on", "turbo": "off"}, "actionType": "power", "actionValue": "off"} 2023-07-22 08:44:33.277 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", "statustimestamp": "1689825639", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1684397045", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690051473", "start_turbo_timestamp": "1684397045", "power": "off", "mode_timestamp": "1689842707", "timestamp": "1690051473", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "69", "humidity": "79", "temp": "78"}, "device_status": 1, "device_name": "AC", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-22 08:44:48.445 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 0, "token": "", "mid": "chrome-1689998205", "application_version": "1.0.0", "ts": 1690087488, "actions": {"power": "on", "mode": "cool", "fanspeed": "low", "temp": "72", "swing": "pos1", "oldPower": "off", "turbo": "off"}, "actionType": "power", "actionValue": "on"} 2023-07-22 08:44:50.849 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", "statustimestamp": "1689825639", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1684397045", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690051491", "start_turbo_timestamp": "1684397045", "power": "on", "mode_timestamp": "1689842707", "timestamp": "1690051491", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "69", "humidity": "79", "temp": "78"}, "device_status": 1, "device_name": "AC", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""}

When turning off then turning on the AC using Cielo App (AC does respond) here is what I get from the debugging logs:

2023-07-22 08:49:05.113 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", "statustimestamp": "1689825639", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1684397045", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690051491", "start_turbo_timestamp": "1684397045", "power": "on", "mode_timestamp": "1689842707", "timestamp": "1690051491", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "Heartbeat", "stateSync": "0", "lat_env_var": {"temperature": "69", "humidity": "79", "temp": "78"}, "device_status": 1, "device_name": "AC", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-22 08:49:13.092 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", "statustimestamp": "1689825639", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1684397045", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690051753", "start_turbo_timestamp": "1684397045", "power": "off", "mode_timestamp": "1689842707", "timestamp": "1690051753", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "69", "humidity": "79", "temp": "78"}, "device_status": 1, "device_name": "AC", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-22 08:49:45.138 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", "statustimestamp": "1689825639", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1684397045", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690051785", "start_turbo_timestamp": "1684397045", "power": "on", "mode_timestamp": "1689842707", "timestamp": "1690051785", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "69", "humidity": "78", "temp": "78"}, "device_status": 1, "device_name": "AC", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""}

Hopefully this adds more insight on what might be going on.

bodyscape commented 11 months ago

Well everything look fine on the Send Json but the Receive Json say the device is still off. I have really no idea. I guest i can try to debug with your account, just set a new password and send me the information if you want.

jorpilla94 commented 11 months ago

Only thing I haven’t tried doing is deleting the integration and deleting the whole Cielo device and stay fresh. Let me try that then see if I will need further troubleshooting.

thank you

bodyscape commented 11 months ago

no problem, let me know if you want i try with you account!

jorpilla94 commented 11 months ago

Yeah tried to uninstalled everything on home assistant and Cielo App.

  1. Reinstalled and setup Breeze Device with Cielo App
  2. Verified all Functions worked accordingly through Cielo app
  3. Installed Integration through HACS

and unfortunately still get get power on and off to work through home assistant.

Which passwords would you need?

just the cielo app password?

bodyscape commented 11 months ago

your login and password you enter in HA when you install my integration. You can send it to ****

bodyscape commented 11 months ago

well when i use it in my DEBUG HA the power on and off work. I made no change

bodyscape commented 11 months ago

the weird think is you receive "connectionSource" to 0 in your HA, but in the app you receive 1.

But when i test in my Debug HA the "connectionSource" receive is 1. I'm pretty sure is the reason why that don't work. But why you receive 0.

jorpilla94 commented 11 months ago

Could it be my Mini split not receiving the correct ir commands?

Which is weird because using the cielo app buy itself it does successfully power my unit on and off.

When using the HA integration the cielo app notifies me that the signal has been sent. My AC unit beeps like it received a signal but does not respond.

Weird that only time it doesnt is in Home Assistant.

On Sat, Jul 22, 2023 at 2:38 PM bodyscape @.***> wrote:

well when i use it in my DEBUG HA the power on and off work. I made no change

— Reply to this email directly, view it on GitHub https://github.com/bodyscape/cielo_home/issues/15#issuecomment-1646705480, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3LL25C2BBH7IHYL6DGDVJ3XRRW7PANCNFSM6AAAAAAZ5HKEYI . You are receiving this because you authored the thread.Message ID: @.***>

jorpilla94 commented 11 months ago

So is it more of a cielo cloud issue?

I was gonna be ordering a Breeze Max maybe thatll fix it?

It would be good if I can somehow still use my Breeze Plus for another area.

On Sat, Jul 22, 2023 at 2:50 PM bodyscape @.***> wrote:

the weird think is you receive "connectionSource" to 0 in your HA, but in the app you receive 1.

But when i test in my Debug HA the "connectionSource" receive is 1. I'm pretty sure is the reason why that don't work. But why you receive 0.

— Reply to this email directly, view it on GitHub https://github.com/bodyscape/cielo_home/issues/15#issuecomment-1646712770, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3LL25BZSN6MEVD4ZCKMJY3XRRYO5ANCNFSM6AAAAAAZ5HKEYI . You are receiving this because you authored the thread.Message ID: @.***>

bodyscape commented 11 months ago

Try the version 1.4.9. Uninstall and reinstall. You should see 2 more options (checkbox) when you enter your login and password. Check both option and try it.

jorpilla94 commented 11 months ago

Okay will do let you know how it goes Sent from my iPhoneOn Jul 22, 2023, at 3:13 PM, bodyscape @.***> wrote: Try the version 1.4.9. Uninstall and reinstall. You should see 2 more options (checkbox) when you enter your login and password. Check both option and try it.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

bodyscape commented 11 months ago

Sorry try 1.5.0 i forgot something! ;)

jorpilla94 commented 11 months ago

Sorry man issue still persists.Sent from my iPhoneOn Jul 22, 2023, at 3:27 PM, bodyscape @.***> wrote: Sorry try 1.5.0 i forgot something! ;)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

bodyscape commented 11 months ago

can you send me you logs again?

jorpilla94 commented 11 months ago

Here are the debug logs from when I just ran power commands via home assistant then via cielo app.

2023-07-23 05:39:52.112 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690076076", "application_version": "1.0.0", "ts": 1690162792, "actions": {"power": "off", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "on", "turbo": "off"}, "actionType": "power", "actionValue": "off"} 2023-07-23 05:39:54.088 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690126794", "start_turbo_timestamp": "1690068870", "power": "off", "mode_timestamp": "1690072136", "timestamp": "1690126794", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 05:39:55.077 DEBUG (Thread-2241) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:39:55.110 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:40:01.576 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690076076", "application_version": "1.0.0", "ts": 1690162801, "actions": {"power": "on", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "off", "turbo": "off"}, "actionType": "power", "actionValue": "on"} 2023-07-23 05:40:03.587 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690126804", "start_turbo_timestamp": "1690068870", "power": "on", "mode_timestamp": "1690072136", "timestamp": "1690126804", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 05:40:05.759 DEBUG (Thread-2242) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:40:05.820 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:40:35.894 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "iOS", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690126836", "start_turbo_timestamp": "1690068870", "power": "off", "mode_timestamp": "1690072136", "timestamp": "1690126836", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "5C0D831E", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 05:40:46.902 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "iOS", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690126847", "start_turbo_timestamp": "1690068870", "power": "on", "mode_timestamp": "1690072136", "timestamp": "1690126847", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "5C0D831E", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 05:42:24.763 DEBUG (Thread-2248) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:42:24.866 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:42:35.442 DEBUG (Thread-2250) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:42:35.573 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:44:54.374 DEBUG (Thread-2256) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:44:54.383 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:45:05.191 DEBUG (Thread-2258) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:45:05.303 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:47:13.335 DEBUG (Thread-2265) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:47:13.348 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:47:24.068 DEBUG (Thread-2267) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:47:24.260 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:47:43.064 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690076076", "application_version": "1.0.0", "ts": 1690163262, "actions": {"power": "off", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "on", "turbo": "off"}, "actionType": "power", "actionValue": "off"} 2023-07-23 05:47:44.984 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690127265", "start_turbo_timestamp": "1690068870", "power": "off", "mode_timestamp": "1690072136", "timestamp": "1690127265", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 05:47:51.654 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690076076", "application_version": "1.0.0", "ts": 1690163271, "actions": {"power": "on", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "off", "turbo": "off"}, "actionType": "power", "actionValue": "on"} 2023-07-23 05:47:53.779 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690127274", "start_turbo_timestamp": "1690068870", "power": "on", "mode_timestamp": "1690072136", "timestamp": "1690127274", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 05:49:43.078 DEBUG (Thread-2274) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:49:43.246 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:49:53.761 DEBUG (Thread-2276) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 05:49:53.953 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"message": "Ping Connection Reset", "token": ""} 2023-07-23 05:51:09.426 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690127274", "start_turbo_timestamp": "1690068870", "power": "on", "mode_timestamp": "1690072136", "timestamp": "1690127274", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "Heartbeat", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""}

bodyscape commented 11 months ago

try Version 1.5.1, finger crossed! ;)

jorpilla94 commented 11 months ago

Thanks! I hope so as well! Keep you updated in a bit

jorpilla94 commented 11 months ago

Still not working :(

Waiting for the debug logs to update to send you the info

jorpilla94 commented 11 months ago

23-07-23 07:37:41.777 DEBUG (Thread-2603) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 07:39:04.544 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Call Auth 2023-07-23 07:39:07.173 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Call Auth 2023-07-23 07:39:09.265 INFO (MainThread) [custom_components.cielo_home.cielohome] Connected success 2023-07-23 07:39:09.283 DEBUG (MainThread) [custom_components.cielo_home.cielohome] devices : [{"isLocalDbAck": 1, "deviceId": "3i18wt", "isFaren": 1, "macAddress": "E89F6D812AAF", "deviceName": "Bedroom", "fwVersion": "1.1.1,2.4.1", "connectionSource": 1, "deviceType": "BREEZ-PLUS", "deviceTypeVersion": "BP01", "suggestedRemotes": [], "broadcastName": "Cielo_BP01_812AAF", "deviceTimeZone": "-10:00", "deviceTimeZoneName": "Pacific/Honolulu", "applianceId": 2040, "applianceType": "AC", "isEnergyDevice": 0, "createdAt": 1690068926, "retainCreatedAt": 1690068926, "deviceStatus": 1, "latestAction": {"uirules": "default:default:default", "deviceStatus": "off", "temp": "70", "actionSource": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "endTurboTimestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690130982", "startTurboTimestamp": "1690068870", "power": "on", "modeTimestamp": "1690072136", "timestamp": "1690130982", "moderules": "default:default:default"}, "wifiName": "Orpilla%20Amplifi%20Wifi%206", "userId": "WPy0gtqoNV", "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": {"idleScreenTimeout": "20", "brightnessValue": "20", "screenDisplayValue": "1", "idleBrightnessValue": "5", "tbenabled": "1"}, "latestBucketError": "0", "thermostatDeviceId": "N/A", "structureId": "N/A", "thermostatHomeAway": {}, "isBacktrackEnabled": 1, "latEnv": {"temp": 67.0, "humidity": 82.0}, "humCalibrationOffset": "0", "tempCalibrationOffset": "0", "isHumCalibrationSync": 1, "isTempCalibrationSync": 1, "myRules": [], "myRuleConfiguration": {}, "deviceFilterDuration": "15", "deviceFilterFlag": 1, "filterTimestamp": 1690130981, "deviceFilterDurationValue": 914, "isWifiDisabled": 0, "priority": 1}] 2023-07-23 07:39:10.262 DEBUG (MainThread) [custom_components.cielo_home.cielohome] appliances : [{"protocolId": 162, "applianceId": 2040, "manufacturerId": 20, "name": "Daikin", "modelNumber": "FTKB-xx Series AXVJU (Fahrenheit)", "isFaren": 1, "temp": "60:86", "tempIncrement": 2, "mode": "cool:dry:fan:auto:heat", "isMultiModeTempRange": 0, "modesTemp": [], "fan": "auto:low:medium:high", "swing": "auto:pos1", "showSwingTray": 0, "isScreenless": 0, "is485IR": 0, "modeRules": {"cool": {"mode_rules": "default:default:default", "ui_rules": "default:default:default"}, "dry": {"mode_rules": "default:default:high", "ui_rules": "default:default:vanish"}, "fan": {"mode_rules": "86:default:default", "ui_rules": "vanish:default:default"}, "auto": {"mode_rules": "default:default:default", "ui_rules": "default:default:default"}, "heat": {"mode_rules": "default:default:default", "ui_rules": "default:default:default"}, "turbo_off": {"mode_rules": "default:default:auto", "ui_rules": "default:default:default", "mode": "off"}, "turbo_on": {"mode_rules": "default:default:default", "ui_rules": "default:default:default", "mode": "on"}}, "isDisplayLight": 0, "isLightBasestring": 0, "isSwingBasestring": 0, "isTurboBasestring": 1, "displayLight": "on:off", "oppositeUnitId": 0, "isTurboDisplay": 1, "turboConfig": "default,default:Power:cool,heat:power,swing,temp,light:20:1", "turbo": "off:on", "isFreezepointDisplay": 0, "freezepointConfig": "", "freezepoint": "freezepoint", "isFollowmeDisplay": 0, "followmeConfig": "", "followme": "", "serviceFunctions": null, "serviceFunctionsDefault": null, "isServFuncDisplay": 0, "isEvenTemp": 1}] 2023-07-23 07:39:54.339 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690133948", "application_version": "1.0.0", "ts": 1690169994, "actions": {"power": "off", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "on", "turbo": "off"}, "actionType": "power", "actionValue": "off"} 2023-07-23 07:39:56.666 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690133997", "start_turbo_timestamp": "1690068870", "power": "off", "mode_timestamp": "1690072136", "timestamp": "1690133997", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "83"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 07:40:00.781 DEBUG (Thread-2608) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 07:40:01.529 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690133948", "application_version": "1.0.0", "ts": 1690170001, "actions": {"power": "on", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "off", "turbo": "off"}, "actionType": "power", "actionValue": "on"} 2023-07-23 07:40:02.105 ERROR (MainThread) [frontend.js.latest.202307051] :0:0 Script error. 2023-07-23 07:40:11.466 DEBUG (Thread-2609) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 07:40:35.373 DEBUG (Thread-2642) [custom_components.cielo_home.cielohome] Call refreshToken 2023-07-23 07:40:36.299 DEBUG (Thread-2642) [custom_components.cielo_home.cielohome] Call refreshToken success 2023-07-23 07:40:45.378 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690133948", "application_version": "1.0.0", "ts": 1690170045, "actions": {"power": "off", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "on", "turbo": "off"}, "actionType": "power", "actionValue": "off"} 2023-07-23 07:40:47.501 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690133997", "start_turbo_timestamp": "1690068870", "power": "off", "mode_timestamp": "1690072136", "timestamp": "1690133997", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 07:40:49.128 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690133948", "application_version": "1.0.0", "ts": 1690170049, "actions": {"power": "on", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "off", "turbo": "off"}, "actionType": "power", "actionValue": "on"} 2023-07-23 07:40:51.055 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690134051", "start_turbo_timestamp": "1690068870", "power": "on", "mode_timestamp": "1690072136", "timestamp": "1690134051", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "82"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 07:41:01.980 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690133948", "application_version": "1.0.0", "ts": 1690170061, "actions": {"power": "off", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "on", "turbo": "off"}, "actionType": "power", "actionValue": "off"} 2023-07-23 07:41:03.905 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690134064", "start_turbo_timestamp": "1690068870", "power": "off", "mode_timestamp": "1690072136", "timestamp": "1690134064", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "83"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 07:41:08.566 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Send Json : {"action": "actionControl", "macAddress": "E89F6D812AAF", "deviceTypeVersion": "BP01", "fwVersion": "1.1.1,2.4.1", "actionSource": "WEB", "applianceType": "AC", "applianceId": 2040, "connection_source": 1, "token": "", "mid": "chrome-1690133948", "application_version": "1.0.0", "ts": 1690170068, "actions": {"power": "on", "mode": "cool", "fanspeed": "low", "temp": "70", "swing": "pos1", "oldPower": "off", "turbo": "off"}, "actionType": "power", "actionValue": "on"} 2023-07-23 07:41:10.532 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message_type": "StateUpdate", "action": {"uirules": "default:default:default", "device_status": "off", "temp": "70", "action_source": "WEB", "statustimestamp": "1690068933", "fanspeed": "low", "turbo": "off", "end_turbo_timestamp": "1690068870", "mode": "cool", "swing": "pos1", "followme": "off", "ontimestamp": "1690134071", "start_turbo_timestamp": "1690068870", "power": "on", "mode_timestamp": "1690072136", "timestamp": "1690134071", "moderules": "default:default:default"}, "mac_address": "E89F6D812AAF", "mid": "WEB", "stateSync": "0", "lat_env_var": {"temperature": "67", "humidity": "83"}, "device_status": 1, "device_name": "Bedroom", "fw_version": "1.1.1,2.4.1", "accessToken": "", "refreshToken": ""} 2023-07-23 07:42:30.392 DEBUG (Thread-2616) [custom_components.cielo_home.cielohome] Send Ping Connection Reset 2023-07-23 07:42:41.209 DEBUG (Thread-2617) [custom_components.cielo_home.cielohome] Send Ping Connection Reset

bodyscape commented 11 months ago

Did you change your version? because the log don't match it!

image

after that a full restart

image

jorpilla94 commented 11 months ago

Sorry you are correct, didnt restart after i updated it. Doing it now

jorpilla94 commented 11 months ago

Currently receiving an error when trying to log in.

2023-07-23 08:37:07.181 ERROR (MainThread) [custom_components.cielo_home.config_flow] Unexpected exception Traceback (most recent call last): File "/config/custom_components/cielo_home/config_flow.py", line 61, in async_step_user info = await validate_input(self.hass, user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/cielo_home/config_flow.py", line 34, in validate_input api = CieloHome() ^^^^^^^^^^^ TypeError: CieloHome.init() missing 1 required positional argument: 'hass'

bodyscape commented 11 months ago

try 1.5.2. This is my last try! sorry really no idea if that don't work.

jorpilla94 commented 11 months ago

Alright will do, keep ya updated. Hopefully its just a very isolated issue with my device because other than that it works flawlessly.

jorpilla94 commented 11 months ago

Thank you for all the hardwork!! It is now working perfectly!!

bodyscape commented 11 months ago

Now power on and off work?

jorpilla94 commented 11 months ago

Yes it does🤙🏽

bodyscape commented 11 months ago

Nice enjoy! If you want send me a coffee. Always appreciated! ;) Have a nice day