I am not getting the push notification picture. Per the FAQ I have hard-coded an image (the one referenced in the FAQ), but no image is displayed on my Android phone. zmeventnotification.ini is configured for fcm, SSL is enabled and include-picture is set to "yes." Not yet using Hooks.
I am able to receive the push notifications from my server to zmNinja, but no picture. The only log traces I'm finding are from zmeventnotification.log (here's a relevant chunk from it):
Code: Select all
CONSOLE INF:2020-06-12,20:28:04 PARENT: New event 768 reported for Monitor:1 (Name:Driveway) Forced Web[last processed eid:767]
CONSOLE DBG-2:2020-06-12,20:28:04 PARENT: checkEvents() new events found=1
CONSOLE DBG-2:2020-06-12,20:28:04 PARENT: There are 1 new Events to process
CONSOLE DBG-1:2020-06-12,20:28:04 PARENT: Forked process:22422 to handle alarm eid:768
CONSOLE INF:2020-06-12,20:28:04 |----> FORK:Driveway (1), eid:768 use hooks/start hook not being used, going to directly send out a notification if checks pass
CONSOLE DBG-1:2020-06-12,20:28:06 |----> FORK:Driveway (1), eid:768 Matching alarm to connection rules...
CONSOLE DBG-1:2020-06-12,20:28:06 |----> FORK:Driveway (1), eid:768 Checking alarm rules for token ending in:...8ag71_7v0D
CONSOLE DBG-1:2020-06-12,20:28:06 |----> FORK:Driveway (1), eid:768 Monitor 1 event: should send out as 776.471899986267 is >= interval of 0
CONSOLE DBG-1:2020-06-12,20:28:06 |----> FORK:Driveway (1), eid:768 shouldSendEventToConn returned true, so calling sendEvent
CONSOLE DBG-2:2020-06-12,20:28:06 |----> FORK:Driveway (1), eid:768 isAllowedChannel: got type:event_start resCode:0
CONSOLE INF:2020-06-12,20:28:06 |----> FORK:Driveway (1), eid:768 Sending event_start notification over FCM
CONSOLE DBG-2:2020-06-12,20:28:06 |----> FORK:Driveway (1), eid:768 FCM called when there is no start hook/or hooks are disabled, so making sure we do not use objdetect in url
CONSOLE DBG-2:2020-06-12,20:28:06 |----> FORK:Driveway (1), eid:768 Final JSON being sent is: {"to":"eia1djmzcsc:APA91bEXmWm0X1LW2a-XTySMDe6_tAd-AhVBImmA2sD5PHf_qvk8j_ITYPQXUDl7cEgJX0FNGngPPNHdcfbS57SMn_y0IA9oQeKrdpsbZxlInxTpnmxnpq5cxQxQ-zUpJh8ag71_7v0D","data":{"eid":"768","picture":"https://upload.wikimedia.org/wikipedia/commons/5/5f/Chinese_new_year_dragon_2014.jpg&username=zmuser&password=xxx to token: ...1_7v0D
CONSOLE DBG-1:2020-06-12,20:28:07 |----> FORK:Driveway (1), eid:768 FCM push message returned a 200 with body {"multicast_id":5063048509924850260,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1592018887273676%311426bef9fd7ecd"}]}
CONSOLE INF:2020-06-12,20:28:25 |----> FORK:Driveway (1), eid:768 Event 768 for Monitor 1 has finished
CONSOLE INF:2020-06-12,20:28:27 |----> FORK:Driveway (1), eid:768 end hooks/use hooks not being used, going to directly send out a notification if checks pass
CONSOLE DBG-1:2020-06-12,20:28:29 |----> FORK:Driveway (1), eid:768 Matching alarm to connection rules...
CONSOLE DBG-2:2020-06-12,20:28:29 |----> FORK:Driveway (1), eid:768 isAllowedChannel: got type:event_end resCode:0
CONSOLE INF:2020-06-12,20:28:29 |----> FORK:Driveway (1), eid:768 Sending event_end notification over FCM
CONSOLE DBG-2:2020-06-12,20:28:29 |----> FORK:Driveway (1), eid:768 FCM called when there is no start hook/or hooks are disabled, so making sure we do not use objdetect in url
CONSOLE DBG-2:2020-06-12,20:28:29 |----> FORK:Driveway (1), eid:768 Final JSON being sent is: {"priority":"high","to":"eia1djmzcsc:APA91bEXmWm0X1LW2a-XTySMDe6_tAd-AhVBImmA2sD5PHf_qvk8j_ITYPQXUDl7cEgJX0FNGngPPNHdcfbS57SMn_y0IA9oQeKrdpsbZxlInxTpnmxnpq5cxQxQ-zUpJh8ag71_7v0D","data":{"myMessageId":2,"message":"Forced Web: ended at 08:28 PM, 12-Jun","mid":"1","title":"Ended:Driveway Alarm (768)","summaryText":"alarmed image","priority":1,"style":"picture","icon":"ic_stat_notification","badge":"1\\nmessage","picture":"https://upload.wikimedia.org/wikipedia/commons/5/5f/Chinese_new_year_dragon_2014.jpg&username=zmuser&password=xxx to token: ...1_7v0D
CONSOLE DBG-1:2020-06-12,20:28:30 |----> FORK:Driveway (1), eid:768 FCM push message returned a 200 with body {"multicast_id":345794579499863662,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1592018910087140%311426bef9fd7ecd"}]}
CONSOLE DBG-1:2020-06-12,20:28:34 |----> FORK:Driveway (1), eid:768 exiting
CONSOLE DBG-1:2020-06-12,20:28:34 |----> FORK:Driveway (1), eid:768 Ending process:22422 to handle alarms