Hi,
Is it possible to send a GCM notification to a specific device or group of devices of the Mobile Devices list?
Example
I have a 433mhz doorbell
In the attick we don't hear the ringtone so with a blockly script I sent a notification to the GCM subsystem.
Since both our phones are listed in the mobile devices, we both get a GCM notification.
This is working.
But If one of us is not at home (I also have 2 switches with a phone presence detection script running), I want only a GCM notification for the phone which is present in my network.
In Blockly I don't have the possibility to make a script which acts like:
IF doorbell rings AND GSM Wife switch is ON and GSM Hubby switch is OFF-->Sent only GCM Notification to Wife phone
IF doorbell rings AND GSM Wife switch is OFF and GSM Hubby switch is ON-->Sent only GCM Notification to Hubby phone
IF doorbell rings AND GSM Wife switch is ON and GSM Hubby switch is ON-->Sent GCM Notification to both phones
IF doorbell rings AND GSM Wife switch is OFF and GSM Hubby switch is OFF-->No GCM Notifications
In the mobile device list all devices have a UUID.
Is it possible with LUA to send a GCM notification to a specific UUID or several UUID's
Greetzzz,
Gerben
Send GCM notification to a specific device of the list
Moderator: leecollings
Who is online
Users browsing this forum: No registered users and 1 guest