Push notification plugin for HomeWave

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.

What is you setting on the General Tab? I also missed this step. :slight_smile:

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.

[quote=“aboyz, post:62, topic:176855”]What is you setting on the General Tab? I also missed this step. :slight_smile:

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.[/quote]

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.

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

@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.

[quote=“aboyz, post:65, topic:176855”]@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.[/quote]

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

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.

  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

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.

The Push plugin for HomeWave is now available in the Vera app store!

Anything different to the version in this thread ?

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.

No difference from the version posted in a zip file earlier.

Thanks a lot for this nice feature and plugin.

Is there any advantage going through VeraAlerts instead of only using HomeWave Push?

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.

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?

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…

[quote=“intveltr, post:1, topic:176855”]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

[ul][li]Download the attached Zip file and extract the 4 files.[/li]
[li]On your Vera’s UI, go Apps->Develop Apps->Luup Files[/li]
[li]Under Upload Files, specify the 4 plugin files, tick Restart Luup after upload, and click Go[/li]
[li]Wait for Vera to reboot[/li][/ul]

[ul][li]Go Apps->Develop Apps->Create Device[/li]
[li]Enter a name for the device in the Description field, for example “HomeWave Push”[/li]
[li]In the Upnp Device Filename field, enter D_HWPush1.xml[/li]
[li]Click Create Device, then click the Reload button to restart the Vera engine.[/li][/ul]

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
[tt]luup.call_action(“urn:intvelt-com:serviceId:HWPush1”, “SendMessage”, {Msg = “Bla”}, deviceid)[/tt]

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

[ul][li]Open the VeraAlerts device and switch to the Settings tab.[/li]
[li]On the Settings tab, switch to Plugin Forwarding[/li]
[li]Enter the following values:

  • ServiceID: [tt]urn:intvelt-com:serviceId:HWPush1[/tt]
  • Action: [tt]SendMessage[/tt]
  • Args: [tt]Msg=“{Message}”[/tt]
  • Device ID: the device ID of the HomeWave Push device
    [/li][/ul]

You may want to set Default Recipients (under General) to Forward[/quote]

sorry i do not see the 4 zip files.

I have removed them; the app can now be installed from the MiOS App Store.

[quote=“intveltr, post:1, topic:176855”]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
[tt]luup.call_action(“urn:intvelt-com:serviceId:HWPush1”, “SendMessage”, {Msg = “Bla”}, deviceid)[/tt]

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

[ul][li]Open the VeraAlerts device and switch to the Settings tab.[/li]
[li]On the Settings tab, switch to Plugin Forwarding[/li]
[li]Enter the following values:

  • ServiceID: [tt]urn:intvelt-com:serviceId:HWPush1[/tt]
  • Action: [tt]SendMessage[/tt]
  • Args: [tt]Msg=“{Message}”[/tt]
  • Device ID: the device ID of the HomeWave Push device
    [/li][/ul]

You may want to set Default Recipients (under General) to Forward[/quote]