saussact / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Notifications #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There have to be a way for showing notifications, maybe in a popup box or maybe 
some Android OS style? A notification may be that a command can't be executed 
because the device is offline or doesn't respond. Or maybe that the front door 
is opened. The user have to be able to create own rules for showing 
notification on certain circumstances.

Original issue reported on code.google.com by mishoboss on 27 Apr 2011 at 7:43

GoogleCodeExporter commented 9 years ago
Hi,

i am not familiar with android, but if there is an app which can show prowl 
messages you are almost done. You can create your own rules an let openHAB send 
Prowl-messages to inform you about that instantly.

I have attached a rule which sends a prowl message when a window is opened in 
the bathroom and sends another message when all windows in the bathroom are 
closed. Please notice that the given rule-style is only valid with release 
0.6.0. The style changed a little bit in the current head-version. 

Does that feature meet your requirement?

Original comment by teichsta on 27 Apr 2011 at 8:02

Attachments:

GoogleCodeExporter commented 9 years ago
Besides Prowl you can also use XMPP/Jabber in rules by using the XMPP.send(to, 
message) command. Furthermore you can also send e-mails through 
Mail.sendMail(to, subject, message).

I am actually using all three options, depending on the type of event.

Original comment by kai.openhab on 27 Apr 2011 at 7:02

GoogleCodeExporter commented 9 years ago
Another remark: You might be asking to have event pop-ups in the UI itself; as 
the current UI is primarily targeted at mobile devices (i.e. smartphones), I do 
not think that such a feature would bring much value (Prowl is the better 
choice here as you get notifications even if you do not have the UI running).

For a "wall-mount" UI, I agree that there should be notification mechanism 
available in the UI itself (so that one could pop up the picture of the webcam, 
if somebody rings the doorbell). Hence I plan to implement such a feature for 
the upcoming tablet UI.

Is that fine for you?

Original comment by kai.openhab on 27 Apr 2011 at 7:07

GoogleCodeExporter commented 9 years ago
Hi guys, sorry for the late answer. Yes, I speak about notifications showing on 
the web UI. However XMPP/Jabber/Prowl/Mail are really nice options. Maybe 
integrating one of these as client in the UI is the better approach than 
writing push notification engine from the ground?

Original comment by mishoboss on 2 May 2011 at 7:07

GoogleCodeExporter commented 9 years ago
we also think using existing frameworks is fare more efficient that developing 
from scratch

Original comment by teichsta on 9 Jun 2011 at 9:25