User Tools

Site Tools


action_exdim_tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
action_exdim_tutorial [2015/02/19 21:13]
Niek created
action_exdim_tutorial [2015/11/27 21:09] (current)
Line 1: Line 1:
 ===== Extended dim action for pilight eventing ===== ===== Extended dim action for pilight eventing =====
 ==== Introduction ==== ==== Introduction ====
-The extended dim action replaces the built-in dim action of plight ​V6.0.  +The extended dim action replaces the built-in dim action of pilight ​V6.0.  
-This dim action now supports TO, UP and DOWN.+This dim action now supports TO, UPand DOWN.
  
-This tutorial describes the usage and installation of this action.+This tutorial describes the installation ​and usage of this action.
  
 ==== Compatibility ====  ==== Compatibility ==== 
-The modified action is compatible with pilight version ​5.0 from the development branchThis version contains the pilight ​eventing system.+The modified action is compatible with the manually installed development version of pilight version ​6.0.  
 +For instructions on how to install manually please look [[http://​www.pilight.org/​get-started/​installation/#​stable_git|here]].
 ==== Dim ==== ==== Dim ====
 The modified dim action accepts, besides the existing TO statement, the UP and DOWN statements. ​ The modified dim action accepts, besides the existing TO statement, the UP and DOWN statements. ​
Line 32: Line 33:
 Then compile the sources to create the modules (.so files). Then compile the sources to create the modules (.so files).
  
-<​code>​root@raspi2:/​home/​pi/​pilight#​ gcc -fPIC -shared actions/​dim.c -Ilibs/​pilight -Ilibs/​config -o dim.so -DMODULE=1</​code>​+<​code>​root@raspi2:/​home/​pi/​pilight#​ gcc -fPIC -shared ​libs/actions/​dim.c -Ilibs/​pilight -Ilibs/​config -o dim.so -DMODULE=1</​code>​
  
 Next copy the dim.so files you have just created to the actions subfolder of /​usr/​local/​lib/​pilight (create the folder /​usr/​local/​lib/​pilight/​actions/​ first if it doesn'​t exist): Next copy the dim.so files you have just created to the actions subfolder of /​usr/​local/​lib/​pilight (create the folder /​usr/​local/​lib/​pilight/​actions/​ first if it doesn'​t exist):
Line 44: Line 45:
 Now you can start pilight and the new dim action will be loaded and can be used in your rules. Now you can start pilight and the new dim action will be loaded and can be used in your rules.
  
-Note: After installation,​ the pilight-actions folder and its contents are not required ​anymore ​and may be deleted.+Note: After installation,​ the pilight-actions folder and its contents are not required ​any more and may be deleted.
  
  
 Have fun! Have fun!
action_exdim_tutorial.1424380417.txt.gz · Last modified: 2015/11/27 21:08 (external edit)