The Vera Community forums have moved!

General => Remote Control => HomeWave (iOS) => Topic started by: intveltr on September 10, 2013, 06:37:08 pm

Title: Push notification plugin for HomeWave
Post by: intveltr on September 10, 2013, 06:37:08 pm
I've thrown together a Vera plugin to make sending push notifications to HomeWave a little easier.  This plugin works with the VeraAlerts plugin as well!

The plugin is now available in the Vera app store

Installing manually
You are now ready to set up the device.


Setting up
The device you just created should be on your dashboard, with the text "No valid Push ID"
Open the device, enter your Push ID into the appropriate field, and click Set

No need to "escape" special characters or spaces in your push ID, just enter it exactly as you specified it in HomeWave's settings.

Now click Test.  A test message should arrive on your iPhone.


Sending messages with Luup code

To send Push messages from Scenes, use the luup code below
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Bla"}, deviceid)

Be sure to substitute deviceid with the ID of the HomeWave Push device, and replace Bla with the message you want to send.


Using with VeraAlerts
You may want to set Default Recipients (under General) to Forward
Title: Re: Push notification plugin for HomeWave
Post by: shmixx on September 10, 2013, 10:41:56 pm
intveltr, thanks for putting this together!!

I attempted installing this just now but seem to be hitting a stumbling block. I've gotten the files uploaded, created the device, but when the device appears, it doesn't show the "No push ID". When opening the device, there doesn't seem to be a Push ID field either to modify. Not sure if perhaps something isn't configured quite right on my side, or in the files? Any ideas?
Title: Re: Push notification plugin for HomeWave
Post by: futzle on September 10, 2013, 10:49:30 pm
The most common user errors when creating devices are:
- Uploading the files wrong (for instance, by doing it with Internet Explorer).
- Misspelling the device filename when creating the device. Capitalization is important. No leading or trailing spaces is important.
Title: Re: Push notification plugin for HomeWave
Post by: Gjones on September 11, 2013, 05:14:20 am
Hi intveltr

all installed and test messages are being sent by veraalerts but device changes don't appear to be working as it was with the push plugin to prowl. I'll have to look again later

Thanks
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on September 11, 2013, 07:08:43 am
I attempted installing this just now but seem to be hitting a stumbling block. I've gotten the files uploaded, created the device, but when the device appears, it doesn't show the "No push ID". When opening the device, there doesn't seem to be a Push ID field either to modify. Not sure if perhaps something isn't configured quite right on my side, or in the files? Any ideas?

As suggested, make sure that you entered the exact filename (D_HWPush1.xml) into the Upnp Device Filename field.  If you open your device's properties, the advanced tab should show this filename under device_file.

Also try a restart of your vera followed by a refresh of your browser; sometimes it is necessary to make the devices appear correctly.

lastly check that you indeed uploaded all 4 files. (Check under Apps->Develop Apps->Luup Files
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on September 11, 2013, 07:11:56 am
all installed and test messages are being sent by veraalerts but device changes don't appear to be working as it was with the push plugin to prowl. I'll have to look again later

Check that VeraAlerts is set up to send all notifications to the HomeWave Push Plugin.  Open VeraAlerts, check under Settings, General tab, and see if "Forward" is listed as a default recipient.  Test by sending a test message from VeraAlerts with the Recipients field left blank.  Not sure how VeraAlerts works, but you may also have to open the Notification Configuration tab, then save the device config (just like you have to after adjusting notifications).
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on September 11, 2013, 07:33:29 am
Sorry folks ... I keep forgetting to release a fix ... The default Settings in Vera Alerts Plugin (for System Notifications and to Forward Standard Vera Notifications) are actually NOT defined even though they look like they are set!  You must manually toggle them to the correct position the very first time.
Title: Re: Push notification plugin for HomeWave
Post by: Gjones on September 11, 2013, 07:34:47 am
Looks to be working now. Need some more activity at home to check I'm getting all the same alerts.

Thanks
Title: Re: Push notification plugin for HomeWave
Post by: Piwtorak on September 11, 2013, 08:16:11 am
Working perfect for me, thanks Intveltr !
Title: general question about push service.
Post by: nullx8 on September 11, 2013, 02:51:12 pm
is there a limit of messages/day allowed ? (server side)

just Courious
Title: Re: general question about push service.
Post by: intveltr on September 11, 2013, 03:11:29 pm
is there a limit of messages/day allowed ? (server side)

just Courious

No, spam away!
Title: Re: Push notification plugin for HomeWave
Post by: shmixx on September 11, 2013, 10:35:53 pm
I attempted installing this just now but seem to be hitting a stumbling block. I've gotten the files uploaded, created the device, but when the device appears, it doesn't show the "No push ID". When opening the device, there doesn't seem to be a Push ID field either to modify. Not sure if perhaps something isn't configured quite right on my side, or in the files? Any ideas?

As suggested, make sure that you entered the exact filename (D_HWPush1.xml) into the Upnp Device Filename field.  If you open your device's properties, the advanced tab should show this filename under device_file.

Also try a restart of your vera followed by a refresh of your browser; sometimes it is necessary to make the devices appear correctly.

lastly check that you indeed uploaded all 4 files. (Check under Apps->Develop Apps->Luup Files

Think I found my mistake this time. I'm new to the whole developing apps piece (if it wasn't already indicated by my forum status! ;)) and the Vera for that matter. It seems I needed to enter this into both the Device Type field and the Upnp Device Filename field. Once I did this it seems to have worked perfectly. On to testing now!

Thanks for the support, and the great app!! Keep up the phenomenal work ... after seeing all the iOS and Android options out there, yours by far takes the cake with design and functionality!
Title: Re: Push notification plugin for HomeWave
Post by: dbmet on September 12, 2013, 09:43:18 am
This works great!!

I wonder if there is anyway to make the badges show up on the icon?
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on September 12, 2013, 10:48:36 am
I wonder if there is anyway to make the badges show up on the icon?

Not yet :)  The Push service for HomeWave will have to count notifications and set the badge number, then reset the count when you open HomeWave.  I'll give it a go
Title: Re: Push notification plugin for HomeWave
Post by: dbmet on September 12, 2013, 10:50:12 am
No Hurry. Thanks for all your hard work!!
Title: Re: Push notification plugin for HomeWave
Post by: shmixx on September 21, 2013, 12:01:14 am
Has anyone managed to get this working with the Vera Alerts plugin? I'm trying to leverage the capabilities of VeraAlerts (grabbing the same MCV notifications in notifications section) and have them forward to HomeWave push, but to no avail. It seems each time I got to input the Forwarding info, then save, the details get wiped out each time. Is there something I'm missing?
Title: Re: Push notification plugin for HomeWave
Post by: shmixx on September 21, 2013, 12:09:39 am
Sorry, just a dumb user. Too late to be working on Vera and Automation.  ;)

