diff --git a/server/etc/example.conf b/server/etc/example.conf index ef817a4eb..e178c772f 100644 --- a/server/etc/example.conf +++ b/server/etc/example.conf @@ -164,5 +164,20 @@ paths = ( hook = [ "print", "decimate:10" ] # Same is true for hooks. # Multipe hook functions are executed in the order they are specified here. + }, + { + in = "socket_node", + out = "file_node", # This path includes all available example hooks. + + hook = [ + "ts", # Replace the timestamp of messages with the time of reception + "skip_unchanged:0.1", # Skip messages whose values have not changed more than 0.1 from the previous message. + "skip_first:10", # Skip all messages which have been received in the first 10 seconds + "print", # Print all messages to stdout + "decimate:2", # Only forward every 2nd message + "convert:fixed", # Convert all values to fixed precission. Use 'float' to convert to floating point. + "fir:0" # Apply finite impulse response filter to first value. + # Coefficients are hard-coded in 'include/config.h'. + ] } );