Subsections

1.14 Advanced Features

1.14.1 Assignment Of Rights

The assignment of user rights is implemented in fli4l's web interface
(see the notes in doc/english/pdf/httpd.pdf).
OPT_OW akes use of this too. To use the OW rights the following modes can be specified in the file config/httpd.txt for the area ow:

The Admin tab by which owfs and the user-script may be switched on and off will not be displayed in the mode exec and view. All entries containing an Admin will be disabled too.

1.14.2 Components Library

Due to the variety of 1-wire components offered by MAXIM an own component library was created. The corresponding library script is on the fli4l in /srv/www/include/ow-device.lib and in the fli4l installation directory under fli4l-version\opt\files\srv\www\include\ow-device.lib. The library already contains some important components. Own devices can be added according to the nomenclature used and shared with other fli4l users on the fli4l newsgroups at 'spline.fli4l.opt'. Only components in the library will be shown in the browser. The library scripts may be edited as desired either for testing purposes or as a permanent change on the router itself using programs such as WinSCP or in the fli4l installation directory.


1.14.3 OW_USER_SCRIPT

The script can be found on the router under /usr/local/bin/ow-user-script.sh and in the fli4l installation directory at fli4l-version\opt\files\usr\local\bin\ow-userscript.sh. It can be adapted to reflect your current needs for applications to be monitored and/or controlled. The advantage of the script is the fact that even large and complex controls are possible on existing hardware.

© 2001-2015 The fli4l-Team - 27 January 2015