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
R

rjad

@rjad
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Trouble setting up repeater node
    R rjad

    @mfalkvidd

    The log parser now works for me too. Thanks.

    Troubleshooting

  • Trouble setting up repeater node
    R rjad

    @mfalkvidd

    Well that's embarrassing....

    That was part of my testing to make sure it worked as a normal node. Looks like I forgot to put it back.

    Thanks for pointing it out.

    Troubleshooting

  • Trouble setting up repeater node
    R rjad

    @mfalkvidd

    This is the output from the repeater node when I turn on the temperature node:

    
    16 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
    
    28 TSM:INIT
    28 TSF:WUR:MS=0
    34 TSM:INIT:TSP OK
    36 TSM:INIT:STATID=46
    40 TSF:SID:OK,ID=46
    43 TSM:FPAR
    77 TSF:MSG:SEND,46-46-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    649 TSF:MSG:READ,0-0-46,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    655 TSF:MSG:FPAR OK,ID=0,D=1
    2088 TSM:FPAR:OK
    2088 TSM:ID
    2091 TSM:ID:OK
    2093 TSM:UPL
    2097 TSF:MSG:SEND,46-46-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    2109 TSF:MSG:READ,0-0-46,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    2115 TSF:MSG:PONG RECV,HP=1
    2117 TSM:UPL:OK
    2119 TSM:READY:ID=46,PAR=0,DIS=1
    2123 TSF:MSG:SEND,46-46-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    2136 TSF:MSG:READ,0-0-46,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    2144 TSF:MSG:SEND,46-46-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.1
    2154 TSF:MSG:SEND,46-46-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
    
    2854 TSF:MSG:READ,0-0-46,s=255,c=3,t=6,pt=0,l=1,sg=0:M
    2865 TSF:MSG:SEND,46-46-0-0,s=255,c=3,t=11,pt=0,l=13,sg=0,ft=0,st=OK:Repeater Node
    2875 TSF:MSG:SEND,46-46-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
    2885 TSF:MSG:SEND,46-46-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0,ft=0,st=OK:
    2891 MCO:REG:REQ
    2895 TSF:MSG:SEND,46-46-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    2904 TSF:MSG:READ,0-0-46,s=255,c=3,t=27,pt=1,l=1,sg=0:1
    2910 MCO:PIM:NODE REG=1
    2912 MCO:BGN:STP
    2914 MCO:BGN:INIT OK,TSP=1
    55711 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    55717 !TSF:MSG:REL MSG,NREP
    57733 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    57741 !TSF:MSG:REL MSG,NREP
    59746 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    59752 !TSF:MSG:REL MSG,NREP
    61761 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    61767 !TSF:MSG:REL MSG,NREP
    63791 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    63797 !TSF:MSG:REL MSG,NREP
    65804 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    65810 !TSF:MSG:REL MSG,NREP
    67831 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    67837 !TSF:MSG:REL MSG,NREP
    69844 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    69851 !TSF:MSG:REL MSG,NREP
    71874 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    71880 !TSF:MSG:REL MSG,NREP
    73891 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    73897 !TSF:MSG:REL MSG,NREP
    75929 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    75935 !TSF:MSG:REL MSG,NREP
    77940 TSF:MSG:READ,47-47-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    
    Troubleshooting

  • Trouble setting up repeater node
    R rjad

    @rjad ,

    Also, I have 4.7uF caps on all the radios. And even if I put the repeater a metre away from the temp node I get the same result. Its awkward getting the log from the repeater, but I'll get on it.

    Troubleshooting

  • Trouble setting up repeater node
    R rjad

    @mfalkvidd

    When I go to the link https://www.mysensors.org/build/parser I get a page with the message:
    !Doh.. This project isn't published!

    Troubleshooting

  • Trouble setting up repeater node
    R rjad

    Hi,
    I'm having a lot of trouble getting a repeater node to work. I've tried to do some background on this, and have checked a few other posts that also seem to have trouble, but I'm not really any closer.

    Here is my scenario:
    I have a gateway connected to a raspberry pi.
    I have a battery powered node (set node ID to 47). I'd like to be able to place this a fair distance away from the gateway, and so I need a repeater. I made a repeater node (node id set to 46).

    The repeater node appears to connect to the gateway ok. The mobile temp node also connects ok if I'm close to the gateway. But doesn't seem to be able to use the repeater.

    For testing, to try to force the temp node to use the repeater, I have set:

    #define MY_NODE_ID 47                    //To set a fixed ID for your node
    #define MY_PARENT_NODE_IS_STATIC
    #define MY_PARENT_NODE_ID 46             //To set a fixed parent for this node
    

    I noticed that if I didn't have MY_PARENT_NODE_IS_STATIC the node would still connect to the
    gateway. If I defined it, then it seemed to only try to connect to the repeater node, which is what I want at least for testing.

    So, I'm pretty sure the repeater node connects. Code for repeater is:

    #include <Arduino.h>
    #define MY_DEBUG
    #define MY_RADIO_RF24
    #include <SPI.h>
    #define MY_NODE_ID 46                        //To set a fixed ID for your node
    #define CHILD_ID 0
    //#define MY_REPEATER_FEATURE
    #include <MySensors.h>
    
    MyMessage msg(CHILD_ID,V_TRIPPED);
    
    void setup()
    {
    }
    void presentation() {
      sendSketchInfo("Repeater Node", "1.1");
      present(CHILD_ID, S_DOOR);
    }
    void loop()
    {
    
    }
    

    And output from gateway when connecting the repeater:

    mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: TSM:INIT:TSP OK
    mysgw: TSM:INIT:GW MODE
    mysgw: TSM:READY:ID=0,PAR=0,DIS=0
    mysgw: MCO:REG:NOT NEEDED
    mysgw: Listening for connections on 0.0.0.0:5003
    mysgw: MCO:BGN:STP
    mysgw: MCO:BGN:INIT OK,TSP=1
    mysgw: TSF:MSG:READ,46-46-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=46
    mysgw: TSF:CKU:OK,FCTRL
    mysgw: TSF:MSG:GWL OK
    mysgw: TSF:MSG:SEND,0-0-46-46,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    mysgw: TSF:MSG:READ,46-46-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    mysgw: TSF:MSG:PINGED,ID=46,HP=1
    mysgw: TSF:MSG:SEND,0-0-46-46,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    mysgw: TSF:MSG:READ,46-46-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    mysgw: TSF:MSG:SEND,0-0-46-46,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    mysgw: TSF:MSG:READ,46-46-0,s=255,c=0,t=17,pt=0,l=5,sg=0:2.3.1
    mysgw: TSF:MSG:READ,46-46-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
    mysgw: TSF:MSG:READ,46-46-0,s=255,c=3,t=11,pt=0,l=13,sg=0:Repeater Node
    mysgw: TSF:MSG:READ,46-46-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.1
    mysgw: TSF:MSG:READ,46-46-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:READ,46-46-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
    mysgw: TSF:MSG:SEND,0-0-46-46,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1
    

    So seems ok. Connecting the temperature node, with debug on, serial output looks like:

    ␀␀
     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.1
    
    16 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
    28 TSM:INIT
    28 TSF:WUR:MS=0
    34 TSM:INIT:TSP OK
    
    36 TSM:INIT:STATID=47
    40 TSF:SID:OK,ID=47
    43 TSM:FPAR
    43 TSM:FPAR:STATP=46
    45 TSM:ID
    47 TSM:ID:OK
    49 TSM:UPL
    51 TSF:MSG:SEND,47-47-46-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    2060 TSM:UPL
    2062 TSF:MSG:SEND,47-47-46-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    4071 TSM:UPL
    4073 TSF:MSG:SEND,47-47-46-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    6082 TSM:UPL
    6084 TSF:MSG:SEND,47-47-46-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    8093 !TSM:UPL:FAIL
    8095 TSM:FPAR
    8095 TSM:FPAR:STATP=46
    8099 TSM:ID
    8099 TSM:ID:OK
    8101 TSM:UPL
    

    I'm guessing that the repeater isn't forwarding the messages. I'm also having trouble parsing the log output. There are links to the message parser, but this doesn't seem to function anymore (https://www.mysensors.org/build/parser doesn't point to a project anymore).

    If anyone could help interpret the messages that would be great.

    Robert

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular