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

    Marek

    @Marek

    1
    reputation
    474
    profile-views
    2
    posts
    0
    followers
    0
    following
    joined
    lastonline

    Marek unfollow follow

    pages:account/best, Marek

    • 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

    pages:account/latest-posts, Marek

    • 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