Code Monkey home page Code Monkey logo

mailboxnotifier's Introduction

Remote Mail Notifier (and GPS tracker)

A notifier for when mail is received in your mail box! Uses an A9G GPRS/GPS module to send HTTP requests to a web server via the mobile network.
A PHP script then sends messages to a Telegram group chat using the bot API. Since the A9G also has a built-in GPS receiver the mail notifier can be used as a GPS tracker!
Also incorporates a BME280 environmental sensor and should last for around 4-5 years on a single charge of a 10440 lithium battery (~320mAh, equivalent AAA size), if mail is received 3 times per week.

https://blog.zakkemble.net/remote-mail-notifier-and-gps-tracker/

Mail notifier pic


Zak Kemble

[email protected]

mailboxnotifier's People

Contributors

zakkemble 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

Watchers

 avatar  avatar  avatar  avatar  avatar

mailboxnotifier's Issues

Compiling using GPRS_C_SDK

Thanks for sharing your project.

I have an issue with compiling using build.bat in a9g folder, it just returns " '.' is not recognized as an internal or external command"

I have the same folder structure as setup in Github. I have also tried copying a9g and mailbox into GPRS_C_SDK and would get a build failed error. Running ./build.bat a9g

I have tested ./build.bat demo gpio and it completes successfully.

Could you please point me in the correct direction?

cJSON_Parse return null

Excellent work. Thank you! I wanted to know how you solved cJSON_Parse. It always returns NULL, I can't figure out what the problem is. Can you help please. Part code:
char msg_json[] = "{ "state":{ "desired":{ "NumValue": 3 } }}";
cJSON_Hooks memoryHook;
memoryHook.malloc_fn = OS_Malloc;
memoryHook.free_fn = OS_Free;
cJSON_InitHooks(&memoryHook);

cJSON *json_processing = cJSON_Parse(msg_json);
if(json_processing != NULL)
{
cJSON *state = cJSON_GetObjectItem(json_processing, "state");
cJSON *desired = cJSON_GetObjectItem(state, "desired");
if(desired != NULL)
{
.......................
}
}
else
{
Trace(1,"Error parse json");
}
cJSON_Delete(json_processing);

The rest all works well: cJSON_CreateObject(), cJSON_AddStringToObject(), cJSON_AddItemToObject();
the only problem is parse

Stability of A9

hi,
since you have used A9 quite long, what do you think about its performance and stability, connection issue with 2G network and so on.

I want to use it for iOT projects for farm but it is difficult to find review about it. I also find it difficult about its programming since it is not arduino. I got 10 module at home but just testing a few sample code.

thanks

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.