Skip to content

Sending PushOver.net api notifications from an arduino with el-client through esp-link on 8266 (esp01-s) #62

@sirfersulver

Description

@sirfersulver

My system is made up of an Arduino Nano board connected to an 8266 esp-01s module running esp-link. I want to use the other capabilities of the esp-link software but I also want to send notifications using the PushOver.net service , so I decided to use the SLIP and REST supports of esp-link to send notification requests to the pushover.net server, the same way the pushover_button sketch for esp01 does working very well (https://github.com/ArduinoHannover/Pushover), that is POSTing the http POST request with the necessary parameters (api key, user key, message, and others, as specified in the pushover service documentation).

I have some troubles with the exact way I have to use to send the POST request with the REST system and the underliyng SLIP (which I have obviously enabled). I tried a lot but invariably, whatever I do, I end up with REST 400 error (malformed request?).

I append:

  1. the required post request to trigger a pushover notification as by PushOver.net service documentation,

AND

  1. the code I wrote modifyng your rest.ino example, which uses the get method (the rest example itself doesn't work out of the box, giving error 301, I think the resource was moved). Moreover I used your thingspeak example to get insight how to work with the rest.post method.

  2. Pushover_ API pushing messages.pdf

  3. rest.pdf

Can someone help me, please?
Thank You in advance.

D.Iracà
Pisa
Italy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions