Skip to content

Pushbullet for Arduino/ESP8266. Allows the microcontroller to push notifications and upload files. Only tested on ESP8266 but it could work on Arduino

Notifications You must be signed in to change notification settings

bryankettle/PushBullet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Pushbullet-for-ESP8266

Created by: Alexander Bryan Sy 23/09/2018 feel free to clone and distribute. Code tested on ESP8266

How to use

Copy the libraries folder to your Arduino folder

COMMANDS CURRENTLY AVAILABLE:

initialization:
PushbulletAPI(accesstoken);

example:  
	pb.PushbulletAPI(accesstoken);

Notifications:
notify(String title, String body);

example:  
	notify("Write the title here","Write the body here");  

notify(String title, String body, String fileurl);

example:  
	notify("Write the title here","Write the body here","https://notarealwebsite.com/images/image.jpg"); 
	//only .jpg files are currently supported

Upload a File:
upload(String filename);

example:  
	String fileurl = upload("file.jpg"); //currently only jpeg is supported. The output is a HTTP address. 
	the default file storage is SPIFFS. change this to SD if you are using a SD card

Connect to pushbullet:
connect();

example:  
	connect();//connects to Pushbullet API. not required.

Send SMS
only available in the US
sms(String message, String phoneNumber);

example:
	sms("SMS test", "0917516516");

About

Pushbullet for Arduino/ESP8266. Allows the microcontroller to push notifications and upload files. Only tested on ESP8266 but it could work on Arduino

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages