library manager cannot find pushover lib: GitHub - ArduinoHannover/Pushover: Pushover Library for ESP8266
It’s not registered in the libraray manager by the author, but PlatformIO can still install that library without problems. Just reference the git link.
platformio.ini
[env:esp8266]
platform = espressif8266
board = nodemcuv2
framework = arduino
lib_deps = https://github.com/ArduinoHannover/Pushover
main.cpp
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include "Pushover.h"
void setup() {
Serial.begin(115200);
WiFi.begin("myNetwork", "secureWPAKii");
while (WiFi.status() != WL_CONNECTED) delay(50);
Serial.println("Connected");
Pushover po = Pushover("SecureAppToken","UserToken");
po.setDevice("Device1");
po.setMessage("Testnotification");
po.setSound("bike");
Serial.println(po.send()); //should return 1 on success
}
void loop() {
}
Works.
DATA: [==== ] 37.4% (used 30600 bytes from 81920 bytes)
PROGRAM: [=== ] 31.1% (used 324635 bytes from 1044464 bytes)
.pioenvs\esp8266\firmware.elf :
[SUCCESS] Took 7.70 seconds
1 Like
Thank you, it works now