RTM - Found the missing piece was specifying Forward in the default destination. Now it stuck and seems to be working.
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on September 25, 2013, 04:08:34 pm
I must be making a mistake somewhere. The device was created successfully, entered my push id (same as on my iphone, a mixture of letters and numbers 23 characters), the device is showing 'ready' now. When i click on settings, push id is blank, but under it in current is the right push id. I press the test button (under test button is 'ready', nothing happens. I entered this luup code into test luup code:
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Bla"}, 299) 299 being my device id, i get the message 'message sent', but nothing coming through on my iphone, if i have homewave open or not.
Probably some silly little mistake...
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on September 25, 2013, 07:06:59 pm
Did you use any weird characters in your push ID? Try a push ID with only letters, numbers and spaces, maybe that helps.  If not, please PM me your push ID and I will check the database
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on September 26, 2013, 05:48:58 am
Only using letters and numbers, i will pm you, thanks
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on September 27, 2013, 07:40:16 am
I finally got it all working (thanks intveltr). Its brilliant. Have changed all my notifications now from Prowl to Homewave and Push plugin

Love the app, well worth paying for !
Title: Re: Push notification plugin for HomeWave
Post by: triangledave on September 28, 2013, 09:38:41 pm
I've got push notifications set up and working well.  Currently I have push alerts to verify alarm arming and if alarm is triggered.  However, these alerts are triggered by scenes being activated.  Technically, they alert me a scene has occurred.  The updated version of Homewave lets me see my alarm status and directly arm and disarm alarm.

Is there a way to have the push notifications based on actual alarm state (being armed, disarmed and triggered), and not based on a scene being triggered?

Thanks,

David
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on September 28, 2013, 11:00:38 pm
If you use Vera Alerts ... and forward the Normal Vera Notifications to the Push Plugin ....


Then you just add a Notification to the Alarm Device for the conditions you are interested in.

Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on September 29, 2013, 03:13:54 am
I tried for some time yesterday to find a thread where i can find a 'how to' to forward messages from Vera Alert to the push plugin. I found one thread, but i did not see anything as to what to fill in the forward part of then Vera Alert plugin. Is there something on here ?
Title: Re: Push notification plugin for HomeWave
Post by: avstraq on September 29, 2013, 09:49:10 am
Set it up this morning and it's working perfectly! (I'm using this in conjunction with the Vera Alerts plugin.)
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on September 29, 2013, 10:29:42 am
Quote
If you use Vera Alerts ... and forward the Normal Vera Notifications to the Push Plugin

I think i am nearly there, but i am not sure what to put in Plugin Args:

This is what i have done so far:

Title: Re: Push notification plugin for HomeWave
Post by: avstraq on September 29, 2013, 01:31:11 pm
Mikee, it's in the very first post of this thread :) Type this in Plugin Args

Msg="{Message}"
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on September 29, 2013, 08:41:11 pm
@Mikee123

Look at:
http://forum.micasaverde.com/index.php/topic,13207.msg101112.html#msg101112

I recommend the following:
   1) In the Vera Alerts Plugin Settings:
       Toggle Both the Internal Alerts and Process Notifictions.
       Then set them where you want them ... then save.
   2) Make the changes to the forward args from post above.
   3) On Vera Alerts Send Alerts Tab.
       Send an alert.
If you have problems send me the log file during step 3.
   http://You.Vera.IP.Address/cgi-bin/cmh/log.sh?Device=LuaUPnP

If you get this working ... please post back your settings.
I will capture these and start to document forward procedures for the various plugins.
Title: Re: Push notification plugin for HomeWave
Post by: triangledave on September 29, 2013, 09:14:16 pm
Thanks!  I won't have time until next week to get Vera Alerts up and running, but that sounds like a pretty good fit.
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on October 01, 2013, 01:27:25 pm
I updated the Vera Alerts Documentation for those that want to use it to forward to your IOS Phone.
http://RTS-Services.com/Vera/Plugin/VeraAlerts#Forwarding
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on October 01, 2013, 04:53:58 pm
@RichardTSchaefer

I looked at your new instructions and found one mistake i made. I am using Push plugin for Homewave. So i changed everything, but it is still not sending any message (i tried in send alert, with recipients blank and with 'Forward' in recipients, with a test message entered in message)
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on October 01, 2013, 06:04:36 pm
Send the log output (discussed a few replies earlier)
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on October 02, 2013, 02:30:06 pm
@RichardTSchaefer

I have sent an email with the log, please let me know if you need more. I can see something in red on there which might explain the problem.
Title: Re: Push notification plugin for HomeWave
Post by: guynouk on October 03, 2013, 03:36:33 pm
Hello intveltr
Many thanks for the plugin. Does this need the VeraAlerts plugin to work?
If not then although I've setup exactly as you described in Post #1 I can't get past the "No valid push ID" message and so can't send the Test message. I've checked that the Luup files are uploaded, restarted and device file names and types are all correct and that the Push ID's have no special characters and match in the Plugin and iPhone.
Any ideas what my problem could be?

Thanks
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on October 03, 2013, 03:44:33 pm
The plugin works by itself.

No idea why it wouldn't work.  Check that the Push ID is at least 20 characters, and also check the device's variables (the push ID should beth visible there also)
Title: Re: Push notification plugin for HomeWave
Post by: guynouk on October 03, 2013, 04:32:36 pm
Thanks for the advice.
I didn't realise the Push ID had to be 20 characters. I changed my push ID's on my iPhone and in the Homewave Push plugin, waited a few mins and now the test messages come thru immediately. Brilliant this stuff. Thanks again.

Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on October 03, 2013, 05:31:18 pm
@mikee123

Never received the email ...
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on October 03, 2013, 05:41:35 pm
No idea why you did not get it, maybe had the wrong email, i have done it again and put it in a pm. Hope that works
Title: Re: Push notification plugin for HomeWave
Post by: bucko on October 03, 2013, 09:38:03 pm
Hello intveltr

Your plug in works nicely. Thank you for all your great work.

I have a small suggestion for you. Can you have a log section in Homewave, maybe in the home page, so that as these alerts come in and are acknowledged, get listed?
I would like to be able to go back a view a history of these alerts coming in. Similar to the Prowl set up.
This would help when de bugging scemes or PLEG activities.

Thanks
Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on October 04, 2013, 03:35:37 am
does the Plugin Queue(ing) if the internet is not avaiable ?
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on October 04, 2013, 03:48:18 am
@bucko: that's planned, but it does require changes to the push server as well as the app.

@nullx8: no, the plugin as well as the push server are very basic, just fire and forget.  Don't count on it being 100% reliable!  I do have plans for improving the service.
Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on October 04, 2013, 04:45:40 am
@nullx8: no, the plugin as well as the push server are very basic, just fire and forget.  Don't count on it being 100% reliable!  I do have plans for improving the service.

yeah, i was planning on using push to notify me on power outages,
have to figure out a way to checking on the Internet Connectivity ....
maybe i start on a Mikrotik Plugin .. (have done it in PHP already ... luup is well ... 'odd' :P )
 
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on October 04, 2013, 06:16:08 am
@RichardTSchaefer

