E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
Moderator: Co-Administratoren
E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
Hi,
The E-mail CCU Addon - v.1.7.6 doesn't seem to be able to adapt to the changes made by Microsoft.
The smtp.office365.com SMTP doesn't accept the "auto" setting anymore (I think).
Authentication unsuccessful, basic authentication is disabled. [AM8P189CA0023.EURP189.PROD.OUTLOOK.COM 2025-06-16T15:26:16.293Z 08DDAA397B0FE4D0]' errormsg='authentication failed (method LOGIN)' exitcode=EX_NOPERM
Would any of you have solved this problem ?
Thanks in advance !
The E-mail CCU Addon - v.1.7.6 doesn't seem to be able to adapt to the changes made by Microsoft.
The smtp.office365.com SMTP doesn't accept the "auto" setting anymore (I think).
Authentication unsuccessful, basic authentication is disabled. [AM8P189CA0023.EURP189.PROD.OUTLOOK.COM 2025-06-16T15:26:16.293Z 08DDAA397B0FE4D0]' errormsg='authentication failed (method LOGIN)' exitcode=EX_NOPERM
Would any of you have solved this problem ?
Thanks in advance !
-
- Beiträge: 533
- Registriert: 11.02.2020, 12:14
- System: Alternative CCU (auf Basis OCCU)
- Hat sich bedankt: 122 Mal
- Danksagung erhalten: 84 Mal
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
Microsoft, as others like Google, disabled the basic auth method. As long as the email add-on does not support oauth2, you will need another mail provider or switch to a different notification system, like ntfy.sh (which has a free option to use it even it's not so clear on the webpage).
https://support.microsoft.com/en-us/off ... 986499a90d
https://github.com/homematic-community/ ... /issues/26
https://support.microsoft.com/en-us/off ... 986499a90d
https://github.com/homematic-community/ ... /issues/26
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
Indeed, thanks for confirming.
So, it looks like the email way of working must be dropped.
I searched but didn't find real examples of push configurations for RaspberryMatic.
I'm using "pushover" for my mower but...
So, it looks like the email way of working must be dropped.
I searched but didn't find real examples of push configurations for RaspberryMatic.
I'm using "pushover" for my mower but...
-
- Beiträge: 2842
- Registriert: 19.09.2012, 10:53
- System: Alternative CCU (auf Basis OCCU)
- Wohnort: Jottweedee
- Hat sich bedankt: 320 Mal
- Danksagung erhalten: 469 Mal
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
There are plenty of examples in this forum or easily found by internet search how to send Pushover messages via CCU script ...
Below is an example using system.Exec and wget (taken from ELV Journal "HM know-how Issue 27")
Code: Alles auswählen
string msg = "IT NEVER RAINS IN CALIFORNIA";
string MESSAGE = msg.ToUTF8().Replace(" ", "%20");
string TOKEN = "<TOKEN>";
string USERKEY = "<USERKEY>";
system.Exec("wget --no-check-certificate --post-data='token='"#TOKEN#"'&user='"#USERKEY#"'&message='"#MESSAGE#"'' http://api.pushover.net/1/messages.json");
Es kann leider nicht ganz ausgeschlossen werden, dass ich mich irre.
HmIP muss leider draussen bleiben. in Ausnahmefällen erlaubt
ACHTUNG! Per Portweiterleitung aus dem Internet erreichbare CCU-WebUI ist unsicher! AUCH MIT PASSWORTSCHUTZ! Daher: Portweiterleitung deaktivieren!
HmIP muss leider draussen bleiben. in Ausnahmefällen erlaubt
ACHTUNG! Per Portweiterleitung aus dem Internet erreichbare CCU-WebUI ist unsicher! AUCH MIT PASSWORTSCHUTZ! Daher: Portweiterleitung deaktivieren!
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
Thank you.
I'm trying the script you posted and found the ELV journal 27.
It looks indeed super simple.
I just created a simple program trigerring the script each 10 sec for testing.
string msg = "IT NEVER RAINS IN CALIFORNIA";
string MESSAGE = msg.ToUTF8().Replace(" ", "%20");
string TOKEN = "<ay7az3rmxxxxxxxxxxxxxxxnemj>";
string USERKEY = "<uq3yxxxxxxxxxxxxxxxdqjztmjdn4>";
system.Exec("wget --no-check-certificate --post-data='token='"#TOKEN#"'&user='"#USERKEY#"'&message='"#MESSAGE#"'' http://api.pushover.net/1/messages.json");
I installed nothing else on the CCU3. No app, no system variable, nothing.
And, it doesn't work
I'm trying the script you posted and found the ELV journal 27.
It looks indeed super simple.
I just created a simple program trigerring the script each 10 sec for testing.
string msg = "IT NEVER RAINS IN CALIFORNIA";
string MESSAGE = msg.ToUTF8().Replace(" ", "%20");
string TOKEN = "<ay7az3rmxxxxxxxxxxxxxxxnemj>";
string USERKEY = "<uq3yxxxxxxxxxxxxxxxdqjztmjdn4>";
system.Exec("wget --no-check-certificate --post-data='token='"#TOKEN#"'&user='"#USERKEY#"'&message='"#MESSAGE#"'' http://api.pushover.net/1/messages.json");
I installed nothing else on the CCU3. No app, no system variable, nothing.
And, it doesn't work

-
- Beiträge: 2842
- Registriert: 19.09.2012, 10:53
- System: Alternative CCU (auf Basis OCCU)
- Wohnort: Jottweedee
- Hat sich bedankt: 320 Mal
- Danksagung erhalten: 469 Mal
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
Code: Alles auswählen
string TOKEN = "<ay7az3rmxxxxxxxxxxxxxxxnemj>";
string USERKEY = "<uq3yxxxxxxxxxxxxxxxdqjztmjdn4>";
genden Skripte anstelle der Platzhalter <TOKEN> und <USERKEY> ein-
zufügen, um Push-Nachrichten mit der Zentrale absetzen zu können.
You have to remove the brackets in your TOKEN and USERKEY ...
Es kann leider nicht ganz ausgeschlossen werden, dass ich mich irre.
HmIP muss leider draussen bleiben. in Ausnahmefällen erlaubt
ACHTUNG! Per Portweiterleitung aus dem Internet erreichbare CCU-WebUI ist unsicher! AUCH MIT PASSWORTSCHUTZ! Daher: Portweiterleitung deaktivieren!
HmIP muss leider draussen bleiben. in Ausnahmefällen erlaubt
ACHTUNG! Per Portweiterleitung aus dem Internet erreichbare CCU-WebUI ist unsicher! AUCH MIT PASSWORTSCHUTZ! Daher: Portweiterleitung deaktivieren!
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
That's what I tried, without success. (but tx for the reply)
string msg = "IT NEVER RAINS IN CALIFORNIA";
string MESSAGE = msg.ToUTF8().Replace(" ", "%20");
string TOKEN = "ay7az3rm9xxxxxxxxxxxxxxxxxemj";
string USERKEY = "uq3ywxxxxxxxxxxxxxxxxjztmjdn4";
system.Exec("wget --no-check-certificate --post-data='token='"#TOKEN#"'&user='"#USERKEY#"'&message='"#MESSAGE#"'' http://api.pushover.net/1/messages.json");
string msg = "IT NEVER RAINS IN CALIFORNIA";
string MESSAGE = msg.ToUTF8().Replace(" ", "%20");
string TOKEN = "ay7az3rm9xxxxxxxxxxxxxxxxxemj";
string USERKEY = "uq3ywxxxxxxxxxxxxxxxxjztmjdn4";
system.Exec("wget --no-check-certificate --post-data='token='"#TOKEN#"'&user='"#USERKEY#"'&message='"#MESSAGE#"'' http://api.pushover.net/1/messages.json");
-
- Beiträge: 2842
- Registriert: 19.09.2012, 10:53
- System: Alternative CCU (auf Basis OCCU)
- Wohnort: Jottweedee
- Hat sich bedankt: 320 Mal
- Danksagung erhalten: 469 Mal
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
Works for me when executing the script in RM 3.77.7.
Copy & paste the script from my post as text without formatting and make sure that there is no mixup in the type of inverted commas.
Copy & paste the script from my post as text without formatting and make sure that there is no mixup in the type of inverted commas.
You don't need a program for testing. Use the "Script testing" engine in your CCU3 to execute the script and see if it does what it is supposed to do.I just created a simple program trigerring the script each 10 sec for testing.
Es kann leider nicht ganz ausgeschlossen werden, dass ich mich irre.
HmIP muss leider draussen bleiben. in Ausnahmefällen erlaubt
ACHTUNG! Per Portweiterleitung aus dem Internet erreichbare CCU-WebUI ist unsicher! AUCH MIT PASSWORTSCHUTZ! Daher: Portweiterleitung deaktivieren!
HmIP muss leider draussen bleiben. in Ausnahmefällen erlaubt
ACHTUNG! Per Portweiterleitung aus dem Internet erreichbare CCU-WebUI ist unsicher! AUCH MIT PASSWORTSCHUTZ! Daher: Portweiterleitung deaktivieren!
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
Dammed...Notepad then Notepad++ and it works !
Tx a lot !
Tx a lot !
-
- Beiträge: 2842
- Registriert: 19.09.2012, 10:53
- System: Alternative CCU (auf Basis OCCU)
- Wohnort: Jottweedee
- Hat sich bedankt: 320 Mal
- Danksagung erhalten: 469 Mal
Re: E-mail CCU Addon - v.1.7.6: not working with smtp.office365.com
That's why I ALWAYS use Notepad++ on Windows when it comes to coding.

Es kann leider nicht ganz ausgeschlossen werden, dass ich mich irre.
HmIP muss leider draussen bleiben. in Ausnahmefällen erlaubt
ACHTUNG! Per Portweiterleitung aus dem Internet erreichbare CCU-WebUI ist unsicher! AUCH MIT PASSWORTSCHUTZ! Daher: Portweiterleitung deaktivieren!
HmIP muss leider draussen bleiben. in Ausnahmefällen erlaubt
ACHTUNG! Per Portweiterleitung aus dem Internet erreichbare CCU-WebUI ist unsicher! AUCH MIT PASSWORTSCHUTZ! Daher: Portweiterleitung deaktivieren!