hass-aarlo icon indicating copy to clipboard operation
hass-aarlo copied to clipboard

2FA Using imap with a custom port

Open BuggaHouse opened this issue 4 years ago • 7 comments

Hi, I'm not using Gmail for my Arlo account and my provider is using another port.

Is it possible to expose a config for a custom port to match my email provider?

thanks

BuggaHouse avatar Aug 17 '21 00:08 BuggaHouse

I'll push a fix later this week. You'll be able to specify the port by putting it at the end of the host, something like this:

aarlo:
  ..
  tfa_host: yourimaphost.com:4444

twrecked avatar Aug 17 '21 14:08 twrecked

Should be fixed in 0.7.1.6. Let me know if it is.

twrecked avatar Aug 18 '21 19:08 twrecked

@twrecked Sorry for hi-jacking this but you should consider marking this as a breaking change: Even if you are using the standard IMAP port you are now forced to update your IMAP settings and include the port. Otherwise the add-on will not work anymore. Maybe it is by (coding) design but I learned it the hard way this morning ;)

kauthmbt avatar Aug 19 '21 04:08 kauthmbt

I thought I'd tested that, it should use the standard port unless you tell it otherwise.

I'll double check it.

edit: @kauthmbt It's working for me here. Are you sure it was an IMAP error and not a CloudFlareError, I'm seeing more and more of those arriving.

And if you are sure it's an IMAP error can you post some logs.

twrecked avatar Aug 19 '21 10:08 twrecked

@twrecked I will double-check again and if it was related to IMAP I will provide you with the logs.

kauthmbt avatar Aug 19 '21 13:08 kauthmbt

Thanks for the quick fix and new version, I'll do proper tests this weekend.

BuggaHouse avatar Aug 19 '21 16:08 BuggaHouse

Works for me, thank you again

BuggaHouse avatar Aug 24 '21 14:08 BuggaHouse