GMAIL: No more login/passwd soon...

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

lost
Posts: 659
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

GMAIL: No more login/passwd soon...

Post by lost »

Hello,

As several french Domoticz users, I yesterday received a notice from google saying as of 30 may, no more login/password connect will be possible: 2 factor auth or "connect with google" (what the hell is this non standard crap?) available.
If someone knows how to cope with this for home automation (or clients like Thunderbird, google only advice to use a recent outlook... but I'm 100% Linux!)?
If not possible, I have 2 month to get rid of google...

Regards.
User avatar
HansOtten
Posts: 50
Joined: Saturday 17 April 2021 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Mierlo
Contact:

Re: GMAIL: No more login/passwd soon...

Post by HansOtten »

get a cheap email only service. 1 to 2 euro, your own email address

'free' is not always free and google ...
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
lost
Posts: 659
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GMAIL: No more login/passwd soon...

Post by lost »

HansOtten wrote: Sunday 06 March 2022 12:48 get a cheap email only service. 1 to 2 euro, your own email address

'free' is not always free and google ...
Google was not able to "see" camera captures & private stuff: These were sent as encrypted attachments...

For now, I changed for another free provider (laposte.net, hosted by french postal service) for the email used by Domoticz & my own services linked to home management: I have 2 month to test reliability etc... Currently OK after 5 days.

I think these conditions will propagate to other countries soon & lot of users will have to move from google as well: They take users security in good care, but that should not be mandatory & made configurable.
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: GMAIL: No more login/passwd soon...

Post by Derik »

HansOtten wrote: Sunday 06 March 2022 12:48 get a cheap email only service. 1 to 2 euro, your own email address

'free' is not always free and google ...
Hope gmail is working again the great mailbox is very nive for camera backup...

Only your 1-2 euro server?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
lost
Posts: 659
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GMAIL: No more login/passwd soon...

Post by lost »

Derik wrote: Sunday 27 March 2022 12:08 Hope gmail is working again the great mailbox is very nive for camera backup...
Don't know if this'll be worldwide change, but received again notification that usual mail addr+password login will end by the end of this month (May 31 2022).

I'm located in France & others received the same message on french forum.

Had to give up with laposte.net, they stopped IMAP/POP+SMTP since almost a week. Had to go with mailo.com, another french provider of free mail accounts: Limit in mailbox size is 1GB, but that's enough for some notification purpose (even with some IP cam captures) checked&purged almost daily.
User avatar
FireWizard
Posts: 1862
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: GMAIL: No more login/passwd soon...

Post by FireWizard »

Hello @lost,

In the past I had an email account @linuxmail.org, which has become mail.com.
You can register a free email with 65 Gb of email storage. See: https://www.mail.com/

Should be enough, I think.

Regards
Filip
Posts: 107
Joined: Thursday 03 November 2016 10:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GMAIL: No more login/passwd soon...

Post by Filip »

There seems no support of IMAP for the free service on mail.com. Only the premium services supports IMAP...
atlej
Posts: 9
Joined: Wednesday 22 February 2017 19:56
Target OS: Linux
Domoticz version: Stable
Contact:

Re: GMAIL: No more login/passwd soon...

Post by atlej »

Hi,

There is a solution to continue using gmail to send mails from Domoticz. What you need to do is:
1: on the google account security page enable two-step authentication for your google account, and
2: then generate an 'app' password that will only work for Mail.

The solution is described here:
https://www.reddit.com/r/GMail/comments ... hirdparty/

Tested it yesterday, seems to work also with Domoticz.

Br Atle
Filip
Posts: 107
Joined: Thursday 03 November 2016 10:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GMAIL: No more login/passwd soon...

Post by Filip »

I confirm! Did also use the App Password of Google after my research.
Works indeed!
F
joran
Posts: 7
Joined: Friday 22 June 2018 0:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: GMAIL: No more login/passwd soon...

Post by joran »

I tried this and it stops working after about a day.
I have multiple app passwords for mulitple domoticz instances.
Does anyone else have this problem?
Filip
Posts: 107
Joined: Thursday 03 November 2016 10:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GMAIL: No more login/passwd soon...

Post by Filip »

Nope. Works Iike a charm several days now.
mgugu
Posts: 218
Joined: Friday 04 November 2016 12:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: GMAIL: No more login/passwd soon...

Post by mgugu »

joran wrote: Thursday 23 June 2022 17:58 I tried this and it stops working after about a day.
I have multiple app passwords for mulitple domoticz instances.
Does anyone else have this problem?
A single password for each service type/machine type is necessary.
I use the same password in all my Domoticz instances running on linux
lost
Posts: 659
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: GMAIL: No more login/passwd soon...

Post by lost »

mgugu wrote: Thursday 23 June 2022 23:26 A single password for each service type/machine type is necessary.
I use the same password in all my Domoticz instances running on linux
You probably mean "isn't" necessary. I have as well a single app password for all domoticz stuff (domoticz config+some services linked to it & hosted on the same machine).

No issue since 1 month.
mgugu
Posts: 218
Joined: Friday 04 November 2016 12:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: GMAIL: No more login/passwd soon...

Post by mgugu »

lost wrote: Friday 24 June 2022 10:32 You probably mean "isn't" necessary. I have as well a single app password for all domoticz stuff (domoticz config+some services linked to it & hosted on the same machine).

No issue since 1 month.
You can use the same password for instances hosted on different machines.
A single password remains valid provided the couple service type (i.e. mail)/ machine type (i.e. PC or Other) does not change.
So for example, all the Domoticz machines running Linux that I administrate use the same password.
PieterS
Posts: 197
Joined: Wednesday 31 May 2017 16:06
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: NL
Contact:

Re: GMAIL: No more login/passwd soon...

Post by PieterS »

atlej wrote: Tuesday 21 June 2022 13:24 Hi,

There is a solution to continue using gmail to send mails from Domoticz. What you need to do is:
1: on the google account security page enable two-step authentication for your google account, and
2: then generate an 'app' password that will only work for Mail.

The solution is described here:
https://www.reddit.com/r/GMail/comments ... hirdparty/

Tested it yesterday, seems to work also with Domoticz.

Br Atle
I did try this solution and with some help from this link https://support.google.com/accounts/ans ... 833?hl=nl it works now for a couple of days.
Synology with Domoticz build (V2024.7) in Docker
User avatar
waltervl
Posts: 5712
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: GMAIL: No more login/passwd soon...

Post by waltervl »

Indeed using a google app password

The less secure apps option is unavailable for use if 2-Step verification is enabled on your G Suite or Gmail account. You will have to get an app-specific password for Domoticzfor the SMTP to work. To do so, please follow the steps below:

Go to https://security.google.com/settings/se ... ppasswords and sign in to your account.
Select Mail from the list of apps available.
Select Other from the device list.
Enter your Custom Name. You can put “Domoticz” in it.
Click the Generate button.
Copy and save the password in the Domoticz password for email field.
Click the Done button, and that’s it.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: GMAIL: No more login/passwd soon...

Post by Derik »

Hi perhaps some have a new solution.
Gmail
yahoo
aol are not working with thirdparty apps..

Onlyw hwne have a mail adres with the thirdparty acces before juni...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
waltervl
Posts: 5712
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: GMAIL: No more login/passwd soon...

Post by waltervl »

Derik wrote: Saturday 07 January 2023 19:22 Hi perhaps some have a new solution.
Gmail
yahoo
aol are not working with thirdparty apps..

Onlyw hwne have a mail adres with the thirdparty acces before juni...
The new Gmail app password way of working is described in this topic. Was it not working?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: GMAIL: No more login/passwd soon...

Post by Derik »

Not working for new gmail accounts..
I cannot get the good settings...
Perhaps some printscreen.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
waltervl
Posts: 5712
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: GMAIL: No more login/passwd soon...

Post by waltervl »

You have to switch on 2-Step verification first (!).
Then you can add App paswords in the same screen.
Use other, type 'Domoticz' and click on Generate
Use the 16-character password as password in Domoticz email setup.
Google-2-step.png
Google-2-step.png (21.62 KiB) Viewed 4563 times
Google-Apps-pswd.png
Google-Apps-pswd.png (37.19 KiB) Viewed 4563 times
Google-Apps-pswd2.png
Google-Apps-pswd2.png (58.33 KiB) Viewed 4563 times
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest