rule "Push Notification"
when
Item PushNotification received command
then
logInfo("PushNotification", "In the next line, a pushnotification will be executed")
pushNotification("PN-test", "This is a test for openHAB push notifications")
logInfo("PushNotification", "In the previous line, pushNotification was executed")
end
--
You received this message because you are subscribed to the Google Groups "my.openHAB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to myopenhab+...@googlegroups.com.
To post to this group, send email to myop...@googlegroups.com.
Visit this group at http://groups.google.com/group/myopenhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/myopenhab/786c69d9-8e2f-414b-8805-7a16acb99e0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
But just out of curiosity; what is the PushNotification() for?
--
You received this message because you are subscribed to the Google Groups "my.openHAB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to myopenhab+...@googlegroups.com.
To post to this group, send email to myop...@googlegroups.com.
Visit this group at http://groups.google.com/group/myopenhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/myopenhab/169e2543-0f20-46ad-ad85-0b1653e18e87%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/myopenhab/4536cf55-7636-47f0-bf26-53549083e4bb%40googlegroups.com.