1.====
for RGB dimmer devices brightness seems to either 0 or 100, nothing in-between.
in the sdk is also no example on how to set this,
how is is calculated. just 0 or 100 for on/off?
2.===
the building devise stated eg redLevel can be set withe dev.updateStates ...()
but i am not able to read them:
tried
- Code: Select all
if "redState in dev.states .. is False
- Code: Select all
xx = dev.states["redLevel"] throws error
- Code: Select all
dev.redLevel shows None
doing indigo.log( unicode(dev) ) shows
...
batteryLevel : None
blueLevel : None
brightness : 0
redLevel : None
...
although they do show a value in the detailed device pane
======
And finally a python question:
how do I access dev.ppp
with ppp a variable = "redLevel" / "greenLevel" / "address"... (dev.redLevel works but shows None)
shows error: 'DimmerDevice' object has no attribute 'ppp'
Karl