Packets lost in garbage

Hi all.

My setup is made of a base and two other nodes: 19 (emonTH) and 12 (emonTX). Both send a packet about every minute, but I'm losing some of them.

I set the quiet parameter to 0 in the RFM69 driver and here's what I get.

    2015-01-04 19:08:23,248 DEBUG 438 NEW FRAME : 1420394903.25  ? 27 113 81 174 152 35 80 252 249 80 147 204 59 52 30 94 7 211 86 228 251 (-80)
    2015-01-04 19:08:23,252 INFO 438 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:08:38,140 DEBUG 439 NEW FRAME : 1420394918.14  ? 8 186 193 205 85 71 116 31 115 220 43 99 152 141 126 60 119 191 183 228 161 (-80)
    2015-01-04 19:08:38,143 INFO 439 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:08:43,550 DEBUG 440 NEW FRAME : 1420394923.55  ? 8 186 74 96 70 65 27 127 32 206 177 169 102 178 183 200 0 128 188 217 63 (-78)
    2015-01-04 19:08:43,553 INFO 440 Discard RX frame 'unreliable content' : RSSI (-78)
    2015-01-04 19:08:43,990 DEBUG 441 NEW FRAME : 1420394923.99 OK 12 0 0 239 7 (-60)
    2015-01-04 19:08:43,995 DEBUG 441 Timestamp : 1420394923.99
    2015-01-04 19:08:43,998 DEBUG 441      Node : 12
    2015-01-04 19:08:44,002 DEBUG 441    Values : [0, 2031]
    2015-01-04 19:08:44,005 DEBUG 441      RSSI : -60
    2015-01-04 19:08:44,043 DEBUG 441 Append to 'emoncms_remote' buffer => time: 1420394923.99, data: [12, 0, 2031, -60], ref: 441
    2015-01-04 19:08:44,147 INFO emoncms_remote sending: http://jolimont.fr/emoncms/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1420394923.99,12,0,2031,-60]]&sentat=1420394924
    2015-01-04 19:08:44,326 DEBUG emoncms_remote acknowledged receipt with 'ok' from http://jolimont.fr/emoncms
    2015-01-04 19:08:48,339 DEBUG 442 NEW FRAME : 1420394928.34  ? 4 67 200 141 163 21 203 75 11 99 48 75 90 99 208 180 233 153 95 149 43 (-81)
    2015-01-04 19:08:48,343 INFO 442 Discard RX frame 'unreliable content' : RSSI (-81)
    2015-01-04 19:08:56,102 DEBUG 443 NEW FRAME : 1420394936.1  ? 7 199 143 200 36 178 186 81 201 125 155 111 228 236 188 104 33 190 81 220 216 (-79)
    2015-01-04 19:08:56,105 INFO 443 Discard RX frame 'unreliable content' : RSSI (-79)
    2015-01-04 19:08:59,780 DEBUG 444 NEW FRAME : 1420394939.78  ? 28 16 171 8 252 145 244 123 218 182 23 133 104 51 110 242 215 216 180 254 222 (-78)
    2015-01-04 19:08:59,784 INFO 444 Discard RX frame 'unreliable content' : RSSI (-78)
    2015-01-04 19:09:00,018 DEBUG 445 NEW FRAME : 1420394940.02  ? 27 79 168 1 54 244 40 180 112 52 228 95 204 24 85 37 38 116 141 183 165 (-78)
    2015-01-04 19:09:00,022 INFO 445 Discard RX frame 'unreliable content' : RSSI (-78)
    2015-01-04 19:09:02,915 DEBUG 446 NEW FRAME : 1420394942.92  ? 19 83 187 34 183 162 115 196 81 249 77 228 1 134 8 28 25 195 185 221 67 (-80)
    2015-01-04 19:09:02,919 INFO 446 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:09:05,727 DEBUG 447 NEW FRAME : 1420394945.73  ? 5 54 48 249 190 141 127 237 94 0 121 216 189 139 51 226 100 173 13 223 127 (-77)
    2015-01-04 19:09:05,731 INFO 447 Discard RX frame 'unreliable content' : RSSI (-77)
    2015-01-04 19:09:07,269 DEBUG 448 NEW FRAME : 1420394947.27  ? 28 101 95 143 219 87 37 238 117 54 242 75 28 246 98 254 185 53 104 255 203 (-83)
    2015-01-04 19:09:07,288 INFO 448 Discard RX frame 'unreliable content' : RSSI (-83)
    2015-01-04 19:09:08,818 DEBUG 449 NEW FRAME : 1420394948.82  ? 19 188 0 0 0 237 2 24 0 166 72 242 200 95 121 198 165 245 236 107 86 (-62)
    2015-01-04 19:09:08,822 INFO 449 Discard RX frame 'unreliable content' : RSSI (-62)
    2015-01-04 19:09:12,285 DEBUG 450 NEW FRAME : 1420394952.29  ? 23 164 229 5 35 135 45 228 252 41 206 40 217 179 69 39 150 40 34 158 122 (-80)
    2015-01-04 19:09:12,298 INFO 450 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:09:18,144 DEBUG 451 NEW FRAME : 1420394958.14  ? 13 231 167 122 37 136 17 146 189 58 191 197 60 252 175 31 105 245 237 40 179 (-80)
    2015-01-04 19:09:18,148 INFO 451 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:09:18,809 DEBUG 452 NEW FRAME : 1420394958.81  ? 28 242 184 190 135 159 125 37 246 125 107 38 149 231 71 186 44 77 33 93 36 (-79)
    2015-01-04 19:09:18,813 INFO 452 Discard RX frame 'unreliable content' : RSSI (-79)
    2015-01-04 19:09:21,438 DEBUG 453 NEW FRAME : 1420394961.44  ? 25 12 155 65 223 238 199 126 12 59 165 33 215 45 164 251 241 187 117 27 194 (-80)
    2015-01-04 19:09:21,452 INFO 453 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:09:26,193 DEBUG 454 NEW FRAME : 1420394966.19  ? 4 243 192 173 58 188 207 86 89 175 33 215 26 226 10 224 84 95 19 62 167 (-80)
    2015-01-04 19:09:26,197 INFO 454 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:09:28,383 DEBUG 455 NEW FRAME : 1420394968.38  ? 17 247 232 192 146 35 254 255 92 83 127 2 245 30 135 230 115 11 93 75 39 (-78)
    2015-01-04 19:09:28,387 INFO 455 Discard RX frame 'unreliable content' : RSSI (-78)
    2015-01-04 19:09:30,335 DEBUG 456 NEW FRAME : 1420394970.34  ? 19 99 142 186 202 74 241 243 251 155 165 22 91 87 31 105 39 75 246 227 194 (-77)
    2015-01-04 19:09:30,339 INFO 456 Discard RX frame 'unreliable content' : RSSI (-77)
    2015-01-04 19:09:33,593 DEBUG 457 NEW FRAME : 1420394973.59  ? 30 207 37 142 190 60 70 235 53 239 73 0 195 27 249 137 221 248 240 199 222 (-77)
    2015-01-04 19:09:33,596 INFO 457 Discard RX frame 'unreliable content' : RSSI (-77)
    2015-01-04 19:09:43,716 DEBUG 458 NEW FRAME : 1420394983.72  ? 8 182 14 255 247 123 144 95 250 211 182 31 246 250 168 156 201 23 151 246 83 (-81)
    2015-01-04 19:09:43,720 INFO 458 Discard RX frame 'unreliable content' : RSSI (-81)
    2015-01-04 19:09:49,529 DEBUG 459 NEW FRAME : 1420394989.53  ? 25 140 161 57 176 137 28 235 166 (-78)
    2015-01-04 19:09:49,532 INFO 459 Discard RX frame 'unreliable content' : RSSI (-78)
    2015-01-04 19:09:53,670 DEBUG 460 NEW FRAME : 1420394993.67  ? 20 80 185 113 247 135 12 142 114 138 218 119 68 241 45 209 132 78 175 7 224 (-79)
    2015-01-04 19:09:53,673 INFO 460 Discard RX frame 'unreliable content' : RSSI (-79)
    2015-01-04 19:09:56,052 DEBUG 461 NEW FRAME : 1420394996.05  ? 14 19 71 11 63 176 156 234 115 109 138 237 161 239 32 55 121 208 103 10 215 (-81)
    2015-01-04 19:09:56,055 INFO 461 Discard RX frame 'unreliable content' : RSSI (-81)
    2015-01-04 19:09:57,363 DEBUG 462 NEW FRAME : 1420394997.36  ? 0 187 223 127 48 228 163 117 215 84 199 56 142 171 105 76 117 128 73 242 47 (-83)
    2015-01-04 19:09:57,366 INFO 462 Discard RX frame 'unreliable content' : RSSI (-83)
    2015-01-04 19:09:57,815 DEBUG 463 NEW FRAME : 1420394997.81  ? 27 34 150 163 219 251 181 119 68 103 23 208 125 248 248 175 181 199 29 47 138 (-77)
    2015-01-04 19:09:57,818 INFO 463 Discard RX frame 'unreliable content' : RSSI (-77)
    2015-01-04 19:09:59,542 DEBUG 464 NEW FRAME : 1420394999.54 OK 12 0 0 245 7 (-57)
    2015-01-04 19:09:59,547 DEBUG 464 Timestamp : 1420394999.54
    2015-01-04 19:09:59,551 DEBUG 464      Node : 12
    2015-01-04 19:09:59,555 DEBUG 464    Values : [0, 2037]
    2015-01-04 19:09:59,558 DEBUG 464      RSSI : -57
    2015-01-04 19:09:59,662 DEBUG 464 Append to 'emoncms_remote' buffer => time: 1420394999.54, data: [12, 0, 2037, -57], ref: 464
    2015-01-04 19:09:59,766 INFO emoncms_remote sending: http://jolimont.fr/emoncms/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1420394999.54,12,0,2037,-57]]&sentat=1420394999
    2015-01-04 19:10:00,318 DEBUG emoncms_remote acknowledged receipt with 'ok' from http://jolimont.fr/emoncms
    2015-01-04 19:10:06,919 DEBUG 465 NEW FRAME : 1420395006.92  ? 15 61 32 70 69 190 195 255 174 172 114 210 78 208 30 204 208 144 5 190 32 (-80)
    2015-01-04 19:10:06,938 INFO 465 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:10:11,044 DEBUG 466 NEW FRAME : 1420395011.04  ? 31 36 216 174 83 199 72 46 102 12 49 29 59 243 10 146 193 153 226 83 139 (-81)
    2015-01-04 19:10:11,048 INFO 466 Discard RX frame 'unreliable content' : RSSI (-81)
    2015-01-04 19:10:11,923 DEBUG 467 NEW FRAME : 1420395011.92 OK 19 188 0 0 0 237 2 25 0 (-59)
    2015-01-04 19:10:11,932 DEBUG 467 Timestamp : 1420395011.92
    2015-01-04 19:10:11,936 DEBUG 467      Node : 19
    2015-01-04 19:10:11,940 DEBUG 467    Values : [188, 0, 749, 25]
    2015-01-04 19:10:11,944 DEBUG 467      RSSI : -59
    2015-01-04 19:10:12,004 DEBUG 467 Append to 'emoncms_remote' buffer => time: 1420395011.92, data: [19, 188, 0, 749, 25, -59], ref: 467
    2015-01-04 19:10:12,109 INFO emoncms_remote sending: http://jolimont.fr/emoncms/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1420395011.92,19,188,0,749,25,-59]]&sentat=1420395012
    2015-01-04 19:10:12,344 DEBUG emoncms_remote acknowledged receipt with 'ok' from http://jolimont.fr/emoncms
    2015-01-04 19:10:13,679 DEBUG 468 NEW FRAME : 1420395013.68  ? 18 3 168 70 85 103 150 234 125 61 194 30 94 37 81 73 33 96 71 36 112 (-79)
    2015-01-04 19:10:13,683 INFO 468 Discard RX frame 'unreliable content' : RSSI (-79)
    2015-01-04 19:10:16,933 DEBUG 469 NEW FRAME : 1420395016.93  ? 15 50 131 211 43 88 214 67 79 162 85 157 103 149 124 178 224 17 224 244 155 (-80)
    2015-01-04 19:10:16,947 INFO 469 Discard RX frame 'unreliable content' : RSSI (-80)
    2015-01-04 19:10:18,040 DEBUG 470 NEW FRAME : 1420395018.04  ? 28 81 167 244 63 10 181 241 237 82 150 248 176 219 60 158 224 175 217 151 205 (-78)
    2015-01-04 19:10:18,044 INFO 470 Discard RX frame 'unreliable content' : RSSI (-78)
    2015-01-04 19:10:21,507 DEBUG 471 NEW FRAME : 1420395021.51  ? 0 25 26 92 45 226 216 57 59 147 148 30 249 83 18 234 229 173 152 252 120 (-76)
    2015-01-04 19:10:21,510 INFO 471 Discard RX frame 'unreliable content' : RSSI (-76)
    2015-01-04 19:10:30,355 DEBUG 472 NEW FRAME : 1420395030.35  ? 20 223 33 10 237 36 83 136 215 157 189 154 180 207 61 226 239 206 48 198 112 (-78)
    2015-01-04 19:10:30,361 INFO 472 Discard RX frame 'unreliable content' : RSSI (-78)

I seem to be receiving a lot of garbage. Is this common or do I have a particularly noisy environment?

I guess this explain the packet loss, because I identified a line that looks pretty much like what I expect, except it is appended gibberish. So the data was received but polluted with garbage.

    2015-01-04 19:09:08,818 DEBUG 449 NEW FRAME : 1420394948.82  ? 19 188 0 0 0 237 2 24 0 166 72 242 200 95 121 198 165 245 236 107 86 (-62)

 

pb66's picture

Re: Packets lost in garbage

The rfm69 is reported to be a significantly more sensitive receiver, I also get a lot of noise and garbage if I disable quiet mode, the rfm12 doesn't find half as much. I assumed this to be a good thing as I have not noticed any loss of packets. although to be fair I can't say it's not happening as I've not looked closely enough.

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.