Subsections
1.13.1 Browser
fli4l's optionally installable web server (opt_httpd) offers the possibility
to execute own shell/CGI script applications from any browser on the network.
This was used here. To use the web server config/httpd.txt must be configured
accordingly.
In OPT_OW a browser application is provided. It only will be installed, if
OW_OWFS='yes' is set in /config/ow.txt. The script is located at
/srv/www/admin/ow.cgi and under
fli4l-version\opt\files\srv\www\admin\ow.cgi
in the fli4l installation directory. The menu entry appears at Opt /
1-Wire-Bus.
Under the tab Status the componetens connected to the 1-wire bus
are displayed grouped in a tree structure according to the settings in config/ow.txt.
The group is opened by clicking on it. The values configured will be
shown. In the admin structure all parameters defined for the component in the
component library (see 8.4) are shown. Concerning the meaning of the parameters
see the data sheets of Maxim and the referenced manpages.
Under the tab Admin (only shown in admin mode) the chosen applications
may be switched on or off.
The LEDs shown signal the following states by colors:
- LED green = not active (Unoperational)
- LED red = active (Operational)
- LED yellow = not active (Warning)
The control buttons are used to switch the assigned ports. The icon indicates
the current switching status in addition. Regarding the permissions, see 8.1.
The query and control of sensors and actuators is also possible on the console
of the fli4l or via remote access (i.e. WinSCP, Putty).
For example with:
- cat /var/run/ow/10.DEF0A8010800/temperature
the temperature of a DS19S20 is queried.
- echo ``1'' > /var/run/ow/1C.7F6CF7040000/PIO.O
output 1 of a DS28E04-100 (dual switch) is activated.
- echo ``0'' > /var/run/ow/1C.7F6CF7040000/PIO.O
output 1 is deactivated again.
Further description can be found in the appendix A.6 and here:
http://owfs.org/index.php?page=owfs
© 2001-2015 The fli4l-Team - 25 October 2015