please try this version: https://www.dropbox.com/s/zfnlb195573iut9/piBeacon.indigoPlugin.zip?dl=0
it has a state "onOffState", it is True/False
all logical device with state INPUT_.. and status up/down have it now ( GPIO INPUT, input touch, ... beacon, BLEconnect, rpi ..)
the other plugins might like to use that state.
The Output GPIO is a indigo dimmer device type that has the onOffState building in by indigo. that is why it shows up in the selection of the other plugins
Karl
the cynical plugin has a selection in the menu:
- Code: Select all
def generate(self):
sensors = [io.id for io in indigo.devices.iter("indigo.sensor")] <<<< ==== this might still exclude it ==> set loose devices = true in config
loose = cyin.plugin.loosedevices
for io in indigo.devices.iter():
# special deal for I/O-Linc devices (cyin makes them look like sensors)
if io.protocol == indigo.kProtocol.Insteon and io.model.startswith("I/O-Linc"):
yield cyin.device(io.id).filter_clause()
if "onOffState" in io.states: <<<========= pibeacon INPUT devices now have that state!!!
if loose or io.id in sensors:
yield cyin.device(io.id).filter_clause()
you will need to set loose devices = true in that plugin config.
Karl