Open adizag opened 3 years ago
@mac-zhou ? Any Idea?
I need to see logs
@mac-zhou here is the HA log. I waited until it will happen again.
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration deepstack_object which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration school_holidays which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 ERROR (SyncWorker_0) [homeassistant.loader] The custom integration 'school_holidays' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2022-01-19 13:17:43 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration electrasmart which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration reolink_dev which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration midea_ac which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration reversotts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_7) [homeassistant.loader] We found a custom integration breaking_changes which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 ERROR (SyncWorker_7) [homeassistant.loader] The custom integration 'breaking_changes' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2022-01-19 13:17:43 WARNING (SyncWorker_8) [homeassistant.loader] We found a custom integration frigate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration grocy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 ERROR (SyncWorker_1) [homeassistant.loader] The custom integration 'grocy' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2022-01-19 13:17:43 WARNING (SyncWorker_8) [homeassistant.loader] We found a custom integration smartir which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 ERROR (SyncWorker_8) [homeassistant.loader] The custom integration 'smartir' does not have a version key in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2022-01-19 13:17:43 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_7) [homeassistant.loader] We found a custom integration lovelace_gen which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration braviatv_psk which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-01-19 13:17:43 WARNING (MainThread) [homeassistant.config] Key whitelist_external_dirs has been replaced with allowlist_external_dirs. Please update your config
2022-01-19 13:17:44 DEBUG (MainThread) [custom_components.electrasmart.climate] Setting up the ElectraSmart climate platform
2022-01-19 13:17:44 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_timeout.timeout with loop keyword argument. The loop keyword argument is deprecated and calls will fail after Home Assistant 2022.2. Please report issue for glances using this method at homeassistant/components/glances/__init__.py, line 125: await self.api.get_data()
2022-01-19 13:17:44 DEBUG (SyncWorker_8) [custom_components.electrasmart.climate] Updating status using the client AC instance...
2022-01-19 13:17:44 DEBUG (SyncWorker_8) [electrasmart.client] Posting request
id: 1416
url: https://app.ecpiot.co.il/mobile/mobilecommand
headers: {'user-agent': 'Electra Client'}
post json data:
{'cmd': 'GET_LAST_TELEMETRY',
'data': {'commandName': 'OPER,DIAG_L2,HB', 'id': '4620'},
'id': 1416,
'pvdid': 1,
'sid': None}
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] Response received (id=1416):
{'data': None, 'desc': '', 'id': 0, 'status': 99}
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] Posting request
id: 1189
url: https://app.ecpiot.co.il/mobile/mobilecommand
headers: {'user-agent': 'Electra Client'}
post json data:
{'cmd': 'VALIDATE_TOKEN',
'data': {'imei': '2b95000096491186',
'os': 'android',
'osver': 'M4B30Z',
'token': 'bf2e5a15b10a470b83951311df739f5c'},
'id': 1189,
'pvdid': 1,
'sid': None}
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] Response received (id=1189):
{'data': {'res': 0,
'res_desc': None,
'sid': 'dea6d0509e80487b91284054e4d9c4c3'},
'desc': None,
'id': 1189,
'status': 0}
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] renewed sid: dea6d0509e80487b91284054e4d9c4c3
2022-01-19 13:17:45 DEBUG (SyncWorker_8) [electrasmart.client] Posting request
id: 1149
url: https://app.ecpiot.co.il/mobile/mobilecommand
headers: {'user-agent': 'Electra Client'}
post json data:
{'cmd': 'GET_LAST_TELEMETRY',
'data': {'commandName': 'OPER,DIAG_L2,HB', 'id': '4620'},
'id': 1149,
'pvdid': 1,
'sid': 'dea6d0509e80487b91284054e4d9c4c3'}
2022-01-19 13:17:46 DEBUG (SyncWorker_8) [electrasmart.client] Response received (id=1149):
{'data': {'commandJson': {'DIAG_L2': '{"DIAG_L2":{"IDU_RX_CNT":"51092","IDU_TX_CNT":"51092","MAIN_PWR_STATUS":"1199","BAD_IR_CNT":"3","WI_FI_CON_STATUS":"41","SMPS_PWR_STATUS":"328","I_ALARM_OUT":"OFF","I_BAD_ICT":"NORM","I_CALC_AT":"6144","I_ICT":"0","I_LOGIC_SPT":"22","I_RAT":"24","I_RCT":"5632","O_BAD_OMT":"NORM","O_CTT":"0","O_EEV":"512","O_ENV_PWR_CURR":"0","O_GLT":"0","O_HST":"0","O_OCT":"0","GOOD_IR_CNT":"0","IDU_CRC_ERR_RX_CNT":"0","O_OAT":"0","O_OMT":"0","O_PWR":"0","I_BAD_RAT":"NORM","I_PUMP":"OFF","I_RC_SPT":"7","I_SELFTEST":"OFF","O_ALARM_OUT":"OFF","I_STOP_COMP":"NO '
'RQST","M2L_CRC_ERR_RX_CNT":"0","M2L_RX_CNT":"0","M2L_TX_CNT":"0","I_ON_OFF_STAT":"OFF","O_ODU_MODE":"IDLE","I_RC_FSTBY":"FSTBY '
'OFF","DISPLAY_DET_AP":"10.0.0.2","O_RV":"COOL","I_BAD_ICTE":"NORM","I_DEICER":"OFF","I_FAN_ACT":"0","I_IDU_ALARM":"OFF","I_IN_FAULT":"NO '
'FAULT","I_LOCK":"NO '
'LOCK","I_NLOAD":"0","I_RC_IFEEL":"IFEEL '
'OFF","O_CURRENT":"0","O_CUR_RWR_TYPE":"AC '
'Current","O_FORCE_STDBY":"OFF","O_MODEL":"0","O_PROT_RESON":"0","O_PROT_STAT":"0","O_RGT_BAD":"NORMAL","O_RLT_BAD":"NORMAL","O_TRGT_FERQ":"0"}}',
'HB': '{"HB":{"HB_CNT":"278","MESSTYPE":"HB"}}',
'OPER': '{"OPER":{"AC_STSRC":"PWRUP","AC_MODE":"STBY","FANSPD":"LOW","SPT":"22","TIMER":"OFF","CLEAR_FILT":"OFF","IFEEL":"OFF","SHABAT":"OFF","SLEEP":"OFF"}}'},
'res': 0,
'res_desc': None,
'timeDelta': 68},
'desc': None,
'id': 1149,
'status': 0}
2022-01-19 13:17:46 DEBUG (SyncWorker_8) [custom_components.electrasmart.climate] Status updated using the client AC instance
2022-01-19 13:17:46 DEBUG (MainThread) [custom_components.electrasmart.climate] hvac_mode: returning HVAC_MODE_OFF - device is off
2022-01-19 13:17:46 DEBUG (MainThread) [custom_components.electrasmart.climate] value of current_temperature property: 24
2022-01-19 13:17:46 DEBUG (MainThread) [custom_components.electrasmart.climate] value of target_temperature property: 22
2022-01-19 13:17:46 DEBUG (MainThread) [custom_components.electrasmart.climate] fan_mode: returning FAN_OFF - device is off
2022-01-19 13:17:52 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json is not none and value_json.state == "running" }}'
2022-01-19 13:17:52 ERROR (MainThread) [homeassistant.components.rest.switch] Got non-ok response from resource: 404
2022-01-19 13:17:52 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json is not none and value_json.state == "running" }}'
2022-01-19 13:17:52 ERROR (MainThread) [homeassistant.components.rest.switch] Got non-ok response from resource: 404
2022-01-19 13:17:55 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform androidtv is taking over 10 seconds.
2022-01-19 13:18:03 ERROR (SyncWorker_22) [msmart.lan] Connect Error: 10.0.0.212:6444 timed out
2022-01-19 13:18:03 ERROR (SyncWorker_3) [msmart.lan] Connect Error: 10.0.0.215:6444 timed out
2022-01-19 13:18:03 ERROR (SyncWorker_1) [msmart.lan] Connect Error: 10.0.0.213:6444 timed out
2022-01-19 13:18:03 ERROR (SyncWorker_22) [msmart.lan] Sokcet is None: 10.0.0.212:6444
2022-01-19 13:18:03 WARNING (SyncWorker_22) [msmart.device] Got Null from 10.0.0.212:6444 Version: 2 Count: 0 Spend time: 2.01
2022-01-19 13:18:03 ERROR (SyncWorker_3) [msmart.lan] Sokcet is None: 10.0.0.215:6444
2022-01-19 13:18:03 WARNING (SyncWorker_3) [msmart.device] Got Null from 10.0.0.215:6444 Version: 2 Count: 0 Spend time: 2.01
2022-01-19 13:18:03 ERROR (SyncWorker_1) [msmart.lan] Sokcet is None: 10.0.0.213:6444
2022-01-19 13:18:03 WARNING (SyncWorker_1) [msmart.device] Got Null from 10.0.0.213:6444 Version: 2 Count: 0 Spend time: 2.01
2022-01-19 13:18:17 ERROR (SyncWorker_14) [msmart.lan] Connect Error: 10.0.0.212:6444 timed out
2022-01-19 13:18:17 ERROR (SyncWorker_14) [msmart.lan] Sokcet is None: 10.0.0.212:6444
2022-01-19 13:18:17 WARNING (SyncWorker_14) [msmart.device] Got Null from 10.0.0.212:6444 Version: 2 Count: 0 Spend time: 2.0
update to version 0.2.0 add to your config file, then will see a more info about this
logger:
default: warn
logs:
msmart: debug
I’ve same issue while running latest version
Describe the bug (描述一下问题) once in a while, I can't find a reason, some ACs are disconnected from HA, although the AC is available from the Midea APP. it can be solved by restarting the AC of the router.
Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件) Here is the ac from HA, it is unavailable, and any change done here will not effect the AC:
This is the same AC from the Midea App. It is available, working and I can control it:
The AC is connected to wifi with the IP as defined for HA: router:
HA conf:
The strangest thing is - I have a PING test to the ACs, it is showing the AC is offline, but as mentioned before it is online and connected to wifi...
I would appreciate your assistance very much! Adi
Versions (版本信息)