Announcement

Collapse
No announcement yet.

Manual link is broken in the sticky - help please

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

    Manual link is broken in the sticky - help please

    I have the Arduino connected to Homeseer without issue.
    I have a Ultrasonic sensor that requires a 10 ms HIGH written to the Output pin such as this:

    // Clear the trigger pin
    digitalWrite(triggerPIN, LOW);
    delayMicroseconds(2);
    // Sets the trigger on HIGH state for 10 micro seconds
    digitalWrite(triggerPIN, HIGH);
    delayMicroseconds(10);
    digitalWrite(triggerPIN, LOW);
    // wait for the echo

    In order to read the value from the sensor as such:
    durationMS = pulseIn(echoPIN, HIGH);

    I'm assuming the way to do this with HomeSeer is to send the High signal from Homeseer? Can someone pls advise?

    #2
    Hi,

    I'm not the specialist here, but it seems that if precise durations like microseconds are vital for your system, the latency between Homeseer (not specially the Arduino plugin) and the rest of the world could be a problem.

    But maybe some here have better experience than me about that.

    Michel

    Comment


      #3
      Thanks Michel, Is there a way to customize a recipe so that this code can be run on the Arduino and the output sent back to HomeSeer?

      Comment


        #4
        Yes, you have to choose "Arduino API" when creating a new board, which allows you to run your own sketch, and let the plugin collect specific datas you decide.

        Please note that I never tried this yet, so beware of my newbie answer. Trying API is on my short terms plans, because I love Homeseer for a lot of aspects (compatibility etc.), but regarding latency, oh my goodness...............

        Comment


          #5
          I've found the manual via Google online. I have got the customized sketch designed and running. Thanks again for your input Michel.

          Comment


            #6
            So easy ??? Need to try this afternoon !

            Comment


              #7
              Can you write us a link to the manual?

              Comment


                #8
                You mean this ?

                http://homeseer.dyndns-remote.com:87...eer%20Help.pdf

                Comment

                Working...
                X