Hi. New to the forum, pushsafer and esp8266 so my apologies in advance. I am using the code provided at the following webpage to send a message to my pushsafer account. I am changing the SSID, token codes etc to my own. The code loads ok on to the esp8266 but I am not seeing it on my phone pushsafer app as a message. Can anyone advise what I am doing wrong please.
Code is here on github:
https://github.com/appzer/pushsafer-ard ... dEvent.ino
This is what I see on the serial monitor:
.....
WiFi connected
IP address: 192.168.xxx.xx
Connected
Content-Length: 917
--------------------------b8f610217e83e29b
content-disposition: form-data; name="k"
my pushsafer key displayed here
--------------------------b8f610217e83e29b
content-disposition: form-data; name="m"
This is a test message
--------------------------b8f610217e83e29b
content-disposition: form-data; name="d"
a
--------------------------b8f610217e83e29b
content-disposition: form-data; name="s"
8
--------------------------b8f610217e83e29b
content-disposition: form-data; name="v"
1
--------------------------b8f610217e83e29b
content-disposition: form-data; name="i"
1
--------------------------b8f610217e83e29b
content-disposition: form-data; name="c"
#FFCCCC
--------------------------b8f610217e83e29b
content-disposition: form-data; name="t"
Hello!
--------------------------b8f610217e83e29b
content-disposition: form-data; name="pr"
0
--------------------------b8f610217e83e29b--
Sent
Arduino esp8266 to pushsafer api
- admin
- Site Admin
- Posts: 1006
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Arduino esp8266 to pushsafer api
Any error logs?
Do you see the message in the client app?
Regards Kevin
Do you see the message in the client app?
Regards Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Re: Arduino esp8266 to pushsafer api
Hi Kevin. Thanks for responding. I see no event on the pushsafer app. Sorry not sure what you mean by error logs. Where will I find that log please. Thx
- admin
- Site Admin
- Posts: 1006
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Arduino esp8266 to pushsafer api
please try again with enabled debug mode
LINE 59 => https://github.com/appzer/pushsafer-ard ... ushsafer.h
Kevin
LINE 59 => https://github.com/appzer/pushsafer-ard ... ushsafer.h
Code: Select all
bool debug = true;
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Re: Arduino esp8266 to pushsafer api
Hi Kevin. Sorry, but I think I am out of my depth here... I have copied the code on the github you supplied and ran it with an error appearing at the bottom that says collect2.exe error exit 1. Error compiling for board generic esp8266. There was no wifi network code in that file. Not sure what you mean by debug mode. As I say, I think my knowledge is not sufficient to fix this, apologies. Thanks for trying though. Graham
- admin
- Site Admin
- Posts: 1006
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Arduino esp8266 to pushsafer api
you installed the pushsafer library > https://github.com/appzer/pushsafer-arduino-library
Delete it and install it again with edited code above > debug=true
Delete it and install it again with edited code above > debug=true
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Re: Arduino esp8266 to pushsafer api
OK. Thanks. I will give it a try this evening and post back. Graham
Who is online
Users browsing this forum: Google [Bot] and 34 guests