Adding a server for sms alerts. Still WIP, only server base for now
Rewriting the server using the Android notification server and utils from https://github.com/tdubourg/ghome project
Using a JSON file that is watched for changes as a mean of communication between the python cron jobs and the nodeJS server. Using lock files to manage concurrency.
The server should now be able to handle multiple devices, compared to previously. The device identifies itself by sending its name (that will be configurable on the device, using a simple GUI) and then the server sends to this device notification that are supposed to be sent to it (no security here). Code not tested at all yet.
Removing autogen files
handy script for CLI building and running
Handy shorcut for logging
Bug fixes in the server start (and ability to listen on local ip on fedora Linux where eth0 is named p2p1. + handling the case where something goes wrong while sending the notification, so that we do not mark it as sent / update it
That way, ant will use the ANDROID_HOME env. var. instead of looking at some stupid machine-specific value to find the sdk path
Updating the server. Now able to push notifications to devices, registering them and unregistering them.
(CODE NEEDS CLEANUP) Moved code to a service. Main activity just launches the service now. Service is able to register the device after connecting to the server and waits for push notifications from server in order to send text messages (SMS)