1.11 Miscellaneous Variables

The following variables can be customized via the file config/ow.txt if needed:

OW_LOG_DESTINATION
Target for status and error outputs.

    0 = mixed (1 and 2)
    1 = syslog
    2 = stderr
    3 = off

Default setting is '1'.

OW_LOG_LEVEL
The Log level (1-9) determines the amount of status and error outputs, with:

    1 = silent and 9 = maximum verbosity

Default setting is '1'.

OW_TEMP_SCALE
The available temperature scales.
    C = "Celsius"
    F = "Fahrenheit"
    K = "Kelvin"
    R = "Rankine"

Default setting is 'C'.

OW_REFRESH_INTERVAL
Refresh for fli4l-HTTP in seconds. '0' = no refresh.

Default setting is '10'.

OW_OWFS_FAKE
Enables the random simulation of 1-wire components. There may be specified multiple components with family code separated by spaces. The simulated states are purely coincidental. The option can not be activated simultaneously with the 'TESTER' mode.

OW_OWFS_TESTER
Enables the systematic simulation of 1-wire components. There may be specified multiple components with family code separated by spaces. The simulated conditions follow realistic values. This option can not be activated simultaneously with the 'FAKE' mode.

OW_OWFS_RUN
Specifies whether owfs should be started automatically during the boot of the router. Default value is 'yes', whereas with 'no' the application must be started manually.

OW_OWFS_READONLY
Sets with "yes" stated that component states can only be read but not written via owfs.

Default setting is 'no'.

OW_OWFS_PATH
Specifies the root directory for the fuse directory structure. The default value is '/var/run/ow'. The selected directory should be situated on the RAMdisk for reasons of system performance!

OW_CACHE_SIZE
Is used to set the maximum size of the cache in [bytes] on systems with very little RAM disk.

The default value of '0' removes any limitation.

OW_USER_SCRIPT_INTERVAL
Specifies the waiting time between two runs of the user-script. The value '0 'should only be used, if 'sleep' is executed in the script.

OW_DEVICE_LIB
Specifies the absolute path and file name of the component library on the router. By using a value other than the default value '/srv/www/include/ow-device.lib' it may be ensured that the component library will not be overwritten when updating the opt library and personal changes are preserved.

OW_INVERT_PORT_LEDS
Inverts the state of the port Leds of i/o ports (latch*, sensed*, PIO*).

Default setting is 'no'.

© 2001-2015 The fli4l-Team - 25 October 2015