Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sirfersulver opened this issue Nov 17, 2024 · 0 comments

Comments

@sirfersulver
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant