Announcement

Collapse
No announcement yet.

Can I hold a room at a particular light level with Easytrigger?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can I hold a room at a particular light level with Easytrigger?

    I am trying to wrap my head around using Easytrigger to maintain a constant lux value in our TV room if the TV is on. The trigger would be comparing a device that reports the lux value in the room to a "constant lux value" and makes a decision to either increase the percentage of the room lights or decrease it. Thus far, my attempts seem to return an error based on string vs. integer.
    HomeSeer Version: HS3 Pro Edition 3.0.0.500
    Operating System: Microsoft Windows 10 Pro - Work Station

    Enabled Plug-Ins:
    2.1.0.119: AmbientWeather | 3.0.21.0: BLLock | 2.0.24.0: BLUPS | 1.3.6.0: Device History | 3.0.0.56: EasyTrigger | 3.1.0.7: MeiHarmonyHub | 3.0.6681.34300: UltraCID3 | 3.0.6644.26753: UltraLog3 | 3.0.6554.33094: UltraMon3 | 3.0.0.91: weatherXML | 3.0.1.245: Z-Wave | 3.0.51: HS Touch Designer | 3.0.0.40 Z-Seer+

    #2
    Spitballing a bit here, but maybe this would work?


    IF Repeating trigger every X seconds
    AND IF TV is on
    AND IF dimmer > 0
    AND IF dimmer < 100 (or whatever max dim value is)

    THEN Set dimmer to expression: if (lux_val > lux_constant, $DEVICEVALUE - 1, (if (lux_val < lux_constant, $DEVICEVALUE + 1, $DEVICEVALUE))

    And check option: “Send command only if expression results in a new value”.


    edit: changed last argument in expression from 0 to $DEVICEVALUE.
    -Wade

    Comment

    Working...
    X