colagrosso / avviso Goto Github PK
View Code? Open in Web Editor NEW(unmaintained) Ring the red phone from your Arduino
Home Page: http://avvisoapp.com
(unmaintained) Ring the red phone from your Arduino
Home Page: http://avvisoapp.com
How do I send a message using the Traditional Chinese characters?
Hello,
Are there any plans for porting to the Arduino 1.0 environment?
I tried to make some modifications myself
But still lot of other errors.
Maybe you can give me some additional directions so we can port to 1.0
With kind regards,
Remco
When trying this with my Arduino and ethernet shield, i get the 201 error. I'm not sure what info you need to help, but can supply any information you need. Thanks
This my problem.
I am using an Arduino Nano and an W5100 Breakout board. The connection are made the same way that they are on an Arduino Uno. The regular Ethernet examples wich are implemented into the Arduino IDE are working.
When I am using the Nano board connected to processing i can send the notificiations. But when i use the W5100 Lan connection i get the error
"Sending push notification...Error. Server returned: 10496"
I inserted the API Key where it belongs, uncommented the Notify my android line and commented the Avviso.begin();
I hope you can tell me what the meaning of this error is.
Thx in advance
Martin
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Mac OS X), Board: "Arduino Uno"
RingTheRedPhone.ino: In function 'void setup()':
RingTheRedPhone:35: error: 'NOTIFY_MY_ANDROID' was not declared in this scope
The best that I can tell, the Prowl API recommends highly that Prowl notifications are POSTed using SSL however it seems that this is not being implemented here. Is it possible to implement this so that API keys aren't visible to everyone in the middle? Or am I somehow mistaken and HTTPS requests are actually being made. ?
Hello, I opened the exemple Ringtheredphone, then I have the #include < HTTPClient.h > in wrong color, and when I check I have this message :
RingTheRedPhone.ino:27:24: fatal error: HTTPClient.h: No such file or directory
I really don't understand what's going on thanks !
Please :)
i'm trying it, using yout example sketch and won't work.
I get the error "expecting EOF, found '}' "
Hi @colagrosso. Sorry to read that this project is unmaintaned.
I managed to get it compiling on Arduino IDE 1.8.13 despite many warnings.
However, PROWL service returns code 505. I have no idea what this code represents, I contacted Prowl support yesterday, hopefully I will get a reply soon!
Let's just hope they have not enabled strict requirement for HTTPS...
I downloaded the Processing code and copied it so that all the files are under C:\Users\uswixmpac\Documents\Processing\libraries (i.e. so that RingTheRedPhone.pde is in C:\Users\uswixmpac\Documents\Processing\libraries\avviso\examples\RingTheRedPhone), started Processing, click on File/Sketchbook and nothing happens, am I missing something?
Matt
@colagrosso did as ur tutorial, but when i compiling always shows an error, and couldn't debug
Build options changed, rebuilding all
C:\Users\Muzaffar\AppData\Local\Temp\arduino_modified_sketch_97813\RingTheRedPhone.ino: In function 'void setup()':
C:\Users\Muzaffar\AppData\Local\Temp\arduino_modified_sketch_97813\RingTheRedPhone.ino:44:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Avviso.setApiKey("b3a8adf6fdc8ef961735719bf0bde0b06d1a1394b523d306");
^
C:\Users\Muzaffar\AppData\Local\Temp\arduino_modified_sketch_97813\RingTheRedPhone.ino:46:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Avviso.setApplicationName("Arduino Red Phone");
^
C:\Users\Muzaffar\AppData\Local\Temp\arduino_modified_sketch_97813\RingTheRedPhone.ino: In function 'void loop()':
C:\Users\Muzaffar\AppData\Local\Temp\arduino_modified_sketch_97813\RingTheRedPhone.ino:57:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
int returnCode = Avviso.push("New event", "The sky is falling!", 0);
^
C:\Users\Muzaffar\AppData\Local\Temp\arduino_modified_sketch_97813\RingTheRedPhone.ino:57:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
In file included from C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:27:0:
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp: In member function 'file* HTTPClient::getURI(char, http_client_parameter, http_client_parameter*)':
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:78:45: error: invalid conversion from 'const char_' to 'char_' [-fpermissive]
sendUriAndHeaders(result, this->hostName, PSTR("GET"), uri, parameters,
^
In file included from C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:29:0:
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.h:191:3: error: initializing argument 3 of 'char HTTPClient::sendUriAndHeaders(file, char, char_, char_, http_client_parameter_, http_client_parameter_)' [-fpermissive]
sendUriAndHeaders(FILE* stream, char* hostName, char* requestType, char* uri,
^
In file included from C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:27:0:
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp: In member function 'file* HTTPClient::postURI(char, http_client_parameter, char_, http_client_parameter_)':
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:107:45: error: invalid conversion from 'const char_' to 'char_' [-fpermissive]
sendUriAndHeaders(result, this->hostName, PSTR("POST"), uri, parameters,
^
In file included from C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:29:0:
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.h:191:3: error: initializing argument 3 of 'char HTTPClient::sendUriAndHeaders(file, char, char_, char_, http_client_parameter_, http_client_parameter_)' [-fpermissive]
sendUriAndHeaders(FILE* stream, char* hostName, char* requestType, char* uri,
^
In file included from C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:27:0:
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp: In member function 'file* HTTPClient::putURI(char, http_client_parameter, char_, http_client_parameter_)':
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:134:45: error: invalid conversion from 'const char_' to 'char_' [-fpermissive]
sendUriAndHeaders(result, this->hostName, PSTR("PUT"), uri, parameters,
^
In file included from C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:29:0:
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.h:191:3: error: initializing argument 3 of 'char HTTPClient::sendUriAndHeaders(file, char, char_, char_, http_client_parameter_, http_client_parameter_)' [-fpermissive]
sendUriAndHeaders(FILE* stream, char* hostName, char* requestType, char* uri,
^
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp: In member function 'int HTTPClient::skipHeader(__file*)':
C:\Users\Muzaffar\Documents\Arduino\libraries\HTTPClient\HTTPClient.cpp:418:18: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
return NULL;
^
exit status 1
Error compiling for board Arduino/Genuino Uno.
Any time I tried to upload the sketch for 433 MHz RF Module Transmitter I get the error message exist status 1, Error compiling for Arduino/Genuino Board. Can somebody help me out of this problem?
I have an Arduino Uno with an Ethernet Shield. Whenever I try to run the example sketch RingTheRedPhone, I get Error... Server Returned: 13822, My API key is set correctly, and my Ethernet Shield does have an internet connection. I can also still send notifications using GET with the web server and the Prowl API, but not with Avviso, Any help would be appreciated. Thanks.
Arduino:1.6.5 (Windows 8.1), Scheda:"Arduino Uno"
Avviso\Avviso.cpp.o: In function AvvisoClass::push(char*, char*, int)': C:\Program Files (x86)\Arduino\libraries\Avviso/Avviso.cpp:109: undefined reference to
HTTPClient::HTTPClient(char_, unsigned char_)'
C:\Program Files (x86)\Arduino\libraries\Avviso/Avviso.cpp:118: undefined reference to HTTPClient::getURI(char*, http_client_parameter*)' C:\Program Files (x86)\Arduino\libraries\Avviso/Avviso.cpp:119: undefined reference to
HTTPClient::getLastReturnCode()'
C:\Program Files (x86)\Arduino\libraries\Avviso/Avviso.cpp:121: undefined reference to `HTTPClient::closeStream(__file*)'
collect2.exe: error: ld returned 1 exit status
Errore durante la compilazione
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.