in reply to Re: Saving Options
in thread Saving Options

I will try this and report back....I can do the not state with the lights as well....since I can turn the lights on and off too the same as the bell and horn correct?

Replies are listed 'Best First'.
Re^3: Saving Options
by cragapito (Scribe) on Dec 20, 2015 at 23:05 UTC

    Yes, Each call to togglelight inverses the state. Useful to have a flashing light.

    Calling bellon/belloff there are a conditional, so it only executes the block (and send command to receiver) if needed.

    These are two ways to send command, with toggle and with pre-determined state. If you want to determine the state of the lights use the bellon/belloff example, only changing bell by light. One will not interfere in other.

    We don't have the horn code. Take the horn number, subtract 128, the result will be the hornmask.