oyvindwe / connectlife-ha

ConnectLife integration for Home Assistant
GNU General Public License v3.0
62 stars 24 forks source link

No climate entity #76

Closed techunleadit closed 2 months ago

techunleadit commented 4 months ago

Hello and thank you for making this integration, I wanted to point out that for the HiSense model 3amw52u4rja 32 WiFi (Hardware: 009-104) unfortunately the “climate” entity is not detected but rather the ones you see in the screenshot. How can I help you?

Thank you and have a nice day =)

screencapture-192-168-4-3-8123-config-devices-device-ae65df2d44fd1ec0e96cd6b1e019236a-2024-07-18-16_12_32

oyvindwe commented 4 months ago

Can you submit a JSON dump? See https://github.com/oyvindwe/connectlife for how to create one

techunleadit commented 4 months ago

I will try! =)

techunleadit commented 4 months ago

Here a snippet



  \"signatureTimestamp\": \"1721312674\",

  \"created\": \"2024-07-10T08:47:11.565Z\",

  \"createdTimestamp\": 1720601231,

  \"isActive\": true,

  \"isRegistered\": true,

  \"isVerified\": true,

  \"lastLogin\": \"2024-07-18T14:24:34.573Z\",

  \"lastLoginTimestamp\": 1721312674,

  \"lastUpdated\": \"2024-07-18T13:49:34.907Z\",

  \"lastUpdatedTimestamp\": 1721310574907,

  \"loginProvider\": \"site\",

  \"oldestDataUpdated\": \"2024-07-10T08:47:11.565Z\",

  \"oldestDataUpdatedTimestamp\": 1720601231565,

  \"profile\": {

    \"firstName\": \"Gabriele\",

    \"lastName\": \"Giudici\",

    \"city\": \"Magenta\",

    \"country\": \"IT\",

    \"email\": \"g.giudici@unlead.it\",

    \"photoURL\": \"https://lh3.googleusercontent.com/a/ACg8ocLNrWHDc9uXRg6k2v__Dnef4G0Jz93x9grob2Umxr-kouYZeAQ=s96-c?sz=500\",

    \"thumbnailURL\": \"https://lh3.googleusercontent.com/a/ACg8ocLNrWHDc9uXRg6k2v__Dnef4G0Jz93x9grob2Umxr-kouYZeAQ=s96-c?sz=50\",

    \"zip\": \"20013\"

  },

  \"registered\": \"2024-07-10T08:47:28.067Z\",

  \"socialProviders\": \"googleplus,site\",

  \"verified\": \"2024-07-10T08:47:11.827Z\",

  \"verifiedTimestamp\": 1720601231827,

  \"newUser\": false,

  \"sessionInfo\": {

    \"cookieName\": \"gac_4_yhTWQmHFpZkQZDSV1uV-_A\",

    \"cookieValue\": \"st2.s.AtLtPeNjKg.6LOd7OyWuOLXHCDJLNwwCzdfwM4H2BEMRYOJ59q2s1vDIASVy30p_KG2bIetAEbAGhiL8W21v1Zx9xQ86lrzgc4y4CHxP0BTnB-L0SeXTMmfuBRTI1XEt0V7vbyl_1Hu.8Wk00dWoFYK_WR_xGb6zd7C4J_m7jSCeInz1IBacLL95qT2MMeczGzXOlKxuGTSJ-oF9haH671fLvxBTfL_3Ow.sc3\"

  }

}"] 
[2024-07-18 14:24:34] production.INFO: Response ["{

  \"callId\": \"5978e53f6f62570f00c1415935a81709\",

  \"errorCode\": 0,

  \"apiVersion\": 2,

  \"statusCode\": 200,

  \"statusReason\": \"OK\",

  \"time\": \"2024-07-18T14:24:34.695Z\",

  \"id_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlJFUTBNVVE1TjBOQ1JUSkVNemszTTBVMVJrTkRRMFUwUTBNMVJFRkJSamhETWpkRU5VRkJRZyJ9.eyJpc3MiOiJodHRwczovL2ZpZG0uZ2lneWEuY29tL2p3dC80X3loVFdRbUhGcFprUVpEU1YxdVYtX0EvIiwiYXBpS2V5IjoiNF95aFRXUW1IRnBaa1FaRFNWMXVWLV9BIiwiaWF0IjoxNzIxMzEyNjc0LCJleHAiOjE3MjEzMTI5NzQsInJpc2tTY29yZSI6MC4zLCJzdWIiOiI3YzM4NmRjYzQ5YzA0MmI5YjFjMDkyMDlmZDc5Mzk0OSJ9.fLYAt2xES0L04ivouioC17cMO_8dP6h76YfaVsdSqFocWBYc7s7yUpMtCMv2ccqIWTuKM0LUq5Cx9IS-oczoKf2VvU-QgvQbp7ergupP2L1FLARWT9PmKOdnFIJoi07NaDvgnAiz_GEeMDTy3Nl1NG0nKgEKgvQPzV5d4MJZOlOLA-Yv1v2uNQmlF5SOZH1cB_cnSBw8htPYuQ5PWVE1Yd8ZEIMezl8Jl7Ko3_Xuz63EU46asoBpkZ07G7PuLHPh22jhjITtYxxG2pQYqYGWSNE9ywCRSJlEcK8yMA6e9UD29R9hiLQlIeY2Buez9RKWy9vpKAchx7oCS23fzDeK7g\"

}"] 
[2024-07-18 14:24:35] production.INFO: Response ["{\"resultCode\":0,\"code\":\"26ed1e0c52e178b4c6ab2d3ef9ce4ccc\",\"redirect_uri\":\"https://api.connectlife.io/swagger/oauth2-redirect.html\",\"state\":null}"] 
[2024-07-18 14:24:35] production.INFO: Response ["{\"resultCode\":0,\"access_token\":\"pa3u47xnRnfcy7qqsjRweLt3ACThrT2VDNWZOfBKMV_OojBXuPkTqrR3trCAKOnpJoXTpwjd55lWGUhdTPUcoMy3Bn1hVmOP--EeB5AsuN7mi4U0ZYFW0IWkYW5M2kmLfJA-Q12KlmVVtcVmjXKjl80roba46KGZYy_06R1WJ9jAoS7xoxNLGQGw3LjdfKCCN_zIx_--4bHFlgULHWmofh4zz8nTTZdzCYFoP07KT1E5T24DBNJnAy9fznwcArOXyeQCrnOHkZbUxDLagZg7faxN9W0oBPlJUXzVe9Mm9kfjRaIz0MYTta8Hzg9YLYfkVVtHekNXM_2LjmFX-WlgWEyeWMnWMWCSVSxE2d26mqhpNOoWaOcMrQhtAoe5zlSpd9Gfyf0LUCz5_3mt3hlo0n89Q\",\"token_type\":\"Bearer\",\"expires_in\":1440,\"scope\":\"\",\"refresh_token\":\"pr3u47xnRnfcy7qqsjRweLt3ACThrT2VDNWZOfBKMV_OojBXuPkTqrR3trCAKOnpJoXTpwjd55lWGUhdTPUcoMy3Bn1hVmOP--EeB5AsuN7mi4U0ZYFW0IWkYW5M2kmLfJA-Q12KlmVVtcVmjXKjl80roba46KGZYy_06R1WJ9jAoS7xoxNLGQGw3LjdfKCCN_zIx_--4bHFlgULHWmofh4zz8nTTZdzCYFoP07KT1E5T24DBNJnAy9fznwcArOXyeQCrnOHkZbUxDLagZg7faxNyLb-UDHWbI7DJM6XgcrNYlb4pXssOPwF8pn0_uo8arSwstTIumzgrnUnDmx3sQdOmSy1Oealb11tlV6LvcejWbEYjtuq1975pEWnkyJ07u2-jrvpDC6It1LPP9U_zy46A\"}"] 
2024-07-18 16:24:35,256 INFO success: mqtt entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[2024-07-18 14:24:35] production.INFO: Response ["[{\"wifiId\":\"8650051000200030003000001379ae9f07c3\",\"deviceId\":\"8650051000200030003000001379ae9f07c3\",\"puid\":\"pu000098650051000200030003000001379ae9f07c3\",\"deviceNickName\":\"Ceci Bedroom Split\",\"deviceFeatureCode\":\"104\",\"deviceFeatureName\":\"104\\u51b7\\u6696\\u8282\\u80fd\\u65e0\\u529f\\u7387\",\"deviceTypeCode\":\"009\",\"deviceTypeName\":\"\",\"bindTime\":1720625621997,\"role\":1,\"roomId\":5031839,\"roomName\":\"Ceci Bedroom\",\"statusList\":{\"t_work_mode\":\"2\",\"t_power\":\"0\",\"t_temp\":\"24\",\"t_temp_type\":\"0\",\"t_fan_speed\":\"0\",\"t_fan_speed_s\":\"0\",\"t_up_down\":\"0\",\"t_sleep\":\"0\",\"t_eco\":\"0\",\"t_fan_mute\":\"0\",\"t_super\":\"0\",\"f_temp_in\":\"31\",\"f_e_push\":\"0\",\"f_e_intemp\":\"0\",\"f_e_incoiltemp\":\"0\",\"f_e_inhumidity\":\"0\",\"f_e_infanmotor\":\"0\",\"f_e_arkgrille\":\"0\",\"f_e_invzero\":\"0\",\"f_e_incom\":\"0\",\"f_e_indisplay\":\"0\",\"f_e_inkeys\":\"0\",\"f_e_inwifi\":\"0\",\"f_e_inele\":\"0\",\"f_e_ineeprom\":\"0\",\"f_e_outeeprom\":\"0\",\"f_e_outcoiltemp\":\"0\",\"f_e_outgastemp\":\"0\",\"f_e_outtemp\":\"0\",\"daily_energy_kwh\":0},\"useTime\":1720625621976,\"offlineState\":1,\"seq\":0,\"createTime\":0},{\"wifiId\":\"8650051000200030003000001379ae9f02ca\",\"deviceId\":\"8650051000200030003000001379ae9f02ca\",\"puid\":\"pu000098650051000200030003000001379ae9f02ca\",\"deviceNickName\":\"Edo Bedroom Split\",\"deviceFeatureCode\":\"104\",\"deviceFeatureName\":\"104\\u51b7\\u6696\\u8282\\u80fd\\u65e0\\u529f\\u7387\",\"deviceTypeCode\":\"009\",\"deviceTypeName\":\"\",\"bindTime\":1720625493865,\"role\":1,\"roomId\":5031809,\"roomName\":\"Edo Bedroom\",\"statusList\":{\"t_work_mode\":\"3\",\"t_power\":\"1\",\"t_temp\":\"27\",\"t_temp_type\":\"0\",\"t_fan_speed\":\"0\",\"t_fan_speed_s\":\"0\",\"t_up_down\":\"0\",\"t_sleep\":\"0\",\"t_eco\":\"0\",\"t_fan_mute\":\"0\",\"t_super\":\"0\",\"f_temp_in\":\"29\",\"f_e_push\":\"0\",\"f_e_intemp\":\"0\",\"f_e_incoiltemp\":\"0\",\"f_e_inhumidity\":\"0\",\"f_e_infanmotor\":\"0\",\"f_e_arkgrille\":\"0\",\"f_e_invzero\":\"0\",\"f_e_incom\":\"0\",\"f_e_indisplay\":\"0\",\"f_e_inkeys\":\"0\",\"f_e_inwifi\":\"0\",\"f_e_inele\":\"0\",\"f_e_ineeprom\":\"0\",\"f_e_outeeprom\":\"0\",\"f_e_outcoiltemp\":\"0\",\"f_e_outgastemp\":\"0\",\"f_e_outtemp\":\"0\",\"daily_energy_kwh\":0},\"useTime\":1720625493844,\"offlineState\":1,\"seq\":0,\"createTime\":0},{\"wifiId\":\"8650051000200030003000001379aed1ad61\",\"deviceId\":\"8650051000200030003000001379aed1ad61\",\"puid\":\"pu000098650051000200030003000001379aed1ad61\",\"deviceNickName\":\"Master Bedroom Split\",\"deviceFeatureCode\":\"104\",\"deviceFeatureName\":\"104\\u51b7\\u6696\\u8282\\u80fd\\u65e0\\u529f\\u7387\",\"deviceTypeCode\":\"009\",\"deviceTypeName\":\"\",\"bindTime\":1720625297159,\"role\":1,\"roomId\":5031768,\"roomName\":\"Master Bedroom\",\"statusList\":{\"t_work_mode\":\"3\",\"t_power\":\"0\",\"t_temp\":\"24\",\"t_temp_type\":\"0\",\"t_fan_speed\":\"0\",\"t_fan_speed_s\":\"0\",\"t_up_down\":\"0\",\"t_sleep\":\"0\",\"t_eco\":\"0\",\"t_fan_mute\":\"0\",\"t_super\":\"0\",\"f_temp_in\":\"30\",\"f_e_push\":\"0\",\"f_e_intemp\":\"0\",\"f_e_incoiltemp\":\"0\",\"f_e_inhumidity\":\"0\",\"f_e_infanmotor\":\"0\",\"f_e_arkgrille\":\"0\",\"f_e_invzero\":\"0\",\"f_e_incom\":\"0\",\"f_e_indisplay\":\"0\",\"f_e_inkeys\":\"0\",\"f_e_inwifi\":\"0\",\"f_e_inele\":\"0\",\"f_e_ineeprom\":\"0\",\"f_e_outeeprom\":\"0\",\"f_e_outcoiltemp\":\"0\",\"f_e_outgastemp\":\"0\",\"f_e_outtemp\":\"0\",\"daily_energy_kwh\":0},\"useTime\":1720625297138,\"offlineState\":1,\"seq\":0,\"createTime\":0}]"] 
[2024-07-18 14:24:35] production.INFO: Swing feature disabled.  
[2024-07-18 14:24:35] production.INFO: Publishing discovery msg for device: pu000098650051000200030003000001379ae9f07c3 [{"name":"Ceci Bedroom Split","unique_id":"pu000098650051000200030003000001379ae9f07c3","modes":["fan_only","heat","cool","dry","auto","off"],"fan_modes":["auto","super_low","low","medium","high","super_high"],"swing_modes":[],"payload_on":"1","payload_off":"0","power_command_topic":"pu000098650051000200030003000001379ae9f07c3/ac/power/set","mode_command_topic":"pu000098650051000200030003000001379ae9f07c3/ac/mode/set","mode_state_topic":"pu000098650051000200030003000001379ae9f07c3/ac/mode/get","temperature_command_topic":"pu000098650051000200030003000001379ae9f07c3/ac/temperature/set","temperature_state_topic":"pu000098650051000200030003000001379ae9f07c3/ac/temperature/get","current_temperature_topic":"pu000098650051000200030003000001379ae9f07c3/ac/current-temperature/get","json_attributes_topic":"pu000098650051000200030003000001379ae9f07c3/ac/attributes/get","precision":0.5,"max_temp":32,"min_temp":16,"temp_step":1,"device":{"identifiers":["pu000098650051000200030003000001379ae9f07c3"],"manufacturer":"Connectlife","model":"009-104"},"fan_mode_command_topic":"pu000098650051000200030003000001379ae9f07c3/ac/fan/set","fan_mode_state_topic":"pu000098650051000200030003000001379ae9f07c3/ac/fan/get"}] 
[2024-07-18 14:24:35] production.INFO: Swing feature disabled.  
[2024-07-18 14:24:35] production.INFO: Publishing discovery msg for device: pu000098650051000200030003000001379ae9f02ca [{"name":"Edo Bedroom Split","unique_id":"pu000098650051000200030003000001379ae9f02ca","modes":["fan_only","heat","cool","dry","auto","off"],"fan_modes":["auto","super_low","low","medium","high","super_high"],"swing_modes":[],"payload_on":"1","payload_off":"0","power_command_topic":"pu000098650051000200030003000001379ae9f02ca/ac/power/set","mode_command_topic":"pu000098650051000200030003000001379ae9f02ca/ac/mode/set","mode_state_topic":"pu000098650051000200030003000001379ae9f02ca/ac/mode/get","temperature_command_topic":"pu000098650051000200030003000001379ae9f02ca/ac/temperature/set","temperature_state_topic":"pu000098650051000200030003000001379ae9f02ca/ac/temperature/get","current_temperature_topic":"pu000098650051000200030003000001379ae9f02ca/ac/current-temperature/get","json_attributes_topic":"pu000098650051000200030003000001379ae9f02ca/ac/attributes/get","precision":0.5,"max_temp":32,"min_temp":16,"temp_step":1,"device":{"identifiers":["pu000098650051000200030003000001379ae9f02ca"],"manufacturer":"Connectlife","model":"009-104"},"fan_mode_command_topic":"pu000098650051000200030003000001379ae9f02ca/ac/fan/set","fan_mode_state_topic":"pu000098650051000200030003000001379ae9f02ca/ac/fan/get"}] 
[2024-07-18 14:24:35] production.INFO: Swing feature disabled.  
[2024-07-18 14:24:35] production.INFO: Publishing discovery msg for device: pu000098650051000200030003000001379aed1ad61 [{"name":"Master Bedroom Split","unique_id":"pu000098650051000200030003000001379aed1ad61","modes":["fan_only","heat","cool","dry","auto","off"],"fan_modes":["auto","super_low","low","medium","high","super_high"],"swing_modes":[],"payload_on":"1","payload_off":"0","power_command_topic":"pu000098650051000200030003000001379aed1ad61/ac/power/set","mode_command_topic":"pu000098650051000200030003000001379aed1ad61/ac/mode/set","mode_state_topic":"pu000098650051000200030003000001379aed1ad61/ac/mode/get","temperature_command_topic":"pu000098650051000200030003000001379aed1ad61/ac/temperature/set","temperature_state_topic":"pu000098650051000200030003000001379aed1ad61/ac/temperature/get","current_temperature_topic":"pu000098650051000200030003000001379aed1ad61/ac/current-temperature/get","json_attributes_topic":"pu000098650051000200030003000001379aed1ad61/ac/attributes/get","precision":0.5,"max_temp":32,"min_temp":16,"temp_step":1,"device":{"identifiers":["pu000098650051000200030003000001379aed1ad61"],"manufacturer":"Connectlife","model":"009-104"},"fan_mode_command_topic":"pu000098650051000200030003000001379aed1ad61/ac/fan/set","fan_mode_state_topic":"pu000098650051000200030003000001379aed1ad61/ac/fan/get"}] 
Home Assistant discovery created.
Home Assistant subscribes created.
[2024-07-18 14:24:35] production.INFO: Response ["[{\"wifiId\":\"8650051000200030003000001379ae9f07c3\",\"deviceId\":\"8650051000200030003000001379ae9f07c3\",\"puid\":\"pu000098650051000200030003000001379ae9f07c3\",\"deviceNickName\":\"Ceci Bedroom Split\",\"deviceFeatureCode\":\"104\",\"deviceFeatureName\":\"104\\u51b7\\u6696\\u8282\\u80fd\\u65e0\\u529f\\u7387\",\"deviceTypeCode\":\"009\",\"deviceTypeName\":\"\",\"bindTime\":1720625621997,\"role\":1,\"roomId\":5031839,\"roomName\":\"Ceci Bedroom\",\"statusList\":{\"t_work_mode\":\"2\",\"t_power\":\"0\",\"t_temp\":\"24\",\"t_temp_type\":\"0\",\"t_fan_speed\":\"0\",\"t_fan_speed_s\":\"0\",\"t_up_down\":\"0\",\"t_sleep\":\"0\",\"t_eco\":\"0\",\"t_fan_mute\":\"0\",\"t_super\":\"0\",\"f_temp_in\":\"31\",\"f_e_push\":\"0\",\"f_e_intemp\":\"0\",\"f_e_incoiltemp\":\"0\",\"f_e_inhumidity\":\"0\",\"f_e_infanmotor\":\"0\",\"f_e_arkgrille\":\"0\",\"f_e_invzero\":\"0\",\"f_e_incom\":\"0\",\"f_e_indisplay\":\"0\",\"f_e_inkeys\":\"0\",\"f_e_inwifi\":\"0\",\"f_e_inele\":\"0\",\"f_e_ineeprom\":\"0\",\"f_e_outeeprom\":\"0\",\"f_e_outcoiltemp\":\"0\",\"f_e_outgastemp\":\"0\",\"f_e_outtemp\":\"0\",\"daily_energy_kwh\":0},\"useTime\":1720625621976,\"offlineState\":1,\"seq\":0,\"createTime\":0},{\"wifiId\":\"8650051000200030003000001379ae9f02ca\",\"deviceId\":\"8650051000200030003000001379ae9f02ca\",\"puid\":\"pu000098650051000200030003000001379ae9f02ca\",\"deviceNickName\":\"Edo Bedroom Split\",\"deviceFeatureCode\":\"104\",\"deviceFeatureName\":\"104\\u51b7\\u6696\\u8282\\u80fd\\u65e0\\u529f\\u7387\",\"deviceTypeCode\":\"009\",\"deviceTypeName\":\"\",\"bindTime\":1720625493865,\"role\":1,\"roomId\":5031809,\"roomName\":\"Edo Bedroom\",\"statusList\":{\"t_work_mode\":\"3\",\"t_power\":\"1\",\"t_temp\":\"27\",\"t_temp_type\":\"0\",\"t_fan_speed\":\"0\",\"t_fan_speed_s\":\"0\",\"t_up_down\":\"0\",\"t_sleep\":\"0\",\"t_eco\":\"0\",\"t_fan_mute\":\"0\",\"t_super\":\"0\",\"f_temp_in\":\"29\",\"f_e_push\":\"0\",\"f_e_intemp\":\"0\",\"f_e_incoiltemp\":\"0\",\"f_e_inhumidity\":\"0\",\"f_e_infanmotor\":\"0\",\"f_e_arkgrille\":\"0\",\"f_e_invzero\":\"0\",\"f_e_incom\":\"0\",\"f_e_indisplay\":\"0\",\"f_e_inkeys\":\"0\",\"f_e_inwifi\":\"0\",\"f_e_inele\":\"0\",\"f_e_ineeprom\":\"0\",\"f_e_outeeprom\":\"0\",\"f_e_outcoiltemp\":\"0\",\"f_e_outgastemp\":\"0\",\"f_e_outtemp\":\"0\",\"daily_energy_kwh\":0},\"useTime\":1720625493844,\"offlineState\":1,\"seq\":0,\"createTime\":0},{\"wifiId\":\"8650051000200030003000001379aed1ad61\",\"deviceId\":\"8650051000200030003000001379aed1ad61\",\"puid\":\"pu000098650051000200030003000001379aed1ad61\",\"deviceNickName\":\"Master Bedroom Split\",\"deviceFeatureCode\":\"104\",\"deviceFeatureName\":\"104\\u51b7\\u6696\\u8282\\u80fd\\u65e0\\u529f\\u7387\",\"deviceTypeCode\":\"009\",\"deviceTypeName\":\"\",\"bindTime\":1720625297159,\"role\":1,\"roomId\":5031768,\"roomName\":\"Master Bedroom\",\"statusList\":{\"t_work_mode\":\"3\",\"t_power\":\"0\",\"t_temp\":\"24\",\"t_temp_type\":\"0\",\"t_fan_speed\":\"0\",\"t_fan_speed_s\":\"0\",\"t_up_down\":\"0\",\"t_sleep\":\"0\",\"t_eco\":\"0\",\"t_fan_mute\":\"0\",\"t_super\":\"0\",\"f_temp_in\":\"30\",\"f_e_push\":\"0\",\"f_e_intemp\":\"0\",\"f_e_incoiltemp\":\"0\",\"f_e_inhumidity\":\"0\",\"f_e_infanmotor\":\"0\",\"f_e_arkgrille\":\"0\",\"f_e_invzero\":\"0\",\"f_e_incom\":\"0\",\"f_e_indisplay\":\"0\",\"f_e_inkeys\":\"0\",\"f_e_inwifi\":\"0\",\"f_e_inele\":\"0\",\"f_e_ineeprom\":\"0\",\"f_e_outeeprom\":\"0\",\"f_e_outcoiltemp\":\"0\",\"f_e_outgastemp\":\"0\",\"f_e_outtemp\":\"0\",\"daily_energy_kwh\":0},\"useTime\":1720625297138,\"offlineState\":1,\"seq\":0,\"createTime\":0}]"] ```
oyvindwe commented 4 months ago

@techunleadit I see mqtt in your log - are you running this integration (installed via HACS) or the MQTT one: https://github.com/bilan/connectlife-api-connector ?

oyvindwe commented 4 months ago

I see from the screenshot that is looks your are running this integration - is that in addition to the MQTT one?

I'm not able to repro (using your device dump with the API test server).

Which version of Home Assistant are you running?

Anything relevant in homeassistant.log?

kalda123 commented 4 months ago

Hi @oyvindwe, I have the same issue, but Im running your integration and addon from Bilan (https://github.com/bilan/connectlife-api-connector) at the same time, but using different names for same devices. Can this be a problem?

oyvindwe commented 4 months ago

@kalda123 That is possible. It could be that this integration and the add-on generates the same unique id for climate entities.

Are you able to check the Home Assistant log file for any issues?

You could also try to deactivate the add-on and see if that help. You may have to remove the entity created by MQTT first though.

oyvindwe commented 4 months ago

Another thing to try - edit this line in custom_components/connectlife/climate.py:

        self._attr_unique_id = f"{appliance.device_id}-climate"

E.g. change it to:

        self._attr_unique_id = f"{appliance.device_id}-climate-test"

Then restart HA and see if the entity appears.

techunleadit commented 4 months ago

Sorry, you are right I got confused. I see to remove the MQTT integration and reboot with yours only. From HomeAssistant OS it is more difficult to launch debug as described on GitHub, in the logs there is no possibility to see something? Do I set it to debug mode? What do you think?

Kind Regards,

https://www.unlead.it Unlead di Gabriele Giudici Via Armando Diaz 29, 20013 Magenta (MI), Italy +39 349 0684156 <+393490684156> @.*** www.unlead.it +39 349 0684156 https://wa.me/393490684156

https://app.signite.io/assets/9bfed489-ce02-42a1-83ad-a50c4d4d37e2/url

Il giorno gio 18 lug 2024 alle 20:27 Øyvind Matheson Wergeland < @.***> ha scritto:

@techunleadit https://github.com/techunleadit I see mqtt in your log - are you running this integration (installed via HACS) or the MQTT one: https://github.com/bilan/connectlife-api-connector ?

— Reply to this email directly, view it on GitHub https://github.com/oyvindwe/connectlife-ha/issues/76#issuecomment-2237233871, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMU6SMSYNMJLOJ5SGJYYHDZNACJBAVCNFSM6AAAAABLCZCG52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGIZTGOBXGE . You are receiving this because you were mentioned.Message ID: @.***>

kalda123 commented 4 months ago

@kalda123 That is possible. It could be that this integration and the add-on generates the same unique id for climate entities.

Are you able to check the Home Assistant log file for any issues?

You could also try to deactivate the add-on and see if that help. You may have to remove the entity created by MQTT first though.

After updating integration this morning, the climate entity appears :) I will check if its working when I come home later today and alt you know. 👍

kalda123 commented 4 months ago

@kalda123 That is possible. It could be that this integration and the add-on generates the same unique id for climate entities. Are you able to check the Home Assistant log file for any issues? You could also try to deactivate the add-on and see if that help. You may have to remove the entity created by MQTT first though.

After updating integration this morning, the climate entity appears :) I will check if its working when I come home later today and alt you know. 👍

So, I was playing with it little bit during weekend, integration is mostly working as expected, but sometimes I recieved errors during controlling the devices, examples:

Tato chyba pochází z vlastní integrace.

Logger: custom_components.connectlife.climate
Zdroj: custom_components/connectlife/climate.py:222
integrace: ConnectLife (dokumentace)
První výskyt: 21. července 2024 v 22:03:28 (510 výskyty)
Naposledy logováno: 09:19:51

Got unexpected value 1 for t_fan_speed (klima.loznice)
Tato chyba pochází z vlastní integrace.

Logger: custom_components.connectlife.coordinator
Zdroj: helpers/update_coordinator.py:318
integrace: ConnectLife (dokumentace)
První výskyt: 21. července 2024 v 22:50:32 (6 výskyty)
Naposledy logováno: 06:01:36

Timeout fetching connectlife data

I´m still using your integradion and Bilan´s addon at the same time, so next testing will be with your integration only. BTW Bilan´s addon is still working without any faults or warning in logs, therefore I´m using it primarily.

oyvindwe commented 4 months ago

@kalda123 re

Got unexpected value 1 for t_fan_speed (klima.loznice)

Which device do you have? And what does fan speed 1 correspond to in the ConnectLife app?

kalda123 commented 3 months ago

I have two 009-104 units. And I dont know, where fan speed 1 means, I thing I was trying to start some sleep regime (to have low fan speed and light turn off), not manually, but using one of presets (sleep1-sleep4). I´m not 100% sure, its couple days back.

oyvindwe commented 3 months ago

@kalda123 Let me know if you figure out what triggered t_fan_speed to be value 1.

The timeouts are most likely the ConnectLife API that is overloaded. See issue #86 for this.

oyvindwe commented 3 months ago

Sorry, you are right I got confused. I see to remove the MQTT integration and reboot with yours only. From HomeAssistant OS it is more difficult to launch debug as described on GitHub, in the logs there is no possibility to see something? Do I set it to debug mode? What do you think?

@techunleadit yes, set the integration to debug. Did it work if you disable the MQTT integration?

kalda123 commented 3 months ago

@kalda123 Let me know if you figure out what triggered t_fan_speed to be value 1.

The timeouts are most likely the ConnectLife API that is overloaded. See issue #86 for this.

I didn't find the trigger, it sometimes happen but mostly not...

oyvindwe commented 2 months ago

Closing as support for device 009-104 was added in PR #64

If anybody is able to reproduce the t_fan_speed problem, please create a separate issue.