user2684 / imou_life

Home Assistant custom component for controlling Imou devices
MIT License
115 stars 18 forks source link

Change Callback URL #90

Open array81 opened 7 months ago

array81 commented 7 months ago

I use imou_life with 3 camera. Now I need change the callback url. I try to reconfig and add the new URL but the old address always remains in the device properties.

user2684 commented 7 months ago

The callback ulr is common across all the cameras of the account so ensure you change it only in one place. If you have any issue, try changing it from the developer console on https://open.imoulife.com/ as a workaround. Thanks

array81 commented 7 months ago

I changed the address, I also checked the thing from the developer console, now the URL is correct but it is not called. If I use a tool like "the advance REST client" to simulate the Home Assistant call it behaves as expected so I don't understand the problem.

user2684 commented 6 months ago

Ok, wonder if this is related to #14 / #29. The HTTP request sent from the Imou servers is malformed so the only way I could make it working with HA was to have a proxy in the middle. Try having a look at https://github.com/user2684/imou_life?tab=readme-ov-file#option-3 and specifically the reverse proxy configuration. Thanks