SEND A HTTP NOTIFICATION (PUSHINGBOX)

ChrisDalo shared this question 11 years ago
Answered

Hello,

i made a rule with HTTP request, Post, URL=http://api.pushingbox.com/pushingbox?devid=vxxxxxxx but i doesn't work.


I send an Email in the same time, and i receive it.

When i put this URL in Chrome, i receive a notification on my phone.


I try with Post, Get, Put, nothing works.


Have you an idea ?

Best Answer
photo

I added a rule on your box just to see if we're getting the requests, and it looks OK, I see requests.

The URL you've entered is OK for Get request on pushingbox, not Post.

Don't you need to set a variable on pushingbox to make it do something?

Replies (17)

photo
1

I added a rule on your box just to see if we're getting the requests, and it looks OK, I see requests.

The URL you've entered is OK for Get request on pushingbox, not Post.

Don't you need to set a variable on pushingbox to make it do something?

photo
2

It works this morning, but i don't change anything

Thanks for all.

photo
1

How to add the value of a meter in parameters of the request, for example the temperature of a thermometer?

I know how to add it in the request &temperature=25 for example and in the text I set something like: "the temperature of the room is $temperature$" but I do not know how to do it in the rule creator !

photo
1

Currently you can't use dynamic parameters in "HTTP request" puzzle.

photo
1

Do you plan to implement it?

photo
3

Yes we will implement it.

You can create an Idea so others can vote on that and speed up implementation ;)

photo
1

Hi,


is there, somewhere, an example to use HTTP request in POST mode?


Regards,

William

photo
1

If you would use PushOver application this would be:


Method:Post

URL: https://api.pushover.net/1/messages.xml

Headers:

Body: token=yourtoken here&user=usernamehere&title=Zipato&message=yourmessage

photo
1

Great! Thank you HeroS

photo
1

Great! Thank you HeroS

photo
1

Hi,


Is it possible to send a value ?


for example :

Body:

token=yourtokenhere&user=usernamehere&title=Zipato&message=temperature+:+XX


where XX = temperature value

photo
1

Not like that.


But you could make rule...


When temp=!0


If temp=10

http request temp=10


If Temp 15


http request temp=15


etc

photo
1

of course, yes!

thank you.

photo
1

Hello,

I made a rule with HTTP request, Put, URL=http://api.pushingbox.com/pushingbox?devid=vxxxxxxx but i doesn't work.


I send an Email in the same time, and i receive it.

Test on Pushingbox virtual scenarios, i receive a notification on my phone.


But made a zipa ruIe HTTP request, tried with Post, Get, Put, nothing works.


Please help me how make a rule (when motion send me notification) which can send notification on my mobile with Newtifry ?

photo
1

Hi SonyB,


the answer is in the message of slashroot:

In HTTP Request dialog box set this:


Method:Post

URL: https://api.pushover.net/1/messages.xml

Headers:

Body: token=yourtokenhere&user=usernamehere&title=Zipato&message=yourmessage

photo
1

Thank you William NOEL

Leave a Comment
 
Attach a file