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. Strange behaviour with mysensors + RFLink

Strange behaviour with mysensors + RFLink

Scheduled Pinned Locked Moved Troubleshooting
18 Posts 5 Posters 3.5k 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.
  • K Offline
    K Offline
    knop
    wrote on last edited by
    #1

    Hi,

    I need your help to understand this strange behaviour :
    I've an Arduino Uno with NRF24L01 and with this sketch :
    #define MY_RADIO_NRF24

    #include <avr/sleep.h> // Sleep Modes
    #include <MySensors.h>
    #include <SPI.h>

    void setup() {
    // put your setup code here, to run once:

    }

    void loop() {
    // put your main code here, to run repeatedly:

    }

    So this sketch is "empty" and when is loading on Arduino Uno + NRF24, I've received packets from this setup on my RFLink !! (checked with RFLinkLoader)
    (My RFLink setup is Firmware R47 and setRF433=ON;setNodoNRF=OFF;setMilight=OFF;setLivingColors=OFF;setAnsluta=OFF;setGPIO=OFF;setBLE=OFF;setMysensors=ON;)
    Packets looks like :
    20;09;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1cffffff020307ff;
    20;0A;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1dffffff020307ff;
    20;0B;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1effffff020307ff;
    20;0C;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1fffffff020307ff;
    20;0D;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1cffffff020307ff;
    20;0E;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1dffffff020307ff;
    20;0F;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1effffff020307ff;

    So how it is possible ? What is the meaning of these packets ?

    Thanks for your feedback

    Chris.

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      Could it be some noise? How far are from each other?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        knop
        wrote on last edited by
        #3

        I think it is not noise, I've tried with 10meters between my RFLink and Arduino+NRF24 and same packets received on RFLink

        1 Reply Last reply
        0
        • K Offline
          K Offline
          knop
          wrote on last edited by
          #4

          Furthermore I did not change MyConfig.h and some others files in MySensors (no DEBUG etc..), I'm using MySensors V2.1.1
          I'm using RF24 lib from TMRh20 version 1.3.0

          Thanks

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yos2000
            wrote on last edited by
            #5

            Same here:
            20;76;MySensors;ID=03;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1d0303ff020307ff;

            This is a DHT22 sending temp en hum. It worked on a mysensors gateway, but is see these logs when I try to read it with the RFlink. (Firmware 46 & 47)

            K 1 Reply Last reply
            0
            • Y yos2000

              Same here:
              20;76;MySensors;ID=03;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1d0303ff020307ff;

              This is a DHT22 sending temp en hum. It worked on a mysensors gateway, but is see these logs when I try to read it with the RFlink. (Firmware 46 & 47)

              K Offline
              K Offline
              knop
              wrote on last edited by
              #6

              @yos2000 said in Strange behaviour with mysensors + RFLink:

              Same here:
              20;76;MySensors;ID=03;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1d0303ff020307ff;

              This is a DHT22 sending temp en hum. It worked on a mysensors gateway, but is see these logs when I try to read it with the RFlink. (Firmware 46 & 47)

              Thx for your reply
              In your sketch to manage the DHT22 you have send(msg...) to transmit temp/hum ?
              In my case there is nothing in setup() and loop(), if I remove "#include <MySensors.h>" in my sketch there is not packet receive in RFLink. The behaviour seems to come from MySensors library which send itself some packets !

              1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #7

                Mysensors has some "service" traffic maybe it is what you are seeing (I am not into RF su I don't know how to read the debug messages you get)

                K 1 Reply Last reply
                0
                • gohanG gohan

                  Mysensors has some "service" traffic maybe it is what you are seeing (I am not into RF su I don't know how to read the debug messages you get)

                  K Offline
                  K Offline
                  knop
                  wrote on last edited by
                  #8

                  @gohan said in Strange behaviour with mysensors + RFLink:

                  Mysensors has some "service" traffic maybe it is what you are seeing (I am not into RF su I don't know how to read the debug messages you get)

                  Thanks gohan, very Interesting, if you have more information about that (how to deactivate it etc..), it should be great ;-)

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

                    It's probabley a request to find parent (t=07)

                    K 1 Reply Last reply
                    0
                    • F Fabien

                      It's probabley a request to find parent (t=07)

                      K Offline
                      K Offline
                      knop
                      wrote on last edited by
                      #10

                      @Fabien

                      Thanks for feedback,

                      I'm not an expert, I just want to know if is it normal behavior to have packets send by mysensors lib in empty project ?

                      Thanks for your clarification
                      Chris

                      gohanG F 2 Replies Last reply
                      0
                      • K knop

                        @Fabien

                        Thanks for feedback,

                        I'm not an expert, I just want to know if is it normal behavior to have packets send by mysensors lib in empty project ?

                        Thanks for your clarification
                        Chris

                        gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #11

                        @knop maybe it is your neighbour node? or a node you forgot somewhere? :D

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          knop
                          wrote on last edited by
                          #12

                          Good remark :-)

                          But I've checked this point ;-), I've disconnected one wire of my NRF24L01 and no more packets received on RFLink ;-)

                          1 Reply Last reply
                          0
                          • K knop

                            @Fabien

                            Thanks for feedback,

                            I'm not an expert, I just want to know if is it normal behavior to have packets send by mysensors lib in empty project ?

                            Thanks for your clarification
                            Chris

                            F Offline
                            F Offline
                            Fabien
                            wrote on last edited by
                            #13

                            @knop With an empty sketch, you have some packets from node to find parent (gateway).

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              knop
                              wrote on last edited by
                              #14

                              Hi,
                              Little update. So I need as you said a serial gateway. The question is : does rflink is equivalent to mysensors gateway ?
                              If not i need to build a serial gw and connect it on usb port of my raspberry and declare it on domoticz interface. If yes how to configure domoticz to manage rflink + others protocol ? (Declare 2 gateways (rflink and traditionnal gw) on same usb port?
                              Thanks for your help.
                              Chris

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

                                @knop
                                RFLink is not equivalent to a MySensors gw, and won't be. You should better use a MySensors gw.
                                Else i would wish them good luck to handle the full Mysensors lib (and updates), plus some others protocol, without loosing packets etc..

                                I don't use a RFLink, but what I'm pretty sure is, actually, :

                                • it can only receive MySensors nodes, as RFLink is sort of sniffer. It can't be a part of the MySensors network, with id etc, so it can't send commands to MySensors nodes.
                                • If MySensors encryption is enabled, or also signing, then it would become even more difficult for the RFLink to listen something (its basic task)
                                • especially, because RFLink doesn't use MySensors GW code. Make sense it just sniff/listen.

                                When using a MySensors GW, you can also benefit:

                                • sending commands of course
                                • the full MySensors protocol and features
                                • MySensors library updates
                                • controllers (like domoticz etc.) have dedicated plugins for using MySensors, which make this even more friendly to use compared to a generic sniffer (because the plugin is customized for MySensors features)

                                I'm pretty sure there are others relevant point, but I hope this clarifies :)

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

                                  And with RFLink, you can only use 2.4GHz frequency. It doesn't work with RFM69.
                                  Actually I have a MySensors Gateway and a RFLink (not for the same usage)

                                  1 Reply Last reply
                                  0
                                  • K Offline
                                    K Offline
                                    knop
                                    wrote on last edited by knop
                                    #17

                                    Ok thanks you guys, I will try to make a Serial GW with Arduino Uno + NRF24L01
                                    And to connect this GW to my Raspberry Pi3.
                                    But I very disappointed about RFLink, and do not understand why there is an option "MySensors" on it !

                                    Thanks again for clarifications.

                                    Chris

                                    1 Reply Last reply
                                    0
                                    • gohanG Offline
                                      gohanG Offline
                                      gohan
                                      Mod
                                      wrote on last edited by
                                      #18

                                      You can connect nrf24 directly on the rpi, there is no need for the UNO

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


                                      28

                                      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