Skip to content

Pushover.net client for ESP32, with HTTPS

Notifications You must be signed in to change notification settings

ilteen/PushoverESP32

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PushoverESP32

ESP32 library for Pushover.

Forked from brunojoyal/PushoverESP32, because I wanted a lightweight and more easy to use library.

Usage

Initiate Pushover client:

        Pushover pushoverClient(token, user);

Messages are encoded within the PushoverMessage struct:

    struct PushoverMessage
    {
    public:
        String message = "";
        String title = "";
        String url = "";
        String url_title = "";
        String sound = "";
        String device = "";
        bool html = false;
        uint8_t priority = 0;
        uint32_t timestamp = -1;
    };

To write a message, simply declare a PushoverMessage object and modify the properties you need.

    PushoverMessage myMessage;

    myMessage.title = "Message title";
    myMessage.message = "Message body";
    pushoverClient.send(myMessage);

Attachments

Attachments are not supported, if you need attachments, use the original library: brunojoyal/PushoverESP32.

About

Pushover.net client for ESP32, with HTTPS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%