so i am using arduino uno with ESP8266-01 wifi module and i made my own application that receives notifications so i want to connect the arduino to this application to send notifications when something specific happens so can you help me please ?
I know you made your own application, but have you tried the app that is already available for just that reason?
Called "Arduino WiFi Control" app? Digital2u.net who has it listed in the play store.
I used this shortly to do some testing a while back and still have it loaded on my phone for the next project..
cubangt:
I know you made your own application, but have you tried the app that is already available for just that reason?Called "Arduino WiFi Control" app? Digital2u.net who has it listed in the play store.
I used this shortly to do some testing a while back and still have it loaded on my phone for the next project..
unfortunately i have to use my own application because this is a part of my project i can't use another application so is there a way to make the arduino send a message to my application using the device token and the api key ?
I dont know the specifics, i havent tried working with my own application and arduino yet, but being on the same network is the first step, making sure your wifi and application are connected to the same network, then within your application you will need to be able to have that communication port opened in order to receive anything from the arduino.
Ill have to check when i get home, but we worked on a project that was wif enabled connecting to a PSOC board which may help point you in the right direction..
cubangt:
I dont know the specifics, i havent tried working with my own application and arduino yet, but being on the same network is the first step, making sure your wifi and application are connected to the same network, then within your application you will need to be able to have that communication port opened in order to receive anything from the arduino.Ill have to check when i get home, but we worked on a project that was wif enabled connecting to a PSOC board which may help point you in the right direction..
okay man thanks anyway
So after looking over the wifi project I had worked on, i couldn't find the wifi logic(this was a team project), didn't realize i didn't have the complete project at home..
Any way, i did find in my notes of this link:
http://playground.arduino.cc/Main/InterfacingWithSoftware
It has multiple ways to communicate with your Arduino with other software and other means..
Check it out if you haven't already it was usual for me and pretty soon ill be working on another wifi project for my home automation stuff i want to do..
hope it helps..
Abdulrahman131:
unfortunately i have to use my own application because this is a part of my project i can't use another application so is there a way to make the arduino send a message to my application using the device token and the api key ?
I believe the only way to do so, if you don't want to use any other 3rd party at all, is to use and integrate Google Cloud Messaging into your own application.
I am also looking to integrate GCM into my own Android app in near future. Currently without having to write GCM code myself, I am using the Pushover app to receive notifications from my Arduino. The app also supports tasker integration, which opens up a window to incredible automation possibilities. In addition, the app is also available on iOS, which enables me to push notifications to users on both Android and iOS, using a single API, without having to know any coding on iOS as well.
Byork:
I believe the only way to do so, if you don't want to use any other 3rd party at all, is to use and integrate Google Cloud Messaging into your own application.I am also looking to integrate GCM into my own Android app in near future. Currently without having to write GCM code myself, I am using the Pushover app to receive notifications from my Arduino. The app also supports tasker integration, which opens up a window to incredible automation possibilities. In addition, the app is also available on iOS, which enables me to push notifications to users on both Android and iOS, using a single API, without having to know any coding on iOS as well.
actually i managed to do it finally using thingspeak"thinghttp" and i generated a link when i open it the notification will be sent to my application automatically so the arduino has just to open that link when something specific happens
care to sahre your code? I would like to send notifications to android also
You can also use the IFTTT Maker channel to push a notification via the IFTTT app , SMS or Voice.
Take a look at that, i think this can help