OPT_OW='yes' # install OPT_OW (yes/no)
OW_USER_SCRIPT=” # e.g. 'usr/local/bin/ow-user-script.sh'
OW_OWFS='yes' # start owfs (yes/no)
OW_OWFS_DEV='usb' # usb*, ttyS*, ip:port, etc.
OW_OWFS_GROUP_N='4' # number of groups
OW_OWFS_GROUP_1_NAME='1--Wire at USB' # name of first group
OW_OWFS_GROUP_1_PORT_N='2' # number of ports of device
OW_OWFS_GROUP_1_PORT_1_ID='81.70D42A000000/ID' # ID of device
OW_OWFS_GROUP_1_PORT_1_ALIAS='ID' # alias of ID
OW_OWFS_GROUP_1_PORT_2_ID='81.70D42A000000/Admin/*' # admin-access
OW_OWFS_GROUP_1_PORT_2_ALIAS='Admin/' # alias of admin
OW_OWFS_GROUP_2_NAME='Heating'
OW_OWFS_GROUP_2_PORT_N='7'
OW_OWFS_GROUP_2_PORT_1_ID='3A.F6E401000000/PA'
OW_OWFS_GROUP_2_PORT_1_ALIAS='1. circulation pump'
OW_OWFS_GROUP_2_PORT_2_ID='3A.F6E401000000/PB'
OW_OWFS_GROUP_2_PORT_2_ALIAS='2. charging pump'
OW_OWFS_GROUP_2_PORT_3_ID='10.651BA9010800/temp'
OW_OWFS_GROUP_2_PORT_3_ALIAS='4. Return temperature'
OW_OWFS_GROUP_2_PORT_4_ID='10.DEF0A8010800/temp'
OW_OWFS_GROUP_2_PORT_4_ALIAS='3. flow temperature'
OW_OWFS_GROUP_2_PORT_5_ID='3A.F6E401000000/Admin/*'
OW_OWFS_GROUP_2_PORT_5_ALIAS='Admin/Switch-'
OW_OWFS_GROUP_2_PORT_6_ID='10.DEF0A8010800/Admin/*'
OW_OWFS_GROUP_2_PORT_6_ALIAS='Admin/VLT-'
OW_OWFS_GROUP_2_PORT_7_ID='10.651BA9010800/Admin/*'
OW_OWFS_GROUP_2_PORT_7_ALIAS='Admin/RLT-'
OW_OWFS_GROUP_3_NAME='Solar devices'
OW_OWFS_GROUP_3_PORT_N='3'
OW_OWFS_GROUP_3_PORT_1_ID='1C.7F6CF7040000/P0'
OW_OWFS_GROUP_3_PORT_1_ALIAS='1. charging pump'
OW_OWFS_GROUP_3_PORT_2_ID='1C.7F6CF7040000/P1'
OW_OWFS_GROUP_3_PORT_2_ALIAS='2. valve'
OW_OWFS_GROUP_3_PORT_3_ID='1C.7F6CF7040000/Admin/*'
OW_OWFS_GROUP_3_PORT_3_ALIAS='Admin/Switch-'
OW_OWSHELL='yes'
OW_OWSHELL_RUN='yes'
OW_OWSHELL_DEV='usb'
OW_OWSHELL_PORT='127.0.0.1:4304'
OW_OWHTTPD='yes'
OW_OWHTTPD_RUN='yes'
OW_OWHTTPD_DEV='127.0.0.1:4304'
OW_OWHTTPD_PORT='8080'
The following variables have to be to configured in the file config/ow.txt:
| PC interface | Variable set to | Example |
|---|---|---|
| serial | ttyS* | ttyS0 = COM1, ttyS1 = COM2 |
| USB | ttyUSB* | ttyUSB1 = first USB adapter |
| usb = first USB adapter | ||
| usb3 = third USB adapter | ||
| I2C | i2c-[0-9] | i2c-0 = first I2C port |
| Simulation | fake | For using 'FAKE' and 'TESTER' modes set the variables OW_OWFS_FAKE or OW_OWFS_TESTER to valid family codes, see chapter 1.11 |
If you want to suppress display of certain data in the web interface, i.e. because the port of a component has not been established or after completion of the configuration the admin branch is no longer needed, you can prefix the name with an exclamation mark (!).
Configuration example:
OW_OWFS_GROUP_x_PORT_x_ID='29.57D305000000/P6'
OW_OWFS_GROUP_x_PORT_x_ALIAS='EA-Modul/!P6' # Signal suppressed
OW_OWFS_GROUP_x_PORT_x_ID='29.57D305000000/Admin/*'
OW_OWFS_GROUP_x_PORT_x_ALIAS='EA-Modul/Admin/!' # Admin path deactivated
# completely
A detailed description for the configuration of OWFS can be found in the appendix A.6 and here: http://owfs.org/index.php?page=owfs.