I'm having trouble linking Join to EventGhost as the user below has. http://forum.joaoapps.com/index.php...autotools-fingerprint-wake-on-lan-youtube.99/ Is this still possible? I'd like to send messages to EventGhost from Join on my Android Emulator.
I'm having an issue getting Join to work with EventGhost. When I paste the Join API URL of one of my devices into the Event Ghost AutoRemote plugin "Device Personal URL" and hit tab, I get a Invalid URL. I got the Join's device URL at: https://joinjoaomgcd.appspot.com/ I also downloaded the latest AutoRemote Ghost plugin.
Same here. To recap: once selected the device in the appspot.com site I go in the API tab, I have the API Key uncovered (mandatory to show the url) and copy the url (" https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceId=******&apikey=****** ") in the eventghost autoremote plugin. The third field, Device Key, is "invalid". I was sure I had an account here on the forum, but I just realized I always asked for support directly. Thank you very much!
Sorry for the very late reply, I somehow missed this. You can't use the AutoRemote plugin to send messages to Join, but you can use a simply python script Add a Python Command action in EventGhost and then use this code: Code (Text): import urllib2;urllib2.urlopen("https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?text=Hello&title=Title%20cool&deviceId=YOUR_DEVICE_ID&apikey=YOUR_API_KEY").read() You can generate your own Join URLs here: https://joinjoaomgcd.appspot.com/ Hope this helps!
Do you have any advice on getting EventGhost to accept the API and Device keys? I'm doing the same as Xellos: >To recap: once selected the device in the appspot.com site I go in the API tab, I have the API Key uncovered (mandatory to show the url) and copy the url (" https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceId=******&apikey=******") in the eventghost autoremote plugin. The third field, Device Key, is "invalid".< I've also swapped positions of the API key and Device Key in the URL, still no luck. TIA
Please check my post above. You won't be able to send messages to Join with the AutoRemote Send Message action. Sorry!
Just wanted to add more up to date info......Since Device ID is basically deprecated and Joao doesn't even recommend it to anyone anymore.....here is the correct python code for use with Device Name instead. Code (Text): import urllib2;urllib2.urlopen("https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames=YOUR_DEVICE_NAME&text=hello&title=Title%20cool&apikey=YOUR_API_KEY").read()
I think I have the same problem OP had. I'm not trying to send a message to my smartphone, I just can't connect Join to Eventghost correctly. This is the log error: Calling url https://autoremotejoaomgcd.appspot.com/sendrequest Result from sending request: Your key is invalid. Please check your key and try again. And when I send a message to Join in the PC using Chrome extension: Traceback (most recent call last): File "SocketServer.pyc", line 558, in process_request_thread File "SocketServer.pyc", line 320, in finish_request File "SocketServer.pyc", line 615, in __init__ File "BaseHTTPServer.pyc", line 329, in handle File "BaseHTTPServer.pyc", line 323, in handle_one_request File "C:\Program Files (x86)\EventGhost\plugins\AutoRemote\__init__.py", line 446, in do_POST communication = getCommunicationFromContent(content,self) File "C:\Program Files (x86)\EventGhost\plugins\AutoRemote\__init__.py", line 355, in getCommunicationFromContent type = requestJson.get("communication_base_params").get("type") AttributeError: 'NoneType' object has no attribute 'get' So it seems like EG can sense the message, but can't recongnize it.
Ok guys, problem fixed. Somehow the option "Send Full Push (enable if you use Node-RED)" was enabled, I turned it off and everything is ok now.
Hi, I know this is a old post but I need some help... Using this method I can send normal text from Eventghost to my Join App with no problems.. My problem is that I can't send variables values with it. in my case I want to send the value of eg.result variable, but join only receives exactly "eg.result" and not the content of the variable. I'am using: import urllib2;urllib2.urlopen("https://joinjoaomgcd.appspot.com/_a...h?deviceNames=YOUR_DEVICE_NAME&text=eg.result... Thanks in advance
You have to concatenate the text variable Something like import urllib2;urllib2.urlopen("https://joinjoaomgcd.appspot.com/_a...h?deviceNames=YOUR_DEVICE_NAME&text=" + eg.result + "..."