Sorry for another newbie question, but would I use Motion Lighting or Rule Machine for the following scenario:
In evening or night modes, if motion is detected, turn on lamp to specific level. Turn off if no motion detected for x amout if time based on modes. My additional kicker is, do nothing if the lamp is already on.
I used motion lighting for my above scenario, but if I have the lamp on to a high dimmer value and someone triggers motion, it kicks back down to the level defined by the mode. I didnāt know if there is a way to bypass the action firing altogether.
In the Motion Lighting App, you should have a section called "Options for Activate, Disable, and Enable Lights-On". Within that, there is a section called "Switch to disable turning on". I would think that you could use the same light as you are planning to automate here as a Disabler for the Motion Lighting Automation. That way, if the light is already on, I would think it would do nothing. There is even an "Override for Level Only" switch you could turn on, so it would not mess with the current level, but would still turn off the light once motion stops.
Give it a try and let us know if it works. I haven't tried it myself yet...
Sorry, I should have specified that his particular lamp is simply using an IKEA Tradfri bulb, so no switch or button actually exists when attempting to use this option. The only items that show up are my dimmers and on/off z wave switches.
Also, the bulb did actually come with a remote that is paired to Hubitat but much like in SmartThings there isnāt a driver to have it actually do anything via Hub. It does remain paired to bulb so I often turn off/on bulb using it and Echo/Google devices.
I assume the bulb shows up as a device in Hubitat, correct? And I assume it has an attribute called 'switch' that has a value of either 'on' or 'off'? If so, you should be able to still use it. Smart Bulbs have a Switch and Dimmer internally inside them, and they should still report data with attributes of 'switch' and 'level'.
It is indeed. I swore I checked it prior but did not. The driver Iām using is Zigbee RGB light (as itās the tradfri rgb model). The odd thing is that while the bulb was off, it showed a level (Iām fine with that) but also showed a state of āonā when it was clearly off. I toggled off/on and the state seemed to correct itself. Hopefully this was a fluke.
Make sure you press the CONFIGURE button to tell the bulb to properly report its status updates to Hubitat.
The level value should be retained even when the bulb is off. This is how it knows what level to return to when powered back on.
Is this bulb receiving constant power? If not, it probably turns on when power is restored like most smart bulbs, but may not report its status to Hubitat. Always best to keep Smart Bulbs powered 100% of the time.