• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
http action
#21
@curlymo and @rorie

Just wanted to inform you that I have put a new version of the http action in the Wiki.

This version works with a generic_label device that receives the response, so can be used by any user without the need for a new device type.

I improved it so you now can trigger other rules when the request finishes and besides the code, now also the size and the mimetype are available to the user. So in fact it has exactly the same functionality now as the version with an http device.

The main difference is that you have to use the EXTRACT  function to get the code, size or mimetype.
 
Reply
#22
(08-11-2018, 03:17 PM)Niek Wrote: @curlymo and @rorie

Just wanted to inform you that I have put a new version of the http action in the Wiki.

This version works with a generic_label device that receives the response, so can be used by any user without the need for a new device type.

I improved it so you now can trigger other rules when the request finishes and besides the code, now also the size and the mimetype are available to the user. So in fact it has exactly the same functionality now as the version with an http device.

The main difference is that you have to use the EXTRACT  function to get the code, size or mimetype.

@Niek, thanks for the update, very happy with the http action. This will help me to use the pilight rules to trigger my ESP8266, for example my garden lights! I will check the generic label to receive the response as soon as I have time again Smile.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  _VARSTORE_ set action fourty2 1 665 05-19-2019, 09:07 PM
Last Post: curlymo
  skipping overridden action switch do1eh 2 494 01-19-2019, 05:25 PM
Last Post: do1eh
  action: Pushbullet bazb 24 10,335 01-04-2018, 08:38 PM
Last Post: curlymo
  action: pushover Niek 36 16,229 12-03-2017, 11:13 AM
Last Post: Alex
  action: file Niek 14 3,630 06-23-2016, 04:02 PM
Last Post: Niek
  action: switch Niek 54 18,747 03-31-2016, 06:24 PM
Last Post: jjj
  action: program bazb 16 7,379 03-31-2016, 09:14 AM
Last Post: Niek
  action: toggle Niek 1 2,381 02-19-2016, 03:04 PM
Last Post: Joeks
  action: dim terrar 10 5,625 08-13-2015, 05:13 PM
Last Post: terrar
  Event action sipcal to make a voip phonecall pieterd 7 3,988 05-15-2015, 05:47 PM
Last Post: koos147

Forum Jump:


Browsing: 1 Guest(s)