imou_life
imou_life copied to clipboard
The integration stop working
Hello
After the last Home Assistant update the integration stops working... all the devices/entities are unavailable
Can you please check ? Thank you
Can you please state for which update this is so I can postpone updating myself. Thanks in advance!
I have same issue after upgrade to 2024.3.0
same issue after upgrade
same here
Same issue since upgrading to 2024.3.0, reloading the integration isn't solving it.
I have same issue after upgrade to 2024.3.0
same for me and the api was ok with ha 12.rc1 but with the update to 12.1 it stoped working
Home Assistant
Core 2024.3.0 Supervisor 2024.03.0 Operating System 12.1 Frontend 20240306.0
Same for me
same for me. the cloud API URL (https://openapi.easy4ip.com/openapi) seems to be down ?
Can anyone who already updated confirm if 2024.3.1 fixes anything?
I just upgraded but still issue is there
+1
Same here. First, I had the problem with the new limits for cloud data adopted by Imou. Then Imou life stopped working, I suppose after the HA update.
Hi all, please always check or share the logs when reporting these errors :-) Have a look here: https://community.home-assistant.io/t/imou-life-cloud-integration/462439/202 I think this is what you are experiencing. Thanks
Hi all, please always check or share the logs when reporting these errors :-) Have a look here: https://community.home-assistant.io/t/imou-life-cloud-integration/462439/202 I think this is what you are experiencing. Thanks
I don't think it's the same issue, my loss of functionnality appeared right after the upgrade to 2024.3.0 and the imou resource seems to still have 29945 message push & 1.89GB available
I've activated logging and reload the integration and here are the generated logs (where indeed I'm seeing a "APIError: OP1013: Call interface times exceed limit (total)" which is not consistent with imou my resource content) :
2024-03-16 12:48:18.723 DEBUG (MainThread) [custom_components.imou_life] Loading entry 84af7115374bbcb2f65a22012715855b
2024-03-16 12:48:18.723 DEBUG (MainThread) [custom_components.imou_life] Setting up device caméra imou entrée (9H0E8F0PBV9C98F)
2024-03-16 12:48:18.724 DEBUG (MainThread) [custom_components.imou_life] Setting API base url to https://openapi.easy4ip.com/openapi
2024-03-16 12:48:18.993 ERROR (MainThread) [imouapi] APIError: OP1013: Call interface times exceed limit (total).
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 155, in _async_call_api
await self.async_connect()
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 117, in async_connect
data = await self._async_call_api("accessToken", {}, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 227, in _async_call_api
raise APIError(error_message)
imouapi.exceptions.APIError: OP1013: Call interface times exceed limit (total).
2024-03-16 12:48:19.071 ERROR (MainThread) [imouapi] APIError: OP1013: Call interface times exceed limit (total).
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 155, in _async_call_api
await self.async_connect()
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 117, in async_connect
data = await self._async_call_api("accessToken", {}, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 227, in _async_call_api
raise APIError(error_message)
imouapi.exceptions.APIError: OP1013: Call interface times exceed limit (total).
2024-03-16 12:48:19.072 ERROR (MainThread) [imouapi] Too many unsuccesful connection attempts
2024-03-16 12:48:19.077 ERROR (MainThread) [custom_components.imou_life] NotConnected:
Traceback (most recent call last):
File "/config/custom_components/imou_life/__init__.py", line 89, in async_setup_entry
await device.async_initialize()
File "/usr/local/lib/python3.12/site-packages/imouapi/device.py", line 182, in async_initialize
device_array = await self._api_client.async_api_deviceBaseDetailList([self._device_id])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 279, in async_api_deviceBaseDetailList
return await self._async_call_api(api, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 160, in _async_call_api
raise NotConnected()
imouapi.exceptions.NotConnected
2024-03-16 12:48:19.078 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry caméra imou entrée for imou_life
Traceback (most recent call last):
File "/config/custom_components/imou_life/__init__.py", line 89, in async_setup_entry
await device.async_initialize()
File "/usr/local/lib/python3.12/site-packages/imouapi/device.py", line 182, in async_initialize
device_array = await self._api_client.async_api_deviceBaseDetailList([self._device_id])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 279, in async_api_deviceBaseDetailList
return await self._async_call_api(api, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/imouapi/api.py", line 160, in _async_call_api
raise NotConnected()
imouapi.exceptions.NotConnected
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 504, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/imou_life/__init__.py", line 92, in async_setup_entry
raise ImouException() from exception
imouapi.exceptions.ImouException
For additional info here are my versions: Core 2024.3.0 Supervisor 2024.03.0 Operating System 12.1 Interface utilisateur 20240306.0 imou life version 1.0.15 installed via HACS
I have the same issue but for me it depends on IMOU URL API modification probably for the management of the limit repricing.
Take a look to the API URL: https://open.imoulife.com/book/http/develop.html
Actually I'm using ONVIF integration to bypass the problem
Issue is "kinda solved" for me.
- I've configured the cameras with onvif integration. There's an issue with onvif integration with my imou cam model where all the cameras are identifying with the same false mac adress -> solved in this comment
- I've deactivated the camera video stream entity from IMOU integration.
- Changed the api-url from "https://openapi.easy4ip.com/openapi" to "https://openapi-fk.easy4ip.com:443/openapi" in .storage\core.config_entries & reboot HA
- Put 1USD in my account balance to keep using IMOU Integration for the detection activation then reload the integration and it's working fine again
So I guess the issue is on IMOU side & that setting a minimum amount of money in the account balance unstuck the situation. I haven't tried to get rid of the IMOU dev account & reset it from scratch but maybe this option is also working.
thank, working great!!
I solved it like this: taken from the Imou app the name of the camera found the ip inside the router added the camera with ONVIF integration User: admin Password: from the Imou Android program read "device label" --> security code once this is done the camera works in Onvif. HI Joseph
Issue is "kinda solved" for me.
- I've configured the cameras with onvif integration. There's an issue with onvif integration with my imou cam model where all the cameras are identifying with the same false mac adress -> solved in this comment
- I've deactivated the camera video stream entity from IMOU integration.
- Changed the api-url from "https://openapi.easy4ip.com/openapi" to "https://openapi-fk.easy4ip.com:443/openapi" in .storage\core.config_entries & reboot HA
- Put 1USD in my account balance to keep using IMOU Integration for the detection activation then reload the integration and it's working fine again
So I guess the issue is on IMOU side & that setting a minimum amount of money in the account balance unstuck the situation. I haven't tried to get rid of the IMOU dev account & reset it from scratch but maybe this option is also working.
Great bro, solved for me also just charging 1$ on IMOU Dev! Thks a lot :)
Thanks for the comments guys. Just to confirm, has the URL change fixed the problem or charging with $ the account or both? Thanks
I have the same question. What would be the minimum change needed to make it work again?
Thanks!
Thanks for the comments guys. Just to confirm, has the URL change fixed the problem or charging with $ the account or both? Thanks
You have to modify the API URL but it works again only after charging with *$ the account.
... both :)
Issue is "kinda solved" for me.
- I've configured the cameras with onvif integration. There's an issue with onvif integration with my imou cam model where all the cameras are identifying with the same false mac adress -> solved in this comment
- I've deactivated the camera video stream entity from IMOU integration.
- Changed the api-url from "https://openapi.easy4ip.com/openapi" to "https://openapi-fk.easy4ip.com:443/openapi" in .storage\core.config_entries & reboot HA
- Put 1USD in my account balance to keep using IMOU Integration for the detection activation then reload the integration and it's working fine again
So I guess the issue is on IMOU side & that setting a minimum amount of money in the account balance unstuck the situation. I haven't tried to get rid of the IMOU dev account & reset it from scratch but maybe this option is also working.
I add 1dollar and try putting new link on the login page but is not work for me, but can't find the file in your location
Edit I fix my login problem, practically I stupidly use Admin ID instead of App ID to login 🤣
Another question now to save request I use onvif as suggested for video streaming, and imou plugin to send requests like close camera or disable motion detection. Is request used only on really usage or I need to disable all other item I don't need to use?
Issue is "kinda solved" for me.
- I've configured the cameras with onvif integration. There's an issue with onvif integration with my imou cam model where all the cameras are identifying with the same false mac adress -> solved in this comment
- I've deactivated the camera video stream entity from IMOU integration.
- Changed the api-url from "https://openapi.easy4ip.com/openapi" to "https://openapi-fk.easy4ip.com:443/openapi" in .storage\core.config_entries & reboot HA
- Put 1USD in my account balance to keep using IMOU Integration for the detection activation then reload the integration and it's working fine again
So I guess the issue is on IMOU side & that setting a minimum amount of money in the account balance unstuck the situation. I haven't tried to get rid of the IMOU dev account & reset it from scratch but maybe this option is also working.
Fixed for me too with:
- Put 1USD in my account balance to keep using IMOU Integration
- Changed the api-url from "https://openapi.easy4ip.com/openapi" to "https://openapi-fk.easy4ip.com:443/openapi" in .storage\core.config_entries & reboot HA
Le problème est "un peu résolu" pour moi.
- J'ai configuré les caméras avec l'intégration ONVIF. Il y a un problème avec l'intégration d'Onvif avec mon modèle de caméra imou où toutes les caméras s'identifient avec la même fausse adresse Mac -> résolu dans ce commentaire
- J'ai désactivé l'entité de flux vidéo de la caméra de l'intégration IMOU.
- Modification de l'URL de l'API de " https://openapi.easy4ip.com/openapi " à " https://openapi-fk.easy4ip.com:443/openapi " dans .storage\core.config_entries et redémarrage HA
- Mettez 1 USD sur le solde de mon compte pour continuer à utiliser l'intégration IMOU pour l'activation de la détection, puis rechargez l'intégration et cela fonctionne à nouveau correctement.
Je suppose donc que le problème vient du côté d'IMOU et que la définition d'un montant minimum d'argent dans le solde du compte a permis de débloquer la situation. Je n'ai pas essayé de me débarrasser du compte de développement IMOU et de le réinitialiser à partir de zéro, mais peut-être que cette option fonctionne également.
Corrigé pour moi aussi avec :
- Mettez 1 USD sur le solde de mon compte pour continuer à utiliser l'intégration IMOU
- Modification de l'URL de l'API de " https://openapi.easy4ip.com/openapi " à " https://openapi-fk.easy4ip.com:443/openapi " dans .storage\core.config_entries et redémarrage HA
Je vous confirme qu'en suivant cette méthode cela refonctionne bien.
Le problème est "un peu résolu" pour moi.
- J'ai configuré les caméras avec l'intégration ONVIF. Il y a un problème avec l'intégration d'Onvif avec mon modèle de caméra imou où toutes les caméras s'identifient avec la même fausse adresse Mac -> résolu dans ce commentaire
- J'ai désactivé l'entité de flux vidéo de la caméra de l'intégration IMOU.
- Modification de l'URL de l'API de " https://openapi.easy4ip.com/openapi " à " https://openapi-fk.easy4ip.com:443/openapi " dans .storage\core.config_entries et redémarrage HA
- Mettez 1 USD sur le solde de mon compte pour continuer à utiliser l'intégration IMOU pour l'activation de la détection, puis rechargez l'intégration et cela fonctionne à nouveau correctement.
Je suppose donc que le problème vient du côté d'IMOU et que la définition d'un montant minimum d'argent dans le solde du compte a permis de débloquer la situation. Je n'ai pas essayé de me débarrasser du compte de développement IMOU et de le réinitialiser à partir de zéro, mais peut-être que cette option fonctionne également.
Corrigé pour moi aussi avec :
- Mettez 1 USD sur le solde de mon compte pour continuer à utiliser l'intégration IMOU
- Modification de l'URL de l'API de " https://openapi.easy4ip.com/openapi " à " https://openapi-fk.easy4ip.com:443/openapi " dans .storage\core.config_entries et redémarrage HA
Je vous confirme qu'en suivant cette méthode cela refonctionne bien.
It work for me just charging 1usd and restarting the HA
Hi, charging the account (or waiting for the next monthly cycle) should suffice, I think https://openapi.easy4ip.com/openapi and https://openapi-fk.easy4ip.com/openapi are alias one of the other so should not be strictly needed. Can someone confirm that charging the account (and restarting HA o reloading the integration) would be enough without changing the URL? Thanks