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. Development
  3. Beginner First node setup issue

Beginner First node setup issue

Scheduled Pinned Locked Moved Development
2 Posts 2 Posters 785 Views 2 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.
  • CyberzoidC Offline
    CyberzoidC Offline
    Cyberzoid
    wrote on last edited by
    #1

    Hello
    I'm having some trouble understanding how to get my first node running. First I'm a bit confused on how to read the output. Mainly the fact that things are seemingly named differently between pages. This is how I understand it so far.

    s = sensor id			->this sensor id
    c = command				->message type
    t = message type		->Sub type
    pt = payload type		->???
    l = length of packet	->size
    sg = signed yes or no	->not using
    

    Beyond that if I'm reading the output right, it's trying to get a node id; however, I manualy put one in.

    Also what does the first numbers mean? eg 1-1-255-255.
    And what the st field means? bc?

    The setup
    I'm using the DallasTemperatueSensor example modified for the DHT11 temp sensor. The sensor is working.
    Some code excerpts

    //setup
    gw.begin(NULL, 1);
    gw.present(2, S_TEMP);
    //loop
    gw.send(msg.setSensor(2).set(temperature1,1));
    

    The controller is just the serial example
    The controller also has a 47uf cap between 3.3v and gnd

    Node 1 Output

    find parent
    send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    temp=21.00	Hum=32.00
    

    Controller Output

    0;0;3;0;9;read and forward: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;0;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    

    Thank you in advanced.

    mfalkviddM 1 Reply Last reply
    0
    • CyberzoidC Cyberzoid

      Hello
      I'm having some trouble understanding how to get my first node running. First I'm a bit confused on how to read the output. Mainly the fact that things are seemingly named differently between pages. This is how I understand it so far.

      s = sensor id			->this sensor id
      c = command				->message type
      t = message type		->Sub type
      pt = payload type		->???
      l = length of packet	->size
      sg = signed yes or no	->not using
      

      Beyond that if I'm reading the output right, it's trying to get a node id; however, I manualy put one in.

      Also what does the first numbers mean? eg 1-1-255-255.
      And what the st field means? bc?

      The setup
      I'm using the DallasTemperatueSensor example modified for the DHT11 temp sensor. The sensor is working.
      Some code excerpts

      //setup
      gw.begin(NULL, 1);
      gw.present(2, S_TEMP);
      //loop
      gw.send(msg.setSensor(2).set(temperature1,1));
      

      The controller is just the serial example
      The controller also has a 47uf cap between 3.3v and gnd

      Node 1 Output

      find parent
      send: 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      temp=21.00	Hum=32.00
      

      Controller Output

      0;0;3;0;9;read and forward: 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;0;3;0;9;send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
      

      Thank you in advanced.

      mfalkviddM Online
      mfalkviddM Online
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Hi @Cyberzoid
      Welcome to MySensors!

      A description of how ro read all the output is available at http://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help

      1 Reply Last reply
      2

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      19

      Online

      12.1k

      Users

      11.2k

      Topics

      113.4k

      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