Navigation

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

    NickBuilder

    @NickBuilder

    8
    Reputation
    30
    Posts
    638
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    NickBuilder Follow

    Best posts made by NickBuilder

    • RE: nRf24L01+ connection quality meter

      @AWI, thanks to your sketch and the concept of transmission quality measurement I did some adjustments to my setup.

      I guess the most critical reason for the bad numbers shown on the meter for my network was due to a poor gateway. After applying the cheep and dirty EMI fix, a ground connected foil, and playing around with the transceiver power I finally got some good numbers on the meter.

      So now I've placed a post-it on each module indicating a sort of long term fail average. A couple of them shows quite poor fail/miss values, 60-80 %. The best ones reaches around 5-15 % but this could be due to the gateway radio.

      Actually I still don't know if the gateway transceiver is optimized. I should test some additional radio units.

      Using large caps for the radio is recommended. There's no reason why not to use a bigger cap, > x00 uF. The ones rated for lower voltages are quite small in physical terms.

      Thank you for this @AWI!

      posted in My Project
      NickBuilder
      NickBuilder
    • RE: incomingMessage is not initiated on relay sensor

      After migrating my few sketches to 2.0 and adjusting my baud rate to 38.4 kbps everything works!

      Thank you @scalz for pushing me to 2.0 and @ToniA for pointing out the poor choice of baud rate for the 8 Mhz Arduino.

      The recommended baud rate is now hard to miss in the 2.0 serial gateway example sketch. So moving to the latest API would possibly have solved my problems anyhow.

      // Define a lower baud rate for Arduino's running on 8 MHz (Arduino Pro Mini 3.3V & SenseBender)
      #if F_CPU == 8000000L
      #define MY_BAUD_RATE 38400
      #endif
      

      Moving on to new challenges.

      posted in Troubleshooting
      NickBuilder
      NickBuilder
    • RE: Gibberish when serial.print() but MY_DEBUG look ok

      @Beat-Siegenthaler thanks for your effort, it didn't have any effect. The answer to my problems is somewhere in the response by AWI.

      @AWI, somewhere around this problem is a big revelation for me regarding the MySensors library. As I said, I'm a beginner at this.

      Answer me this, in the original power meter sketch there is the option to turn on sleep mode for the battery powered counter. You say that timers are off during deep sleep so this kind of sleep is not the "deep sleep" which you are referring to?

      I guess there must be some strange thing with the above referenced sketch as for "sleep_mode = true" the "now counter" (millis() ) is expected to increase also during sleep (MySensors kind) but this is not happening as I have found out. What actually sleeps during sleep? How are timers and interrupts handled?

      Am I missing some documentation here dealing with deviations from the underlying Aruino functionality? Perhaps the MySensors concept is more focused on users not wanting to fiddle that much with the sketches?

      posted in Troubleshooting
      NickBuilder
      NickBuilder
    • RE: openHAB binding

      @bkl

      Thank you @bkl! That is the best answer I could have wished for. 🙂

      I've actually tried some similar prefixes to the port definition, such as "...:38400" and "...@38400" etc. I haven't found any documentation describing the available binding settings more than the port definition that you mention here at the top. I guess the documentation will be more complete for the Openhab 2.0 binding description.

      Thank you for your great work here!

      posted in OpenHAB
      NickBuilder
      NickBuilder
    • RE: Gibberish when serial.print() but MY_DEBUG look ok

      Thank you @scalz! That did the trick. Finally I can debug the code with readable serial feedback.

      Ok @AWI so the example code is probably in need for some adjustments. Its kinda hard for a beginner like myself to learn the basics if also the example code suffers from questionable functionality. Or perhaps the functionality is ok but the code by itself is not clear enough to educate the masses.

      I'm still having trouble understanding whats really happening when using the sleep() call. In my newest revision I'm not passing any interrupt conditions other than a time variable but still its obvious that the sleep is interrupted by the interrupt defined in the setup section. And as such, perhaps also some timer functionality is running while in a MySensors sleep.
      Perhaps the API description is in need for some additional clarification.

      Note: I've also deleted the attach and detach calls from the loop() section as this is probably handled by the sleep function (or other hidden code).

      posted in Troubleshooting
      NickBuilder
      NickBuilder

    Latest posts made by NickBuilder

    • RE: openHAB 2.2 binding

      @jocke4u, I really want my power node to work so I was going to try to make my own rule based on the "expert" strategy and the 999 node/child.

      But first I tried an even simpler approach, I added a var1-item from the power thing and now I have communication between node and gateway. Please give it a try yourself and see if it works for you.

      More specifically I defined the following item:
      Number PulseVar "Var1 [%d]" { channel="mysensors:power:gateway:pulseThing:var1" }

      Be sure to also persist the item. I store it in a mapdb dataset:
      PulseVar : strategy = everyChange, restoreOnStartup

      FYI, my thing is defined as follows:
      power pulseThing [ nodeId=50, childId=1 ]

      Please give it a try and come back with the outcome.

      EDIT: this feels like a too simple fix, I suspect that @TimO has made some changes in the 2.3 snapshot...

      posted in OpenHAB
      NickBuilder
      NickBuilder
    • RE: openHAB 2.2 binding

      @timo regarding the issue with the pulse power node, the same as @jocke4u. I'm using a version of the same sketch and also the latest snapshot jar.

      This is the feedback in my openhab.log while looking att the debug level messages from the binding.

      15:59:15.829 [WARN ] [ors.internal.gateway.MySensorsGateway] - Request received, but variable state is not yet defined
      15:59:15.834 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 50;1;2;0;24;
      15:59:15.839 [DEBUG] [ors.internal.gateway.MySensorsGateway] - Node 50 found in gateway
      15:59:15.844 [DEBUG] [ors.internal.gateway.MySensorsGateway] - Child 1 found in node 50
      15:59:15.849 [WARN ] [ors.internal.gateway.MySensorsGateway] - Request received, but variable state is not yet defined
      15:59:15.854 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 50;1;2;0;24;
      15:59:15.859 [DEBUG] [ors.internal.gateway.MySensorsGateway] - Node 50 found in gateway
      15:59:15.864 [DEBUG] [ors.internal.gateway.MySensorsGateway] - Child 1 found in node 50
      15:59:15.869 [WARN ] [ors.internal.gateway.MySensorsGateway] - Request received, but variable state is not yet defined
      15:59:15.874 [DEBUG] [orsAbstractConnection$MySensorsReader] - Message from gateway received: 50;1;2;0;24;
      15:59:15.879 [DEBUG] [ors.internal.gateway.MySensorsGateway] - Node 50 found in gateway
      

      As you can see the messages are quite frequent making it quite tedious for me to extract the relevant log messages. I'm no expert in browsing and searching text files from the command line.

      I guess because I'm using a version of the standard sketch my node does not wait for a response to the request before starting to count. I'm not sure how the node can neglect the response. Anyhow I restarted my node and now it tried to SET a new count instead.

      2018-01-10 16:26:22.341 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 50;1;1;0;24;150
      2018-01-10 16:26:22.571 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 50;1;1;0;24;150
      2018-01-10 16:26:22.791 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 50;1;1;0;24;150
      2018-01-10 16:26:23.011 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 50;1;1;0;24;150
      2018-01-10 16:26:23.230 [DEBUG] [rsAbstractConnection$MySensorsWriter] - Sending to MySensors: 50;1;1;0;24;150
      

      Hopefully this is useful feedback.

      posted in OpenHAB
      NickBuilder
      NickBuilder
    • RE: Gibberish when serial.print() but MY_DEBUG look ok

      Thank you @scalz! That did the trick. Finally I can debug the code with readable serial feedback.

      Ok @AWI so the example code is probably in need for some adjustments. Its kinda hard for a beginner like myself to learn the basics if also the example code suffers from questionable functionality. Or perhaps the functionality is ok but the code by itself is not clear enough to educate the masses.

      I'm still having trouble understanding whats really happening when using the sleep() call. In my newest revision I'm not passing any interrupt conditions other than a time variable but still its obvious that the sleep is interrupted by the interrupt defined in the setup section. And as such, perhaps also some timer functionality is running while in a MySensors sleep.
      Perhaps the API description is in need for some additional clarification.

      Note: I've also deleted the attach and detach calls from the loop() section as this is probably handled by the sleep function (or other hidden code).

      posted in Troubleshooting
      NickBuilder
      NickBuilder
    • RE: Gibberish when serial.print() but MY_DEBUG look ok

      @Beat-Siegenthaler thanks for your effort, it didn't have any effect. The answer to my problems is somewhere in the response by AWI.

      @AWI, somewhere around this problem is a big revelation for me regarding the MySensors library. As I said, I'm a beginner at this.

      Answer me this, in the original power meter sketch there is the option to turn on sleep mode for the battery powered counter. You say that timers are off during deep sleep so this kind of sleep is not the "deep sleep" which you are referring to?

      I guess there must be some strange thing with the above referenced sketch as for "sleep_mode = true" the "now counter" (millis() ) is expected to increase also during sleep (MySensors kind) but this is not happening as I have found out. What actually sleeps during sleep? How are timers and interrupts handled?

      Am I missing some documentation here dealing with deviations from the underlying Aruino functionality? Perhaps the MySensors concept is more focused on users not wanting to fiddle that much with the sketches?

      posted in Troubleshooting
      NickBuilder
      NickBuilder
    • Gibberish when serial.print() but MY_DEBUG look ok

      Hi!

      I'm quite frustrated with this right now but I'm also well aware that I'm a beginner. The following problem is probably quite trivial to most of you.

      I've adapted the power sensor code (pulse counter) so that its more suitable for my needs. I'm powering it from batteries so I've deleted everything dealing with the time aspects. As the sensor will be sleeping in between counts it makes no sense, the way I understand it, sleeping a given time or doing something based on time differences. Is the original code bad in this aspect? Wouldn't waking up only on a time condition mean that interrupts would be missed?

      I've also deleted the request call for V_VAR1 from the original code as the OH2-binding doesn't allow this request to be answered in an easy way.

      The code and the the serial output is attached below.

      FIY:
      Software: Arduino IDE 1.6.12, MySensors 2.0.0
      Sensor hardware: Pro Mini 3V3 8MHz, amplified nRF24L01 ("dirty" foil shielding), Sundberg Newbie PCB Rev.8 (thank you!)
      Controller: OH2b4 with serial GW.

      Why is the serial output showing gibberish?
      And why isn´t there a "detach" and a "attach" of the interrupt in the loop() in the original code? Is it only due to the fact that the pulses aren't assumed to be generated fast enough? I'm debugging the sensor using a quite fast blinking bike tail light.

      Please help!

      // Enable debug prints
      #define MY_DEBUG
      #define MY_DEBUG_LITE
      
      #define MY_NODE_ID 50
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      #define MY_RF24_PA_LEVEL RF24_PA_MAX
      #define MY_BAUD_RATE  38400
      
      #include <MySensors.h>  
      
      #define DIGITAL_INPUT_SENSOR 3  // The digital input you attached your light sensor.  (Only 2 and 3 generates interrupt!)
      #define PULSE_FACTOR 1000       // Nummber of blinks per KWH of your meeter
      #define CHILD_ID 1              // Id of the sensor child
      int BATTERY_SENSE_PIN = A0;     // select the input pin for the battery sense point
      
      double ppwh = ((double)PULSE_FACTOR)/1000; // Pulses per watt hour
      
      volatile unsigned long pulseCount = 0; // volatile as its dealt with within an interrupt
      unsigned long oldPulseCount = 0;
      unsigned long countDiff = 0;   
      double oldKwh;
      
      int oldBatteryPcnt = 150; // a fresh battery has ~102 % charge, 150 makes the charge difference positive
      
      MyMessage kwhMsg(CHILD_ID,V_KWH); 
      MyMessage pcMsg(CHILD_ID,V_WATT); // using V_WATT for pulsecount data, V_VAR1 is not included in OH2-binding power thing
      
      void setup() {  
        
        // Use the internal pullup to be able to hook up this sketch directly to an energy meter with S0 output
        // If no pullup is used, the reported usage will be too high because of the floating pin
        pinMode(DIGITAL_INPUT_SENSOR,INPUT_PULLUP);
      
        attachInterrupt(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), onPulse, RISING);
        
        // use the 1.1 V internal reference
        #if defined(__AVR_ATmega2560__)
          analogReference(INTERNAL1V1);
        #else
          analogReference(INTERNAL); //INTERNAL
        #endif    
      }// setup
      
      void presentation() {
        // Send the sketch version information to the gateway and Controller
        sendSketchInfo("Energy Meter - kWh", "2.0");
      
        // Register this device as power sensor
        present(CHILD_ID, S_POWER,"PulseCounter", 0);
        
      }// presentation
      
      void loop() {   
      
        // detach as we are working with a volatile variable
        detachInterrupt(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR));
        
        countDiff = pulseCount-oldPulseCount;
      
        #ifdef MY_DEBUG_LITE
          Serial.print("pulseCount: ");
          Serial.print(pulseCount);
          Serial.print(" oldPulseCount: ");
          Serial.print(oldPulseCount);    
          Serial.print(" countDiff: ");       
          Serial.println(countDiff);
        #endif    
      
        // Power up radio after enough counts, here > 150 Wh
        if (countDiff >= 150) {
          send(pcMsg.set(pulseCount), 0);  // Send pulse count value to gw
      
          #ifdef MY_DEBUG_LITE
            Serial.print("pc: ");
            Serial.println(pulseCount);
          #endif
            
          double kwh = ((double)pulseCount/((double)PULSE_FACTOR));     
          oldPulseCount = pulseCount;
          if (kwh != oldKwh) {
            send(kwhMsg.set(kwh, 4), 0);  // Send kwh value to gw 
            oldKwh = kwh;
                   
            #ifdef MY_DEBUG_LITE
              Serial.print("kWh: ");
              Serial.println(kwh);        
            #endif
      
            sendBatt();        
          }// kwh != oldKwh             
        }// countDiff >= 150                   
      
        attachInterrupt(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), onPulse, RISING);  
        // sleep, wake only on interrupt
        sleep(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), RISING, 0); 
          
      }// loop
      
      
      void sendBatt(void) {
      
        // get the battery Voltage
        int sensorValue = analogRead(BATTERY_SENSE_PIN);
       
        // 1M, 470K divider across battery and using internal ADC ref of 1.1V
        // Sense point is bypassed with 0.1 uF cap to reduce noise at that point
        // ((1e6+470e3)/470e3)*1.1 = Vmax = 3.44 Volts
        // 3.44/1023 = Volts per bit = 0.003363075
      
        int batteryPcnt = sensorValue / 10;  
      
        if (oldBatteryPcnt != batteryPcnt) {
          int batteryDiff = oldBatteryPcnt-batteryPcnt;    
          
          if (batteryDiff >= 1) {
            // Power up radio after sleep
            sendBatteryLevel(batteryPcnt, 0);
            oldBatteryPcnt = batteryPcnt;  
          }// batteryDiff >= 1               
        }// oldBatteryPcnt != batteryPcnt
        
      }// sendBatt
      
      void onPulse() {    
        pulseCount++;
      }// onPulse
      
      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=50)
      TSM:FPAR
      TSP:MSG:SEND 50-50-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-50 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=50)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:MSG:READ 0-0-50 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      !TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=1,st=fail:0100
      TSP:MSG:SEND 50-50-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=2,st=ok:2.0.0
      TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=ok:0
      TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=11,pt=0,l=18,sg=0,ft=0,st=ok:Energy Meter - kWh
      TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:2.0
      TSP:MSG:SEND 50-50-0-0 s=1,c=0,t=13,pt=0,l=12,sg=0,ft=0,st=ok:PulseCounter
      Request registration...
      !TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=fail:2
      !TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=1,st=fail:2
      !TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=2,st=fail:2
      !TSP:MSG:SEND 50-50-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=3,st=fail:2
      Init complete, id=50, parent=0, distance=1, registration=1
      pulsY¨«—‹—‚z±‘Aձ͕½Õù‹—‚½Õ¹Ñ¥™™é‚j¤ձ͕½Õ¹Ñé‚z±‘Aձ͕½Õù‹—‚½Õ¹Ñ¥™™é‚j¤ձ͕½Õ¹Ñé‚z±‘Aձ͕½Õù‹—‚½Õ¹Ñ¥™™é‚j¤ձ͕½  [....]
      
      posted in Troubleshooting
      NickBuilder
      NickBuilder
    • RE: How can I tell if my arduino mini pro is 3.3V or 5v?

      @Alexandre-Magno

      Hi!

      Look here: https://www.arduino.cc/en/Main/ArduinoBoardProMini
      Check the documentation/schematics section.

      posted in Hardware
      NickBuilder
      NickBuilder
    • RE: [contest] My 12 input high precision pulse counter (kWh/ W)

      Hi @AWI!

      The GIT link is broken. Can I find your sketch for this counter elsewhere?

      I would like to implement this counter as a "local sensor" on an ethernet gateway without radio. I guess this would require some tweaking but right now I'm confident. x)

      Thanks!

      posted in My Project
      NickBuilder
      NickBuilder
    • RE: nRf24L01+ connection quality meter

      @AWI, thanks to your sketch and the concept of transmission quality measurement I did some adjustments to my setup.

      I guess the most critical reason for the bad numbers shown on the meter for my network was due to a poor gateway. After applying the cheep and dirty EMI fix, a ground connected foil, and playing around with the transceiver power I finally got some good numbers on the meter.

      So now I've placed a post-it on each module indicating a sort of long term fail average. A couple of them shows quite poor fail/miss values, 60-80 %. The best ones reaches around 5-15 % but this could be due to the gateway radio.

      Actually I still don't know if the gateway transceiver is optimized. I should test some additional radio units.

      Using large caps for the radio is recommended. There's no reason why not to use a bigger cap, > x00 uF. The ones rated for lower voltages are quite small in physical terms.

      Thank you for this @AWI!

      posted in My Project
      NickBuilder
      NickBuilder
    • RE: nRf24L01+ connection quality meter

      @AWI, it's hardly visible but I'm actually using a 3V3 buck and a 10 uF cap to power the radio. But I took your advice and tried tos power the radio seperately with two AA batterys, and a cap just in case. This should be a really clean source of power but the outcome is still the same.

      I guess I'll order som new radios, hopefully from a different supplier. I'll get some adapter boards with (switchless) LDO's while I'm at it.

      Why is the parent changing from 255 to 0 back and forth? I have a serial gateway connected to a Pi and aside from some temp sensors I also have an RC switch for my outlets which also acts as a gateway but the adress is neither 255 nor 0.

      Thanks!

      posted in My Project
      NickBuilder
      NickBuilder
    • RE: nRf24L01+ connection quality meter

      Great tool for a mysensors builder @AWI! I also want to sort out the good radios from the bad, I have enough trouble as it is trying to troubleshoot my questionable sensors.

      I got around to building a quality meter for myself, although without the adapter board and with some additional differences. But I really don't understand the output, the fail and miss percentage is almost always 100 % for most of my radios. Am I missing something? Perhaps I should change some addresses to static ones? I thought that perhaps I had to define a corresponding item in Openhab in order for the packages to be acknowledged but this doesn't change the outcome.

      Here's the serial output from the "quality meter":

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=250)
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:MSG:READ 0-0-250 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=1,st=fail:0100
      !TSP:MSG:SEND 250-250-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=2,st=fail:2.0.0
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=3,st=fail:0
      TSP:MSG:READ 0-0-250 s=255,c=3,t=6,pt=0,l=1,sg=0:M
      !TSP:MSG:SEND 250-250-0-0 s=0,c=0,t=4,pt=0,l=21,sg=0,ft=4,st=fail:Quality counter Q 250
      Request registration...
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=5,st=fail:2
      !TSM:UPL FAIL, SNP
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:MSG:READ 0-0-250 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=1,st=fail:2
      TSP:MSG:READ 0-0-250 s=255,c=3,t=27,pt=1,l=1,sg=0:1
      Node registration=1
      Init complete, id=250, parent=0, distance=1, registration=1
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=2,st=fail:0
      Fail on message: 0 # 1
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:0
      Missed messages: 0
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=3,st=fail:1
      Fail on message: 1 # 2
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=4,st=fail:2
      Fail on message: 2 # 3
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=5,st=fail:3
      Fail on message: 3 # 4
      !TSM:UPL FAIL, SNP
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:3
      Missed messages: 2
      !TSP:SEND:TNR
      Fail on message: 4 # 5
      !TSP:SEND:TNR
      Fail on message: 5 # 6
      !TSP:SEND:TNR
      Fail on message: 6 # 7
      !TSP:SEND:TNR
      Fail on message: 7 # 8
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 8 # 9
      !TSP:SEND:TNR
      Fail on message: 9 # 10
      !TSP:SEND:TNR
      Fail on message: 10 # 11
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:MSG:READ 0-0-250 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=1,st=fail:11
      Fail on message: 11 # 12
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:11
      Missed messages: 7
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=2,st=fail:12
      Fail on message: 12 # 13
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=3,st=fail:13
      Fail on message: 13 # 14
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=4,st=fail:14
      Fail on message: 14 # 15
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=5,st=fail:15
      Fail on message: 15 # 16
      !TSM:UPL FAIL, SNP
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 16 # 17
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 17 # 18
      !TSP:SEND:TNR
      Fail on message: 18 # 19
      !TSP:SEND:TNR
      Fail on message: 19 # 20
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:CHKUPL:FAIL (hops=255)
      !TSM:UPL:FAIL
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 20 # 21
      !TSP:SEND:TNR
      Fail on message: 21 # 22
      !TSP:SEND:TNR
      Fail on message: 22 # 23
      !TSP:SEND:TNR
      Fail on message: 23 # 24
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 24 # 25
      !TSP:SEND:TNR
      Fail on message: 25 # 26
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 26 # 27
      !TSP:SEND:TNR
      Fail on message: 27 # 28
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:CHKUPL:FAIL (hops=255)
      !TSM:UPL:FAIL
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 28 # 29
      !TSP:SEND:TNR
      Fail on message: 29 # 30
      !TSP:SEND:TNR
      Fail on message: 30 # 31
      !TSP:SEND:TNR
      Fail on message: 31 # 32
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 32 # 33
      !TSP:SEND:TNR
      Fail on message: 33 # 34
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 34 # 35
      !TSP:SEND:TNR
      Fail on message: 35 # 36
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:MSG:READ 0-0-250 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=1,st=fail:36
      Fail on message: 36 # 37
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=2,st=fail:37
      Fail on message: 37 # 38
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:37
      Missed messages: 25
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=3,st=fail:38
      Fail on message: 38 # 39
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:38
      Missed messages: 0
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=4,st=fail:39
      Fail on message: 39 # 40
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:39
      Missed messages: 0
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=5,st=fail:40
      Fail on message: 40 # 41
      !TSM:UPL FAIL, SNP
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:40
      Missed messages: 0
      !TSP:SEND:TNR
      Fail on message: 41 # 42
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 42 # 43
      !TSP:SEND:TNR
      Fail on message: 43 # 44
      TSM:FPAR:OK
      TSM:ID
      !TSP:SEND:TNR
      Fail on message: 44 # 45
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:MSG:READ 0-0-250 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=1,st=fail:45
      Fail on message: 45 # 46
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:45
      Missed messages: 4
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=2,st=fail:46
      Fail on message: 46 # 47
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=3,st=fail:47
      Fail on message: 47 # 48
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:47
      Missed messages: 1
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=4,st=fail:48
      Fail on message: 48 # 49
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:48
      Missed messages: 0
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=5,st=fail:49
      Fail on message: 49 # 50
      !TSM:UPL FAIL, SNP
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 50 # 51
      !TSP:SEND:TNR
      Fail on message: 51 # 52
      !TSP:SEND:TNR
      Fail on message: 52 # 53
      !TSP:SEND:TNR
      Fail on message: 53 # 54
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 54 # 55
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 55 # 56
      !TSP:SEND:TNR
      Fail on message: 56 # 57
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:CHKUPL:FAIL (hops=255)
      !TSM:UPL:FAIL
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 57 # 58
      !TSP:SEND:TNR
      Fail on message: 58 # 59
      !TSP:SEND:TNR
      Fail on message: 59 # 60
      !TSP:SEND:TNR
      Fail on message: 60 # 61
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 61 # 62
      !TSP:SEND:TNR
      Fail on message: 62 # 63
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 63 # 64
      !TSP:SEND:TNR
      Fail on message: 64 # 65
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:CHKUPL:FAIL (hops=255)
      !TSM:UPL:FAIL
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 65 # 66
      !TSP:SEND:TNR
      Fail on message: 66 # 67
      !TSP:SEND:TNR
      Fail on message: 67 # 68
      !TSP:SEND:TNR
      Fail on message: 68 # 69
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 69 # 70
      !TSP:SEND:TNR
      Fail on message: 70 # 71
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 71 # 72
      !TSP:SEND:TNR
      Fail on message: 72 # 73
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:CHKUPL:FAIL (hops=255)
      !TSM:UPL:FAIL
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 73 # 74
      !TSP:SEND:TNR
      Fail on message: 74 # 75
      !TSP:SEND:TNR
      Fail on message: 75 # 76
      !TSP:SEND:TNR
      Fail on message: 76 # 77
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 77 # 78
      !TSP:SEND:TNR
      Fail on message: 78 # 79
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 79 # 80
      !TSP:SEND:TNR
      Fail on message: 80 # 81
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      TSP:CHKUPL:FAIL (hops=255)
      !TSM:UPL:FAIL
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 81 # 82
      !TSP:SEND:TNR
      Fail on message: 82 # 83
      !TSP:SEND:TNR
      Fail on message: 83 # 84
      !TSP:SEND:TNR
      Fail on message: 84 # 85
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSP:SEND:TNR
      Fail on message: 85 # 86
      !TSP:SEND:TNR
      Fail on message: 86 # 87
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 87 # 88
      !TSP:SEND:TNR
      Fail on message: 88 # 89
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
      TSP:MSG:READ 99-99-0 s=0,c=1,t=1,pt=7,l=5,sg=0:62.2
      !TSM:MSG:REL MSG, but not a repeater
      TSP:MSG:READ 0-0-250 s=255,c=3,t=25,pt=1,l=1,sg=0:1
      TSP:MSG:PONG RECV (hops=1)
      TSP:CHKUPL:OK
      TSM:UPL:OK
      TSM:READY
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=0,st=fail:89
      Fail on message: 89 # 90
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=1,st=fail:90
      Fail on message: 90 # 91
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=2,st=fail:91
      Fail on message: 91 # 92
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=3,st=fail:92
      Fail on message: 92 # 93
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:92
      Missed messages: 43
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=4,st=fail:93
      Fail on message: 93 # 94
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:93
      Missed messages: 0
      !TSP:MSG:SEND 250-250-0-0 s=0,c=1,t=3,pt=2,l=2,sg=0,ft=5,st=fail:94
      Fail on message: 94 # 95
      !TSM:UPL FAIL, SNP
      TSM:FPAR
      TSP:MSG:SEND 250-250-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-250 s=0,c=1,t=3,pt=2,l=2,sg=0:94
      Missed messages: 0
      TSP:MSG:READ 0-0-250 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      !TSP:SEND:TNR
      Fail on message: 95 # 96
      !TSP:SEND:TNR
      Fail on message: 96 # 97
      !TSP:SEND:TNR
      Fail on message: 97 # 98
      !TSP:SEND:TNR
      Fail on message: 98 # 99
      TSM:FPAR:OK
      TSM:ID
      TSM:CHKID:OK (ID=250)
      TSM:UPL
      TSP:PING:SEND (dest=0)
      !TSP:MSG:SEND 250-250-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=fail:1
      

      Also, the meter in action generating the output above can be seen here: LINK
      After some time, >10 min, the fail percentage is 100 % and the miss percentage around 85 %. Not impressive if interpreted correctly. Could someone give me some pointers to what the problem is? I don't talk "mysensors protocol".

      Sorry @siod, I don't think I can help you. You seem to get a lot more messages through though.

      posted in My Project
      NickBuilder
      NickBuilder