GithubHelp home page GithubHelp logo

colagrosso / avviso Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 69.0 744 KB

(unmaintained) Ring the red phone from your Arduino

Home Page: http://avvisoapp.com

C 16.99% C++ 43.24% Java 23.60% Arduino 16.17%

avviso's People

Contributors

colagrosso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

avviso's Issues

I also would like to see Arduino 1.0 support

Hello,

Are there any plans for porting to the Arduino 1.0 environment?
I tried to make some modifications myself

  • etherDNS and ethernetDHCP are now integrated in Ethernet
  • #include <Arduino.h>

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

Server Returned: 201

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

Sending push notification...Error. Server returned: 10496

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

advise usb arduino error

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

Feature request: use SSL for security

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. ?

#include <HTTPClient.h>

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 !

not work

i'm trying it, using yout example sketch and won't work.

Returncode 505 (Prowl)

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...

Not showing up under File/Sketchbook

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

exit status 1 Error compiling for board Arduino/Genuino Uno.

@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.

Transmitter Demonstration

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?

Error 13822

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.

Error during the compiling

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 toHTTPClient::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 toHTTPClient::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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.