Jump to content


Photo
- - - - -

Notifications Not Working


  • Please log in to reply
28 replies to this topic

#1 tannebil

tannebil

    Cocooner

  • Registered
  • PipPip
  • 82 posts
  • Location:Washington State
  • Experience:average
  • Tech:Z-Wave, ZigBee
  • Audio:AirPlay

Posted 17 June 2013 - 09:21 PM

Suddenly, I'm not getting notifications for anything happening in the controller.  If I do a "Send Test Notification" in HaikuHelper the notification appears but not for anything else.  I was getting notifications for every sensor trip which is what I wanted for testing purposes but starting today, I'm getting nothing.

 

I did an arm/disarm and the notifications appeared on the Mac running HH but nothing on my iOS devices.

 

Everything shows green in HH for the controller.

 

I've tried disabling/enabling notifications in Haiku on the iPhone and iPad I'm using for testing but it didn't have any effect.

 

Update: I tried deleting/installing Haiku from my iPhone 4S but it didn't have any effect.  I also added a piece of code to my HH script to send a notification.  The notification appeared in Notifications on the Mini but nothing was delivered to my iOS devices. 


Edited by tannebil, 17 June 2013 - 11:10 PM.


#2 lupinglade

lupinglade

    Cocoonut

  • Manufacturers
  • PipPipPipPip
  • 1514 posts
  • Experience:guru
  • Software:Custom
  • Hardware:HAI OmniPro II, Custom
  • Tech:UPB, INSTEON, Z-Wave, ZigBee, Custom
  • Audio:Nuvo
  • Video:AirPlay
  • CCTV:ip, dvr
  • Phone:Asterisk

Posted 17 June 2013 - 11:27 PM

Check to make sure push notifications are enabled in HaikuHelper for your controller and that the relevant notification types are also enabled.

#3 tannebil

tannebil

    Cocooner

  • Registered
  • PipPip
  • 82 posts
  • Location:Washington State
  • Experience:average
  • Tech:Z-Wave, ZigBee
  • Audio:AirPlay

Posted 17 June 2013 - 11:58 PM

Everything looks OK.  Everything is checked.  The odd part is that the test notification works.  Here's some screen prints.

 

https://www.dropbox....r settings.tiff

 

https://www.dropbox....ifications.tiff

 

https://www.dropbox....roller log.tiff



#4 tannebil

tannebil

    Cocooner

  • Registered
  • PipPip
  • 82 posts
  • Location:Washington State
  • Experience:average
  • Tech:Z-Wave, ZigBee
  • Audio:AirPlay

Posted 18 June 2013 - 01:45 AM

Restarting Haiku did not resolve the problem but a reboot of the server did (at least for the moment).

 

Now I can go back to trying to figure out why proximity detection works great on my 4S (T-Mobile) but sucks on my wife's 4S (AT&T). AT&T has better coverage in the area so you'd think it would work better.  Mark me down as voting for an option to use an WiFi SSID to determine proximity rather than geo-fencing.



#5 lupinglade

lupinglade

    Cocoonut

  • Manufacturers
  • PipPipPipPip
  • 1514 posts
  • Experience:guru
  • Software:Custom
  • Hardware:HAI OmniPro II, Custom
  • Tech:UPB, INSTEON, Z-Wave, ZigBee, Custom
  • Audio:Nuvo
  • Video:AirPlay
  • CCTV:ip, dvr
  • Phone:Asterisk

Posted 18 June 2013 - 12:40 PM

Geo-fencing should already use SSID as well, but its all in Apple's code, we have no control over it.

#6 tannebil

tannebil

    Cocooner

  • Registered
  • PipPip
  • 82 posts
  • Location:Washington State
  • Experience:average
  • Tech:Z-Wave, ZigBee
  • Audio:AirPlay

Posted 18 June 2013 - 09:22 PM

Actually, I'm not quite ready to move beyond notifications.  I have two different issues. First, although I have "Zone Status (Trips & Trouble) checked in Notifications, I don't get push or e-mail notifications when I transition a zone between "Not Ready"/"Ready" status. I could swear I got those when I first installed HH.  Does "Trips" correspond to the status of a zone changing or does it mean something else?  There's no notifications for zone changes in Notification Center or System Log on on the Mini. if I use a script to detect the zone status change and send a notification, that works fine.

 

