it looks as if
- Code: Select all
<Field id="newenableRebootCheck" type="menu" defaultValue="restartLoop">
<Label>If rPi encounters an internal problem / ping to indigo does not work:</Label>
<List>
<Option value="doNothing" >do nothing (not recommended)</Option>
<Option value="restartLoop" >restart progams on rPi(default) </Option>
<Option value="rebootloop" >reboot rPi if internal problem</Option>
<Option value="restartLoop-pingBoot" >restart progams on rPi / reboot if no succesfull ping to indigo for 5 minutes</Option>
<Option value="rebootloop-pingBoot" >reboot rPi </Option>
</List>
</Field>
if guess its like a xxx.find(defaultValue) >-1. and that will result in 2 hits.
so the starting string has to be different?
Karl