I have set up my forwarding to device 299 (see attached picture) so i have got no idea why the plugin tries to forward to 305
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on October 04, 2013, 09:26:48 am
I may be misreading the log ... I do see a reference to 299.
 
Whose plugin are you using ? There are a couple ...
The error indicates it can't find the service you listed ...
So maybe you are not using the plugin from @intvetlr

I see you had a problem (Reply #17) if calling the LUUP directly does not work ...
the forwarding will not work.  Can you post the details from the Advanced Page of device #299
Title: Re: Push notification plugin for HomeWave
Post by: mikee123 on October 04, 2013, 10:13:56 am
Device params
name     Homewave Push
device_type    urn:schemas-intvelt-com:device:HWPush:1
device_file  D_HWPush1.xml
id  299
time_created  1380138772
local_udn  uuid:4d494342-5342-5645-012b-00000217a516
PushStatus   Ready
PushID  mypushid

waht i have not listed is either blank or not relevant

this plugin works fine sending alerts to my iphone
Title: Re: Push notification plugin for HomeWave
Post by: Schuffelen on October 06, 2013, 11:57:01 am
Seems I have a weird problem. I added homewave pushnotifications after using prowl, it works nicely on my ipad but doesn,t seems to work on the iphone i have the 4s iphone and both are running on latest ios.

Anyone has a clue? The iphone and ipad are configured exactly the same. Ios is vesion 7.02

Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on October 06, 2013, 10:49:09 pm
you have different id's or use the same ?

if you use the same, this may be the issue 1 device = 1 id
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on October 07, 2013, 02:18:07 am
You should be able to use the same push ID on multiple iPhones.  The messages will be sent to all devices.

Sometimes the app fails to register with the push service or with Apple.  After making sure the push ID is correct, try closing and stopping the app completely, then restart it.
Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on October 07, 2013, 02:48:12 am
You should be able to use the same push ID on multiple iPhones.  The messages will be sent to all devices.

my delivery problems where solved instantly after using different id's for different devices.
maybe this is somethings about the delivery confirmations beeing returned to apple.

same thing happens for SMS ... the message is there but you not see them if you not searching for them if opened on another device already.

its most likely the same thing
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on October 07, 2013, 03:56:18 am
It's possible to use the same ID; each device gets a unique push token from Apple, then registers that token at the HomeWave push server against the chosen Push ID.  When a message is pushed, the server will send it to all devices registered under the incoming Push ID.

Keep in mind that changing the push ID will re-register the phone at the push server; it essentially accomplishes the same as killing and restarting the app.
Title: Re: Push notification plugin for HomeWave
Post by: Schuffelen on October 07, 2013, 05:41:18 am
You should be able to use the same push ID on multiple iPhones.  The messages will be sent to all devices.

Sometimes the app fails to register with the push service or with Apple.  After making sure the push ID is correct, try closing and stopping the app completely, then restart it.

I did this 3 times earlier and thought give it a last shot today and to my surprise  it is working now. Thanks!!
By the way I am using same Push ID for both ipad and iPhone

Again thanks
Title: Re: Push notification plugin for HomeWave
Post by: akashk on October 10, 2013, 03:39:35 pm
Hello intveltr

Your plug in works nicely. Thank you for all your great work.

I have a small suggestion for you. Can you have a log section in Homewave, maybe in the home page, so that as these alerts come in and are acknowledged, get listed?
I would like to be able to go back a view a history of these alerts coming in. Similar to the Prowl set up.
This would help when de bugging scemes or PLEG activities.

Thanks

Along with the log section, possible to display the time stamp for the event on the notification?
Title: Re: Push notification plugin for HomeWave
Post by: aboyz on October 10, 2013, 05:28:56 pm
I'm getting no push ID. Anyone know what is a PUSH ID? do I just enter a random one in there? Or where do I get one? Please advise.

I tried to enter 8888 as my push ID  on the vera portal and homewave app setting and it is not working.
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on October 10, 2013, 06:29:16 pm
You choose your own Push ID of at least 20 characters and enter it in the plugin and in HomeWave settings.  Then it should work
Title: Re: Push notification plugin for HomeWave
Post by: aboyz on October 10, 2013, 07:01:42 pm
intveltr:

thanks!! working like a charm. needed to enter 20 characters for my push ID. Maybe you should put that down on the first page.

I trigger one of my sensor. but i do not recieve an notification from the homewave push? anyone know why? I do still get the unit notification from email.

thanks..
Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on October 10, 2013, 07:07:05 pm
Is there a simple test I can do to trigger one of my device and see if i get the push notification?

get the device ID .. (in advanced tab of the Push device)

then go to Apps -> Develop Apps -> Test Luup code (Lua)
paste THIS in the box
Code: [Select]
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Blah Blah 114"}, 114)

(where 114 is to be replaced with the device ID you got before)
click "GO"

Smile and Wait.
Title: Re: Push notification plugin for HomeWave
Post by: aboyz on October 10, 2013, 07:09:12 pm
Is there a simple test I can do to trigger one of my device and see if i get the push notification?

get the device ID .. (in advanced tab of the Push device)

then go to Apps -> Develop Apps -> Test Luup code (Lua)
paste THIS in the box
Code: [Select]
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Blah Blah 114"}, 114)

(where 114 is to be replaced with the device ID you got before)
click "GO"

Smile and Wait.

the Homewave Push notificaion is working. What I wanted to do is when my sensor is tripped it will use the homewave push notification. How would I accomplish this? do I need to install the Vera Alert?
Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on October 10, 2013, 07:19:19 pm
the Homewave Push notificaion is working. What I wanted to do is when my sensor is tripped it will use the homewave push notification. How would I accomplish this? do I need to install the Vera Alert?

just create a scene ..
put the Luup code there ..
add a trigger .. select the door .. and the state
thats it

(you can select armed device) then it wont send messages if you not want to.
Title: Re: Push notification plugin for HomeWave
Post by: aboyz on October 10, 2013, 10:48:05 pm
Everything is working good with Vera Alert + Homewave Push.

I missed the last step. to

You may want to set Default Recipients (under General) to Forward

So I change the Default Recipients under General to Forward and it is working now.
Title: Re: Push notification plugin for HomeWave
Post by: akashk on October 11, 2013, 09:39:13 am
@intveltr...any chance that you could incorporate time stamp on the notifications? Along with badges, log history and the time stamp this would be perfect.
Man, am I greedy or what!! ;D ;D
Title: Re: Push notification plugin for HomeWave
Post by: bsteimel on October 11, 2013, 12:19:29 pm
I can't seem to get the push notification function to work.  I formerly had automator.app functioning with push notifications and had overridden the default alert system on the vera, I have since verified that I have removed that and set it back to default.  I used this command and received an "OK" response
http://LOCALVERAIP3480/data_request?id=variableset&Variable=AltEventServer&Value=

My push ID is bphonetwenty12345678.  I have it set on the phone and the vera app says ready.  When i try to send a message i don't get anything on the phone.  All of the files are loaded.  The app was created per your instructions with the correct device filename: D_HWPush1.xml.  The device id is 26 and i put that in the luup code.

luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Blah Blah 26"}, 26)

I have restarted the vera luup system as well as vera.  I have also restarted the homewave app on the phone.   I also did a hard restart on the phone.  I'm all out of ideas.
Title: Re: Push notification plugin for HomeWave
Post by: aboyz on October 11, 2013, 06:47:53 pm
What is you setting on the General Tab? I also missed this step. :)

