Use following constructors if you want to create some DS2408 from your python scripts.
Parameters:
from webiopi.devices.digital import DS2408
# Setup a DS2408 with 1-Wire slave auto-detect
sw0 = DS2408()
# Setup a DS2408 with 1-Wire slave 29-0000000bc0de
sw1 = DS2408(slave="29-0000000bc0de")
Use following syntax to setup some DS2408 in the webiopi service/command configuration file.
[DEVICES]
# Setup a DS2408 with 1-Wire slave auto-detect
sw0 = DS2408
# Setup a DS2408 with 1-Wire slave 29-0000000bc0de
sw1 = DS2408 slave:29-0000000bc0de