Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. frits
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    frits

    @frits

    11
    Reputation
    47
    Posts
    250
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Germany

    frits Follow

    Best posts made by frits

    • RE: Idea: an "upkeep" sensor type

      Wouldn't it be easier to connect the window switch to INT1 and use sleeping?

      int8_t sleep(int interrupt, int mode, unsigned long ms=0);
      int8_t smartSleep(int interrupt, int mode, unsigned long ms=0);
      

      I'd say the advantage of this is:

      Very low power sensors, since they are essentially completely turned off most off the time.
      Controllers don't need to implement a new MySensors type. To them it just looks like a normal binary switch 😉

      posted in Feature Requests
      frits
      frits
    • RE: RPI GW - Including build flags somewhere for future reference

      @joaoabs said in RPI GW - Including build flags somewhere for future reference:

      suggestion for feature would be to include the build flags

      I think what joaoabs suggests is not too difficult:

      1. Introduce an additional CPPFLAG which contains the whole command line arguments in ./configure:
      ...
      params="SOC CFLAGS CXXFLAGS CPPFLAGS LDFLAGS PREFIX CC CXX ARDUINO_LIB_DIR BUILDDIR BINDIR GATEWAY_DIR INIT_SYSTEM SPI_DRIVER"
      ***CPPFLAGS="-DCONFIGURE_COMMANDLINE=\""$@"\""***
      for opt do
      ...
      
      1. Print this flag in the gateways's setup function (examples_linux/mysgw.cpp):
      void setup()
      {
              // Setup locally attached sensors
      #ifdef CONFIGURE_COMMANDLINE
              printf ( "%s\n", CONFIGURE_COMMANDLINE );
      #endif
      }
      

      Might not be perfect, but works:

      pi@zerogwtest:~/MySensors $ sudo bin/mysgw
      Dec 03 23:54:30 INFO  Starting gateway...
      Dec 03 23:54:30 INFO  Protocol version - 2.3.2
      Dec 03 23:54:30 DEBUG MCO:BGN:INIT GW,CP=RPNGLS--,FQ=NA,REL=255,VER=2.3.2
      Dec 03 23:54:30 DEBUG SGN:PER:OK
      Dec 03 23:54:30 DEBUG SGN:INI:BND OK
      Dec 03 23:54:30 DEBUG TSF:LRT:OK
      Dec 03 23:54:30 DEBUG TSM:INIT
      Dec 03 23:54:30 DEBUG TSF:WUR:MS=0
      Dec 03 23:54:30 DEBUG TSM:INIT:TSP OK
      Dec 03 23:54:30 DEBUG TSM:INIT:GW MODE
      Dec 03 23:54:30 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
      Dec 03 23:54:30 DEBUG MCO:REG:NOT NEEDED
      Dec 03 23:54:30 DEBUG MCO:BGN:STP
      --spi-spidev-device=/dev/spidev1.0 --spi-driver=SPIDEV --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw --my-rfm69-irq-pin=18 --my-rfm69-cs-pin=12 --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-signing=software --my-signing-debug --my-signing-request-signatures --my-cppflag=MY_RFM69_CSMA_LIMIT_DBM=-90 --my-cppflag=MY_RFM69_NETWORKID=200
      Dec 03 23:54:30 DEBUG MCO:BGN:INIT OK,TSP=1
      Dec 03 23:54:30 DEBUG GWT:RMQ:CONNECTING...
      Dec 03 23:54:30 DEBUG connected to 127.0.0.1
      Dec 03 23:54:30 DEBUG GWT:RMQ:OK
      Dec 03 23:54:30 DEBUG GWT:TPS:TOPIC=mysensors-out/0/255/0/0/18,MSG SENT
      Dec 03 23:54:30 DEBUG TSM:READY:NWD REQ
      Dec 03 23:54:30 DEBUG SGN:SGN:NREQ=255
      Dec 03 23:54:30 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      

      Thank you, joaoabs, for a good idea!

      posted in Feature Requests
      frits
      frits
    • RE: Message Payload type

      @r-nox said in Message Payload type:

      char percent;

      Your data is of type char. Make it char *. Something like

      char buf[MAX_PAYLOAD_SIZE+1];
      strcpy ( buf, "30" );
      send(msgDimmer_to_5.setDestination(5).setSensor(0).set(buf).setType(V_TEXT));
      
      posted in Development
      frits
      frits
    • RE: Pro mini: Did not receive a node id from controller.

      @Alberto77 said in Pro mini: Did not receive a node id from controller.:

      @frits: if the MQTT GW do not support the dynamic ID assignement, then what happened to my other sensors (those based on the Nano) 🤔 They got the Node_IDs from the GW. All the sensors are on the same GW.

      The gateway doesn't issue NODE_IDs. The controller does, i.e. OpenHAB or Home Assistant (but not for MQTT connections).
      The NODE_ID will survive flashing (as long as you don't erase EEPROM). Have you used another Gateway before, say SerialGateway? This would explain why you have valid NODE_IDs on some nodes.

      posted in Troubleshooting
      frits
      frits
    • RE: 💬 Building a MQTT Gateway

      @tssk Nice idea! This should work, at the cost of some other feature which doesn't fit into ATMega's flash anymore.
      Here's my gateway:

      #define BUILD_MQTT_GATEWAY // either build mqtt gateway or ethernet gateway
      // #define USE_SIGNING
      #define MY_RADIO_RF24
      // #define MY_RADIO_RFM69
      #define WEBFRONTEND // provide a webfrontend at port 80 that shows gateway config
      #define MY_DEBUG
      
      #define SN "MySensors W5100 Gateway"
      #define SV "0.2"
      
      #define MY_MQTT_PUBLISH_TOPIC_PREFIX "mysgw1-out"
      #define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mysgw1-in"
      #define MY_MQTT_CLIENT_ID "mysgw1"
      #define MY_MQTT_CONTROLLER_IP_ADDRESS 192, 168, 99, 20
      #define MY_MQTT_PORT 1883
      #define MY_MYSGW_PORT 5003
      
      #define MY_IP_ADDRESS 192,168,99,13
      #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBA, 0xBE, 0x99, 0x13
      #define MY_SIGNING_ATSHA204_PIN 17
      #define MY_RFM69_NETWORKID (200)
      #define MY_RFM69_TX_POWER_DBM 20
      #define MY_SERIALDEVICE Serial
      
      #if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD)
        #define MY_SOFTSPI
        #define MY_SOFT_SPI_SCK_PIN (14)
        #define MY_SOFT_SPI_MISO_PIN (16)
        #define MY_SOFT_SPI_MOSI_PIN (15)
      #endif
      
      #ifdef MY_RADIO_RF24
        #define MY_RF24_CE_PIN (5)
        #define MY_RF24_CS_PIN (6)
      #elif defined MY_RADIO_RFM69
        #define MY_IS_RFM69HW
        #define MY_RFM69_NEW_DRIVER
        #define MY_RF69_SPI_CS (14)
      #else
        #error "only rfm24 or rf69 supported"
      #endif
      
      #ifdef BUILD_MQTT_GATEWAY
        #define MY_GATEWAY_MQTT_CLIENT
        #define MY_PORT MY_MQTT_PORT
        #define MY_CONTROLLER_IP_ADDRESS MY_MQTT_CONTROLLER_IP_ADDRESS
      #else
        #define MY_GATEWAY_W5100
        #define MY_PORT MY_MYSGW_PORT
      #endif
      
      #ifdef USE_SIGNING
        #define MY_SIGNING_ATSHA204_PIN 17
        #define MY_SIGNING_ATSHA204 //!< Hardware signing using ATSHA204A
        #define MY_SIGNING_REQUEST_SIGNATURES
      #endif
      
      void printIpAddress ( Stream &s, uint8_t a, uint8_t b, uint8_t c, uint8_t d )
      {
        s.print ( a );
        s.print ( "." );
        s.print ( b );
        s.print ( "." );
        s.print ( c );
        s.print ( "." );
        s.print ( d );
      }
      
      void printMacAddress ( Stream &s, uint8_t a, uint8_t b, uint8_t c, uint8_t d, uint8_t e, uint8_t f )
      {
        s.print ( a, HEX );
        s.print ( ":" );
        s.print ( b, HEX );
        s.print ( ":" );
        s.print ( c, HEX );
        s.print ( ":" );
        s.print ( d, HEX );
        s.print ( ":" );
        s.print ( e, HEX );
        s.print ( ":" );
        s.print ( f, HEX );
      }
      
      void printConfig ( Stream &s, char * lineBreak )
      {
        s.print ( F ( "***********************************************" ) );
        s.print ( lineBreak );
        s.print ( SN );
        s.print ( lineBreak );
        s.print ( "Version " );
        s.print ( SV );
        s.print ( lineBreak );
        s.print ( F("own mac address: ") );
        printMacAddress ( s, MY_MAC_ADDRESS );
        s.print ( lineBreak );
        s.print ( F("own network address: ") );
        printIpAddress ( s, MY_IP_ADDRESS );
        s.print ( lineBreak );
      #ifdef BUILD_MQTT_GATEWAY
          s.print ( F("Gateway type: mqtt" ) );
          s.print ( lineBreak );
          s.print ( F ( "mqtt controller address: " ) );
          printIpAddress ( s, MY_CONTROLLER_IP_ADDRESS );
          s.print ( lineBreak );
          s.print ( F ( "mqtt controller port: " ) );
          s.print ( MY_MQTT_PORT );
          s.print ( lineBreak );
          s.print ( F ( "mqtt client id: " ) );
          s.print ( MY_MQTT_CLIENT_ID );
          s.print ( lineBreak );
          s.print ( F ( "mqtt publish prefix: " ) );
          s.print ( MY_MQTT_PUBLISH_TOPIC_PREFIX );
          s.print ( lineBreak );
          s.print ( F ( "mqtt subscribe prefix: " ) );
          s.print ( MY_MQTT_SUBSCRIBE_TOPIC_PREFIX );
          s.print ( lineBreak );
      #else
          s.print ( F ( "Gateway type: MysGW" ) );
          s.print ( lineBreak );
          s.print ( F ( "network port: " ) );
          s.print ( MY_MYSGW_PORT );
          s.print ( lineBreak );
      #endif
        s.print ( F ( "Radio type: " ) );
      #ifdef MY_RADIO_RF24
          s.print ( F ( "NRF24" ) );
          s.print ( lineBreak );
      #elif defined MY_RADIO_RFM69
          s.print ( F (  "RFM69" ) );
          s.print ( lineBreak );
          s.print ( F ( "network id: " ) );
          s.print ( MY_RFM69_NETWORKID );
          s.print ( lineBreak );
      #else
          s.print ( F ( "bad radio defined" ) );
          s.print ( lineBreak );
      #endif
        s.print ( F ( "signing: " ) );
      #ifdef USE_SIGNING
          s.print ( "yes" );
      #else
          s.print ( "no" );
      #endif
        s.print ( lineBreak );
      }
      
      #include <Ethernet.h>
      #include <MySensors.h>
      #ifdef WEBFRONTEND
        byte mac[] = { MY_MAC_ADDRESS };
        IPAddress ip ( 192,168,99,13 );
        EthernetServer server ( 80 );
      #endif
      
      void setup() 
      {
        uint32_t enter = hwMillis();
        while (hwMillis() - enter < (uint32_t)500);
        while(!MY_SERIALDEVICE); // For USB enabled devices, wait for USB enumeration before continuing
        printConfig( MY_SERIALDEVICE, "\n" );
      #ifdef WEBFRONTEND
        Ethernet.begin(mac, ip);
      #endif
      }
      
      void presentation() { }
      
      void loop() 
      {
      #ifdef WEBFRONTEND
        // listen for incoming clients
        EthernetClient client = server.available();
        if (client) {
          Serial.println("new client");
          // an http request ends with a blank line
          boolean currentLineIsBlank = true;
          while (client.connected()) {
            if (client.available()) {
              char c = client.read();
              Serial.write(c);
              // if you've gotten to the end of the line (received a newline
              // character) and the line is blank, the http request has ended,
              // so you can send a reply
              if (c == '\n' && currentLineIsBlank) {
                // send a standard http response header
                client.println("HTTP/1.1 200 OK");
                client.println("Content-Type: text/html");
                client.println("Connection: close");  // the connection will be closed after completion of the response
                client.println();
                client.println("<!DOCTYPE HTML>");
                client.println("<html>");
                printConfig ( client, "<br />" );
                client.println("</html>");
                break;
              }
              if (c == '\n') {
                // you're starting a new line
                currentLineIsBlank = true;
              } else if (c != '\r') {
                // you've gotten a character on the current line
                currentLineIsBlank = false;
              }
            }
          }
          // give the web browser time to receive the data
          delay(1);
          // close the connection:
          client.stop();
          Serial.println("client disconnected");
        }
        #endif
      }
      
      

      It will deliver this website to the browser:

      ***********************************************
      MySensors W5100 Gateway
      Version 0.2
      own mac address: DE:AD:BA:BE:99:13
      own network address: 192.168.99.13
      Gateway type: mqtt
      mqtt controller address: 192.168.99.20
      mqtt controller port: 1883
      mqtt client id: mysgw1
      mqtt publish prefix: mysgw1-out
      mqtt subscribe prefix: mysgw1-in
      Radio type: NRF24
      signing: no
      
      posted in Announcements
      frits
      frits
    • RE: Message Payload type

      @r-nox said in Message Payload type:

      char buf2[MAX_PAYLOAD_SIZE+1];
      strcpy ( buf, percent );
      send(msgDimmer_to_5.setDestination(5).setSensor(0).set(buf2).setType(V_TEXT));

      You copied to buf, but sent buf2 😉

      posted in Development
      frits
      frits
    • RE: config.h:39 : first defined here

      Hi,
      I just built the gateway on my Raspi 3B+ armbian without problem. Maybe an archlinux incompatibility?
      Here's my log:

      pi@raspberrypi:~/MySensors $ ./configure
      [SECTION] Detecting target machine.
        [OK] machine detected: SoC=BCM2837, Type=rpi3, CPU=armv7l.
      [SECTION] Detecting SPI driver.
        [OK] SPI driver detected:BCM.
      [SECTION] Gateway configuration.
        [OK] Type: ethernet.
        [OK] Transport: rf24.
        [OK] Signing: Disabled.
        [OK] Encryption: Disabled.
        [OK] CPPFLAGS: -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI
        [OK] CXXFLAGS:  -std=c++11
      [SECTION] Detecting init system.
        [OK] Init system detected: systemd.
      [SECTION] Saving configuration.
        [OK] Saved.
      [SECTION] Cleaning previous builds.
        [OK] Finished.
      pi@raspberrypi:~/MySensors $
      
      pi@raspberrypi:~/MySensors $ make
      gcc -MT build/hal/architecture/Linux/drivers/core/log.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra  -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/log.c -o build/hal/architecture/Linux/drivers/core/log.o
      gcc -MT build/hal/architecture/Linux/drivers/core/config.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra  -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/config.c -o build/hal/architecture/Linux/drivers/core/config.o
      g++ -MT build/hal/architecture/Linux/drivers/core/StdInOutStream.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/StdInOutStream.cpp -o build/hal/architecture/Linux/drivers/core/StdInOutStream.o
      g++ -MT build/hal/architecture/Linux/drivers/core/noniso.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/noniso.cpp -o build/hal/architecture/Linux/drivers/core/noniso.o
      g++ -MT build/hal/architecture/Linux/drivers/core/GPIO.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/GPIO.cpp -o build/hal/architecture/Linux/drivers/core/GPIO.o
      hal/architecture/Linux/drivers/core/GPIO.cpp: In constructor ‘GPIOClass::GPIOClass()’:
      hal/architecture/Linux/drivers/core/GPIO.cpp:53:33: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 48 [-Wformat-truncation=]
          snprintf(file, sizeof(file), "/sys/class/gpio/%s/base", de->d_name);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
      hal/architecture/Linux/drivers/core/GPIO.cpp:53:12: note: ‘snprintf’ output between 22 and 277 bytes into a destination of size 64
          snprintf(file, sizeof(file), "/sys/class/gpio/%s/base", de->d_name);
          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      hal/architecture/Linux/drivers/core/GPIO.cpp:62:33: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 48 [-Wformat-truncation=]
          snprintf(file, sizeof(file), "/sys/class/gpio/%s/ngpio", de->d_name);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
      hal/architecture/Linux/drivers/core/GPIO.cpp:62:12: note: ‘snprintf’ output between 23 and 278 bytes into a destination of size 64
          snprintf(file, sizeof(file), "/sys/class/gpio/%s/ngpio", de->d_name);
          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      g++ -MT build/hal/architecture/Linux/drivers/core/SPIDEV.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/SPIDEV.cpp -o build/hal/architecture/Linux/drivers/core/SPIDEV.o
      g++ -MT build/hal/architecture/Linux/drivers/core/Print.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/Print.cpp -o build/hal/architecture/Linux/drivers/core/Print.o
      g++ -MT build/hal/architecture/Linux/drivers/core/EthernetClient.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/EthernetClient.cpp -o build/hal/architecture/Linux/drivers/core/EthernetClient.o
      g++ -MT build/hal/architecture/Linux/drivers/core/SerialPort.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/SerialPort.cpp -o build/hal/architecture/Linux/drivers/core/SerialPort.o
      g++ -MT build/hal/architecture/Linux/drivers/core/Stream.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/Stream.cpp -o build/hal/architecture/Linux/drivers/core/Stream.o
      g++ -MT build/hal/architecture/Linux/drivers/core/IPAddress.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/IPAddress.cpp -o build/hal/architecture/Linux/drivers/core/IPAddress.o
      g++ -MT build/hal/architecture/Linux/drivers/core/compatibility.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/compatibility.cpp -o build/hal/architecture/Linux/drivers/core/compatibility.o
      g++ -MT build/hal/architecture/Linux/drivers/core/interrupt.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/interrupt.cpp -o build/hal/architecture/Linux/drivers/core/interrupt.o
      g++ -MT build/hal/architecture/Linux/drivers/core/SoftEeprom.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/SoftEeprom.cpp -o build/hal/architecture/Linux/drivers/core/SoftEeprom.o
      g++ -MT build/hal/architecture/Linux/drivers/core/EthernetServer.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/EthernetServer.cpp -o build/hal/architecture/Linux/drivers/core/EthernetServer.o
      g++ -MT build/examples_linux/mysgw.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c examples_linux/mysgw.cpp -o build/examples_linux/mysgw.o
      In file included from ./MySensors.h:431,
                       from examples_linux/mysgw.cpp:82:
      In member function ‘char* MyMessage::getString(char*) const’,
          inlined from ‘bool transportSendWrite(uint8_t, MyMessage&)’ at ./core/MyTransport.cpp:987:2,
          inlined from ‘bool transportRouteMessage(MyMessage&)’ at ./core/MyTransport.cpp:560:40,
          inlined from ‘void stUplinkTransition()’ at ./core/MyTransport.cpp:252:29:
      ./core/MyMessage.cpp:284:17: warning: ‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying between 0 and 25 bytes from a string of length 25 [-Wstringop-truncation]
          (void)strncpy(buffer, this->data, this->getLength());
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In member function ‘char* MyMessage::getString(char*) const’,
          inlined from ‘char* protocolMyMessage2Serial(MyMessage&)’ at ./core/MyProtocol.cpp:93:8:
      ./core/MyMessage.cpp:284:17: warning: ‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying between 0 and 25 bytes from a string of length 25 [-Wstringop-truncation]
          (void)strncpy(buffer, this->data, this->getLength());
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In member function ‘char* MyMessage::getString(char*) const’,
          inlined from ‘char* protocolMyMessage2Serial(MyMessage&)’ at ./core/MyProtocol.cpp:93:8,
          inlined from ‘bool gatewayTransportSend(MyMessage&)’ at ./core/MyGatewayTransportEthernet.cpp:251:51:
      ./core/MyMessage.cpp:284:17: warning: ‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying between 0 and 25 bytes from a string of length 25 [-Wstringop-truncation]
          (void)strncpy(buffer, this->data, this->getLength());
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ./core/MyMessage.cpp: In member function ‘char* MyMessage::getString(char*) const’:
      ./core/MyMessage.cpp:284:17: warning: ‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying between 0 and 25 bytes from a string of length 25 [-Wstringop-truncation]
          (void)strncpy(buffer, this->data, this->getLength());
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘void stParentTransition()’ at ./core/MyTransport.cpp:161:29:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ destination unchanged after copying no bytes [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘void stReadyUpdate()’ at ./core/MyTransport.cpp:312:30:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ destination unchanged after copying no bytes [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘void stIDTransition()’ at ./core/MyTransport.cpp:218:30,
          inlined from ‘void stIDTransition()’ at ./core/MyTransport.cpp:202:6:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ destination unchanged after copying no bytes [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In member function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘bool present(uint8_t, mysensors_sensor_t, const char*, bool)’ at ./core/MySensorsCore.cpp:379:19,
          inlined from ‘void presentNode()’ at ./core/MySensorsCore.cpp:233:15:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘void prepareSigningPresentation(MyMessage&, uint8_t)’ at ./core/MySigning.cpp:389:90,
          inlined from ‘bool signerInternalProcessPresentation(MyMessage&)’ at ./core/MySigning.cpp:488:28,
          inlined from ‘bool signerProcessInternal(MyMessage&)’ at ./core/MySigning.cpp:176:42,
          inlined from ‘bool signerProcessInternal(MyMessage&)’ at ./core/MySigning.cpp:171:6:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ destination unchanged after copying no bytes [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘bool request(uint8_t, uint8_t, uint8_t)’ at ./core/MySensorsCore.cpp:429:19:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ destination unchanged after copying no bytes [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘bool requestTime(bool)’ at ./core/MySensorsCore.cpp:434:19:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ destination unchanged after copying no bytes [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In member function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘bool _processInternalCoreMessage()’ at ./core/MySensorsCore.cpp:482:21:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘void prepareSigningPresentation(MyMessage&, uint8_t)’ at ./core/MySigning.cpp:389:90,
          inlined from ‘bool signerInternalProcessPresentation(MyMessage&)’ at ./core/MySigning.cpp:488:28,
          inlined from ‘bool signerProcessInternal(MyMessage&)’ at ./core/MySigning.cpp:176:42,
          inlined from ‘bool signerProcessInternal(MyMessage&)’ at ./core/MySigning.cpp:171:6,
          inlined from ‘void transportProcessMessage()’ at ./core/MyTransport.cpp:718:30:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ destination unchanged after copying no bytes [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In member function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘bool gatewayTransportAvailable()’ at ./core/MyGatewayTransportEthernet.cpp:433:25:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 25 bytes from a string of the same length [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In member function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘bool present(uint8_t, mysensors_sensor_t, const char*, bool)’ at ./core/MySensorsCore.cpp:379:19,
          inlined from ‘void presentNode()’ at ./core/MySensorsCore.cpp:233:15,
          inlined from ‘bool gatewayTransportAvailable()’ at ./core/MyGatewayTransportEthernet.cpp:435:16:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In member function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘void gatewayTransportProcess()’ at ./core/MyGatewayTransport.cpp:48:26,
          inlined from ‘void gatewayTransportProcess()’ at ./core/MyGatewayTransport.cpp:28:13,
          inlined from ‘void _process()’ at ./core/MySensorsCore.cpp:72:25:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘void prepareSigningPresentation(MyMessage&, uint8_t)’ at ./core/MySigning.cpp:389:90,
          inlined from ‘void signerPresentation(MyMessage&, uint8_t)’ at ./core/MySigning.cpp:143:28:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ destination unchanged after copying no bytes [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In member function ‘MyMessage& MyMessage::set(const char*)’,
          inlined from ‘void gatewayTransportProcess()’ at ./core/MyGatewayTransport.cpp:48:26,
          inlined from ‘void gatewayTransportProcess()’ at ./core/MyGatewayTransport.cpp:28:13,
          inlined from ‘void _process()’ at ./core/MySensorsCore.cpp:72:25,
          inlined from ‘void wait(uint32_t)’ at ./core/MySensorsCore.cpp:566:11,
          inlined from ‘void transportReportRoutingTable()’ at ./core/MyTransport.cpp:1077:8:
      ./core/MyMessage.cpp:391:15: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation]
        (void)strncpy(this->data, value, this->getLength());
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gcc -MT build/hal/architecture/Linux/drivers/BCM/bcm2835.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra  -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/BCM/bcm2835.c -o build/hal/architecture/Linux/drivers/BCM/bcm2835.o
      g++ -MT build/hal/architecture/Linux/drivers/BCM/BCM.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/BCM/BCM.cpp -o build/hal/architecture/Linux/drivers/BCM/BCM.o
      g++ -MT build/hal/architecture/Linux/drivers/BCM/SPIBCM.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/BCM/SPIBCM.cpp -o build/hal/architecture/Linux/drivers/BCM/SPIBCM.o
      g++ -MT build/hal/architecture/Linux/drivers/BCM/Wire.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/BCM/Wire.cpp -o build/hal/architecture/Linux/drivers/BCM/Wire.o
      g++ -MT build/hal/architecture/Linux/drivers/BCM/RPi.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI  -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/BCM/RPi.cpp -o build/hal/architecture/Linux/drivers/BCM/RPi.o
      g++ -pthread  -o bin/mysgw build/hal/architecture/Linux/drivers/core/log.o build/hal/architecture/Linux/drivers/core/config.o build/hal/architecture/Linux/drivers/core/StdInOutStream.o build/hal/architecture/Linux/drivers/core/noniso.o build/hal/architecture/Linux/drivers/core/GPIO.o build/hal/architecture/Linux/drivers/core/SPIDEV.o build/hal/architecture/Linux/drivers/core/Print.o build/hal/architecture/Linux/drivers/core/EthernetClient.o build/hal/architecture/Linux/drivers/core/SerialPort.o build/hal/architecture/Linux/drivers/core/Stream.o build/hal/architecture/Linux/drivers/core/IPAddress.o build/hal/architecture/Linux/drivers/core/compatibility.o build/hal/architecture/Linux/drivers/core/interrupt.o build/hal/architecture/Linux/drivers/core/SoftEeprom.o build/hal/architecture/Linux/drivers/core/EthernetServer.o build/examples_linux/mysgw.o build/hal/architecture/Linux/drivers/BCM/bcm2835.o build/hal/architecture/Linux/drivers/BCM/BCM.o build/hal/architecture/Linux/drivers/BCM/SPIBCM.o build/hal/architecture/Linux/drivers/BCM/Wire.o build/hal/architecture/Linux/drivers/BCM/RPi.o
      pi@raspberrypi:~/MySensors $
      
      
      posted in Troubleshooting
      frits
      frits
    • RE: MQTT GW with RFM69 on RPi

      @frits said in MQTT GW with RFM69 on RPi:

      @Yveaux I have a raspi gw with debug signatures ready:

      here's the logging on arduino hardware (both gateway and node on arduino pro micro + nrf24).

      Summary:

      • MCO:PRO on gateway only
      • only after node boot
      • or message sent from gateway to node

      gw boot:

      0 MCO:BGN:INIT GW,CP=RNNGAA--,FQ=8,REL=255,VER=2.3.2
      16 SGN:PER:OK
      40 SGN:INI:BND OK
      43 TSM:INIT
      43 TSF:WUR:MS=0
      51 TSM:INIT:TSP OK
      53 TSM:INIT:GW MODE
      55 TSM:READY:ID=0,PAR=0,DIS=0
      57 MCO:REG:NOT NEEDED
      622 GWT:TPC:IP=192.168.99.13
      1626 MCO:BGN:STP
      2127 MCO:BGN:INIT OK,TSP=1
      2129 GWT:TPC:IP=192.168.99.13
      3133 GWT:RMQ:CONNECTING...
      3342 GWT:RMQ:OK
      3344 GWT:TPS:TOPIC=mysgw1-out/0/255/0/0/18,MSG SENT
      3352 TSM:READY:NWD REQ
      3354 SGN:SGN:NREQ=255
      3360 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      

      node boot (gw log):

      40278 TSF:MSG:READ,123-123-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      40284 TSF:MSG:BC
      40286 TSF:MSG:FPAR REQ,ID=123
      40290 TSF:PNG:SEND,TO=0
      40292 TSF:CKU:OK
      40294 TSF:MSG:GWL OK
      40656 SGN:SKP:MSG CMD=3,TYPE=8
      40660 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      42303 TSF:MSG:READ,123-123-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
      42311 SGN:SKP:MSG CMD=3,TYPE=24
      42313 TSF:MSG:PINGED,ID=123,HP=1
      42317 SGN:SKP:MSG CMD=3,TYPE=25
      42323 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
      42350 TSF:MSG:READ,123-123-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0101
      42356 SGN:SKP:MSG CMD=3,TYPE=15
      42360 SGN:PRE:SGN REQ,FROM=123
      42364 SGN:PRE:SGN REQ,TO=123
      42366 SGN:PRE:WHI NREQ,TO=123
      42371 SGN:SKP:MSG CMD=3,TYPE=15
      42375 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0101
      42383 SGN:PRE:XMT,TO=123
      42393 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=0:
      42399 SGN:SKP:MSG CMD=3,TYPE=16
      42475 SGN:SKP:MSG CMD=3,TYPE=17
      42481 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=OK:<NONCE>
      42491 SGN:NCE:XMT,TO=0
      42653 TSF:MSG:READ,123-123-0,s=255,c=0,t=17,pt=0,l=5,sg=1:2.3.2
      42659 SGN:BND:NONCE=5D05EE8DE2E5DB1DF14E37C1927A97E1415B5A171E0A64E5DFAAAAAAAAAAAAAA
      42774 SGN:BND:HMAC=F03795009783A00B1CBA3AB0CABCCE11BA9F5F6050B407B3B50FAADE5B558925
      42782 SGN:VER:OK
      42786 GWT:TPS:TOPIC=mysgw1-out/123/255/0/0/17,MSG SENT
      42792 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
      42801 SGN:SKP:MSG CMD=3,TYPE=16
      42878 SGN:SKP:MSG CMD=3,TYPE=17
      42885 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      42893 SGN:NCE:XMT,TO=0
      43055 TSF:MSG:READ,123-123-0,s=255,c=3,t=6,pt=1,l=1,sg=1:0
      43061 SGN:BND:NONCE=6A5BC212192AAC2D25FDAFE2B626B8216A01D1FA44E1032D42AAAAAAAAAAAAAA
      43180 SGN:BND:HMAC=FFF58B3C02F477E9ACCF36614E05769E8952C76692035368A8A41604F6459073
      43188 SGN:VER:OK
      43190 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/6,MSG SENT
      45049 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
      45056 SGN:SKP:MSG CMD=3,TYPE=16
      45131 SGN:SKP:MSG CMD=3,TYPE=17
      45137 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      45148 SGN:NCE:XMT,TO=0
      45309 TSF:MSG:READ,123-123-0,s=255,c=3,t=11,pt=0,l=20,sg=1:Hello MySensors 328P
      45318 SGN:BND:NONCE=736CF35C52747BC27A10F246D0E5162640F4843111755C3A1CAAAAAAAAAAAAAA
      45432 SGN:BND:HMAC=2D5615BD24252A9F704CE90933F7B6ED89EB891ECCC0BF7EB6021CCFB3B6432D
      45441 SGN:VER:OK
      45445 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/11,MSG SENT
      45453 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
      45459 SGN:SKP:MSG CMD=3,TYPE=16
      45537 SGN:SKP:MSG CMD=3,TYPE=17
      45543 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      45551 SGN:NCE:XMT,TO=0
      45713 TSF:MSG:READ,123-123-0,s=255,c=3,t=12,pt=0,l=3,sg=1:1.3
      45721 SGN:BND:NONCE=7394AB63F58F7181E65175A747357A73B72DA775ECD44D795BAAAAAAAAAAAAAA
      45836 SGN:BND:HMAC=7913D96974B91F551F698BBAB914AE79BC871569DF05977FF18A07836CFDDA2B
      45844 SGN:VER:OK
      45848 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/12,MSG SENT
      45854 TSF:MSG:READ,123-123-0,s=0,c=3,t=16,pt=0,l=0,sg=1:
      45860 SGN:SKP:MSG CMD=3,TYPE=16
      45942 SGN:SKP:MSG CMD=3,TYPE=17
      45948 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      45957 SGN:NCE:XMT,TO=0
      46118 TSF:MSG:READ,123-123-0,s=0,c=0,t=36,pt=0,l=6,sg=1:system
      46125 SGN:BND:NONCE=369A5D4D44C839C07EF2041459B7AF64B8322FC35570B09EE2AAAAAAAAAAAAAA
      46243 SGN:BND:HMAC=2E022D2A34A359DF46021E5A7D197B92ABBA56B1B6DB1D9FC2661FFBA8B031EE
      46252 SGN:VER:OK
      46254 GWT:TPS:TOPIC=mysgw1-out/123/0/0/0/36,MSG SENT
      46262 TSF:MSG:READ,123-123-0,s=1,c=3,t=16,pt=0,l=0,sg=1:
      46268 SGN:SKP:MSG CMD=3,TYPE=16
      46344 SGN:SKP:MSG CMD=3,TYPE=17
      46350 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      46360 SGN:NCE:XMT,TO=0
      46522 TSF:MSG:READ,123-123-0,s=1,c=0,t=36,pt=0,l=9,sg=1:timestamp
      46528 SGN:BND:NONCE=16E88FB58D621C0047CD38142BDCA4303719F0F8D670C6BEA5AAAAAAAAAAAAAA
      46643 SGN:BND:HMAC=1AF56FBB3CF5C705B4C3E5210DE5CB912FF25F84F8152C51CA053A78ABEA63FC
      46653 SGN:VER:OK
      46655 GWT:TPS:TOPIC=mysgw1-out/123/1/0/0/36,MSG SENT
      46663 TSF:MSG:READ,123-123-0,s=2,c=3,t=16,pt=0,l=0,sg=1:
      46669 SGN:SKP:MSG CMD=3,TYPE=16
      46747 SGN:SKP:MSG CMD=3,TYPE=17
      46753 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      46761 SGN:NCE:XMT,TO=0
      46923 TSF:MSG:READ,123-123-0,s=2,c=0,t=3,pt=0,l=3,sg=1:led
      46931 SGN:BND:NONCE=F63BD3325089CAC4DA5F679EA9E334D19E07FB52DFC54C7901AAAAAAAAAAAAAA
      47048 SGN:BND:HMAC=CAF49ED58A0F6D78FA8E2C99C24682D83558017E56F147619CFFD5F56C4CF40C
      47056 SGN:VER:OK
      47058 GWT:TPS:TOPIC=mysgw1-out/123/2/0/0/3,MSG SENT
      47067 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
      47073 SGN:SKP:MSG CMD=3,TYPE=16
      47149 SGN:SKP:MSG CMD=3,TYPE=17
      47155 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      47165 SGN:NCE:XMT,TO=0
      47325 TSF:MSG:READ,123-123-0,s=3,c=0,t=3,pt=0,l=6,sg=1:button
      47333 SGN:BND:NONCE=70E6B1C050BD5A8A2F03F3C345E801FE73237CF22F11196795AAAAAAAAAAAAAA
      47448 SGN:BND:HMAC=F5202D42D87CA81DC0D0E032F54189868EEB4FE462598C6AD8B3307A4A043F4D
      47456 SGN:VER:OK
      47460 GWT:TPS:TOPIC=mysgw1-out/123/3/0/0/3,MSG SENT
      47466 TSF:MSG:READ,123-123-0,s=255,c=3,t=26,pt=1,l=1,sg=1:2
      47474 SGN:SKP:MSG CMD=3,TYPE=26
      47476 SGN:SKP:MSG CMD=3,TYPE=16
      47482 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=16,pt=0,l=0,sg=0,ft=0,st=OK:
      47491 SGN:SGN:NCE REQ,TO=123
      47493 !MCO:PRO:RC=1
      47495 !MCO:PRO:RC=1
      47499 !MCO:PRO:RC=1
      47501 !MCO:PRO:RC=1
      47503 !MCO:PRO:RC=1
      47505 !MCO:PRO:RC=1
      47509 !MCO:PRO:RC=1
      47511 !MCO:PRO:RC=1
      47513 !MCO:PRO:RC=1
      47515 !MCO:PRO:RC=1
      47519 !MCO:PRO:RC=1
      47521 !MCO:PRO:RC=1
      47523 !MCO:PRO:RC=1
      47525 !MCO:PRO:RC=1
      47529 !MCO:PRO:RC=1
      47532 !MCO:PRO:RC=1
      47534 !MCO:PRO:RC=1
      47536 !MCO:PRO:RC=1
      47540 !MCO:PRO:RC=1
      47542 !MCO:PRO:RC=1
      47544 !MCO:PRO:RC=1
      47546 !MCO:PRO:RC=1
      47548 !MCO:PRO:RC=1
      47552 !MCO:PRO:RC=1
      47554 !MCO:PRO:RC=1
      47556 !MCO:PRO:RC=1
      47558 !MCO:PRO:RC=1
      47562 !MCO:PRO:RC=1
      47564 !MCO:PRO:RC=1
      47566 !MCO:PRO:RC=1
      47568 !MCO:PRO:RC=1
      47572 !MCO:PRO:RC=1
      47575 !MCO:PRO:RC=1
      47577 !MCO:PRO:RC=1
      47579 !MCO:PRO:RC=1
      47583 !MCO:PRO:RC=1
      47585 !MCO:PRO:RC=1
      47587 !MCO:PRO:RC=1
      47589 !MCO:PRO:RC=1
      47593 !MCO:PRO:RC=1
      47595 !MCO:PRO:RC=1
      47597 !MCO:PRO:RC=1
      47599 !MCO:PRO:RC=1
      47603 !MCO:PRO:RC=1
      47605 !MCO:PRO:RC=1
      47607 !MCO:PRO:RC=1
      47609 !MCO:PRO:RC=1
      47613 TSF:MSG:READ,123-123-0,s=255,c=3,t=17,pt=6,l=25,sg=0:<NONCE>
      47620 SGN:SKP:MSG CMD=3,TYPE=17
      47624 SGN:NCE:FROM=123
      47626 SGN:BND:NONCE=52C791A2F3FD084BB05D52CBA6079339BCBC85FC48E952A91DAAAAAAAAAAAAAA
      47747 SGN:BND:HMAC=3CCB39326B05220FEED535CC8304FE46A6544C69ED9C2D943725F8E38FA19C50
      47755 SGN:SGN:SGN
      47761 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=27,pt=1,l=1,sg=1,ft=0,st=OK:1
      47935 TSF:MSG:READ,123-123-0,s=1,c=3,t=16,pt=0,l=0,sg=1:
      47943 SGN:SKP:MSG CMD=3,TYPE=16
      48023 SGN:SKP:MSG CMD=3,TYPE=17
      48029 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      48037 SGN:NCE:XMT,TO=0
      48199 TSF:MSG:READ,123-123-0,s=1,c=1,t=2,pt=0,l=11,sg=1:Hello 10031
      48207 SGN:BND:NONCE=399F6855334A59FF5A2B512738EF6B8C70BB2EE4A8FAD758E8AAAAAAAAAAAAAA
      48322 SGN:BND:HMAC=6CCD4905231C9F55C61B23922DAC166A8B20610B150F491FAA11E1C4B9FBB7D4
      48332 SGN:VER:OK
      48334 GWT:TPS:TOPIC=mysgw1-out/123/1/1/0/2,MSG SENT
      

      node send message (node log):

      58513 SGN:SKP:MSG CMD=3,TYPE=16                                                 
      58519 TSF:MSG:SEND,123-123-0-0,s=3,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:           
      58525 SGN:SGN:NCE REQ,TO=0                                                      
      58650 TSF:MSG:READ,0-0-123,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>                
      58656 SGN:SKP:MSG CMD=3,TYPE=17                                                 
      58660 SGN:NCE:FROM=0                                                            
      58662 SGN:BND:NONCE=B06B498BB6AED7756B7C19D7D3E677464FE8E6D1823E37A818AAAAAAAAAA
      AAAA                                                                            
      58779 SGN:BND:HMAC=03123A4791D8BD0DB61B6C15604A847FA875D53790F9CAED906E57CF85C95
      571                                                                             
      58789 SGN:SGN:SGN                                                               
      58793 TSF:MSG:SEND,123-123-0-0,s=3,c=1,t=2,pt=2,l=2,sg=1,ft=0,st=OK:1           
      button pressed                                                                  
      58814 SGN:SKP:MSG CMD=3,TYPE=16                                                 
      58820 TSF:MSG:SEND,123-123-0-0,s=3,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:           
      58826 SGN:SGN:NCE REQ,TO=0                                                      
      59095 TSF:MSG:READ,0-0-123,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>                
      59101 SGN:SKP:MSG CMD=3,TYPE=17                                                 
      59105 SGN:NCE:FROM=0                                                            
      59107 SGN:BND:NONCE=24228D2780F459C3469D1BDD01BAB9128D31C32B3FF806BA2DAAAAAAAAAA
      AAAA                                                                            
      59222 SGN:BND:HMAC=FF9C0AD707200F63C0A93BABF019B137C3F1FD54AD224291F83C16BFC6644
      E8C                                                                             
      59232 SGN:SGN:SGN                                                               
      59236 TSF:MSG:SEND,123-123-0-0,s=3,c=1,t=2,pt=2,l=2,sg=1,ft=0,st=OK:0           
      button released        
      

      node send message (gw log):

      96430 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
      96436 SGN:SKP:MSG CMD=3,TYPE=16
      96512 SGN:SKP:MSG CMD=3,TYPE=17
      96518 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      96528 SGN:NCE:XMT,TO=0
      96690 TSF:MSG:READ,123-123-0,s=3,c=1,t=2,pt=2,l=2,sg=1:1
      96696 SGN:BND:NONCE=B06B498BB6AED7756B7C19D7D3E677464FE8E6D1823E37A818AAAAAAAAAAAAAA
      96811 SGN:BND:HMAC=03123A4791D8BD0DB61B6C15604A847FA875D53790F9CAED906E57CF85C95571
      96821 SGN:VER:OK
      96823 GWT:TPS:TOPIC=mysgw1-out/123/3/1/0/2,MSG SENT
      96829 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
      96837 SGN:SKP:MSG CMD=3,TYPE=16
      96917 SGN:SKP:MSG CMD=3,TYPE=17
      96923 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      96931 SGN:NCE:XMT,TO=0
      97093 TSF:MSG:READ,123-123-0,s=3,c=1,t=2,pt=2,l=2,sg=1:0
      97101 SGN:BND:NONCE=24228D2780F459C3469D1BDD01BAB9128D31C32B3FF806BA2DAAAAAAAAAAAAAA
      97216 SGN:BND:HMAC=FF9C0AD707200F63C0A93BABF019B137C3F1FD54AD224291F83C16BFC6644E8C
      97224 SGN:VER:OK
      97228 GWT:TPS:TOPIC=mysgw1-out/123/3/1/0/2,MSG SENT
      

      gw send message (gw log):

      206145 GWT:IMQ:TOPIC=mysgw1-in/123/2/1/0/2, MSG RECEIVED
      206151 SGN:SKP:MSG CMD=3,TYPE=16
      206157 TSF:MSG:SEND,0-0-123-123,s=2,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:
      206166 SGN:SGN:NCE REQ,TO=123
      206168 !MCO:PRO:RC=1
      206172 !MCO:PRO:RC=1
      206174 !MCO:PRO:RC=1
      206176 !MCO:PRO:RC=1
      206180 !MCO:PRO:RC=1
      206182 !MCO:PRO:RC=1
      206184 !MCO:PRO:RC=1
      206186 !MCO:PRO:RC=1
      206190 !MCO:PRO:RC=1
      206192 !MCO:PRO:RC=1
      206194 !MCO:PRO:RC=1
      206198 !MCO:PRO:RC=1
      206200 !MCO:PRO:RC=1
      206202 !MCO:PRO:RC=1
      206206 !MCO:PRO:RC=1
      206209 !MCO:PRO:RC=1
      206211 !MCO:PRO:RC=1
      206215 !MCO:PRO:RC=1
      206217 !MCO:PRO:RC=1
      206219 !MCO:PRO:RC=1
      206223 !MCO:PRO:RC=1
      206225 !MCO:PRO:RC=1
      206227 !MCO:PRO:RC=1
      206231 !MCO:PRO:RC=1
      206233 !MCO:PRO:RC=1
      206235 !MCO:PRO:RC=1
      206239 !MCO:PRO:RC=1
      206241 !MCO:PRO:RC=1
      206243 !MCO:PRO:RC=1
      206247 !MCO:PRO:RC=1
      206249 !MCO:PRO:RC=1
      206252 !MCO:PRO:RC=1
      206256 !MCO:PRO:RC=1
      206258 !MCO:PRO:RC=1
      206260 !MCO:PRO:RC=1
      206262 !MCO:PRO:RC=1
      206266 !MCO:PRO:RC=1
      206268 !MCO:PRO:RC=1
      206272 TSF:MSG:READ,123-123-0,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>
      206278 SGN:SKP:MSG CMD=3,TYPE=17
      206282 SGN:NCE:FROM=123
      206284 SGN:BND:NONCE=40E78847070231061F13FBD56014E185E1FC7651EDC52ABFD3AAAAAAAAAAAAAA
      206399 SGN:BND:HMAC=4A48E4CF691C24205050B2ECB0C4C9B5F0CB4A67D9E9A43A5FFA03A8F7288F1A
      206409 SGN:SGN:SGN
      206415 TSF:MSG:SEND,0-0-123-123,s=2,c=1,t=2,pt=0,l=1,sg=1,ft=0,st=OK:1
      

      gw send message (node log):

      168019 !SGN:BND:TMR                                                             
      168024 TSF:MSG:READ,0-0-123,s=2,c=3,t=16,pt=0,l=0,sg=1:                         
      168030 SGN:SKP:MSG CMD=3,TYPE=16                                                
      168085 SGN:SKP:MSG CMD=3,TYPE=17                                                
      168091 TSF:MSG:SEND,123-123-0-0,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=1,st=OK:<NONCE>
      168101 SGN:NCE:XMT,TO=123                                                       
      168263 TSF:MSG:READ,0-0-123,s=2,c=1,t=2,pt=0,l=1,sg=1:1                         
      168269 SGN:BND:NONCE=40E78847070231061F13FBD56014E185E1FC7651EDC52ABFD3AAAAAAAAA
      AAAAA                                                                           
      168384 SGN:BND:HMAC=4A48E4CF691C24205050B2ECB0C4C9B5F0CB4A67D9E9A43A5FFA03A8F728
      8F1A                                                                            
      168394 SGN:VER:OK                                                               
                                                                                      
      received message for sensor 2, type 2, value 1                                  
      switching LED on   
      
      posted in Troubleshooting
      frits
      frits
    • RE: Can't receive parent answer

      @joaoabs I might not have been clear in the other thread (https://forum.mysensors.org/topic/11465).

      Slim Node does not route RFM69-signal DIO0 (interrupt) to Arduino-pin D2 (INT0) (at least PCB version 1.4).

      Have you added a trace for this signal?

      posted in Troubleshooting
      frits
      frits

    Latest posts made by frits

    • RE: DIY zigbee sensor?

      @martin3000 I just noticed that PTVO firmware does support the "serial bootloader":
      a5fd4e7f-0fb3-4df9-8a08-ec3aa55fa563-image.png
      Anyway this feature is not documented too well.

      posted in Hardware
      frits
      frits
    • RE: DIY zigbee sensor?

      Do you have a raspberry pi and your zigbee stick has jtag header? Then you could flash your stick via jtag, look here: https://www.youtube.com/watch?v=0XOozGlbU7U

      posted in Hardware
      frits
      frits
    • RE: DIY zigbee sensor?

      what modules do you use? I work with Ebyte E18MS1xx (CC2530 based) and flash them with a Raspberry Pi or aSmartRF04 clone.

      posted in Hardware
      frits
      frits
    • RE: DIY zigbee sensor?

      I recommend this one: https://ptvo.info/

      posted in Hardware
      frits
      frits
    • RE: Can't receive parent answer

      @joaoabs said in Can't receive parent answer:

      Maybe the slim node page could have some reference to this?

      I totally agree, the IRQ line should be routed, also for nrf24 modules. Could you propose this in the slimnode maker's thread?

      posted in Troubleshooting
      frits
      frits
    • RE: Can't receive parent answer

      @joaoabs I might not have been clear in the other thread (https://forum.mysensors.org/topic/11465).

      Slim Node does not route RFM69-signal DIO0 (interrupt) to Arduino-pin D2 (INT0) (at least PCB version 1.4).

      Have you added a trace for this signal?

      posted in Troubleshooting
      frits
      frits
    • RE: How to req actuator status?

      might be related to that thread:
      https://forum.mysensors.org/topic/11427

      posted in Troubleshooting
      frits
      frits
    • RE: Anyone using Slimnode (RFM69) with MySensors 2.3.2?

      Could you check if IRQ arrives correctly at INT0?

      posted in Troubleshooting
      frits
      frits
    • RE: MQTT GW with RFM69 on RPi

      @joaoabs said in MQTT GW with RFM69 on RPi:

      Also happening in nodes:

      are you setting #define MY_TRANSPORT_WAIT_READY_MS ([timeout])? This causes MCO:PRO in my test cases as well.

      posted in Troubleshooting
      frits
      frits
    • RE: MQTT GW with RFM69 on RPi

      @frits said in MQTT GW with RFM69 on RPi:

      @Yveaux I have a raspi gw with debug signatures ready:

      here's the logging on arduino hardware (both gateway and node on arduino pro micro + nrf24).

      Summary:

      • MCO:PRO on gateway only
      • only after node boot
      • or message sent from gateway to node

      gw boot:

      0 MCO:BGN:INIT GW,CP=RNNGAA--,FQ=8,REL=255,VER=2.3.2
      16 SGN:PER:OK
      40 SGN:INI:BND OK
      43 TSM:INIT
      43 TSF:WUR:MS=0
      51 TSM:INIT:TSP OK
      53 TSM:INIT:GW MODE
      55 TSM:READY:ID=0,PAR=0,DIS=0
      57 MCO:REG:NOT NEEDED
      622 GWT:TPC:IP=192.168.99.13
      1626 MCO:BGN:STP
      2127 MCO:BGN:INIT OK,TSP=1
      2129 GWT:TPC:IP=192.168.99.13
      3133 GWT:RMQ:CONNECTING...
      3342 GWT:RMQ:OK
      3344 GWT:TPS:TOPIC=mysgw1-out/0/255/0/0/18,MSG SENT
      3352 TSM:READY:NWD REQ
      3354 SGN:SGN:NREQ=255
      3360 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      

      node boot (gw log):

      40278 TSF:MSG:READ,123-123-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      40284 TSF:MSG:BC
      40286 TSF:MSG:FPAR REQ,ID=123
      40290 TSF:PNG:SEND,TO=0
      40292 TSF:CKU:OK
      40294 TSF:MSG:GWL OK
      40656 SGN:SKP:MSG CMD=3,TYPE=8
      40660 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      42303 TSF:MSG:READ,123-123-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
      42311 SGN:SKP:MSG CMD=3,TYPE=24
      42313 TSF:MSG:PINGED,ID=123,HP=1
      42317 SGN:SKP:MSG CMD=3,TYPE=25
      42323 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
      42350 TSF:MSG:READ,123-123-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0101
      42356 SGN:SKP:MSG CMD=3,TYPE=15
      42360 SGN:PRE:SGN REQ,FROM=123
      42364 SGN:PRE:SGN REQ,TO=123
      42366 SGN:PRE:WHI NREQ,TO=123
      42371 SGN:SKP:MSG CMD=3,TYPE=15
      42375 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0101
      42383 SGN:PRE:XMT,TO=123
      42393 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=0:
      42399 SGN:SKP:MSG CMD=3,TYPE=16
      42475 SGN:SKP:MSG CMD=3,TYPE=17
      42481 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=OK:<NONCE>
      42491 SGN:NCE:XMT,TO=0
      42653 TSF:MSG:READ,123-123-0,s=255,c=0,t=17,pt=0,l=5,sg=1:2.3.2
      42659 SGN:BND:NONCE=5D05EE8DE2E5DB1DF14E37C1927A97E1415B5A171E0A64E5DFAAAAAAAAAAAAAA
      42774 SGN:BND:HMAC=F03795009783A00B1CBA3AB0CABCCE11BA9F5F6050B407B3B50FAADE5B558925
      42782 SGN:VER:OK
      42786 GWT:TPS:TOPIC=mysgw1-out/123/255/0/0/17,MSG SENT
      42792 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
      42801 SGN:SKP:MSG CMD=3,TYPE=16
      42878 SGN:SKP:MSG CMD=3,TYPE=17
      42885 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      42893 SGN:NCE:XMT,TO=0
      43055 TSF:MSG:READ,123-123-0,s=255,c=3,t=6,pt=1,l=1,sg=1:0
      43061 SGN:BND:NONCE=6A5BC212192AAC2D25FDAFE2B626B8216A01D1FA44E1032D42AAAAAAAAAAAAAA
      43180 SGN:BND:HMAC=FFF58B3C02F477E9ACCF36614E05769E8952C76692035368A8A41604F6459073
      43188 SGN:VER:OK
      43190 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/6,MSG SENT
      45049 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
      45056 SGN:SKP:MSG CMD=3,TYPE=16
      45131 SGN:SKP:MSG CMD=3,TYPE=17
      45137 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      45148 SGN:NCE:XMT,TO=0
      45309 TSF:MSG:READ,123-123-0,s=255,c=3,t=11,pt=0,l=20,sg=1:Hello MySensors 328P
      45318 SGN:BND:NONCE=736CF35C52747BC27A10F246D0E5162640F4843111755C3A1CAAAAAAAAAAAAAA
      45432 SGN:BND:HMAC=2D5615BD24252A9F704CE90933F7B6ED89EB891ECCC0BF7EB6021CCFB3B6432D
      45441 SGN:VER:OK
      45445 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/11,MSG SENT
      45453 TSF:MSG:READ,123-123-0,s=255,c=3,t=16,pt=0,l=0,sg=1:
      45459 SGN:SKP:MSG CMD=3,TYPE=16
      45537 SGN:SKP:MSG CMD=3,TYPE=17
      45543 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      45551 SGN:NCE:XMT,TO=0
      45713 TSF:MSG:READ,123-123-0,s=255,c=3,t=12,pt=0,l=3,sg=1:1.3
      45721 SGN:BND:NONCE=7394AB63F58F7181E65175A747357A73B72DA775ECD44D795BAAAAAAAAAAAAAA
      45836 SGN:BND:HMAC=7913D96974B91F551F698BBAB914AE79BC871569DF05977FF18A07836CFDDA2B
      45844 SGN:VER:OK
      45848 GWT:TPS:TOPIC=mysgw1-out/123/255/3/0/12,MSG SENT
      45854 TSF:MSG:READ,123-123-0,s=0,c=3,t=16,pt=0,l=0,sg=1:
      45860 SGN:SKP:MSG CMD=3,TYPE=16
      45942 SGN:SKP:MSG CMD=3,TYPE=17
      45948 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      45957 SGN:NCE:XMT,TO=0
      46118 TSF:MSG:READ,123-123-0,s=0,c=0,t=36,pt=0,l=6,sg=1:system
      46125 SGN:BND:NONCE=369A5D4D44C839C07EF2041459B7AF64B8322FC35570B09EE2AAAAAAAAAAAAAA
      46243 SGN:BND:HMAC=2E022D2A34A359DF46021E5A7D197B92ABBA56B1B6DB1D9FC2661FFBA8B031EE
      46252 SGN:VER:OK
      46254 GWT:TPS:TOPIC=mysgw1-out/123/0/0/0/36,MSG SENT
      46262 TSF:MSG:READ,123-123-0,s=1,c=3,t=16,pt=0,l=0,sg=1:
      46268 SGN:SKP:MSG CMD=3,TYPE=16
      46344 SGN:SKP:MSG CMD=3,TYPE=17
      46350 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      46360 SGN:NCE:XMT,TO=0
      46522 TSF:MSG:READ,123-123-0,s=1,c=0,t=36,pt=0,l=9,sg=1:timestamp
      46528 SGN:BND:NONCE=16E88FB58D621C0047CD38142BDCA4303719F0F8D670C6BEA5AAAAAAAAAAAAAA
      46643 SGN:BND:HMAC=1AF56FBB3CF5C705B4C3E5210DE5CB912FF25F84F8152C51CA053A78ABEA63FC
      46653 SGN:VER:OK
      46655 GWT:TPS:TOPIC=mysgw1-out/123/1/0/0/36,MSG SENT
      46663 TSF:MSG:READ,123-123-0,s=2,c=3,t=16,pt=0,l=0,sg=1:
      46669 SGN:SKP:MSG CMD=3,TYPE=16
      46747 SGN:SKP:MSG CMD=3,TYPE=17
      46753 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      46761 SGN:NCE:XMT,TO=0
      46923 TSF:MSG:READ,123-123-0,s=2,c=0,t=3,pt=0,l=3,sg=1:led
      46931 SGN:BND:NONCE=F63BD3325089CAC4DA5F679EA9E334D19E07FB52DFC54C7901AAAAAAAAAAAAAA
      47048 SGN:BND:HMAC=CAF49ED58A0F6D78FA8E2C99C24682D83558017E56F147619CFFD5F56C4CF40C
      47056 SGN:VER:OK
      47058 GWT:TPS:TOPIC=mysgw1-out/123/2/0/0/3,MSG SENT
      47067 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
      47073 SGN:SKP:MSG CMD=3,TYPE=16
      47149 SGN:SKP:MSG CMD=3,TYPE=17
      47155 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      47165 SGN:NCE:XMT,TO=0
      47325 TSF:MSG:READ,123-123-0,s=3,c=0,t=3,pt=0,l=6,sg=1:button
      47333 SGN:BND:NONCE=70E6B1C050BD5A8A2F03F3C345E801FE73237CF22F11196795AAAAAAAAAAAAAA
      47448 SGN:BND:HMAC=F5202D42D87CA81DC0D0E032F54189868EEB4FE462598C6AD8B3307A4A043F4D
      47456 SGN:VER:OK
      47460 GWT:TPS:TOPIC=mysgw1-out/123/3/0/0/3,MSG SENT
      47466 TSF:MSG:READ,123-123-0,s=255,c=3,t=26,pt=1,l=1,sg=1:2
      47474 SGN:SKP:MSG CMD=3,TYPE=26
      47476 SGN:SKP:MSG CMD=3,TYPE=16
      47482 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=16,pt=0,l=0,sg=0,ft=0,st=OK:
      47491 SGN:SGN:NCE REQ,TO=123
      47493 !MCO:PRO:RC=1
      47495 !MCO:PRO:RC=1
      47499 !MCO:PRO:RC=1
      47501 !MCO:PRO:RC=1
      47503 !MCO:PRO:RC=1
      47505 !MCO:PRO:RC=1
      47509 !MCO:PRO:RC=1
      47511 !MCO:PRO:RC=1
      47513 !MCO:PRO:RC=1
      47515 !MCO:PRO:RC=1
      47519 !MCO:PRO:RC=1
      47521 !MCO:PRO:RC=1
      47523 !MCO:PRO:RC=1
      47525 !MCO:PRO:RC=1
      47529 !MCO:PRO:RC=1
      47532 !MCO:PRO:RC=1
      47534 !MCO:PRO:RC=1
      47536 !MCO:PRO:RC=1
      47540 !MCO:PRO:RC=1
      47542 !MCO:PRO:RC=1
      47544 !MCO:PRO:RC=1
      47546 !MCO:PRO:RC=1
      47548 !MCO:PRO:RC=1
      47552 !MCO:PRO:RC=1
      47554 !MCO:PRO:RC=1
      47556 !MCO:PRO:RC=1
      47558 !MCO:PRO:RC=1
      47562 !MCO:PRO:RC=1
      47564 !MCO:PRO:RC=1
      47566 !MCO:PRO:RC=1
      47568 !MCO:PRO:RC=1
      47572 !MCO:PRO:RC=1
      47575 !MCO:PRO:RC=1
      47577 !MCO:PRO:RC=1
      47579 !MCO:PRO:RC=1
      47583 !MCO:PRO:RC=1
      47585 !MCO:PRO:RC=1
      47587 !MCO:PRO:RC=1
      47589 !MCO:PRO:RC=1
      47593 !MCO:PRO:RC=1
      47595 !MCO:PRO:RC=1
      47597 !MCO:PRO:RC=1
      47599 !MCO:PRO:RC=1
      47603 !MCO:PRO:RC=1
      47605 !MCO:PRO:RC=1
      47607 !MCO:PRO:RC=1
      47609 !MCO:PRO:RC=1
      47613 TSF:MSG:READ,123-123-0,s=255,c=3,t=17,pt=6,l=25,sg=0:<NONCE>
      47620 SGN:SKP:MSG CMD=3,TYPE=17
      47624 SGN:NCE:FROM=123
      47626 SGN:BND:NONCE=52C791A2F3FD084BB05D52CBA6079339BCBC85FC48E952A91DAAAAAAAAAAAAAA
      47747 SGN:BND:HMAC=3CCB39326B05220FEED535CC8304FE46A6544C69ED9C2D943725F8E38FA19C50
      47755 SGN:SGN:SGN
      47761 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=27,pt=1,l=1,sg=1,ft=0,st=OK:1
      47935 TSF:MSG:READ,123-123-0,s=1,c=3,t=16,pt=0,l=0,sg=1:
      47943 SGN:SKP:MSG CMD=3,TYPE=16
      48023 SGN:SKP:MSG CMD=3,TYPE=17
      48029 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      48037 SGN:NCE:XMT,TO=0
      48199 TSF:MSG:READ,123-123-0,s=1,c=1,t=2,pt=0,l=11,sg=1:Hello 10031
      48207 SGN:BND:NONCE=399F6855334A59FF5A2B512738EF6B8C70BB2EE4A8FAD758E8AAAAAAAAAAAAAA
      48322 SGN:BND:HMAC=6CCD4905231C9F55C61B23922DAC166A8B20610B150F491FAA11E1C4B9FBB7D4
      48332 SGN:VER:OK
      48334 GWT:TPS:TOPIC=mysgw1-out/123/1/1/0/2,MSG SENT
      

      node send message (node log):

      58513 SGN:SKP:MSG CMD=3,TYPE=16                                                 
      58519 TSF:MSG:SEND,123-123-0-0,s=3,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:           
      58525 SGN:SGN:NCE REQ,TO=0                                                      
      58650 TSF:MSG:READ,0-0-123,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>                
      58656 SGN:SKP:MSG CMD=3,TYPE=17                                                 
      58660 SGN:NCE:FROM=0                                                            
      58662 SGN:BND:NONCE=B06B498BB6AED7756B7C19D7D3E677464FE8E6D1823E37A818AAAAAAAAAA
      AAAA                                                                            
      58779 SGN:BND:HMAC=03123A4791D8BD0DB61B6C15604A847FA875D53790F9CAED906E57CF85C95
      571                                                                             
      58789 SGN:SGN:SGN                                                               
      58793 TSF:MSG:SEND,123-123-0-0,s=3,c=1,t=2,pt=2,l=2,sg=1,ft=0,st=OK:1           
      button pressed                                                                  
      58814 SGN:SKP:MSG CMD=3,TYPE=16                                                 
      58820 TSF:MSG:SEND,123-123-0-0,s=3,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:           
      58826 SGN:SGN:NCE REQ,TO=0                                                      
      59095 TSF:MSG:READ,0-0-123,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>                
      59101 SGN:SKP:MSG CMD=3,TYPE=17                                                 
      59105 SGN:NCE:FROM=0                                                            
      59107 SGN:BND:NONCE=24228D2780F459C3469D1BDD01BAB9128D31C32B3FF806BA2DAAAAAAAAAA
      AAAA                                                                            
      59222 SGN:BND:HMAC=FF9C0AD707200F63C0A93BABF019B137C3F1FD54AD224291F83C16BFC6644
      E8C                                                                             
      59232 SGN:SGN:SGN                                                               
      59236 TSF:MSG:SEND,123-123-0-0,s=3,c=1,t=2,pt=2,l=2,sg=1,ft=0,st=OK:0           
      button released        
      

      node send message (gw log):

      96430 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
      96436 SGN:SKP:MSG CMD=3,TYPE=16
      96512 SGN:SKP:MSG CMD=3,TYPE=17
      96518 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      96528 SGN:NCE:XMT,TO=0
      96690 TSF:MSG:READ,123-123-0,s=3,c=1,t=2,pt=2,l=2,sg=1:1
      96696 SGN:BND:NONCE=B06B498BB6AED7756B7C19D7D3E677464FE8E6D1823E37A818AAAAAAAAAAAAAA
      96811 SGN:BND:HMAC=03123A4791D8BD0DB61B6C15604A847FA875D53790F9CAED906E57CF85C95571
      96821 SGN:VER:OK
      96823 GWT:TPS:TOPIC=mysgw1-out/123/3/1/0/2,MSG SENT
      96829 TSF:MSG:READ,123-123-0,s=3,c=3,t=16,pt=0,l=0,sg=1:
      96837 SGN:SKP:MSG CMD=3,TYPE=16
      96917 SGN:SKP:MSG CMD=3,TYPE=17
      96923 TSF:MSG:SEND,0-0-123-123,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
      96931 SGN:NCE:XMT,TO=0
      97093 TSF:MSG:READ,123-123-0,s=3,c=1,t=2,pt=2,l=2,sg=1:0
      97101 SGN:BND:NONCE=24228D2780F459C3469D1BDD01BAB9128D31C32B3FF806BA2DAAAAAAAAAAAAAA
      97216 SGN:BND:HMAC=FF9C0AD707200F63C0A93BABF019B137C3F1FD54AD224291F83C16BFC6644E8C
      97224 SGN:VER:OK
      97228 GWT:TPS:TOPIC=mysgw1-out/123/3/1/0/2,MSG SENT
      

      gw send message (gw log):

      206145 GWT:IMQ:TOPIC=mysgw1-in/123/2/1/0/2, MSG RECEIVED
      206151 SGN:SKP:MSG CMD=3,TYPE=16
      206157 TSF:MSG:SEND,0-0-123-123,s=2,c=3,t=16,pt=0,l=0,sg=1,ft=0,st=OK:
      206166 SGN:SGN:NCE REQ,TO=123
      206168 !MCO:PRO:RC=1
      206172 !MCO:PRO:RC=1
      206174 !MCO:PRO:RC=1
      206176 !MCO:PRO:RC=1
      206180 !MCO:PRO:RC=1
      206182 !MCO:PRO:RC=1
      206184 !MCO:PRO:RC=1
      206186 !MCO:PRO:RC=1
      206190 !MCO:PRO:RC=1
      206192 !MCO:PRO:RC=1
      206194 !MCO:PRO:RC=1
      206198 !MCO:PRO:RC=1
      206200 !MCO:PRO:RC=1
      206202 !MCO:PRO:RC=1
      206206 !MCO:PRO:RC=1
      206209 !MCO:PRO:RC=1
      206211 !MCO:PRO:RC=1
      206215 !MCO:PRO:RC=1
      206217 !MCO:PRO:RC=1
      206219 !MCO:PRO:RC=1
      206223 !MCO:PRO:RC=1
      206225 !MCO:PRO:RC=1
      206227 !MCO:PRO:RC=1
      206231 !MCO:PRO:RC=1
      206233 !MCO:PRO:RC=1
      206235 !MCO:PRO:RC=1
      206239 !MCO:PRO:RC=1
      206241 !MCO:PRO:RC=1
      206243 !MCO:PRO:RC=1
      206247 !MCO:PRO:RC=1
      206249 !MCO:PRO:RC=1
      206252 !MCO:PRO:RC=1
      206256 !MCO:PRO:RC=1
      206258 !MCO:PRO:RC=1
      206260 !MCO:PRO:RC=1
      206262 !MCO:PRO:RC=1
      206266 !MCO:PRO:RC=1
      206268 !MCO:PRO:RC=1
      206272 TSF:MSG:READ,123-123-0,s=255,c=3,t=17,pt=6,l=25,sg=1:<NONCE>
      206278 SGN:SKP:MSG CMD=3,TYPE=17
      206282 SGN:NCE:FROM=123
      206284 SGN:BND:NONCE=40E78847070231061F13FBD56014E185E1FC7651EDC52ABFD3AAAAAAAAAAAAAA
      206399 SGN:BND:HMAC=4A48E4CF691C24205050B2ECB0C4C9B5F0CB4A67D9E9A43A5FFA03A8F7288F1A
      206409 SGN:SGN:SGN
      206415 TSF:MSG:SEND,0-0-123-123,s=2,c=1,t=2,pt=0,l=1,sg=1,ft=0,st=OK:1
      

      gw send message (node log):

      168019 !SGN:BND:TMR                                                             
      168024 TSF:MSG:READ,0-0-123,s=2,c=3,t=16,pt=0,l=0,sg=1:                         
      168030 SGN:SKP:MSG CMD=3,TYPE=16                                                
      168085 SGN:SKP:MSG CMD=3,TYPE=17                                                
      168091 TSF:MSG:SEND,123-123-0-0,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=1,st=OK:<NONCE>
      168101 SGN:NCE:XMT,TO=123                                                       
      168263 TSF:MSG:READ,0-0-123,s=2,c=1,t=2,pt=0,l=1,sg=1:1                         
      168269 SGN:BND:NONCE=40E78847070231061F13FBD56014E185E1FC7651EDC52ABFD3AAAAAAAAA
      AAAAA                                                                           
      168384 SGN:BND:HMAC=4A48E4CF691C24205050B2ECB0C4C9B5F0CB4A67D9E9A43A5FFA03A8F728
      8F1A                                                                            
      168394 SGN:VER:OK                                                               
                                                                                      
      received message for sensor 2, type 2, value 1                                  
      switching LED on   
      
      posted in Troubleshooting
      frits
      frits