You may want to set Default Recipients (under General) to Forward

So I change the Default Recipients under General to Forward and it is working now.
Title: Re: Push notification plugin for HomeWave
Post by: bsteimel on October 12, 2013, 12:09:22 am
What is you setting on the General Tab? I also missed this step. :)

You may want to set Default Recipients (under General) to Forward

So I change the Default Recipients under General to Forward and it is working now.

where is the general tab?  I don't see a general tab in vera.  It's only control, advanced and settings.  I'm in IOS and the app has no tabs in either the settings or the app itself

I'm not using vera alert.  I didn't think this needed vera alert if you were using IOS.  You can simply call it from luup code for scenes.
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on October 12, 2013, 07:27:15 am
Setting Default Recipients to Forward is done in the General subtab of the Settings tab for the Vera Alerts plugin.

The Vera Alerts plugin is not needed. You can invoke the Push notifications from LUA code and/or the advanced tab of scenes. But if you want to invoke a Push notification from the Notifications tab of any Vera device ... you will want to use Vera Alerts
Title: Re: Push notification plugin for HomeWave
Post by: aboyz on October 12, 2013, 11:10:00 am
@bsteimel

It should work, if you follow the instruction correctly. Its pretty simple to setup and I'm looking at your screen shot everything seem ok. Try to go over the instruction again and use a different PUSH ID. Make sure to save the changes.

Title: Re: Push notification plugin for HomeWave
Post by: bsteimel on October 29, 2013, 10:17:00 am
@bsteimel

It should work, if you follow the instruction correctly. Its pretty simple to setup and I'm looking at your screen shot everything seem ok. Try to go over the instruction again and use a different PUSH ID. Make sure to save the changes.

Thanks aboyz.  I think I will delete everything related to the app and retry.

update: i did just that and now it seems to be working.  Weird everything was the same except that i didn't use numbers in my pushid, don't know if it makes a difference 
Title: Re: Push notification plugin for HomeWave
Post by: cue003 on December 17, 2013, 10:51:12 am
I would like to use this instead of the standard Vera notifications since those notifications takes sometimes hours to show up after the event took place.  In my case it is all around my front door lock and when certain codes etc are entered then I want notification for both 2 different people on 2 iOS devices.

I have now gotten the TEST aspect of this working and I am receiving pop ups on my phone.  Couple of questions please for those that have this FULLY working:

1) I have homewave on my phone and put my pushid within the app.  If I install the homewave on my wives phone do I use the same pushid?  What happens if I only want certain alerts/notifications to only come to me and some only to here but yet others to both of us?  How is that done?

2) I also have the VeraAlerts app installed on my Vera Lite and have put in the proper information under the Profiles tab of the app for plugin forwarding (information in there is for the home wave stuff).  What else do I need to do?  I see check boxes for process notifications and internal alerts but I am unsure as to what they refer to.

3) I do not have any scenes etc created.  I have my lock and I want to be able get a notification when a certain code is entered into the door.  Must I create a scene?.. I just want the notification not a scene per say. 

4) is there a way to use these notifications/alerts thru veraAlerts and HomeWave and turn off the notifications so that I do not get the alerts from micasaverde several hours later?  -- My thought is that I will need to go into the ACCOUNT section of Micasaverde and turn off (uncheck) the box for send me an email under email settings and uncheck the box for send me a text under phone settings.  Is that correct?  By doing this will I only get messages from VeraAlerts/Homewave only and not the standard micasa approach?

Please help.  Thanks in advance.  I am anxious to get this working and look forward to hopefully getting the notifications on a much more timely manner after the event has been triggered.
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on December 17, 2013, 01:41:31 pm
1) You can use the same Push ID to receive messages on both phones, or set up a different Push ID.  In that case you'd have to set up 2 Push plugins as well (one for each ID), but I am not even sure if the plugin supports that, it is still kind of beta.  I'll have a look at that.  I am also not sure if VeraAlerts supports forwding to multiple plugins.

2) To see if you have configured VeraAlerts correctly for HomeWave, try sending a test message from VeraAlerts first.  Then switch to Settings in VeraAlerts and make sure your username is associated woth your profile.  Then see point 3.

3) Go to your lock device and click Notifications.  Add a notification for the appropriate event and have it sent to your username.  Switch to the VeraAlerts device, open the Notifications tab, close it again, and hit Save. Now VeraAlerts should take care for forwarding the lock's notification to HomeWave.

4) Not sure about this.  Better check the plugins section of this forum, there's a separate subforum for VeraAlerts
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on December 17, 2013, 05:38:33 pm
One of my use cases for the last revisions to Vera Alerts was to support multiple IPhone users using multiple
profiles (can be multiple forwarding profiles).

If you allow users to specify the PUSH-ID in the luup.call_action ... They can use a single profile
and pass that in the message string as: {PUSH-ID:XXXXXX}
Where PUSH-ID is the name of your plugin parameter, and XXXXXX is the user ID for their phone.

If you allow multiple plugin-ins they can have a unique Vera Alters profile for each user phone, that is is associated with the unique plug-in for each phone.

Title: Re: Push notification plugin for HomeWave
Post by: intveltr on January 03, 2014, 10:49:07 am
The Push plugin for HomeWave is now available in the Vera app store!
Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on January 03, 2014, 12:10:03 pm
Anything different to the version in this thread ?
Title: Re: Push notification plugin for HomeWave
Post by: benr on January 03, 2014, 12:24:55 pm
Just found this yesterday in the app store. Installed fine and setup went smoothly. I sent a test notification and that came through, but so far that is all I have done with it.
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on January 03, 2014, 12:36:55 pm
No difference from the version posted in a zip file earlier.
Title: Re: Push notification plugin for HomeWave
Post by: Freddan101 on January 05, 2014, 02:28:34 am
Thanks a lot for this nice feature and plugin.

Is there any advantage going through VeraAlerts instead of only using HomeWave Push?
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on January 05, 2014, 06:41:07 am
If you use notifications in many different places, VeraAlert makes it a lot easier to manage it all.  Writing Luup is not required, and you can have it use Vera's notification system so you can generate notifications directly from devices without having to create notification scenes.
Title: Re: Push notification plugin for HomeWave
Post by: DaveH28 on January 05, 2014, 06:48:13 pm
I have reviewed the messages in this thread a few times but I can't seem to make it work. I can get the home wave test message to work using the home wave plugin. But I can not get anything out of vera alerts. I just installed it today and I followed the previous instructions and entered the four lines of info for plugin forwarding.

