Project Home‎ > ‎Documentation‎ > ‎Devices‎ > ‎

Generic

An Interface Device is used for generic devices that don't conform to objects such as lights, doors and motion.

For example, a keychain remote such as a Slimfire KR19A or a Slimline SS13A wall switch that talks to a W800RF32 Interface and has 'ON' and 'OFF" buttons would be defined as a Generic device. It could then be used to turn devices such as lights, on and off.

Examples:

# Button on a Slimline wall switch sl_living_room_sofa = Generic('A1', w800) # Tie it to a Light device sofa_light = Light(address='12.E4.88', devices=(insteon, sl_living_room_sofa) )
Comments