• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login
    1. home
    2. Marek
    3. posts
    M
    offline
    • profile
    • following 0
    • followers 0
    • topics 0
    • posts 2
    • header.groups 0

    posts

    header.recent best controversial
    • RE: Rules introduction

      @jkandasa Thanks for the hint. I'v created following script and it works 😄

      var dimCree = mcApi.uidTag().getByUid("dimm_cree_uid");
      var dimCob = mcApi.uidTag().getByUid("dimm_cob_uid");
      ( dimCree.sensorVariable.value == 0 && dimCob.sensorVariable.value == 0 )

      Thanks for all the effort,
      Marek

      global:posted-in, Rules
      M
      Marek
    • RE: Rules introduction

      Hello,

      I would like to execute some operation when data from two sensors meet some condition.
      For example: if (sensor1 == 0 AND sensor2 == 0) then turn_off_power.

      Is there a way how to do it?

      Thank You,
      Marek

      global:posted-in, Rules
      M
      Marek