Previously I was getting a message on the home screen that vera alerts was not configured, so I closed out the browser and reopened and now it says "plugin forwarding" with the date and time, but when I try to send a test message from send alert I get nothing. I know I'm probably missing a setup somewhere.

Any ideas? Should I post in the vera alert forum since it's not a homewave issue?
Title: Re: Push notification plugin for HomeWave
Post by: DaveH28 on January 05, 2014, 08:46:20 pm
Richard got everything sorted out for me!
Thanks again Richard!

BTW it was basically a simple mistake where I had entered the homewave push id where I was supposed to enter the home wave device id#. In case anyone else has trouble..
Title: Re: Push notification plugin for HomeWave
Post by: waltzer11 on January 12, 2014, 06:02:07 pm
I've thrown together a Vera plugin to make sending push notifications to HomeWave a little easier.  This plugin works with the VeraAlerts plugin as well!

The plugin is now available in the Vera app store

Installing manually
  • Download the attached Zip file and extract the 4 files.
  • On your Vera's UI, go Apps->Develop Apps->Luup Files
  • Under Upload Files, specify the 4 plugin files, tick Restart Luup after upload, and click Go
  • Wait for Vera to reboot
  • Go Apps->Develop Apps->Create Device
  • Enter a name for the device in the Description field, for example "HomeWave Push"
  • In the Upnp Device Filename field, enter D_HWPush1.xml
  • Click Create Device, then click the Reload button to restart the Vera engine.
You are now ready to set up the device.


Setting up
The device you just created should be on your dashboard, with the text "No valid Push ID"
Open the device, enter your Push ID into the appropriate field, and click Set

No need to "escape" special characters or spaces in your push ID, just enter it exactly as you specified it in HomeWave's settings.

Now click Test.  A test message should arrive on your iPhone.


Sending messages with Luup code

To send Push messages from Scenes, use the luup code below
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Bla"}, deviceid)

Be sure to substitute deviceid with the ID of the HomeWave Push device, and replace Bla with the message you want to send.


Using with VeraAlerts
  • Open the VeraAlerts device and switch to the Settings tab.
  • On the Settings tab, switch to Plugin Forwarding
  • Enter the following values:
    - ServiceID: urn:intvelt-com:serviceId:HWPush1
    - Action: SendMessage
    - Args: Msg="{Message}"
    - Device ID: the device ID of the HomeWave Push device
You may want to set Default Recipients (under General) to Forward

sorry i do not see the 4 zip files.
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on January 13, 2014, 04:30:43 am
I have removed them; the app can now be installed from the MiOS App Store.
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on January 13, 2014, 04:35:39 am
I've thrown together a Vera plugin to make sending push notifications to HomeWave a little easier.  This plugin works with the VeraAlerts plugin as well!

The plugin is now available in the Vera app store

Go to Apps->Install Apps and search for Homewave.


Setting up
The device you just created should be on your dashboard, with the text "No valid Push ID"
Open the device, enter your Push ID into the appropriate field, and click Set

No need to "escape" special characters or spaces in your push ID, just enter it exactly as you specified it in HomeWave's settings.

Now click Test.  A test message should arrive on your iPhone.


Sending messages with Luup code

To send Push messages from Scenes, use the luup code below
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Bla"}, deviceid)

Be sure to substitute deviceid with the ID of the HomeWave Push device, and replace Bla with the message you want to send.


Using with VeraAlerts
  • Open the VeraAlerts device and switch to the Settings tab.
  • On the Settings tab, switch to Plugin Forwarding
  • Enter the following values:
    - ServiceID: urn:intvelt-com:serviceId:HWPush1
    - Action: SendMessage
    - Args: Msg="{Message}"
    - Device ID: the device ID of the HomeWave Push device
You may want to set Default Recipients (under General) to Forward
Title: Re: Push notification plugin for HomeWave
Post by: waltzer11 on January 14, 2014, 04:24:55 pm
Setting Default Recipients to Forward is done in the General subtab of the Settings tab for the Vera Alerts plugin.

The Vera Alerts plugin is not needed. You can invoke the Push notifications from LUA code and/or the advanced tab of scenes. But if you want to invoke a Push notification from the Notifications tab of any Vera device ... you will want to use Vera Alerts

hi Richard, i dont have a Gemera; subtab of the Settings tab. i am attaching a PDF picture of it.
Title: Re: Push notification plugin for HomeWave
Post by: waltzer11 on January 14, 2014, 04:27:33 pm
Setting Default Recipients to Forward is done in the General subtab of the Settings tab for the Vera Alerts plugin.

The Vera Alerts plugin is not needed. You can invoke the Push notifications from LUA code and/or the advanced tab of scenes. But if you want to invoke a Push notification from the Notifications tab of any Vera device ... you will want to use Vera Alerts

hi Richard, i dont have a Gemera; subtab of the Settings tab. i am attaching a PDF picture of it.

sorry i hit the button too soon without attaching the PDF, here it is and no General subtab in the Settings tab
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on January 14, 2014, 04:52:20 pm
They are referring to a tab for the Vera Alerts plugin.
Title: Re: Push notification plugin for HomeWave
Post by: waltzer11 on January 14, 2014, 07:07:42 pm
They are referring to a tab for the Vera Alerts plugin.

i know - the picture that i attached is Vera Alerts Plugin and not Homewave Push Plugin. i should not have named the attached "homewave Push. please look at the attached again. ( renamed it Vera Alerts Plugin).i am not getting anywhere. my iphone is not sounding at all. my PushID is properly setup on my iphone and HomeWave Push plugin. give me some clue please.
Title: Re: Push notification plugin for HomeWave
Post by: RichardTSchaefer on January 14, 2014, 07:31:53 pm
Click the "Process Notifications"
Also Click your user name on the left and associate it with the Profile on the right.

It's also more efficient to post the output from the "Report" command. It summarizes everything related to notifications.
 
Title: Re: Push notification plugin for HomeWave
Post by: Jnickell100 on February 06, 2014, 09:18:25 pm
Im not sure about anyone else, but ive been working on this for a while and cannot get it to work. Ive downloaded the homewave plug in for push notifications and thats about it. What is my push ID? Ive set my push ID( a 20 character key right?)
 The Homewave plugin shows as "ready" but when i test, nothing happens.  Is there anything else i need to set up in vera to get this working?
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on February 07, 2014, 03:50:35 am
Did you set the same Push ID on Vera and in HomeWave?  If so, please send a PM with your Push ID and I'll check the database to see if everything is registered correctly
Title: Re: Push notification plugin for HomeWave
Post by: BulldogLowell on February 07, 2014, 10:44:45 am
Sorry folks ... I keep forgetting to release a fix ... The default Settings in Vera Alerts Plugin (for System Notifications and to Forward Standard Vera Notifications) are actually NOT defined even though they look like they are set!  You must manually toggle them to the correct position the very first time.

