Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Vera
  4. Send comands just once?

Send comands just once?

Scheduled Pinned Locked Moved Vera
5 Posts 3 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TmasterT Offline
    TmasterT Offline
    Tmaster
    wrote on last edited by
    #1

    Hello guys,
    I recently build an light sensor(simple photocell) that reports outside/sun light . Then i set a scene on vera that "when light is below 10lux "all my fibaro shutter modules close my shutters. That light sensors update light value each 5 minutes .

    This night i hear for 2 times my fibaro actuators try to shutoff again the closed shutter (relay from module did a tik tak) ,but because shutters have mecanical stop embedded it didn't move.

    My question is : its normal vera scene send the same comand again each 5 minutes (or random,i don't shore) if that condition its already performed? or i can define some kind of run only once?

    i'm a arduino fan .Even sometimes don't undestanding how to use it :P

    YveauxY 1 Reply Last reply
    0
    • Dave DanD Offline
      Dave DanD Offline
      Dave Dan
      wrote on last edited by
      #2

      Looks like as the sensor is receiving that value, the scene is runs again. I'd think that will be reviewed in cycles based on the lua engine (just a guess). Why 2 times and not every XX minutes? no idea, sorry.

      Maybe you just need to tweak the scene to not to run when the shutter is down (?).

      my 2 cents :)

      1 Reply Last reply
      0
      • TmasterT Tmaster

        Hello guys,
        I recently build an light sensor(simple photocell) that reports outside/sun light . Then i set a scene on vera that "when light is below 10lux "all my fibaro shutter modules close my shutters. That light sensors update light value each 5 minutes .

        This night i hear for 2 times my fibaro actuators try to shutoff again the closed shutter (relay from module did a tik tak) ,but because shutters have mecanical stop embedded it didn't move.

        My question is : its normal vera scene send the same comand again each 5 minutes (or random,i don't shore) if that condition its already performed? or i can define some kind of run only once?

        YveauxY Offline
        YveauxY Offline
        Yveaux
        Mod
        wrote on last edited by Yveaux
        #3

        @Tmaster said:

        simple photocell

        These sensors are analog and you probably threshold them to distinguish light from dark, right?
        Could it be that noise on the reading sends some alternating dark/light readings after eachother, causing the Vera to think it has to close the blinds multiple times?
        A simple solution could be to add hysteresis to the sensor readout. E.g. if threshold value you determined is 100, then say it's dark when value gets below 90 and decide its light when it gets above 110. Inbetween you keep the previous value.
        Effectively this would require the readout to change by at least 20 increments (110-90) before it's seen as a change of light level.

        My 2 (Euro) cents ;-)

        http://yveaux.blogspot.nl

        1 Reply Last reply
        0
        • TmasterT Offline
          TmasterT Offline
          Tmaster
          wrote on last edited by
          #4

          mysensor sends each 5 minutes the light value. IF value less than 10 is night and shutters closes. if by miss read from sensor value goes above 10 all shuters will open. that never happens during the night,so its not a miss value from mysensors light sensor.

          what is happening is someting on vera scene! for example i have an notification set for, when temperature from water in solar panel is less than 35ºC send notification from vera to my android cellphone .Some nights it sends 5 times the same alert.
          Its normal send this alarm so many times if temperatures was already LESS than 35ºC?

          it happens the same with light and temperature... values updated from sensors each 5 minutes .

          i'm a arduino fan .Even sometimes don't undestanding how to use it :P

          1 Reply Last reply
          0
          • TmasterT Offline
            TmasterT Offline
            Tmaster
            wrote on last edited by
            #5

            Its solved just by use an application called "day or night" from RichardTSchaefer( pleg guy) and the it only send values once(when night comes). If the sensor (mysensor) is made to send an value each 5minutes or so, vera random accept this value like if it's new, although its the same value as before. Ex:Like an notification when temperature is less than 35ºC, if i sensor sends 50 times and temp. keeps decreasing , during the night in 5minutes interval, 3 or 4 times i receive notifications saying : temp less than 35c...

            It how vera works, but i don't know why...

            i'm a arduino fan .Even sometimes don't undestanding how to use it :P

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            23

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular