Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Problemlösungen und Hinweise von allgemeinem Interesse zur Haussteuerung mit HomeMatic

Moderator: Co-Administratoren

Matten Matten
Beiträge: 29
Registriert: 09.12.2018, 17:14
Kontaktdaten:

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von Matten Matten » 10.02.2019, 13:31

mule hat geschrieben:
10.02.2019, 12:57
Dann lass mir am Besten mal ein Log (Debug-Level2) zukommen.

Code: Alles auswählen

#02/10/19-13:19:08: START => DebugMode= 2 / SIMPin= X / Recipients= +49xxxxxx / ComPort= /dev/ttyUSB0 / CheckModemFrequence= 1 / Language= GER / TC35WakeupMode= 0 / CheckSMSFrequence= 5 / Sender: 
######02/10/19-13:19:08: Create HM-Variable Start: ForceCreateNew= false / Type= 2 / Name= Messenger_Modus / DPInfo= Modus / Unit=  / Internal= false / Visible= true / State= 0 / List= none / Min= none / Max= none / Name0= inaktiv / Name1= aktiv
######02/10/19-13:19:08: Create HM-Variable: Variable already exists => Update
######02/10/19-13:19:08: Create HM-Variable: Update DPinfo if different
######02/10/19-13:19:08: Create HM-Variable: Update Valueunit if different
######02/10/19-13:19:08: Create HM-Variable: Update Visible if different
######02/10/19-13:19:08: Create HM-Variable: Update Internal if different
######02/10/19-13:19:08: Create HM-Variable: Update Name0 if different
######02/10/19-13:19:08: Create HM-Variable: Update Name1 if different
######02/10/19-13:19:08: Create HM-Variable: DOM-Update
######02/10/19-13:19:08: Create HM-Variable SUCCESS
######02/10/19-13:19:08: Create HM-Variable Start: ForceCreateNew= false / Type= 29 / Name= Messenger_LetzterPruefStatus / DPInfo= Letzter Pr��atus / Unit=  / Internal= false / Visible= true / State= 0 / List= Nicht verf��r;Erfolgreich;TC35 Initialisierung-ShellBefehl fehlgeschlagen;TC35 Initialisierung fehlgeschlagen;Modem nicht bereit;Aktivierung erweiterte Fehlermeldungen fehlgeschlagen;Umschalten SMS-Textmodus fehlgeschlagen;SIM-Pin wird ben��t;Setzen SIM-Pin fehlgeschlagen;Provider nicht registiert;Ermittlung Signalst峫e fehlgeschlagen;Modem Reset fehlgeschlagen;SIM-Fehler (siehe Messenger-Log f��ehr Details) / Min= null / Max= null / Name0= null / Name1= null
######02/10/19-13:19:08: Create HM-Variable: Variable already exists => Update
######02/10/19-13:19:08: Create HM-Variable: Update DPinfo if different
######02/10/19-13:19:08: Create HM-Variable: Update Valueunit if different
######02/10/19-13:19:08: Create HM-Variable: Update Visible if different
######02/10/19-13:19:08: Create HM-Variable: Update Internal if different
######02/10/19-13:19:08: Create HM-Variable: Update List if different
######02/10/19-13:19:08: Create HM-Variable: DOM-Update
######02/10/19-13:19:08: Create HM-Variable SUCCESS
######02/10/19-13:19:08: Create HM-Variable Start: ForceCreateNew= false / Type= 29 / Name= Messenger_LetzterSendeStatus / DPInfo= Letzter Versandstatus / Unit=  / Internal= false / Visible= true / State= 0 / List= Nicht verf��r;Erfolgreich;TC35 Initialisierung-ShellBefehl fehlgeschlagen;TC35 Initialisierung fehlgeschlagen;Modem nicht bereit;Aktivierung erweiterte Fehlermeldungen fehlgeschlagen;Umschalten SMS-Textmodus fehlgeschlagen;SIM-Pin wird ben��t;Setzen SIM-Pin fehlgeschlagen;Provider nicht registiert;Ermittlung Signalst峫e fehlgeschlagen;Modem Reset fehlgeschlagen;SIM-Fehler (siehe Messenger-Log f��ehr Details);SMS-Versand fehlgeschlagen;Lerren SMS Speicher fehlgeschlagen Memory;SMS wird gesendet... / Min= null / Max= null / Name0= null / Name1= null
######02/10/19-13:19:08: Create HM-Variable: Variable already exists => Update
######02/10/19-13:19:08: Create HM-Variable: Update DPinfo if different
######02/10/19-13:19:08: Create HM-Variable: Update Valueunit if different
######02/10/19-13:19:08: Create HM-Variable: Update Visible if different
######02/10/19-13:19:08: Create HM-Variable: Update Internal if different
######02/10/19-13:19:08: Create HM-Variable: Update List if different
######02/10/19-13:19:08: Create HM-Variable: DOM-Update
######02/10/19-13:19:08: Create HM-Variable SUCCESS
######02/10/19-13:19:08: Create HM-Variable Start: ForceCreateNew= false / Type= 29 / Name= Messenger_LetzteSignalstaerke / DPInfo= Letzte Signalst峫e / Unit=  / Internal= false / Visible= true / State= 0 / List= unbekannt;sehr schlecht;schlecht;ok;gut;sehr gut / Min= null / Max= null / Name0= null / Name1= null
######02/10/19-13:19:08: Create HM-Variable: Variable already exists => Update
######02/10/19-13:19:08: Create HM-Variable: Update DPinfo if different
######02/10/19-13:19:08: Create HM-Variable: Update Valueunit if different
######02/10/19-13:19:08: Create HM-Variable: Update Visible if different
######02/10/19-13:19:08: Create HM-Variable: Update Internal if different
######02/10/19-13:19:08: Create HM-Variable: Update List if different
######02/10/19-13:19:08: Create HM-Variable: DOM-Update
######02/10/19-13:19:08: Create HM-Variable SUCCESS
######02/10/19-13:19:08: Create HM-Variable Start: ForceCreateNew= false / Type= 11 / Name= Messenger_Warteschlange / DPInfo= Nachrichten Warteschlange / Unit=  / Internal= false / Visible= true / State=  / List= null / Min= null / Max= null / Name0= null / Name1= null
######02/10/19-13:19:08: Create HM-Variable: Variable already exists => Update
######02/10/19-13:19:08: Create HM-Variable: Update DPinfo if different
######02/10/19-13:19:08: Create HM-Variable: Update Valueunit if different
######02/10/19-13:19:08: Create HM-Variable: Update Visible if different
######02/10/19-13:19:08: Create HM-Variable: Update Internal if different
######02/10/19-13:19:08: Create HM-Variable: DOM-Update
######02/10/19-13:19:08: Create HM-Variable SUCCESS
######02/10/19-13:19:08: Create HM-Variable Start: ForceCreateNew= false / Type= 29 / Name= Messenger_SMSBefehle / DPInfo= Empfangene SMSBefehle / Unit=  / Internal= false / Visible= true / State= 0 / List= SMSBeispiel1;SMSBeispiel2 / Min= null / Max= null / Name0= null / Name1= null
######02/10/19-13:19:08: Create HM-Variable: Variable already exists => Update
######02/10/19-13:19:08: Create HM-Variable: Update DPinfo if different
######02/10/19-13:19:08: Create HM-Variable: Update Valueunit if different
######02/10/19-13:19:08: Create HM-Variable: Update Visible if different
######02/10/19-13:19:08: Create HM-Variable: Update Internal if different
######02/10/19-13:19:08: Create HM-Variable: DOM-Update
######02/10/19-13:19:08: Create HM-Variable SUCCESS
######02/10/19-13:19:08: Create HM-Variable Start: ForceCreateNew= false / Type= 11 / Name= Messenger_SMSEmfangText / DPInfo= Empfangener SMS-Text / Unit=  / Internal= false / Visible= true / State=  / List= null / Min= null / Max= null / Name0= null / Name1= null
######02/10/19-13:19:08: Create HM-Variable: Variable already exists => Update
######02/10/19-13:19:08: Create HM-Variable: Update DPinfo if different
######02/10/19-13:19:08: Create HM-Variable: Update Valueunit if different
######02/10/19-13:19:08: Create HM-Variable: Update Visible if different
######02/10/19-13:19:08: Create HM-Variable: Update Internal if different
######02/10/19-13:19:08: Create HM-Variable: DOM-Update
######02/10/19-13:19:08: Create HM-Variable SUCCESS
######02/10/19-13:19:08: Create HM-Variable Start: ForceCreateNew= false / Type= 11 / Name= Messenger_SMSNumber / DPInfo= Telefonnummer / Unit=  / Internal= false / Visible= true / State=  / List= null / Min= null / Max= null / Name0= null / Name1= null
######02/10/19-13:19:08: Create HM-Variable: Variable already exists => Update
######02/10/19-13:19:08: Create HM-Variable: Update DPinfo if different
######02/10/19-13:19:08: Create HM-Variable: Update Valueunit if different
######02/10/19-13:19:08: Create HM-Variable: Update Visible if different
######02/10/19-13:19:08: Create HM-Variable: Update Internal if different
######02/10/19-13:19:08: Create HM-Variable: DOM-Update
######02/10/19-13:19:08: Create HM-Variable SUCCESS
######02/10/19-13:19:08: Get CCU-Version Start
######02/10/19-13:19:08: Get CCU-Version Result= Linux version 4.14.34 (jenkins@entw-build-10) (gcc version 6.4.0 (Buildroot 2018.05-gb9fb8bf-dirty)) #1 SMP PREEMPT Mon Nov 12 10:41:27 CET 2018
######02/10/19-13:19:08: Get CCU-Version Version= CCU-Alternative
##02/10/19-13:19:08: Start CheckModem
######02/10/19-13:19:08: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:08: SEND-Serial Before Open: Try= 0 / Command= AT\r / Expected Result= OK / Timeout= 5
######02/10/19-13:19:08: SUCCESS= Open Comport= file13
######02/10/19-13:19:09: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT\r\r\nOK\r\n
######02/10/19-13:19:09: SEND-Serial After Close: Command= AT\r / Expected Result= OK / Timeout= 5
######02/10/19-13:19:09: SEND-OK: Command= AT\r / Expected-Result= OK / Timeout= 5 / Result= AT\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:09: Check Modem Result= 0
####02/10/19-13:19:09: SUCCESS= Check Modem
######02/10/19-13:19:10: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:10: SEND-Serial Before Open: Try= 0 / Command= AT+CMEE=2\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:10: SUCCESS= Open Comport= file13
######02/10/19-13:19:10: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMEE=2\r\r\nOK\r\n
######02/10/19-13:19:10: SEND-Serial After Close: Command= AT+CMEE=2\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:10: SEND-OK: Command= AT+CMEE=2\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMEE=2\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:11: Set Extended Errormessage Result= 0
####02/10/19-13:19:11: SUCCESS= Set Extended Errormessage
######02/10/19-13:19:11: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:11: SEND-Serial Before Open: Try= 0 / Command= AT+CMGF=1\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:11: SUCCESS= Open Comport= file13
######02/10/19-13:19:11: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMGF=1\r\r\nOK\r\n
######02/10/19-13:19:11: SEND-Serial After Close: Command= AT+CMGF=1\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:11: SEND-OK: Command= AT+CMGF=1\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMGF=1\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:12: Set SMS-Textmode Result= 0
####02/10/19-13:19:12: SUCCESS= Set SMS-Textmode
######02/10/19-13:19:12: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:12: SEND-Serial Before Open: Try= 0 / Command= AT+CPIN?\r / Expected Result= +CPIN: READY / Timeout= 10
######02/10/19-13:19:12: SUCCESS= Open Comport= file13
######02/10/19-13:19:12: ReadSerial: Expected-Result= +CPIN: READY / Matched= 1 / Message= AT+CPIN?\r\r\n+CPIN: READY\r\n\r\nOK\r\n
######02/10/19-13:19:13: SEND-Serial After Close: Command= AT+CPIN?\r / Expected Result= +CPIN: READY / Timeout= 10
######02/10/19-13:19:13: SEND-OK: Command= AT+CPIN?\r / Expected-Result= +CPIN: READY / Timeout= 10 / Result= AT+CPIN?\r\r\n+CPIN: READY\r\n\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:13: Check SIMPin Result= 0
####02/10/19-13:19:13: SUCCESS= Check SIMPin
######02/10/19-13:19:13: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:13: SEND-Serial Before Open: Try= 0 / Command= AT+CREG?\r / Expected Result= *CREG: ?,[15] / Timeout= 10
######02/10/19-13:19:13: SUCCESS= Open Comport= file13
######02/10/19-13:19:14: ReadSerial: Expected-Result= *CREG: ?,[15] / Matched= 1 / Message= AT+CREG?\r\r\n+CREG: 0,5\r\n\r\nOK\r\n
######02/10/19-13:19:14: SEND-Serial After Close: Command= AT+CREG?\r / Expected Result= *CREG: ?,[15] / Timeout= 10
######02/10/19-13:19:14: SEND-OK: Command= AT+CREG?\r / Expected-Result= *CREG: ?,[15] / Timeout= 10 / Result= AT+CREG?\r\r\n+CREG: 0,5\r\n\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:14: Check registered Result= 0
####02/10/19-13:19:14: SUCCESS= Provider registered
######02/10/19-13:19:15: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:15: SEND-Serial Before Open: Try= 0 / Command= AT+CSQ\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:15: SUCCESS= Open Comport= file13
######02/10/19-13:19:15: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CSQ\r\r\n+CSQ: 20,99\r\n\r\nOK\r\n
######02/10/19-13:19:15: SEND-Serial After Close: Command= AT+CSQ\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:15: SEND-OK: Command= AT+CSQ\r / Expected-Result= OK / Timeout= 10 / Result= AT+CSQ\r\r\n+CSQ: 20,99\r\n\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:16: Check Signal Strength= 0
####02/10/19-13:19:16: SUCCESS= Check Signal Strength
####02/10/19-13:19:16: ModemInit successfull
##02/10/19-13:19:16: CheckModem Result= 0
##02/10/19-13:19:16: SUCCESS= CheckModem
##02/10/19-13:19:16: Start ReadSMS
######02/10/19-13:19:16: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:16: SEND-Serial Before Open: Try= 0 / Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:16: SUCCESS= Open Comport= file13
######02/10/19-13:19:16: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMGL="ALL"\r\r\nOK\r\n
######02/10/19-13:19:16: SEND-Serial After Close: Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:16: SEND-OK: Command= AT+CMGL="ALL"\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMGL="ALL"\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:17: SMS-Read-List Result= 0
####02/10/19-13:19:17: SUCCESS= Read SMS-Messages
####02/10/19-13:19:17: No SMS found
##02/10/19-13:19:17: ReadSMS Result= 0
##02/10/19-13:19:17: SUCCESS= ReadSMS
##02/10/19-13:19:17: New Message(s)= aghzjkuzitu!
##02/10/19-13:19:17: Start InitSMSSend
######02/10/19-13:19:17: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:17: SEND-Serial Before Open: Try= 0 / Command= AT\r / Expected Result= OK / Timeout= 5
######02/10/19-13:19:17: SUCCESS= Open Comport= file13
######02/10/19-13:19:17: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT\r\r\nOK\r\n
######02/10/19-13:19:18: SEND-Serial After Close: Command= AT\r / Expected Result= OK / Timeout= 5
######02/10/19-13:19:18: SEND-OK: Command= AT\r / Expected-Result= OK / Timeout= 5 / Result= AT\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:18: Check Modem Result= 0
####02/10/19-13:19:18: SUCCESS= Check Modem
######02/10/19-13:19:18: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:18: SEND-Serial Before Open: Try= 0 / Command= AT+CMEE=2\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:18: SUCCESS= Open Comport= file13
######02/10/19-13:19:19: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMEE=2\r\r\nOK\r\n
######02/10/19-13:19:19: SEND-Serial After Close: Command= AT+CMEE=2\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:19: SEND-OK: Command= AT+CMEE=2\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMEE=2\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:19: Set Extended Errormessage Result= 0
####02/10/19-13:19:19: SUCCESS= Set Extended Errormessage
######02/10/19-13:19:20: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:20: SEND-Serial Before Open: Try= 0 / Command= AT+CMGF=1\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:20: SUCCESS= Open Comport= file13
######02/10/19-13:19:20: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMGF=1\r\r\nOK\r\n
######02/10/19-13:19:20: SEND-Serial After Close: Command= AT+CMGF=1\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:20: SEND-OK: Command= AT+CMGF=1\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMGF=1\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:21: Set SMS-Textmode Result= 0
####02/10/19-13:19:21: SUCCESS= Set SMS-Textmode
######02/10/19-13:19:21: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:21: SEND-Serial Before Open: Try= 0 / Command= AT+CPIN?\r / Expected Result= +CPIN: READY / Timeout= 10
######02/10/19-13:19:21: SUCCESS= Open Comport= file13
######02/10/19-13:19:21: ReadSerial: Expected-Result= +CPIN: READY / Matched= 1 / Message= AT+CPIN?\r\r\n+CPIN: READY\r\n\r\nOK\r\n
######02/10/19-13:19:21: SEND-Serial After Close: Command= AT+CPIN?\r / Expected Result= +CPIN: READY / Timeout= 10
######02/10/19-13:19:21: SEND-OK: Command= AT+CPIN?\r / Expected-Result= +CPIN: READY / Timeout= 10 / Result= AT+CPIN?\r\r\n+CPIN: READY\r\n\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:22: Check SIMPin Result= 0
####02/10/19-13:19:22: SUCCESS= Check SIMPin
######02/10/19-13:19:22: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:22: SEND-Serial Before Open: Try= 0 / Command= AT+CREG?\r / Expected Result= *CREG: ?,[15] / Timeout= 10
######02/10/19-13:19:22: SUCCESS= Open Comport= file13
######02/10/19-13:19:22: ReadSerial: Expected-Result= *CREG: ?,[15] / Matched= 1 / Message= AT+CREG?\r\r\n+CREG: 0,5\r\n\r\nOK\r\n
######02/10/19-13:19:23: SEND-Serial After Close: Command= AT+CREG?\r / Expected Result= *CREG: ?,[15] / Timeout= 10
######02/10/19-13:19:23: SEND-OK: Command= AT+CREG?\r / Expected-Result= *CREG: ?,[15] / Timeout= 10 / Result= AT+CREG?\r\r\n+CREG: 0,5\r\n\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:23: Check registered Result= 0
####02/10/19-13:19:23: SUCCESS= Provider registered
######02/10/19-13:19:23: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:23: SEND-Serial Before Open: Try= 0 / Command= AT+CSQ\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:23: SUCCESS= Open Comport= file13
######02/10/19-13:19:24: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CSQ\r\r\n+CSQ: 19,99\r\n\r\nOK\r\n
######02/10/19-13:19:24: SEND-Serial After Close: Command= AT+CSQ\r / Expected Result= OK / Timeout= 10
######02/10/19-13:19:24: SEND-OK: Command= AT+CSQ\r / Expected-Result= OK / Timeout= 10 / Result= AT+CSQ\r\r\n+CSQ: 19,99\r\n\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:19:24: Check Signal Strength= 0
####02/10/19-13:19:24: SUCCESS= Check Signal Strength
####02/10/19-13:19:24: ModemInit successfull
##02/10/19-13:19:24: InitSMSSend Result= 0
##02/10/19-13:19:24: SUCCESS= InitSMSSend
##02/10/19-13:19:24: SMS-Send= aghzjkuzitu! / Try= 0
######02/10/19-13:19:25: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:25: SEND-Serial Before Open: Try= 0 / Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:19:25: SUCCESS= Open Comport= file13
######02/10/19-13:19:25: ReadSerial: Expected-Result= AT+CMGS / Matched= 1 / Message= AT+CMGS="+49xxxxxx"\r\r\n> 
######02/10/19-13:19:25: SEND-Serial After Close: Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:19:25: SEND-OK: Command= AT+CMGS="+491xxxxxx"\r / Expected-Result= AT+CMGS / Timeout= 10 / Result= AT+CMGS="+491xxxxxx"\r\r\n>  / Read-Matched= 1
######02/10/19-13:19:26: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:19:26: SEND-Serial Before Open: Try= 0 / Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:19:26: SUCCESS= Open Comport= file13
######02/10/19-13:19:26: ReadSerial: Expected-Result= OK / Matched= 0 / Message= aghzjkuzitu!
######02/10/19-13:20:27: SEND-Serial After Close: Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:20:27: SEND-ERROR: Command= aghzjkuzitu! / Expected-Result= OK / Timeout= 60 / Result= aghzjkuzitu! / Read-Matched= -2
##02/10/19-13:20:32: SMS-Send= aghzjkuzitu! / Try= 1
######02/10/19-13:20:32: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:20:32: SEND-Serial Before Open: Try= 0 / Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:20:32: SUCCESS= Open Comport= file13
######02/10/19-13:20:32: ReadSerial: Expected-Result= AT+CMGS / Matched= 1 / Message= AT+CMGS="+491xxxxxx"\r\r\n> 
######02/10/19-13:20:32: SEND-Serial After Close: Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:20:32: SEND-OK: Command= AT+CMGS="+491xxxxxx"\r / Expected-Result= AT+CMGS / Timeout= 10 / Result= AT+CMGS="+491xxxxxx"\r\r\n>  / Read-Matched= 1
######02/10/19-13:20:33: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:20:33: SEND-Serial Before Open: Try= 0 / Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:20:33: SUCCESS= Open Comport= file13
######02/10/19-13:20:34: ReadSerial: Expected-Result= OK / Matched= 0 / Message= aghzjkuzitu!
######02/10/19-13:21:34: SEND-Serial After Close: Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:21:34: SEND-ERROR: Command= aghzjkuzitu! / Expected-Result= OK / Timeout= 60 / Result= aghzjkuzitu! / Read-Matched= -2
##02/10/19-13:21:39: SMS-Send= aghzjkuzitu! / Try= 2
######02/10/19-13:21:39: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:21:39: SEND-Serial Before Open: Try= 0 / Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:21:39: SUCCESS= Open Comport= file13
######02/10/19-13:21:39: ReadSerial: Expected-Result= AT+CMGS / Matched= 1 / Message= AT+CMGS="+491xxxxxx"\r\r\n> 
######02/10/19-13:21:40: SEND-Serial After Close: Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:21:40: SEND-OK: Command= AT+CMGS="+491xxxxxxxxxxxx"\r / Expected-Result= AT+CMGS / Timeout= 10 / Result= AT+CMGS="+491xxxxxx"\r\r\n>  / Read-Matched= 1
######02/10/19-13:21:41: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:21:41: SEND-Serial Before Open: Try= 0 / Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:21:41: SUCCESS= Open Comport= file13
######02/10/19-13:21:41: ReadSerial: Expected-Result= OK / Matched= 0 / Message= aghzjkuzitu!
######02/10/19-13:22:41: SEND-Serial After Close: Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:22:41: SEND-ERROR: Command= aghzjkuzitu! / Expected-Result= OK / Timeout= 60 / Result= aghzjkuzitu! / Read-Matched= -2
##02/10/19-13:22:46: SMS-Send= aghzjkuzitu! / Try= 3
######02/10/19-13:22:46: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:22:46: SEND-Serial Before Open: Try= 0 / Command= AT+CMGS="+49xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:22:46: SUCCESS= Open Comport= file13
######02/10/19-13:22:47: ReadSerial: Expected-Result= AT+CMGS / Matched= 1 / Message= AT+CMGS="+491xxxxxx"\r\r\n> 
######02/10/19-13:22:47: SEND-Serial After Close: Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:22:47: SEND-OK: Command= AT+CMGS="+491xxxxxx"\r / Expected-Result= AT+CMGS / Timeout= 10 / Result= AT+CMGS="+491xxxxxx"\r\r\n>  / Read-Matched= 1
######02/10/19-13:22:48: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:22:48: SEND-Serial Before Open: Try= 0 / Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:22:48: SUCCESS= Open Comport= file13
######02/10/19-13:22:48: ReadSerial: Expected-Result= OK / Matched= 0 / Message= aghzjkuzitu!\r\n+CMS ERROR: unknown error\r\n
######02/10/19-13:23:48: SEND-Serial After Close: Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:23:48: SEND-ERROR: Command= aghzjkuzitu! / Expected-Result= OK / Timeout= 60 / Result= aghzjkuzitu!\r\n+CMS ERROR: unknown error\r\n / Read-Matched= -2
##02/10/19-13:23:53: SMS-Send= aghzjkuzitu! / Try= 4
######02/10/19-13:23:54: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:23:54: SEND-Serial Before Open: Try= 0 / Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:23:54: SUCCESS= Open Comport= file13
######02/10/19-13:23:54: ReadSerial: Expected-Result= AT+CMGS / Matched= 1 / Message= AT+CMGS="+491xxxxxx"\r\r\n> 
######02/10/19-13:23:54: SEND-Serial After Close: Command= AT+CMGS="+491xxxxxx"\r / Expected Result= AT+CMGS / Timeout= 10
######02/10/19-13:23:54: SEND-OK: Command= AT+CMGS="+491xxxxxx"\r / Expected-Result= AT+CMGS / Timeout= 10 / Result= AT+CMGS="+491xxxxxx"\r\r\n>  / Read-Matched= 1
######02/10/19-13:23:55: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:23:55: SEND-Serial Before Open: Try= 0 / Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:23:55: SUCCESS= Open Comport= file13
######02/10/19-13:23:55: ReadSerial: Expected-Result= OK / Matched= 0 / Message= aghzjkuzitu!
######02/10/19-13:24:56: SEND-Serial After Close: Command= aghzjkuzitu! / Expected Result= OK / Timeout= 60
######02/10/19-13:24:56: SEND-ERROR: Command= aghzjkuzitu! / Expected-Result= OK / Timeout= 60 / Result= aghzjkuzitu! / Read-Matched= -2
##02/10/19-13:25:01: ERROR= SMS-Send
##02/10/19-13:25:01: Start SMS-ClearMemory
######02/10/19-13:25:01: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:25:01: SEND-Serial Before Open: Try= 0 / Command= AT+CMGD=4\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:01: SUCCESS= Open Comport= file13
######02/10/19-13:25:01: ReadSerial: Expected-Result= OK / Matched= 0 / Message= AT+CMGD=4\r
######02/10/19-13:25:01: ReadSerial: Expected-Result= OK / Matched= 1 / Message= \r\nOK\r\n
######02/10/19-13:25:02: SEND-Serial After Close: Command= AT+CMGD=4\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:02: SEND-OK: Command= AT+CMGD=4\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMGD=4\r\r\nOK\r\n / Read-Matched= 1
##02/10/19-13:25:02: SMS-ClearMemory Result= 0
##02/10/19-13:25:02: SUCCESS= SMS-ClearMemory
##02/10/19-13:25:03: Start ReadSMS
######02/10/19-13:25:03: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:25:03: SEND-Serial Before Open: Try= 0 / Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:03: SUCCESS= Open Comport= file13
######02/10/19-13:25:04: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMGL="ALL"\r\r\nOK\r\n
######02/10/19-13:25:04: SEND-Serial After Close: Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:04: SEND-OK: Command= AT+CMGL="ALL"\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMGL="ALL"\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:25:04: SMS-Read-List Result= 0
####02/10/19-13:25:04: SUCCESS= Read SMS-Messages
####02/10/19-13:25:04: No SMS found
##02/10/19-13:25:04: ReadSMS Result= 0
##02/10/19-13:25:04: SUCCESS= ReadSMS
##02/10/19-13:25:08: Start ReadSMS
######02/10/19-13:25:09: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:25:09: SEND-Serial Before Open: Try= 0 / Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:09: SUCCESS= Open Comport= file13
######02/10/19-13:25:09: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMGL="ALL"\r\r\nOK\r\n
######02/10/19-13:25:09: SEND-Serial After Close: Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:09: SEND-OK: Command= AT+CMGL="ALL"\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMGL="ALL"\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:25:10: SMS-Read-List Result= 0
####02/10/19-13:25:10: SUCCESS= Read SMS-Messages
####02/10/19-13:25:10: No SMS found
##02/10/19-13:25:10: ReadSMS Result= 0
##02/10/19-13:25:10: SUCCESS= ReadSMS
##02/10/19-13:25:13: Start ReadSMS
######02/10/19-13:25:13: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:25:13: SEND-Serial Before Open: Try= 0 / Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:13: SUCCESS= Open Comport= file13
######02/10/19-13:25:13: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMGL="ALL"\r\r\nOK\r\n
######02/10/19-13:25:13: SEND-Serial After Close: Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:13: SEND-OK: Command= AT+CMGL="ALL"\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMGL="ALL"\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:25:14: SMS-Read-List Result= 0
####02/10/19-13:25:14: SUCCESS= Read SMS-Messages
####02/10/19-13:25:14: No SMS found
##02/10/19-13:25:14: ReadSMS Result= 0
##02/10/19-13:25:14: SUCCESS= ReadSMS
##02/10/19-13:25:18: Start ReadSMS
######02/10/19-13:25:18: Execute Shell SUCCESS: Command= stty -F /dev/ttyUSB0 cs8 -parenb -cstopb clocal -echo raw speed 9600 / Return-Message= 9600
######02/10/19-13:25:18: SEND-Serial Before Open: Try= 0 / Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:18: SUCCESS= Open Comport= file13
######02/10/19-13:25:18: ReadSerial: Expected-Result= OK / Matched= 1 / Message= AT+CMGL="ALL"\r\r\nOK\r\n
######02/10/19-13:25:19: SEND-Serial After Close: Command= AT+CMGL="ALL"\r / Expected Result= OK / Timeout= 10
######02/10/19-13:25:19: SEND-OK: Command= AT+CMGL="ALL"\r / Expected-Result= OK / Timeout= 10 / Result= AT+CMGL="ALL"\r\r\nOK\r\n / Read-Matched= 1
####02/10/19-13:25:19: SMS-Read-List Result= 0
####02/10/19-13:25:19: SUCCESS= Read SMS-Messages
####02/10/19-13:25:19: No SMS found
##02/10/19-13:25:19: ReadSMS Result= 0
##02/10/19-13:25:19: SUCCESS= ReadSMS
#02/10/19-13:25:23: END

