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. Troubleshooting
  3. My first motion build give error

My first motion build give error

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 4 Posters 1.4k Views 4 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.
  • TON RIJNAARDT Offline
    TON RIJNAARDT Offline
    TON RIJNAARD
    wrote on last edited by
    #1

    I am a newby and this is my first build i get this error from the motion sensor.

    I use a arduino uno to try this project.

    Can some one help me what is wron

    Starting sensor (RRNNA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    !TSP:ASSIGNID:FAIL (ID=0)
    !TSM:FAILURE
    TSM:PDT
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    !TSM:FPAR:FAIL
    !TSM:FAILURE
    TSM:PDT

    mfalkviddM 1 Reply Last reply
    0
    • TON RIJNAARDT TON RIJNAARD

      I am a newby and this is my first build i get this error from the motion sensor.

      I use a arduino uno to try this project.

      Can some one help me what is wron

      Starting sensor (RRNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      !TSP:ASSIGNID:FAIL (ID=0)
      !TSM:FAILURE
      TSM:PDT
      TSM:FPAR
      TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      !TSM:FAILURE
      TSM:PDT

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

      @TON-RIJNAARD great that you've gotten started :)
      Is this a combined node+gateway or do you have a separate gateway?
      Could you post your sketch?

      Node id 0 is reserved for the gateway. If this is a non-gateway node, use an id between 1 and 254.

      The basics of the MySensors network (nodes, gateways, etc) is described at https://www.mysensors.org/about/network

      TON RIJNAARDT 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @TON-RIJNAARD great that you've gotten started :)
        Is this a combined node+gateway or do you have a separate gateway?
        Could you post your sketch?

        Node id 0 is reserved for the gateway. If this is a non-gateway node, use an id between 1 and 254.

        The basics of the MySensors network (nodes, gateways, etc) is described at https://www.mysensors.org/about/network

        TON RIJNAARDT Offline
        TON RIJNAARDT Offline
        TON RIJNAARD
        wrote on last edited by
        #3

        @mfalkvidd

        Hello, thanks for the very fast reply. The sketch is from the motion sensor.
        But i have not the gateway (i am waiting on the nano board).
        Must i chance the ID nr in the sketch?

        Greatz Ton

        BartEB CurlyWurlyC 2 Replies Last reply
        0
        • TON RIJNAARDT TON RIJNAARD

          @mfalkvidd

          Hello, thanks for the very fast reply. The sketch is from the motion sensor.
          But i have not the gateway (i am waiting on the nano board).
          Must i chance the ID nr in the sketch?

          Greatz Ton

          BartEB Offline
          BartEB Offline
          BartE
          Contest Winner
          wrote on last edited by
          #4

          @TON-RIJNAARD to preset a node id use this define, where 1 can be a number between 1 and 254 (no duplicates allowed within your network)
          #define MY_NODE_ID 1

          But if there is no gateway you will keep getting errors, since radio messages will fail

          1 Reply Last reply
          0
          • TON RIJNAARDT TON RIJNAARD

            @mfalkvidd

            Hello, thanks for the very fast reply. The sketch is from the motion sensor.
            But i have not the gateway (i am waiting on the nano board).
            Must i chance the ID nr in the sketch?

            Greatz Ton

            CurlyWurlyC Offline
            CurlyWurlyC Offline
            CurlyWurly
            wrote on last edited by
            #5

            @TON-RIJNAARD
            To test things, you need

            1. Device 1 with rf24L01+ radio
            • Load "gatewayserial" sketch
            1. Device 2 with rf24l01+ radio
            • Load motion sketch, but add a line before
              #include <MySensors.h>
              so that it looks like this
              #define MY_NODE_ID 1
              #include <MySensors.h>

            Switch on both devices and look at the serial messages from Device 1 (Gateway), When movement is detected, you will see new messages etc

            1 Reply Last reply
            1
            • TON RIJNAARDT Offline
              TON RIJNAARDT Offline
              TON RIJNAARD
              wrote on last edited by
              #6

              Thanks all for the information i wait that i have my nano and look what happens then.

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


              21

              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