@RichardTSchaefer, is there a way to send a message within PLEG with Homewave Push Plugin?  I see the option to select the device and the send message, but where would I enter the text to send?
Title: Re: Push notification plugin for HomeWave
Post by: Jnickell100 on February 13, 2014, 09:49:32 pm
Did you set the same Push ID on Vera and in HomeWave?  If so, please send a PM with your Push ID and I'll check the database to see if everything is registered correctly

I believe so, ive been playing around with it here and there for awhile now and cant get it to work. Is there a better or more detailed instruction.
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on February 14, 2014, 05:07:03 am
Update your plugin with the XML file in this post: http://forum.micasaverde.com/index.php/topic,23100.msg157218.html#msg157218  (Update in the MiOS app store is still Pending Approval)

After uploading this file and restarting your Vera, you'll be able to enter the text to send in the scene's Advanced tab.
Title: Re: Push notification plugin for HomeWave
Post by: Jnickell100 on February 15, 2014, 04:39:52 pm
Can you please give a step by step tutorial? I have followed the instructions and cant get the push notifications working. Im new to this so its a little more difficult for me.
Title: Re: Push notification plugin for HomeWave
Post by: d55m14 on February 27, 2014, 06:10:53 am
Hi intveltr,

I'm using push notification plugin for Homewave .

Is there a function to log the message relative to push notification as I can in Prowl with the timestamp ?

Thanks

Donato
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on February 27, 2014, 03:56:41 pm
No, not yet
Title: Re: Push notification plugin for HomeWave
Post by: huveu on February 27, 2014, 06:23:50 pm
Just switched to this from the VeraAlerts plugin with PushOver. I wasn't using any of VeraAlerts fancy features, so this works just as well and lets me open the app with one click from the notification ;D

Message log and timestamp would be a nice added bonus. However, iOS already provides that (almost) on the Notification Center for the last 1-5-10 notifications.
Title: Re: Push notification plugin for HomeWave
Post by: BulldogLowell on February 27, 2014, 07:02:38 pm
Just switched to this from the VeraAlerts plugin with PushOver. I wasn't using any of VeraAlerts fancy features, so this works just as well and lets me open the app with one click from the notification ;D

Message log and timestamp would be a nice added bonus. However, iOS already provides that (almost) on the Notification Center for the last 1-5-10 notifications.

Yeah, this is a terrific component of HomeWave.  Plus, you don't have to go through yet another piece of software (pushover) to get your notifications.

The timestamp on the sent time would be nice, I agree.  I usually use my iPhone's Do Not Disturb overnight and it is nice to be able to tell at which time the notification was actually generated.

intveltr, many thanks for a great app.  Adding in the iPhone locator and the ability to do a push notification within PLEG was a great add...

Title: Re: Push notification plugin for HomeWave
Post by: guest140520 on March 07, 2014, 10:20:13 am
The timestamp would be really nice. Especially when using "do not disturb".

Also do you think it is possible to use different (custom) ring tones and priority with the notifications?
Title: Re: Push notification plugin for HomeWave
Post by: haavard on March 31, 2014, 05:34:55 am
Hi intveltr
I have just started to use your push notification plugin and find it very useful!
Previously I have used the automator app push application. I like the fact that the notification takes me directly to HomeWave.
Could it be possible to take this a step further? So if I send a notification to my phone that someone is at the door, I can be taken to the camera section of the homewave app?
And is it possible to customize what sound is played when the push is received?

I have noticed that there sometimes is a delay before the notification is delivered to the phone. Is there any specific reason for this? Can it be reduced somehow? I was planing on notifying if someone is at the door, but if the delay is > 10 seconds I think it is hard to do. Other times the notification is delivered almost instant.

thanks for your work on this app.

regards
Title: Re: Push notification plugin for HomeWave
Post by: K-Rock on August 08, 2014, 09:05:03 pm
Within the notification is it possible to include the value from a device like the Temp from a sensor?
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on August 09, 2014, 03:11:08 pm
You can send sensor values if you use Luup code to read the value and then send a push message with that value.
Title: Re: Push notification plugin for HomeWave
Post by: K-Rock on August 09, 2014, 06:28:29 pm

You can send sensor values if you use Luup code to read the value and then send a push message with that value.

I'm new to the Luup code. Can you give an example. From that I will be able to do the rest.

Thanks!
Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on August 09, 2014, 08:33:23 pm
I'm new to the Luup code. Can you give an example. From that I will be able to do the rest.

its really simple actually

the code to send somethings is like thiis
Code: [Select]
local outmsg = "blahblah"
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = outmsg}, 114)
this will send "blahblah" to your push device with id 114

to add a value (in my example a Kilowatts value) just do this
Code: [Select]
local meterID = 72
local kwh = luup.variable_get("urn:micasaverde-com:serviceId:EnergyMetering1", "KWH", meterID)

luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Water Pump Power use "..kwh.." Kw/h"}, 113)

and so on ..
pretty simple
Title: Re: Push notification plugin for HomeWave
Post by: K-Rock on August 09, 2014, 11:52:23 pm
I'm new to the Luup code. Can you give an example. From that I will be able to do the rest.

its really simple actually

the code to send somethings is like thiis
Code: [Select]
local outmsg = "blahblah"
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = outmsg}, 114)
this will send "blahblah" to your push device with id 114

to add a value (in my example a Kilowatts value) just do this
Code: [Select]
local meterID = 72
local kwh = luup.variable_get("urn:micasaverde-com:serviceId:EnergyMetering1", "KWH", meterID)

luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Water Pump Power use "..kwh.." Kw/h"}, 113)

and so on ..
pretty simple

I really appreciate the example and I get all of it except for the serviceId for setting the variable.  Where do I find that at?

Thanks
Title: Re: Push notification plugin for HomeWave
Post by: nullx8 on August 10, 2014, 02:37:27 am
Its in settings for each device
Title: Re: Push notification plugin for HomeWave
Post by: K-Rock on August 10, 2014, 10:15:30 am
Its in settings for each device

I figured it was in settings, but not sure of which parm.
Your jpeg is blank.

Can you please upload it again?

Thanks
Title: Re: Push notification plugin for HomeWave
Post by: K-Rock on August 12, 2014, 07:25:05 pm
Its in settings for each device
Which parm is it?
Title: Re: Push notification plugin for HomeWave
Post by: K-Rock on August 13, 2014, 09:33:08 pm
Its in settings for each device
Which parm is it?

Figured out the ServiceID - you have to hover over for it to be shown.
Title: Re: Push notification plugin for HomeWave
Post by: simonk83 on August 20, 2014, 05:35:55 am
Any issues with the service at the moment?  Haven't received anything at all today (emails are still coming through, and it was working yesterday)...
Title: Re: Push notification plugin for HomeWave
Post by: goldriver on October 18, 2014, 06:12:20 pm
Hi intveltr
I have just started to use your push notification plugin and find it very useful!
Previously I have used the automator app push application. I like the fact that the notification takes me directly to HomeWave.
Could it be possible to take this a step further? So if I send a notification to my phone that someone is at the door, I can be taken to the camera section of the homewave app?
And is it possible to customize what sound is played when the push is received?