Second, iOS notifications and Haiku interact in a surprising (at least to me) ways.  For example, I just restarted HH and both my iPhone 4S and iPad Mini got "Connection to controller established" notifications.  I then opened Haiku on the the iPhone and all the Haiku notifications on the iPhone disappeared.  I then armed the system using the iPhone.  The iPad got an "Area 1 armed" notifications but the iPhone did not get it even though I exited Haiku before the arming countdown ended. I'm guessing this is by design since some testing with Gmail showed exactly the same behavior.

 

That leads me to my final question for the moment.  If I want to be able to review recent activity on my HAI controller using iOS, is there a way to do that other than using HH scripting?



#7 lupinglade

lupinglade

    Cocoonut

  • Manufacturers
  • PipPipPipPip
  • 1514 posts
  • Experience:guru
  • Software:Custom
  • Hardware:HAI OmniPro II, Custom
  • Tech:UPB, INSTEON, Z-Wave, ZigBee, Custom
  • Audio:Nuvo
  • Video:AirPlay
  • CCTV:ip, dvr
  • Phone:Asterisk

Posted 19 June 2013 - 12:22 AM

First, although I have "Zone Status (Trips & Trouble) checked in Notifications, I don't get push or e-mail notifications when I transition a zone between "Not Ready"/"Ready" status. I could swear I got those when I first installed HH.  Does "Trips" correspond to the status of a zone changing or does it mean something else?  There's no notifications for zone changes in Notification Center or System Log on on the Mini. if I use a script to detect the zone status change and send a notification, that works fine.

Trips are tripping when the zone is armed. That means any type of trip that causes an alarm. And troubles are any troubles associated with a zone sensor. If you want to get notifications for every not ready/ready event you need to use scripting.
 

Second, iOS notifications and Haiku interact in a surprising (at least to me) ways.  For example, I just restarted HH and both my iPhone 4S and iPad Mini got "Connection to controller established" notifications.  I then opened Haiku on the the iPhone and all the Haiku notifications on the iPhone disappeared.  I then armed the system using the iPhone.  The iPad got an "Area 1 armed" notifications but the iPhone did not get it even though I exited Haiku before the arming countdown ended. I'm guessing this is by design since some testing with Gmail showed exactly the same behavior.

That leads me to my final question for the moment.  If I want to be able to review recent activity on my HAI controller using iOS, is there a way to do that other than using HH scripting?

That is generally how iOS's notification system works. You can log any events you want to be able to view at a later time using the appropriate message log commands either in HaikuHelper's scripting or in the controller's automation program. The arm notification is sent before the countdown begins, not after.

#8 tannebil

tannebil

    Cocooner

  • Registered
  • PipPip
  • 82 posts
  • Location:Washington State
  • Experience:average
  • Tech:Z-Wave, ZigBee
  • Audio:AirPlay

Posted 19 June 2013 - 02:53 AM

Thanks for the explanation.  I've never paid much attention to the details of notifications before so I've been a bit of a voyage of discovery.



#9 chasers03

chasers03

    Dedicated Cocooner

  • Registered
  • PipPipPip
  • 100 posts
  • Location:Seneca
  • Experience:average
  • Software:Harmony
  • Hardware:HAI OmniPro II
  • Tech:UPB, Z-Wave
  • Audio:HAI

Posted 14 August 2013 - 11:20 PM

Just installed HH and test notifications works however I want to get an push/email whenever an unarmed zone is tripped (unsecure) especially the two Drive Sensors (Aux), Front Door (Entry) & Other Doors (Perimeter).  From the above reply am I to assume that I must set up some scripting??  If so this is disappointing.  The configuration page indicates I am set to get "zone status (trips & troubles)" push and emails?

 

I do get push/email notifications of arming, disarming, & Zigbee door locking and I will expect also when I set off an alarm.



#10 tannebil

tannebil

    Cocooner

  • Registered
  • PipPip
  • 82 posts
  • Location:Washington State
  • Experience:average
  • Tech:Z-Wave, ZigBee
  • Audio:AirPlay

Posted 18 August 2013 - 02:07 AM

Only a minimal amount of scripting is needed.

 