Matten Matten
Beiträge: 29
Registriert: 09.12.2018, 17:14
Kontaktdaten:

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von Matten Matten » 10.02.2019, 13:34

sobald ich das Modul ein wenig bewege kommen wieder diese Probleme... zufall?

Matten Matten
Beiträge: 29
Registriert: 09.12.2018, 17:14
Kontaktdaten:

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von Matten Matten » 11.02.2019, 15:15

Matten Matten hat geschrieben:
10.02.2019, 13:34
sobald ich das Modul ein wenig bewege kommen wieder diese Probleme... zufall?
Seid dem ich den empfohlenen COM<->USB Adapter hab werden alle SMS ordnungsgemäß
verarbeitet.

Gruß
Matten Matten

mule
Beiträge: 1001
Registriert: 06.07.2010, 00:24

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von mule » 11.02.2019, 15:31

Ich hatte Dir gestern eigentlich auch noch auf das gepostete Log geantwortet. Aber das Forum hatte wohl einige Probleme und die gepostete Antwort ist mittlerweile leider verschwunden.
Ursache für den 5fachen Versand der SMS war, dass das Versenden nicht mit "OK" seitens des Modems bestätigt wurde. Daher geht das Addon davon aus, das der Versand fehlerhaft war und versucht diesen bis zu 5x erneut.
Schön das es jetzt mit dem empfohlenen Adapter einwandfrei funktioniert.
Aktuelle Projekte:
Direkter SMS-Versand und -Empfang über CCU2&Raspberrymatic ohne Cloud:
viewtopic.php?f=31&t=39483