I have noticed that there sometimes is a delay before the notification is delivered to the phone. Is there any specific reason for this? Can it be reduced somehow? I was planing on notifying if someone is at the door, but if the delay is > 10 seconds I think it is hard to do. Other times the notification is delivered almost instant.

thanks for your work on this app.

regards

have you found a way to change the sound notification on your iphone ?
Title: Re: Push notification plugin for HomeWave
Post by: mbc2237 on October 29, 2014, 03:49:59 pm
I have this currently setup through the Homewave Push and Vera Alert.  It is working just fine.  However, now i get a text message and a push notification sent at the same time since i have the notifications setup for text. 

I would like to be able to control what texts are sent.  For instance, the time stamp feature and the "saving" ability of a text is preferred on certain notifications but only a few.  The rest i would ONLY like a push notification.  Is this possible?

The push setup is ONLY being done because i hate that the sending number for texts are sequentially generated.  So for my 10-15 alerts a day, i have to go in and delete each one in my text messages.  If there is a way to simply group them all together into one "sender," i would just go that route but i don't think that is an option. 
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on October 31, 2014, 10:12:33 am
I'm not sure what the best method is, but you could set up an additional dummy user on your Vera, and use that one to sed push notifications to.
Title: Re: Push notification plugin for HomeWave
Post by: mbc2237 on October 31, 2014, 01:39:44 pm
Took me a few days but i think i have it figured out.  Testing now.  If other people care about this, I'll post my process.
Title: Re: Push notification plugin for HomeWave
Post by: Opt2bout on November 07, 2014, 10:41:13 am
I just got my Vera a few days ago and it wouldn't set up.  It would seem that Vera is transitioning the web setup for UI7 (instead of Mios, they refer you to getvera.com whose login doesn't work with the old UI5?) So with help from the forums, got UI7 up and updated and everything worked great.

Now I have HomeWave ;D   But on the push forwarding the instructions don't seem to map to what I'm seeing on the Vera UI interface.

I know UI7 is new and still in beta, but are there any other steps I should be taking?

Title: Re: Push notification plugin for HomeWave
Post by: hmspain on January 22, 2015, 10:18:04 pm
I'll just ask, because I'm missing the obvious... how do you configure VeraAlerts to work with Homewave Push plugin?

I setup the 20 character Push ID string in Homewave Push plugin (I guess any string will do), and the test button works perfectly.  I expected to see a "Homewave Push" option in VeraAlerts, but nope.  I used Vera-Alerts-Lan and Vera-Alerts-Mobile, but I can see that's not correct.

Today, I just have Email sent on any alert, which works fine.  I would like to do the push to Homewave in addition to the Email.

I thought I had the problem licked when it complained about 2 license limit.  I upped my license to 3.  Still no push notifications.
Title: Re: Push notification plugin for HomeWave
Post by: hmspain on January 22, 2015, 10:38:35 pm
I'll just ask, because I'm missing the obvious... how do you configure VeraAlerts to work with Homewave Push plugin?

I setup the 20 character Push ID string in Homewave Push plugin (I guess any string will do), and the test button works perfectly.  I expected to see a "Homewave Push" option in VeraAlerts, but nope.  I used Vera-Alerts-Lan and Vera-Alerts-Mobile, but I can see that's not correct.

Today, I just have Email sent on any alert, which works fine.  I would like to do the push to Homewave in addition to the Email.

I thought I had the problem licked when it complained about 2 license limit.  I upped my license to 3.  Still no push notifications.

I found the answer in the author's web page RTFM :-) ...  http://www.intvelt.com/wordpress/push-notifications/

So, once the Homewave Push plugin is setup and successfully sending to Homewave via the test button, all you have to do it follow the web page (above) to finish the configuration.

Make sure to use the Homewave Push Plugin "id" and not the "plugin" number when you configure Plugin Forwarding in VeraAlerts.
Title: Re: Push notification plugin for HomeWave
Post by: Hoffan72 on August 20, 2015, 04:42:36 pm

Is it only for me it stops work to get push to my Phone.

Its work yesterday with no problems..
Title: Re: Push notification plugin for HomeWave
Post by: goldriver on August 20, 2015, 05:30:51 pm
It's not working for me neither, it was working yesterday but since... no more notification
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on August 20, 2015, 07:59:12 pm
The Push certificates have expired.  I'll fix it tomorrow.  Maybe ;)
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on August 21, 2015, 02:42:46 pm
It's working again!
Title: Re: Push notification plugin for HomeWave
Post by: actran70 on August 21, 2015, 07:45:23 pm
Intveltr, thanks for fixing push alerts.  I prefer your alerts to the OOTB Vera notifications.

On a related topic, how do I download my own sounds to the Homewave app so I can use as part of a push alert?
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on August 21, 2015, 07:53:33 pm
Unfortunately that's not possible; the sounds have to be baked into the app to be usable for push messages
Title: Re: Push notification plugin for HomeWave
Post by: Hoffan72 on August 29, 2015, 04:43:15 am

Hi

Is it possible to set what sound i would like to play true luup code and is it possible to turn of the sound

luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "Bla"}, 999)
Title: Re: Push notification plugin for HomeWave
Post by: Gr8hifi on September 04, 2015, 01:49:26 am
Did you ever have any luck with the badges?  Push is working great for me by the way!
Title: Re: Push notification plugin for HomeWave
Post by: Hoffan72 on October 10, 2015, 06:34:52 pm


Did you ask me ??
Title: Re: Push notification plugin for HomeWave
Post by: crimsondr on November 23, 2015, 08:36:48 am
Just discovered this plug after switching from Android to iPhone.  On Android I used VeraAlerts and it was great.  Glad I found this as a replacement on iOS.

One request, is it possible to log the notifications HomeWave receives so that we can view the history?  Similar to how VeraAlerts does it on Android?

Thanks again!  Setup was painless.
Title: Re: Push notification plugin for HomeWave
Post by: CudaNet on February 23, 2016, 12:54:21 pm
@intveltr

I'm about to mount an iPad on a wall in the hallway and it "seems" the only way I can wake the unit up (without hitting the home button or other means) using Vera/openLuup is via your Push notification plugin (works perfect in openluup btw). I have a motion sensor in that hallway, the sensor would trigger a Push notification to Homewave and wake up the iPad. Basically if you approach the iPad, it's awake and showing Homewave for quick access etc. For those wondering, I'm going to lock down the iPad using Guided Access (comes free with the IOS).

I don't want to remove functionality or block messages/sounds etc within General Settings/Homewave, rather expand on what's already there. A system of sorts that allows the home automation to lightly control functions of Homewave via a keyword.

Code: [Select]
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "x"}, DevID)

- ServiceID: urn:intvelt-com:serviceId:HWPush1
- Action: SendMessage
- Args: Msg="{Message}"
- Device ID: the device ID of the HomeWave Push device

