INSTEON LED Bulb
An INSTEON LED Bulb
The INSTEON LED Bulb is an INSTEON controllable light bulb. The light bulb generates light using LEDs (light emitting diodes). The light bulb can be turned on, off, and dimmed using the INSTEON netowrk. The light bulbs come in different packages with different brightnesses and form factors.
Installing a LED Bulb
The LED Bulb Device has an input terminal, "1", for setting the light bulb brightness, and an output status terminal, "1S", for showing the state of the light bulb. Brightness values are integers from 0 to 100, where 0 is off and 100 is full on. If the Device is assigned an
off value, the light bulb will turn off. If the Device is assigned an
on value, the light bulb will go to its last non-off value. So, if the Device was turned off when its "1" terminal value was 50, assigning the "1" terminal an
on value will return the light bulb to level 50.
Generally, the "1S" status output will track the state of the "1" terminal. However, if the "1" terminal is assigned the value
on, the "1S" terminal will show whatever value the light bulb's last non-off value was. If the light bulb malfunctions or is out of radio range, the "1S" terminal will not track the state of the light bulb. The "1S" terminal is useful when one needs to know the actual state of the light bulb.
The "1S" terminal will display
off values in the following 2 instances. When the light bulb's value is 0, the "1S" terminal will display the value
off. When the light bulb's value is 100, the "1S" terminal will display the value
Create the LED Bulb Device by running the LEDBulb Script. The parameters for the LEDBulb Script are:
- this parameter is only necessary when there is more than one INSTEON network. The port_location is the USB port of the network's INSTEON modem. It is used to differentiate INSTEON networks. In *nix systems, this is in the /dev directory with a name like /dev/ttyUSB0 or /dev/cu.usbserial-00001004. Type "ls -lrt /dev/*" for hints. On Windows systems, the location is COMx where "x" is a number (1,2,3, etc.).
To add a LED Bulb Device with ID "light_bulb" and INSTEON Address "12.34.AB" to a system with one INSTEON network, run the LEDBulb Script with the following parameters: