This set of actions allows you to send a message to an XMPP user or multi-user chat, or send a message with an attachment to an XMPP user.
sendXMPP(String to, String message): Sends a message to an XMPP user
sendXMPP(String to, String message, String attachmentUrl): Sends a message with an attachment to an XMPP user
chatXMPP(String message): Sends a message to a multi user chat
The XMPP Action service can be configured in
|username||The username of the XMPP account used by openHAB. Most services will require that you use only the localpart of the account’s JID. For example if your accounts JID is
|password||The password of the XMPP account used by openHAB|
|servername||The XMPP service to use, e.g.
||No||The Security mode used for the XMPP connection. Can be either
|tlspin||The TLS Pin used to verify the XMPP service’s certificate. Set this in case openHAB’s default
|proxy||The XMPP Proxyserver to use, e.g.
||The server port to use|
|consoleusers||A comma-separated list of users that are allowed to use the XMPP console|
|chatroom||The multi user chat to join, e.g.
||No||The nickname used in the multi-user chat|
|chatpassword||The password required to join the multi user chat|
Note: openHAB does not resolve SRV entries like other XMPP clients do, you have to setup the server details manually. Generally, if
[email protected] is your XMPP user ID and
xmpp.example.net points to the server running the service, set
servername to the actual server
xmpp.example.net, the user name
proxy to the domain name part of your user ID
servername=talk.google.com securitymode=required # You need this "tlspin" if openhab cannot verify the certificat from the google server tlspin=CERTSHA256:9e670d6624fc0c451d8d8e3efa81d4d8246ff9354800de09b549700e8d2a730a proxy=gmail.com [email protected] password=mysecret # you may need to add the cryptic talk.google.com address of your private google account to the allowed users # check you openhab.log to found the address after you send something via Hangouts to your openHAB account [email protected],[email protected]