Automower (G2) steuern über Homematic per WLAN:
viewtopic.php?f=31&t=7295

Matten Matten
Beiträge: 29
Registriert: 09.12.2018, 17:14
Kontaktdaten:

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von Matten Matten » 12.02.2019, 16:35

ja, ich denke mal das der Adapter, denich hier noch rum fliegen hatte, einen defekt hat.

Sag mal ist es möglich irgendwie die Umlaute wie ÄÖÜ und ß zu decodieren, dass man diese in einer SMS integrieren kann?
momentan funktionieren diese Umlaute ja nicht.

Gruß
Matten Matten

mule
Beiträge: 1001
Registriert: 06.07.2010, 00:24

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von mule » 15.02.2019, 00:05

Umlaute sind leider nur schwer zu realisieren. Das Addon nutzt derzeit den sogenannten Textmode für den SMS-Versand. Hier stehen lediglich 7Bit für die Zeichenkodierung zur Verfügung und daher sind Umlaute im Standard nicht definiert. Man kann zwar versuchen sich eine SMS mit Umlauten zu zusenden und so dann ermitteln, welche Sonderzeichen man für welchen Umlaut verwenden müsste, aber ein korrekter Versand und Empfang sind damit auch nicht garantiert.
Wollte man es "richtig" machen, dann müsste man statt des Textmodes den sogenannten PDU-Mode nutzen. Hier ist aber der gesamte SMS-Versand 'ne Ecke komplexer, so dass sich der Aufwand im Verhältnis zum Nutzen einfach nicht lohnt.
Aktuelle Projekte:
Direkter SMS-Versand und -Empfang über CCU2&Raspberrymatic ohne Cloud:
viewtopic.php?f=31&t=39483

