Set Dimmer level in a Script



  • Hi All,

    I'm trying to find a way to set the value for a Dimmer from a Script.

    I know it sounds easy but I've found myseft somehow challenged with this.

    The idea is to dim a light to compensate the lack of light in a room so the less light in the room (measured from a light sensor) the high in the dimmer.

    ideas?

    thanks in advance.


  • Admin

    Guess it would require two separate sensors. Where one is measuring the light level in a space unaffected by the lamp your controlling.



  • Yup. Got it.

    Sorry, wasn't very specific in my ask.

    I'm looking for ideas on how to implement this in HA. Still not mastering the language enough to figure this one out.

    Thanks sir!!


  • Admin

    Sorry, didn't read which category this was posted in.


 

415
Online

7.9k
Users

8.8k
Topics

93.8k
Posts