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. Problems with first sensors

Problems with first sensors

Scheduled Pinned Locked Moved Troubleshooting
62 Posts 9 Posters 27.4k Views 11 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.
  • Tore André RosanderT Tore André Rosander

    Have you tried to use another sketch?
    Just a random mysensors sketch to see if it that one also get presented as repeater node.
    Maybe just take one with a button and make your own (if you dont have any) and see if the buttonpress gets transmitted.

    blebbensB Offline
    blebbensB Offline
    blebbens
    wrote on last edited by
    #32

    @Tore-André-Rosander
    Have tried out different sample-sketches from library, e.g. motion and air quality.

    It is... so... frustrating. There has to be a stupid mistake causing the sensors to report their availability as repeater node.

    tekkaT 1 Reply Last reply
    0
    • blebbensB blebbens

      @Tore-André-Rosander
      Have tried out different sample-sketches from library, e.g. motion and air quality.

      It is... so... frustrating. There has to be a stupid mistake causing the sensors to report their availability as repeater node.

      tekkaT Offline
      tekkaT Offline
      tekka
      Admin
      wrote on last edited by tekka
      #33

      @blebbens I totally understand your frustration but I'm afraid, your issue seems HW/radio-related. The logs look normal, also the repeater node message (which is actually emitted from the GW, see your domoticz screenshot and GW log). If you can get a different pair of nRF24L01+ (the P-version), I'd retry with those.

      1 Reply Last reply
      0
      • Tore André RosanderT Offline
        Tore André RosanderT Offline
        Tore André Rosander
        wrote on last edited by Tore André Rosander
        #34

        Is it just me or does it look like the repeater node is not the actual sensor node?

        If you look at the logs " Gateway INTERNAL C_PRESENTATION NO S_ARDUINO_REPEATER_NODE 2.0.0" "New child discovered, node id=0, child id=internal" and "Update child id=255, type=S_ARDUINO_REPEATER_NODE"

        How about try to define the node id manually?
        And just to be sure the clear eeprom config sketch in the mySensors examples.
        You can also try the RF24 library ping-pong examples to test your radios.

        1 Reply Last reply
        0
        • SGiS Offline
          SGiS Offline
          SGi
          wrote on last edited by
          #35

          Ok so connections appear to be my major problem.... my dupont cables seem to be a bit dodgy... now wired with solid jumpers i can get the 'gettingstarted' sketch of the RF24 library working.

          Now i have the following log from the sensor which is encouraging but still weird:

          0_1468831166660_upload-4129d0ca-3934-4199-b4a4-5eb6553a1103

          Anything obvious now? The sketch on the sensor is the basic motionsensor one from the examples of 2.0.0 and the gateway is the serialgateway sketch... both no changes

          nielsokkerN 1 Reply Last reply
          0
          • SGiS SGi

            Ok so connections appear to be my major problem.... my dupont cables seem to be a bit dodgy... now wired with solid jumpers i can get the 'gettingstarted' sketch of the RF24 library working.

            Now i have the following log from the sensor which is encouraging but still weird:

            0_1468831166660_upload-4129d0ca-3934-4199-b4a4-5eb6553a1103

            Anything obvious now? The sketch on the sensor is the basic motionsensor one from the examples of 2.0.0 and the gateway is the serialgateway sketch... both no changes

            nielsokkerN Offline
            nielsokkerN Offline
            nielsokker
            wrote on last edited by
            #36

            @SGi

            I am not an expert but i had the same problem. I think a controller determines the id. But since you have none, it can't be done this way. Set a static ID with

            #define MY_NODE_ID 11 
            

            or something

            SGiS 1 Reply Last reply
            0
            • nielsokkerN nielsokker

              @SGi

              I am not an expert but i had the same problem. I think a controller determines the id. But since you have none, it can't be done this way. Set a static ID with

              #define MY_NODE_ID 11 
              

              or something

              SGiS Offline
              SGiS Offline
              SGi
              wrote on last edited by
              #37

              @nielsokker Yea you are probably right, no problem now though since as soon as i hooked it up to my controller everything works fine :) dodgy wires on the gateway was the issue all along.... using the very basic node sketch i can now see it in Domoticz and watch it turn on/off every 10 secs :)

              tekkaT 1 Reply Last reply
              0
              • SGiS SGi

                @nielsokker Yea you are probably right, no problem now though since as soon as i hooked it up to my controller everything works fine :) dodgy wires on the gateway was the issue all along.... using the very basic node sketch i can now see it in Domoticz and watch it turn on/off every 10 secs :)

                tekkaT Offline
                tekkaT Offline
                tekka
                Admin
                wrote on last edited by
                #38

                @SGi Excellent, have fun 👍

                1 Reply Last reply
                0
                • blebbensB Offline
                  blebbensB Offline
                  blebbens
                  wrote on last edited by
                  #39

                  Think, I do not understand yet.
                  The motion sketch uses #define CHILD_ID 1.
                  Where do I have to insert #define MY_NODE_ID 1 ? Just into the skecht of the motion sensor ?

                  Tore André RosanderT 1 Reply Last reply
                  0
                  • blebbensB blebbens

                    Think, I do not understand yet.
                    The motion sketch uses #define CHILD_ID 1.
                    Where do I have to insert #define MY_NODE_ID 1 ? Just into the skecht of the motion sensor ?

                    Tore André RosanderT Offline
                    Tore André RosanderT Offline
                    Tore André Rosander
                    wrote on last edited by
                    #40

                    @blebbens i think you can just put it over "define child id"

                    nielsokkerN 1 Reply Last reply
                    0
                    • Tore André RosanderT Tore André Rosander

                      @blebbens i think you can just put it over "define child id"

                      nielsokkerN Offline
                      nielsokkerN Offline
                      nielsokker
                      wrote on last edited by
                      #41

                      @Tore-André-Rosander said:

                      define child id"

                      I think so too.

                      These are probably just minor mistakes, changing from MySensors versions.

                      1 Reply Last reply
                      0
                      • blebbensB Offline
                        blebbensB Offline
                        blebbens
                        wrote on last edited by
                        #42

                        So, I have to delete CHILD_ID und change it to MY_NODE_ID?

                        Okay, reaching home today, perhaps. Hope, this works.

                        nielsokkerN Tore André RosanderT 2 Replies Last reply
                        0
                        • Tore André RosanderT Offline
                          Tore André RosanderT Offline
                          Tore André Rosander
                          wrote on last edited by
                          #43

                          No, just add the define node id.

                          1 Reply Last reply
                          0
                          • blebbensB blebbens

                            So, I have to delete CHILD_ID und change it to MY_NODE_ID?

                            Okay, reaching home today, perhaps. Hope, this works.

                            nielsokkerN Offline
                            nielsokkerN Offline
                            nielsokker
                            wrote on last edited by
                            #44

                            @blebbens

                            The old define, might become useless, but it wont be in the way either. It is your choice.

                            1 Reply Last reply
                            0
                            • scalzS Offline
                              scalzS Offline
                              scalz
                              Hardware Contributor
                              wrote on last edited by
                              #45

                              @blebbens use MY_NODE_ID to define the id of your node. the child id is for your sensors id, not the node id.

                              1 Reply Last reply
                              0
                              • blebbensB blebbens

                                So, I have to delete CHILD_ID und change it to MY_NODE_ID?

                                Okay, reaching home today, perhaps. Hope, this works.

                                Tore André RosanderT Offline
                                Tore André RosanderT Offline
                                Tore André Rosander
                                wrote on last edited by
                                #46

                                @blebbens I just replaced my RPi Gateway (the direct connection to GPIO) with the Serial Gateway, and the Repeater node you are seeing must be your gateway. Before i connected any nodes i got the same repeater node listed as hardware as you did, so it is probably your node that is the problem.

                                1 Reply Last reply
                                0
                                • F Offline
                                  F Offline
                                  Fabien
                                  wrote on last edited by
                                  #47

                                  I have exactly same error after loading new sketch (sensebender with BMP085). It was working fine for few days and suddenly it doesn't work. After verting my modification it doesn't work. Clear EEPROM doesn't solve the problem. RFM69W and static ID.
                                  Gateway work fine with other sensors (sensebender without mods).

                                  TSM:INIT
                                  TSM:RADIO:OK
                                  TSP:ASSIGNID:OK (ID=100)
                                  TSM:FPAR
                                  TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                  TSM:FPAR
                                  TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                  TSM:FPAR
                                  TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                  TSM:FPAR
                                  TSP:MSG:SEND 100-100-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
                                  
                                  
                                  F 1 Reply Last reply
                                  0
                                  • F Fabien

                                    I have exactly same error after loading new sketch (sensebender with BMP085). It was working fine for few days and suddenly it doesn't work. After verting my modification it doesn't work. Clear EEPROM doesn't solve the problem. RFM69W and static ID.
                                    Gateway work fine with other sensors (sensebender without mods).

                                    TSM:INIT
                                    TSM:RADIO:OK
                                    TSP:ASSIGNID:OK (ID=100)
                                    TSM:FPAR
                                    TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                    TSM:FPAR
                                    TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                    TSM:FPAR
                                    TSP:MSG:SEND 100-100-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                    TSM:FPAR
                                    TSP:MSG:SEND 100-100-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
                                    
                                    
                                    F Offline
                                    F Offline
                                    Fabien
                                    wrote on last edited by
                                    #48

                                    Sorry, I made a mistake when updating my sketch with (deleting bad zero to change 100 to 10 ...)
                                    #define MY_RFM69_NETWORKID 100
                                    #define MY_NODE_ID 100
                                    Works fine now !

                                    1 Reply Last reply
                                    0
                                    • blebbensB Offline
                                      blebbensB Offline
                                      blebbens
                                      wrote on last edited by
                                      #49

                                      hi,

                                      Was not at home for about 2 weeks now (driving home in 2 days), but AliExpress delivered 10 NRF2401 non-amplified without antenna. Is it still necessary to define low power and data rate of 1mbps?

                                      #define MY_RF24_PA_LEVEL RF24_PA_LOW
                                      #define MY_RF24_DATARATE RF24_1MBPS

                                      Do I have to set the node ID still manually?

                                      1 Reply Last reply
                                      0
                                      • SGiS Offline
                                        SGiS Offline
                                        SGi
                                        wrote on last edited by
                                        #50

                                        I thought my problem was dodgy Dupont cables but after more experimenting all issues have now gone by soldering a 80mm aerial to the radio :) like a magic fix....

                                        0_1469865212533_Capture.JPG

                                        1 Reply Last reply
                                        1
                                        • SGiS Offline
                                          SGiS Offline
                                          SGi
                                          wrote on last edited by
                                          #51

                                          Still cant get the stutus LED's working tho... hmmmm any suggestions? i have checked the polarity and connections are good to pins 4,5,6

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


                                          19

                                          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