Automower (G2) steuern über Homematic per WLAN:
viewtopic.php?f=31&t=7295

TTBasti
Beiträge: 4
Registriert: 17.02.2019, 20:32

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von TTBasti » 17.02.2019, 20:35

Hallo,
stelle ich mich zu blöd?
Ich würde gerne das Logfile öffnen.
Jedoch bekomme ich die Fehlermeldung "Permission denied" wenn ich "etc/config/addons/messenger/messenger.log" in der Konsole eingebe.

mule
Beiträge: 1001
Registriert: 06.07.2010, 00:24

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von mule » 17.02.2019, 21:14

Meldest Du Dich per root an?

Mit welchem Editor versuchst Du denn zu öffnen? Nano?
Aktuelle Projekte:
Direkter SMS-Versand und -Empfang über CCU2&Raspberrymatic ohne Cloud:
viewtopic.php?f=31&t=39483

Automower (G2) steuern über Homematic per WLAN:
viewtopic.php?f=31&t=7295

TTBasti
Beiträge: 4
Registriert: 17.02.2019, 20:32

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von TTBasti » 18.02.2019, 22:48

mule hat geschrieben:
17.02.2019, 21:14
Meldest Du Dich per root an?

Mit welchem Editor versuchst Du denn zu öffnen? Nano?
Ich melde mich mit root@192.168.xxx.xxx und meinem Passowort an...
ich verwende für den ssh-Zugriff putty

mule
Beiträge: 1001
Registriert: 06.07.2010, 00:24

Re: Homematic-Steuerung per SMS-Kommandos und Benachrichtigung per SMS ohne Cloud-Anbieter!

Beitrag von mule » 19.02.2019, 00:25

Und dann gibst Du „nano“ + den zuvor genannten Pfad ein oder womit öffnest Du das Log?
Aktuelle Projekte:
Direkter SMS-Versand und -Empfang über CCU2&Raspberrymatic ohne Cloud:
viewtopic.php?f=31&t=39483

Automower (G2) steuern über Homematic per WLAN:
viewtopic.php?f=31&t=7295

Antworten

Zurück zu „HomeMatic Tipps & Tricks - keine Fragen!“