function onZoneNotReady(zone) {
	if (!zone.isBypassed) { // Match zoned
		helper.sendNotification(controller, zone.bestDescription + ' NOT ready');
	}
}
function onZoneReady(zone) {
	if (!zone.isBypassed) { // Match zoned
		helper.sendNotification(controller, zone.bestDescription + ' READY');
	}
}



#11 tankermantate

tankermantate

    Newbie

  • Registered
  • Pip
  • 7 posts

Posted 19 November 2014 - 03:28 PM

Hey there, just adding a bit of color commentary to this thread because I found the answer somewhat elusive.

 

My goal was to get iOS notifications working for Haiku. therefore purchased HaikuHelper and installed on mac. Completed setup & configured access to the OmniPro panel. Confirmed working & Green lights across the board. Next stop, notifications. Plink plonk. boop beep. Awesome.

 

HaikuHelper Mac OS Notification Center - working fine

HaikuHelper Email Notifications (gmail) - working fine

Haiku iOS App Push Notifications - not working

 

Yes, I am able to get email notifications to my iOS device so I'm not totally blind to events, but push notifications would be ideal and yet they ain't working.

Yes, the name matches up in Haiku and HH. Yes, I am connected to the internet. Yes, the phone is on.

 

So I start reading cocoon threads and the answer seems to be some combination of restarting the apps and HH server and standing on one leg and rubbing your belly. Sooo, I restarted the Haiku app, iOS device and the HaikuHelper app, stood on one leg and rubbed my belly to no avail. iOS notifications continue to not function, despite confirming that notifications are indeed enabled in notification center in system settings in iOS.

 

Then I noticed that from when I first installed the Haiku app, I still had the push notification slider set to off since I did not have HaikuHelper and could not leverage notifications at the time, so I had left it off. So many places to enable notifications, so many ways to face palm. doink.

 

Safe to say, all working perfectly now. [fist pump]  Hope this helps someone.



#12 WBBayard1

WBBayard1

    Newbie

  • Registered
  • Pip
  • 3 posts

Posted 04 June 2015 - 02:00 PM

I cant get notification on iPhone.  what's the trick?

Or maybe I think push notification means something differently.

 

Does it mean, start the app (in my case Space app), set the sliders to push.  put the app in back group.  trip an alarm to see... negative.  I can only get alarms when app is in foreground... can someone explain to me... thanks in advance.



#13 lupinglade

lupinglade

    Cocoonut

  • Manufacturers
  • PipPipPipPip
  • 1514 posts
  • Experience:guru
  • Software:Custom
  • Hardware:HAI OmniPro II, Custom
  • Tech:UPB, INSTEON, Z-Wave, ZigBee, Custom
  • Audio:Nuvo
  • Video:AirPlay
  • CCTV:ip, dvr
  • Phone:Asterisk

Posted 08 June 2015 - 12:06 AM

I cant get notification on iPhone.  what's the trick?
Or maybe I think push notification means something differently.
 
Does it mean, start the app (in my case Space app), set the sliders to push.  put the app in back group.  trip an alarm to see... negative.  I can only get alarms when app is in foreground... can someone explain to me... thanks in advance.


Push notifications for Space will require a Mac running SpaceServer, which is not available yet.

#14 WBBayard1

WBBayard1

    Newbie

  • Registered
  • Pip
  • 3 posts

Posted 10 June 2015 - 07:52 AM

OK, thanks for the information; "Push notifications for Space will require a Mac running SpaceServer, which is not available yet."

 

I also have Haiku; with HaikuHelper on Mac; should that work to push out notification? 



#15 lupinglade

lupinglade

    Cocoonut

  • Manufacturers
  • PipPipPipPip
  • 1514 posts
  • Experience:guru
  • Software:Custom
  • Hardware:HAI OmniPro II, Custom
  • Tech:UPB, INSTEON, Z-Wave, ZigBee, Custom
  • Audio:Nuvo
  • Video:AirPlay
  • CCTV:ip, dvr
  • Phone:Asterisk

Posted 10 June 2015 - 06:17 PM

OK, thanks for the information; "Push notifications for Space will require a Mac running SpaceServer, which is not available yet."
 
I also have Haiku; with HaikuHelper on Mac; should that work to push out notification? 


Yes, that will work as usual.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users