Perhaps I am a bit thick, but I have been reading the documentation for the xmppclient binding (which seems a bit sparse, at least to me) and I cannot seem to get it working.
I have put the following into conf/things/default.things:
Bridge xmppclient:xmppBridge:xmpp "XMPP Client" [ username="openhab", domain="example.com", password="mypassword" ] {
Channels:
Trigger String : xmpp_command
}
Do I need to set up anything else (channels, actions, etc.?)
I made the following rule:
rule "send_XMPP_on_front_door_open"
when
Item mysensors_door_7830485_tripped changed from CLOSED to OPEN
then
actions.publishXMPP("notification_address@example.com","Front door opened.")
end
I am looking at the logs in the console, and it looks like the rule did fire, but then it gives this error:
10:39:08.574 [ERROR] [untime.internal.engine.RuleEngineImpl] - Rule 'send_XMPP_on_front_door_open': An error occurred during the script execution: index=0, size=0
I tried to get more logs out of xmppclient by doing the following:
log:set DEBUG org.openhab.binding.xmppclient
but that did not seem to help.
Perhaps I need to enable more logging from the rule engine?
I have searched and searched, even read the sources and asked in IRC, all to no avail, and I’m starting to get frustrated. So I figure it’s time to wave the white flag (temporarily) and ask for help, in the hopes that some kind soul might be able to point me in some productive direction…