Skip to content

NMA Notifications (Notify My Android)

Lieven Hollevoet edited this page Sep 22, 2014 · 1 revision

Table of Contents

File

nma_notification.pl

Description

Send notifications to XBMC

Usage

Add the following to your mh.ini

nma_api_key=<api></api>

Notes

The free NMA account gives you 5 api calls per day The Premium account gives enough api calls that the average user will not reach their limit. It's a one time fee of $5 The app is not available via Google Play on a GTV, but it can be sideloaded and installs/works fine


Options to control how notifications are displayed

  1. NMA allows you to print to 3 lines
  2. I prefer printing to the main line which is listed as application in the below url. This works great for GTV since the event pops up over whatever you are watching
my $url = 'https://www.notifymyandroid.com/publicapi/notify?apikey='.$nma_api_key.'&application='.$text.'&event=&description=&priority=0';
  1. If you prefer the main line to list MisterHouse and have your event appear on the second line, uncomment the following line and comment out the line above this
  2. my $url = 'https://www.notifymyandroid.com/publicapi/notify?apikey='.$nma_api_key.'&application=MisterHouse&event='.$text.'&description=&priority=0';
Clone this wiki locally