SendToHTTP and Pushover

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
goldriver
Normal user
Posts: 15
Joined: 14 Jan 2018, 22:55

SendToHTTP and Pushover

#1 Post by goldriver » 12 Feb 2018, 22:26

I'm trying to build a rule where my nodemcu would send me a Pushover notification on an EVENT.

I tried the following rule:

On start_pushover do
SendToHTTP api.pushover.net,443,/1/messages.json?token=XXXX?user=XXXX?device=iphone?title=test?message=Test
endon


XXXXX are changed in my rule with my own token and user

when I send the following command through a web browser: http://"MYESPIP"/control?cmd=event,start_pushover I see in the esp log file that the command was received and that the rule was run:

2733015 : EVENT: start_pushover
2733038 : ACT : SendToHTTP api.pushover.net,443,/1/messages.json?token=XXXX?user=XXXX


But the pushover message was never sent to my iphone.

I know that the api token and user used is functionnal since I can receive message when I manually used these info through another app.

Has anyone been able to get this to work ?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: SendToHTTP and Pushover

#2 Post by grovkillen » 12 Feb 2018, 22:33

Pushover requires httpS which is not what ESP Easy is sending. It will not work since implementing the secure layer is probably way more than what the ESP8266 can handle.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

goldriver
Normal user
Posts: 15
Joined: 14 Jan 2018, 22:55

Re: SendToHTTP and Pushover

#3 Post by goldriver » 12 Feb 2018, 23:02

I see ...

I'm wondering why https could not be supported in easyesp, before using espeasy I was using the arduino IDE and builded few ino files including MQTT, Pushover, Wifi and it only used 25% of the resources ?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: SendToHTTP and Pushover

#4 Post by grovkillen » 12 Feb 2018, 23:05

Well, specific code for one single function is one side, multipurpose FW like ESP Easy is another side. But please see what you can do and push it to the playground :)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

TD-er
Core team member
Posts: 8736
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: SendToHTTP and Pushover

#5 Post by TD-er » 13 Feb 2018, 14:29

We are currently on Arduino ESP8266 version 2.3.0
Version 2.4.0 and newer do have (better/more/stable) support for those S'es in various communications. (HTTPS/SSL/TLS)
And still with the 2.4.0 tests I ran, I had a lot of crashes.

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests