p.kaczmarek2 wrote: I don't know if the bridge driver author added support for initial state.
Maybe we can try to make some kind of work around...
Create autoexec.bat with the following script:
// turn off power after 4 secs (repeating event with 1 repeat)
addRepeatingEvent 4 1 setChannel 1 0
I have assumed that bridge relay is configured to be on channel 1.
Yes, brigde is setup on channel 1
manualy "save and run as script" working properly, but after disconnect and connect AC, state of switch and LED is off, but bridge doesn't react, and relay remain closed.
It's the same situation like "SetStartValue 1 0"
update:
hmmm ?
first i remove autexec.bat then check all combinations:
H bridge on channel 1
set SetStartValue 1 0 ; then AC off/on; then Led_n 1 - off , bridge not react - issue ?
set SetStartValue 1 1 ; then AC off/on; then Led_n 1 - on , bridge set on - ok !
set SetStartValue 1 -1 ; then AC off/on; then Led_n 1 and brigde work properly ( remeber last state ) - ok !