Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Baran
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by Baran

    • Baran

      My Loops are out of sync.
      Troubleshooting • • Baran  

      2
      0
      Votes
      2
      Posts
      1062
      Views

      marceltrapman

      Hi, I edited your post to show the code as it should Remove ' i = i+1;'. It is obsolete. You already do this with 'i++' where you define your loop...
    • Baran

      Close but no cigar . . .
      Troubleshooting • • Baran  

      8
      0
      Votes
      8
      Posts
      2965
      Views

      BulldogLowell

      @Baran because the function exists in the MySensors library, you are likely having a conflict with the names. Post your entire sketch, then we can comment. I posted a function, not an entire sketch.
    • Baran

      Controller Code that Demonstrates Integer Parsing
      Controllers • • Baran  

      10
      0
      Votes
      10
      Posts
      3795
      Views

      BulldogLowell

      Just assigning a C string to the char array, of length 23. Simulating the message you receive.
    • Baran

      Restricting Node Output Data to the Gateway
      Troubleshooting • • Baran  

      4
      0
      Votes
      4
      Posts
      1228
      Views

      hek

      Turn off DEBUG in MyConfig.h before compiling your gateway sketch.
    • Baran

      Do I have an error or am I mistaken?
      Troubleshooting • • Baran  

      4
      0
      Votes
      4
      Posts
      1442
      Views

      Baran

      Greetings Hek, I am never sending messages to my nodes, only requests for data from the analog sensors. As I am already receiving analog inputs 0 through 7, I have no need to present eight different sensors. What I am unable to get right is the message that I would send to a node (like the script above) that would cause it to unleash one round of sensor data. I know the first number is the node, itself. The second number is the sensor but that is weird here because all sensors are read in one shot. Should I simply call it sensor 0 to match the CHILD_ID_POWER? I know the third number is a request if it is a "2" and the fourth can be a "0" for no ack. As I call MyMessage msg with V_WATT, the fifth number is "17" so, in my mind (and nowhere else because it does not work;), the code my gateway should send to node 1 to request data is 1,0,2,0,17/n. I am wrong, of course, because it doesn't work. If anyone could set me straight, I would deeply appreciate it. Also, thanks to Chester for the IF statement advice.. As a PS, my nodes communicate well and my gateway notices when my node is activated.
    • Baran

      Responding to a Gateway Query
      Troubleshooting • • Baran  

      1
      0
      Votes
      1
      Posts
      688
      Views

      No one has replied

    • Baran

      Serial Gateway Code to Query Node's Payload?
      Troubleshooting • • Baran  

      7
      0
      Votes
      7
      Posts
      2297
      Views

      hek

      http://www.mysensors.org/download/serial_api_14 To do a REQ(uest) set message-type to 2. For example: 12;1;2;0;0;\n This requests a DOOR (0) -variable from sensor 1. Remember you must pick up this request in the callback of your sensors sketch.
    • Baran

      Changing Node IDs on the fly?!?
      Troubleshooting • • Baran  

      3
      0
      Votes
      3
      Posts
      1145
      Views

      Baran

      Good Point;)-
    • Baran

      Serial Gateway does not fully communicate
      Troubleshooting • • Baran  

      2
      0
      Votes
      2
      Posts
      984
      Views

      hek

      @Baran Your sensors is requesting an id from the controller http://www.mysensors.org/download/serial_api_14
    • Baran

      I will Pay someone to help me successfully compile my Serial Gateway sketch!
      Troubleshooting • • Baran  

      4
      0
      Votes
      4
      Posts
      1235
      Views

      hek

      @Baran There is no reason to keep starting new threads. Please! This forum is limited because I cannot post screen shots of my file hierarchy... I Answered this question in your last thread. http://forum.mysensors.org/topic/704/mygateway-h-and-mysensor-h-can-not-be-found/2 Did you follow my instructions on how to move the libraries to the right location? The path you wrote in the last thread is wrong.
    • Baran

      MyGateway.h and MySensor.h can not be found
      Troubleshooting • • Baran  

      2
      0
      Votes
      2
      Posts
      4889
      Views

      hek

      You should only copy the "libraries" folder from inside the zip to your sketchbook location. And restart IDE. In your case: documents/Arduino/libraries/MySensors You can drag-and-drop images directly to to the compose window.
    • Baran

      Arduion IDE error 'MyGateway' does not name a type
      Troubleshooting • • Baran  

      10
      0
      Votes
      10
      Posts
      6297
      Views

      botbite

      Baran, just wondering, but did you try to copy and past JUST the library folder from the zip file into the same folder where your Arduino IDE's library folder is located. Let me make it clear that I'm not talking about pasting it into the Arduino library folder itself, but into the same folder that the Arduino's library folder is located. When you do this the computer will bring up a box that says you can't have two folders named library in this location and then ask if you want to consolidate them. You say yes and then they become one folder making it's so your Arduino IDE can find the now one library file.