Not sure how limited Apple is with Push notifications or IF an additional parameter (other than SendMessage) can be sent but I'll assume it can't in these examples. Therefore let's say we only have the ability to send a message (keyword). Would it be possible to configure keywords on Homewave to perform certain actions - sort of similar to what the Google Calendar plugin does. For instance, we'd need a keyword, an action and some options (sound, timers, lock screen etc.)

Code: [Select]
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "[wakeup]"}, DevID)
In this case, silence and no action as we only want to wake up the iPad.

Code: [Select]
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "[doorbell]"}, DevID)
And in this case, the doorbell sound and an action to display a camera setup w/in HW then return to normal screen after x seconds.

Code: [Select]
luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "[security]"}, DevID)
And in this case, perhaps have a either an alarm sound or no sound (silent alarm) and immediately lock the display requiring a password.


Thoughts ?
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on February 25, 2016, 04:16:16 am
I can see how that would be useful.  The only issue is that the app does not receive any info on notifications until the incoming message is clicked, or unless the app is already running in the foreground.  HomeWave will not be able to do anything with an incoming notification if the iPad is on its lock screen, unless Apple changed something in the way they handle this. 
Title: Re: Push notification plugin for HomeWave
Post by: CudaNet on February 25, 2016, 01:50:03 pm
In the case of using Guided Access [https://support.apple.com/en-us/HT202612 (https://support.apple.com/en-us/HT202612)], from what I can tell - it appears (to me at least) HomeWave is always running in the foreground/kiosk mode and won't require an access code when/if you wake the unit up. It will remain this way until one of 3 things occurs.

[1] The end user forcefully reboots the iPad (sleep/wake + home button). Guided access is no longer running but you will have to re-enter an access code to access the iPad.
[2] The end user triple hits the home button, enters an access code and pauses/ends Guided access.
[3] Power outage occurs in excess of battery, that is - unless you're running on UPS.

In my case, my unit is powered 24/7 via POE w/backup UPS. When the iPad is sleeping, a Push notification immediately wakes it up showing HomeWave. I've noticed that if a Push wakes up the unit, the message dialog doesn't appear (but does appear on the today/widget screen) as it would if the iPad was awake (perhaps this poses a problem, I'm not sure).

I realize this setup dedicates an iPad to controlling HA device(s) so this might appear a niche and expensive management solution. For me, I haven't seen a single product or remote app come close to HW so I have no issues whatsoever with the investment.

I can see how that would be useful.  The only issue is that the app does not receive any info on notifications until the incoming message is clicked, or unless the app is already running in the foreground.  HomeWave will not be able to do anything with an incoming notification if the iPad is on its lock screen, unless Apple changed something in the way they handle this.
Title: Re: Push notification plugin for HomeWave
Post by: adrenaln on February 25, 2016, 05:33:40 pm

Thoughts ?

Why let the iPad sleep at all? I have the same setup and just let the iPad stay on 24/7
Title: Re: Push notification plugin for HomeWave
Post by: CudaNet on February 25, 2016, 05:41:25 pm
Personal preference and for others this might be an issue due to brightness which may cause a distraction at night if it can be seen from a bedroom. I think of it as a setting that is no different than that of a Nest Protect - courtesy light on bright if motion detected, dim or all together off.


Thoughts ?

Why let the iPad sleep at all? I have the same setup and just let the iPad stay on 24/7
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on February 26, 2016, 07:27:16 am
If the message box doesn't appear when the iPad is asleep, that means that we can't pass information directly to HomeWave through our push messages, even when in Kiosk mode.  Too bad, as that limits the application pretty much to being woken up by a push message.

One option would be to add some stuff to let Vera talk to HomeWave directly.  Once the push message wakes up the iPad and start HomeWave, it could check the information coming from Vera and act accordingly, for example by checking designated (virtual) switches.  You'd still need the push message to actually wake up the iPad

It's not really a niche application; I notice that a lot of people are using wall mounted iPhones, or use an iPad on a magnetic wall mounted charger as a control panel.
Title: Re: Push notification plugin for HomeWave
Post by: CudaNet on February 26, 2016, 06:22:53 pm
Perhaps I should have opened a new thread so others can join in on the discussion. Would love to hear how others would use this feature. Oh well, it seemed like the appropriate place at the time since it was originally in regards to expanding the capability of Push. Regardless, it sounds like your approach will definitely overcome the problem and allow Vera and HW to interact with one another. I've noticed the big push these days is an all-in-one solution. I feel restricted in solutions like that (they look really nice) and enjoy having two components that mesh so I'm excited to see where this goes. My only request regarding Push is having a no sound option, this way I can remain flexible on discerning between approach and actual events (e.g. doorbell).

One option would be to add some stuff to let Vera talk to HomeWave directly.  Once the push message wakes up the iPad and start HomeWave, it could check the information coming from Vera and act accordingly, for example by checking designated (virtual) switches.  You'd still need the push message to actually wake up the iPad

Niche was probably a poor choice of words and perhaps naive on my part. My wife and I carried our iPads around what seemed like forever (1 - 1.5 years) before finally deciding that mounting one central within the house just made sense. Wish I would have done it much sooner.
Quote
It's not really a niche application; I notice that a lot of people are using wall mounted iPhones, or use an iPad on a magnetic wall mounted charger as a control panel.
Title: Re: Push notification plugin for HomeWave
Post by: adrenaln on February 27, 2016, 01:58:06 am
Personal preference and for others this might be an issue due to brightness which may cause a distraction at night if it can be seen from a bedroom. I think of it as a setting that is no different than that of a Nest Protect - courtesy light on bright if motion detected, dim or all together off.

I see your point, I wonder if it's possible for intveltr to completely dim the iPad display via the sleep settings in the app rather than slightly dim as it does currently? Otherwise, I can't see this being possible by letting the iPad sleep.
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on February 27, 2016, 04:07:39 am
Completely dimming the screen doesn't seem possible, nor can an app suspend the device as far as I know
Title: Re: Push notification plugin for HomeWave
Post by: CudaNet on February 27, 2016, 09:05:09 am
In Guided Access mode, the dim occurs at approximately 8 minutes. The remaining 2 minutes will eventually put the device to sleep. From what I've read, this used to be configurable via Apple but I guess it's since been removed and we're forced to live with 10 minutes.

Personal preference and for others this might be an issue due to brightness which may cause a distraction at night if it can be seen from a bedroom. I think of it as a setting that is no different than that of a Nest Protect - courtesy light on bright if motion detected, dim or all together off.

I see your point, I wonder if it's possible for intveltr to completely dim the iPad display via the sleep settings in the app rather than slightly dim as it does currently? Otherwise, I can't see this being possible by letting the iPad sleep.
Title: Re: Push notification plugin for HomeWave
Post by: intveltr on March 01, 2016, 06:13:29 am
Next version will have a Silent sound :)
Title: Re: Push notification plugin for HomeWave
Post by: mbc2237 on March 01, 2016, 10:38:52 am
SWEET!
Title: Re: Push notification plugin for HomeWave
Post by: CudaNet on March 01, 2016, 11:17:54 am
Thank you ...

Next version will have a Silent sound :)