rstrouse / ESPSomfy-RTS

A controller for Somfy RTS shades and blinds
The Unlicense
429 stars 32 forks source link

Cannot Pair the blinds #337

Closed SteveButt closed 2 months ago

SteveButt commented 2 months ago

Hardware

ESP32

Firmware version

v2.4.1

Application version

v2.4.1

What happened? What did you expect to happen?

After factory reset I cannot pair any blinds

How to reproduce it (step by step)

1. Paired three sets of blinds but copied the remote ID and used the same ID in the App
2. It worked but the control and App get out of sync
3. Remove all blinds from the App and Factory reset all blind motors
4. Try to re-add he motors with different ID numbers ( Unique now )
5. Motors never pair, do not jog when pressing or holding Pair button in App

Logs

[{"encKey": 164,
  "address": 10165047,
  "rcode": 423,
  "command": "Down",
  "rssi": -61,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [73012,23004,6396,62296,8302,25417,6388,68201,27806,6383,51498,14325,36758,4935,58295,32599,6389,61016,41376,19384,10495,7280,2507,2527,2513,2522,4843,1280,1320,1267,1320,638,636,1296,1304,625,669,1279,657,645,645,634,1310,1270,660,640,649,644,1303,1275,649,637,660,647,1294,1292,644,649,658,641,655,615,1301,1291,1294,639,653,1292,1312,620,669,634,660,1275,648,637,1309,1295,1286,642,648,1293,644,644,655,639,656,645,1295,640,642,1300,1291,648,657,640,652,1270,659,640,652,643,652,639,659,619,670,634,662,625,644,650],
  "time": "2024-04-20T16:42:10.770+0100"
},
{"encKey": 165,
  "address": 10165047,
  "rcode": 424,
  "command": "Down",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [95993,6401,1493,12835,59279,465,3547,18349,6423,6151,10476,7280,2520,2545,2498,2519,4856,1285,1292,1282,1304,650,659,1267,1320,1261,664,649,659,635,650,618,1328,627,664,626,659,640,650,1271,661,641,649,644,655,641,1307,621,656,641,655,644,646,636,661,648,643,1280,1314,628,660,1293,1293,639,659,618,669,1288,651,642,1304,1276,1298,642,648,1294,662,640,645,623,657,641,1304,649,657,1270,1319,616,658,646,643,1283,677,614,676,638,659,613,668,629,661,631,672,625,653,639],
  "time": "2024-04-20T16:42:12.360+0100"
},
{"encKey": 165,
  "address": 10165047,
  "rcode": 424,
  "command": "Down",
  "rssi": -60,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [630,9423,15338,504,1706,2547,2545,2502,2530,2518,2511,2521,2542,2508,2528,2514,2548,2484,2548,4855,1268,1311,1272,1308,641,645,1301,1285,1296,636,640,648,645,656,639,1305,647,632,641,653,642,675,1259,666,647,658,614,676,616,1308,640,667,635,638,639,674,621,656,634,655,1295,1310,620,669,1285,1301,627,660,641,651,1293,635,641,1299,1284,1303,650,633,1291,668,628,660,639,649,645,1304,624,666,1280,1290,650,659,638,644,1298,640,642,648,637,660,647,644,656,636,640,648,645,657,638],
  "time": "2024-04-20T16:42:12.483+0100"
},
{"encKey": 165,
  "address": 10165047,
  "rcode": 424,
  "command": "Down",
  "rssi": -61,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 15,
  "pulses": [629,24589,581,1852,2520,2547,2503,2531,2520,2515,2523,2533,2509,2529,2511,2528,2508,2545,4845,1270,1313,1270,1308,624,668,1281,1305,1272,658,640,669,634,661,625,1294,636,659,648,643,657,636,1291,643,25,658,636,639,672,620,1308,647,643,632,660,640,648,645,655,639,656,1294,1285,648,643,1283,1303,650,658,640,652,1268,663,643,1297,1280,1307,647,632,1290,669,627,659,640,650,644,1305,615,671,1273,1310,643,652,636,659,1270,655,635,654,643,649,637,661,639,643,651,659,640,650,644],
  "time": "2024-04-20T16:42:12.623+0100"
},
{"encKey": 166,
  "address": 10165047,
  "rcode": 425,
  "command": "My",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [7271,95126,6425,44732,51230,6416,7708,59949,10531,7277,2507,2528,2523,2511,4850,1300,1284,1294,1286,644,648,1290,648,644,1305,1275,1300,1290,668,634,1288,1293,1286,1296,653,640,1305,1272,658,640,1293,1287,1294,638,661,641,644,649,659,633,640,1296,663,625,666,627,1312,1272,655,639,1307,620,657,639,655,643,647,1286,664,622,1308,1298,1304,625,666,1279,658,619,670,635,1287,1294,659,640,1279,1303,1307,1271,1313,1269,1313],
  "time": "2024-04-20T16:42:15.484+0100"
},
{"encKey": 167,
  "address": 10165047,
  "rcode": 426,
  "command": "Up",
  "rssi": -68,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [90577,91643,12849,95537,6418,102358,20799,75198,6423,96011,6415,9939,86022,6410,102389,67190,10470,7278,2503,2533,2496,2543,4848,1279,1309,1270,1285,644,650,1287,672,620,655,639,655,641,1299,640,650,646,655,635,658,1269,1307,1272,676,614,1309,644,655,639,656,644,645,1285,1291,659,634,641,648,644,655,1293,1298,1287,651,618,679,611,1310,1293,1285,1293,659,632,1315,1285,1278,1301,640,643,1298,1289,1293,1292,645,648,659,640,1278,1299,1291,649,633,1295,644,651,1312,620,670,1286],
  "time": "2024-04-20T16:42:16.814+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [6432,52781,49582,92573,10503,7226,2540,2523,2512,2518,4857,1269,1307,1273,1327,1267,1295,640,655,644,648,637,660,647,643,1285,1303,1273,660,645,643,657,1287,643,647,638,660,1297,1304,1267,669,634,635,652,642,649,659,641,1301,628,659,633,649,643,654,1292,1295,635,661,640,644,624,658,640,654,1293,657,641,650,644,651,642,656,619,1320,615,680,615,674,613,660,646,642,1285,1303,649,659,616,678,618,674,1264,672,624,1306,623,667,1282,654,643],
  "time": "2024-04-20T16:44:18.998+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [623,26994,2513,2541,2498,2542,2507,2527,2513,2522,2512,2544,2492,2539,2520,2518,4850,1283,1284,1297,1287,1295,1311,620,670,633,661,626,643,650,659,1266,1321,1267,672,619,657,640,1306,623,656,634,665,1294,1287,1294,659,640,652,642,651,637,632,640,1320,614,665,649,660,614,654,1294,1313,620,670,609,685,627,644,650,659,1266,669,629,659,640,651,644,652,638,1284,644,656,635,656,645,644,637,660,1273,1301,641,672,620,655,640,655,1292,653,638,1283,645,655,1287,669,627],
  "time": "2024-04-20T16:44:19.034+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -61,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [634,9365,6157,11452,2524,2541,2505,2527,2512,2521,2533,2519,2515,2510,2520,2537,2498,2533,4866,1261,1298,1282,1304,1275,1310,644,653,639,658,620,669,633,661,1277,1300,1293,643,630,663,641,1300,629,660,643,650,1268,1312,1298,633,639,654,643,650,637,658,648,1293,637,651,641,648,637,660,1298,1304,627,644,650,658,633,649,643,653,1290,645,648,632,639,653,643,649,661,1284,644,653,634,664,617,676,640,634,1293,1300,640,650,644,652,636,656,1291,632,657,1291,630,661,1293,643,631],
  "time": "2024-04-20T16:44:19.173+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [635,15772,11203,2525,2527,2513,2522,2511,2547,2501,2534,2495,25,2542,2520,2518,2500,2546,4831,1290,1299,1280,1307,1271,1312,619,676,613,659,646,668,609,685,1254,1320,1271,667,629,660,641,1300,628,660,615,677,1270,1311,1270,658,641,656,644,646,637,660,624,1319,615,684,619,669,634,662,1267,1321,613,654,643,646,637,660,642,644,1300,640,642,648,638,660,648,642,632,1312,643,645,611,687,624,665,629,661,1269,1318,639,658,619,669,636,662,1277,647,636,1312,618,677,1265,671,622],
  "time": "2024-04-20T16:44:19.315+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -61,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [633,9343,7896,457,9305,2518,2536,2498,2530,2534,2520,2514,2526,2509,2525,2504,2536,2520,2517,4850,1278,1290,1302,1285,1297,1286,643,648,636,660,649,643,630,661,1290,1296,1286,644,649,658,616,1303,650,658,639,641,1294,1289,1290,659,640,651,643,652,638,634,25,642,1320,613,663,648,642,631,661,1293,1295,638,656,644,646,636,660,624,667,1280,656,644,645,636,660,625,670,628,1312,620,669,634,664,627,644,649,659,1268,1318,614,659,647,644,632,660,1291,644,657,1288,644,647,1290,650,643],
  "time": "2024-04-20T16:44:19.456+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -60,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [628,16465,10520,2522,2533,2505,2527,2513,2522,2514,2523,2504,2526,2517,2539,2519,2519,4851,1260,1305,1273,1311,1293,1286,643,648,633,659,647,644,655,639,1288,1294,1289,642,650,659,632,1291,632,660,641,648,1295,1288,1296,659,640,652,619,649,663,633,646,1294,640,656,643,646,636,661,1277,1299,641,649,644,653,639,657,619,670,1287,651,643,652,639,633,645,669,633,1286,642,648,637,660,646,643,633,660,1292,1296,639,657,644,645,636,660,1278,648,636,1311,643,651,1285,641,649],
  "time": "2024-04-20T16:44:19.591+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 15,
  "pulses": [635,11714,11252,493,1258,2254,2520,2533,2512,2527,2513,2520,2510,2546,2515,2507,2517,2542,2500,2520,4853,1287,1301,1279,1283,1295,1311,618,649,661,634,646,644,658,636,1290,1295,1291,643,650,662,613,1303,651,658,641,650,1268,1312,1269,660,639,654,643,648,637,660,647,1293,639,658,618,670,636,661,1277,1295,640,649,645,653,640,657,619,670,1287,650,643,653,639,637,643,669,634,1286,644,647,636,661,648,643,631,661,1272,1319,638,658,620,670,634,662,1265,671,634,1288,644,646,1289,650,643],
  "time": "2024-04-20T16:44:19.735+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -61,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [629,8297,11038,551,7060,2542,2517,2530,2529,2511,2521,2513,2518,2515,2532,2520,2517,2522,2509,4852,1261,1314,1282,1305,1271,1310,644,653,641,657,620,669,634,661,1278,1296,1283,642,633,660,654,1297,635,662,626,644,1302,1284,1292,661,624,666,628,660,641,651,643,1302,616,673,621,656,640,655,1294,1284,646,643,632,661,654,644,623,683,1259,667,629,660,630,666,646,633,633,1315,629,660,629,665,622,658,634,678,1269,1312,620,669,635,661,616,671,1272,660,648,1294,638,660,1267,657,638],
  "time": "2024-04-20T16:44:19.873+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [632,7182,8141,11647,2536,2523,2513,2543,2493,2526,2520,2540,2496,2537,2500,2544,2509,2524,4845,1291,1296,1283,1292,1281,1308,644,632,639,653,643,650,636,660,1274,1303,1291,645,657,636,640,1299,633,660,628,665,1277,1310,1295,636,654,645,648,633,639,656,642,1301,638,666,620,656,640,654,1291,1285,645,670,634,635,641,672,621,655,1293,644,648,658,615,653,643,650,637,1309,644,652,635,665,618,675,613,659,1297,1305,626,668,626,659,615,678,1268,660,629,1317,634,660,1276,648,637],
  "time": "2024-04-20T16:44:20.019+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -61,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [634,19458,7486,2525,2545,2506,2528,2513,2524,2512,2522,2508,2524,2515,2542,2496,2521,4848,1283,1307,1270,1311,1270,1311,620,670,636,660,624,666,628,660,1269,1318,1265,670,621,658,635,1314,629,660,635,661,1271,1311,1269,660,629,665,649,656,615,652,643,1299,642,649,644,654,639,657,1267,1309,647,643,629,660,641,672,619,656,1291,644,649,658,615,677,616,675,638,1284,645,653,639,657,619,669,636,661,1275,1298,640,649,643,654,639,657,1270,657,634,1316,629,661,1283,643,632],
  "time": "2024-04-20T16:44:20.154+0100"
},
{"encKey": 168,
  "address": 10165047,
  "rcode": 427,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [635,15490,11451,2548,2540,2516,2523,2514,2520,2517,2532,2500,2541,2499,2518,2524,2535,4831,1288,1300,1281,1307,1272,1311,618,652,638,685,620,644,660,638,1291,1293,1293,643,649,659,615,1303,651,660,634,650,1268,1314,1270,658,658,652,618,650,663,636,638,1295,638,660,647,643,632,661,1292,1295,640,657,644,645,637,661,625,668,1279,658,644,645,634,660,625,669,628,1308,640,645,636,661,626,669,627,660,1265,1321,635,657,619,670,635,661,1276,645,637,1311,644,652,1287,645,647],
  "time": "2024-04-20T16:44:20.295+0100"
},
{"encKey": 169,
  "address": 10165047,
  "rcode": 428,
  "command": "Up",
  "rssi": -71,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [20919,6420,469,2414,316,484,550,77215,14850,207512,3664,2303,246,24321,17341,52053,244864,10455,6025,1007,2759,2547,2495,2535,4828,1274,1309,1294,1287,1295,1280,646,669,1285,652,617,1303,654,646,646,632,658,641,642,654,1285,641,627,675,631,1315,633,661,609,665,649,658,632,640,1267,1331,617,676,639,638,1298,1655,910,668,633,659,625,1292,1285,1315,1279,641,645,1308,1275,1298,1281,670,634,1291,1271,1310,1273,676,615,684,622,1298,1288,1320,615,661,1276,648,636,1317,617,676,1285],
  "time": "2024-04-20T16:45:37.578+0100"
},
{"encKey": 170,
  "address": 10165047,
  "rcode": 429,
  "command": "Prog",
  "rssi": -63,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [2025,99,12023,1779,489,21726,4007,5048,3441,6369,519,614,4001,4001,4005,2403,10479,7259,2512,2522,2513,2522,4837,1274,1301,1278,1321,1266,1319,1263,1324,627,666,622,669,1264,1307,1276,1308,619,676,615,683,620,669,635,660,1276,1297,1292,1293,636,659,1269,656,642,1306,621,657,640,655,643,646,1289,1299,630,660,641,650,643,653,634,665,1268,660,642,647,643,655,639,657,620,1320,615,677,618,677,613,660,647,643,1284,1306,648,658,634,640,644,653,1291,644,648,1285,646,642,1283,679,618],
  "time": "2024-04-20T16:45:59.886+0100"
},
{"encKey": 171,
  "address": 10427191,
  "rcode": 84,
  "command": "Down",
  "rssi": -66,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [65066,82286,3943,16173,5188,4799,86013,7165,4360,68277,10512,7280,2516,2522,2507,2531,4849,1293,1286,1293,1309,1265,1308,1274,676,611,685,615,668,629,660,641,1301,628,660,1268,668,630,658,641,648,644,656,636,654,640,1300,631,675,1270,661,625,668,631,658,642,1300,1278,657,643,1296,640,651,1268,660,653,1291,635,660,1275,1300,1292,643,658,1287,647,642,637,661,624,668,1282,655,644,1298,1267,667,630,660,642,1298,631,660,641,650,643,655,636,664,618,675,613,684,616,668],
  "time": "2024-04-20T16:53:54.362+0100"
},
{"encKey": 171,
  "address": 10427191,
  "rcode": 84,
  "command": "Down",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [8788,509,2040,52,2606,76,2051,249,274,299,582,3328,6370,502,773,2536,2534,2521,2512,2519,2519,2526,2526,2510,2519,2514,2544,2491,2540,4851,1272,1312,1270,1312,1272,1308,1276,651,637,658,648,642,632,660,630,1322,634,662,1267,668,634,662,627,645,650,659,633,639,644,1306,625,669,1280,657,619,670,636,661,640,1296,1263,678,617,1327,616,671,1270,661,624,1318,614,686,1270,1305,1275,648,638,1311,642,652,638,657,615,671,1292,652,642,1277,1304,646,635,660,641,1296,636,659,625,669,629,659,640,651,644,651,639,640,643,648],
  "time": "2024-04-20T16:53:54.499+0100"
},
{"encKey": 172,
  "address": 10427191,
  "rcode": 85,
  "command": "Down",
  "rssi": -65,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [2304,51,102,356,3295,251,2793,25,74,2588,51,128,203,253,353,2506,100,150,225,2523,75,200,272,2782,74,147,10666,7266,2515,2548,2509,2527,4852,1268,1311,1271,1309,1277,674,637,1285,643,654,1293,645,647,657,615,1303,650,659,1266,668,628,1312,1271,681,608,678,617,1300,641,648,1295,660,624,1319,1265,1297,1285,653,642,1300,640,672,1270,660,631,1313,613,659,1298,1306,1283,646,635,1311,620,675,614,660,646,643,1285,653,643,1299,1293,643,632,661,655,1297,632,661,641,645,622,657,640,653,643,648,639,659,649,643],
  "time": "2024-04-20T16:53:57.298+0100"
},
{"encKey": 173,
  "address": 10427191,
  "rcode": 86,
  "command": "My",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [52221,6402,102395,2866,330,2337,75,149,198,2552,77,128,154,88250,6379,11598,84420,6395,12232,10486,7260,2522,2534,2506,2517,4864,1269,1316,1261,1316,1289,650,643,1303,1276,646,637,1312,1272,660,640,1300,628,661,641,649,644,653,1291,1297,1284,651,618,1328,626,666,625,659,641,651,1269,660,630,673,621,1309,623,668,1279,664,617,1331,612,671,1271,660,624,666,630,660,641,1298,631,662,1284,1295,1292,644,650,1310,620,668,634,660,1266,1295,640,655,1293,1287,1298,1308,1272,1298,1292],
  "time": "2024-04-20T16:53:58.394+0100"
},
{"encKey": 174,
  "address": 10427191,
  "rcode": 87,
  "command": "My",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 5,
  "pulses": [1047,679,825,67998,25105,6645,1532,1128,65609,33913,19783,46294,21152,10486,4832,2410,2545,2534,2503,2516,4864,1265,1295,1291,1296,1286,654,643,648,638,1311,1268,1311,1268,683,614,1304,650,660,632,642,1295,658,641,1292,1289,645,648,1283,646,644,658,635,1292,645,658,636,640,673,620,1310,624,670,1280,656,645,1297,642,650,1268,660,640,647,646,654,639,1305,620,657,1292,1294,1289,647,644,1306,624,666,631,659,1292,1296,633,666,1268,1311,1268,1308,1273,1301,1304],
  "time": "2024-04-20T16:53:59.081+0100"
},
{"encKey": 175,
  "address": 10427191,
  "rcode": 88,
  "command": "My",
  "rssi": -67,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [620,7220,4770,902,60368,28641,6018,6363,102445,95991,6424,32756,63227,6378,102424,77982,18010,6398,102403,91959,10515,7238,2515,2526,2517,2524,4843,1280,1320,1266,1295,1288,648,644,656,639,656,638,644,657,1287,1295,633,659,640,643,653,639,665,617,1299,1292,1295,1293,639,24,650,658,640,651,643,651,640,1284,1295,662,628,643,649,1287,647,645,1289,654,643,1298,632,670,1270,661,623,666,630,661,641,1300,629,661,1282,1295,1291,644,649,1285,646,644,658,636,1291,1295,634,666,1268,1310,1290,1310,1272,1303,1274],
  "time": "2024-04-20T16:54:00.064+0100"
},
{"encKey": 160,
  "address": 10427191,
  "rcode": 89,
  "command": "My",
  "rssi": -73,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [620,35477,36297,96120,6413,102378,1926,603,1022,1589,90859,6392,95994,6434,29693,10490,7260,2515,2548,2513,2523,4839,1290,1296,1283,1297,637,657,644,645,638,660,639,646,1300,1282,1295,634,640,666,621,657,640,655,643,648,637,660,648,1295,1283,666,626,660,638,651,635,648,636,660,649,645,655,635,640,654,644,1306,627,643,1300,640,641,1301,655,646,1271,659,647,644,631,661,629,1316,635,661,1279,1296,1281,669,633,1287,643,647,636,659,1279,1302,654,646,1281,1312,1268,1313,1271,1310,1277],
  "time": "2024-04-20T16:54:00.782+0100"
},
{"encKey": 160,
  "address": 10427191,
  "rcode": 89,
  "command": "My",
  "rssi": -69,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [649,7684,567,606,646,1360,544,1495,14093,2498,2542,2509,2529,2516,2525,2512,2544,2506,2535,2498,2543,2498,2523,4854,1281,1382,1197,1310,618,675,640,659,619,669,634,661,1275,1299,1294,645,637,658,624,666,631,660,641,649,645,653,636,1308,1272,660,623,671,628,660,641,650,645,651,638,658,619,670,638,659,625,1294,638,660,1293,647,636,1312,621,652,1286,666,647,632,641,676,617,1300,654,645,1273,1309,1274,660,641,1299,631,660,640,649,1294,1286,643,649,1285,1317,1286,1304,1277,1305,1270],
  "time": "2024-04-20T16:54:00.907+0100"
},
{"encKey": 161,
  "address": 10427191,
  "rcode": 90,
  "command": "Up",
  "rssi": -74,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [10477,7263,2503,2537,2496,2537,4850,1280,1283,1296,1312,617,675,636,633,620,672,1284,678,618,1299,653,640,649,659,1282,644,655,635,639,650,646,656,635,1293,653,633,635,665,1293,635,641,672,620,656,634,665,641,654,636,1307,1270,1311,1268,1311,1271,1327,1265,1319,635,640,1295,1288,1294,1309,621,646,1284,1302,1283,1310,643,652,612,680,1294,1285,1297,653,637,1309,619,656,1287,669,625,1310],
  "time": "2024-04-20T16:54:01.703+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [3986,478,3169,258,94781,1579,850,93600,1309,5059,102409,102388,15152,57661,10485,7242,2521,2518,2521,2507,4855,1287,1315,1261,1307,647,657,635,651,1268,1310,640,647,635,659,1299,1277,1290,1294,1291,666,627,1310,619,670,1288,1278,1303,1283,1295,1312,1268,1310,644,645,633,660,626,668,1278,1308,621,655,635,654,645,649,636,660,1272,676,639,633,646,669,633,660,640,1273,658,635,639,672,621,656,639,654,1297,1286,646,644,658,635,654,645,1273,660,647,1295,639,657,1269,657,640],
  "time": "2024-04-20T16:54:12.148+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [628,8033,8105,3860,6329,546,2618,2525,2531,2506,2525,2514,2521,2537,2499,2531,2508,2527,24,2513,2522,4863,1277,1298,1293,1293,640,658,619,669,1288,1298,629,660,641,650,1269,1315,1273,1308,1276,674,617,1305,648,650,1287,1295,1287,1301,1280,1308,1271,1312,617,675,638,634,648,643,1283,1303,654,655,616,678,617,674,615,660,1273,677,640,659,621,669,634,662,615,1322,608,661,640,673,620,657,634,654,1294,1313,613,669,628,687,606,649,1294,662,616,1321,609,688,1266,669,608],
  "time": "2024-04-20T16:54:12.213+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -66,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [661,5878,7064,13998,2509,2540,2511,2548,2507,2531,2497,2519,2525,2532,2498,2542,2512,2522,4840,1280,1320,1259,1318,637,658,620,668,1284,1290,631,661,629,664,1274,1310,1293,1288,1294,659,633,1290,632,659,1279,1321,1271,1293,1287,1301,1282,1304,649,632,639,665,644,652,1290,1296,634,662,625,670,625,659,641,650,1268,660,655,644,622,658,640,654,644,1298,639,666,627,657,641,650,644,652,1266,1299,658,635,641,672,620,656,1292,645,649,1284,646,643,1285,654,644],
  "time": "2024-04-20T16:54:12.358+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [624,7662,9890,564,8861,2535,2542,2498,2546,2504,2541,2485,2519,2533,2521,2517,2540,2494,2538,4826,1286,1305,1273,1310,643,652,639,658,1273,1307,640,645,622,658,1293,1295,1289,1301,1280,664,643,1277,641,672,1270,1310,1268,1311,1272,1308,1274,1302,640,648,645,656,639,656,1271,1308,647,641,632,660,652,641,649,658,1267,668,628,660,643,651,642,651,639,1286,645,654,638,659,620,670,633,660,1275,1299,631,671,621,658,639,657,1270,659,638,1305,648,658,1268,669,626],
  "time": "2024-04-20T16:54:12.491+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [633,5640,5658,4475,453,10710,2531,2531,2523,2534,2500,2517,2530,2529,2511,2520,2516,2523,2512,2522,4838,1291,1307,1262,1320,615,678,616,676,1261,1316,636,661,615,672,1272,1311,1269,1311,1271,659,639,1306,648,633,1293,1294,1289,1298,1281,1305,1273,1311,643,653,639,658,619,670,1284,1301,627,660,640,652,619,676,613,685,1272,652,636,660,638,646,637,660,642,1296,636,661,625,668,627,658,632,648,1297,1288,643,648,637,659,648,643,1284,654,642,1299,640,648,1298,636,640],
  "time": "2024-04-20T16:54:12.634+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [648,13143,9684,4116,2531,2537,2497,2543,2522,2519,2501,2542,2507,2522,2514,2520,2535,2500,4857,1293,1284,1297,1303,614,671,621,655,1292,1294,637,660,648,642,1281,1315,1279,1307,1272,661,625,1319,636,640,1294,1285,1297,1303,1267,1295,1291,1295,637,659,647,643,657,635,1291,1295,640,655,643,647,636,660,649,643,1281,657,643,647,636,660,624,667,630,1311,645,645,635,660,640,644,648,632,1290,1319,614,659,646,644,631,661,1291,648,637,1310,645,652,1291,645,622],
  "time": "2024-04-20T16:54:12.771+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -63,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [632,16055,10923,2526,2540,2506,2527,2511,2522,2514,2522,2530,2530,2494,2539,2496,2545,4852,1260,1303,1277,1308,644,654,636,656,1269,1308,646,643,657,637,1292,1295,1286,1297,1289,648,644,1307,624,669,1279,1308,1270,1310,1269,1311,1270,1307,647,643,631,660,640,648,1295,1287,643,649,638,660,646,643,632,660,1291,643,657,635,653,641,651,657,640,1302,626,660,641,651,643,650,639,658,1270,1307,624,666,629,659,641,649,1294,662,627,1294,637,660,1275,674,636],
  "time": "2024-04-20T16:54:12.913+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -61,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [608,15376,11602,2513,2549,2515,2522,2506,2528,2523,2535,2493,2544,2503,2545,2506,2528,4840,1290,1295,1262,1305,651,658,641,651,1269,1314,644,645,636,660,1274,1300,1290,1298,1291,643,632,1312,643,646,1289,1301,1280,1310,1268,1312,1269,1312,646,645,634,660,625,669,1277,1306,621,657,639,655,643,647,637,661,1274,652,638,658,648,644,631,25,660,653,1293,634,663,637,643,657,635,640,648,1296,1311,618,674,611,659,646,668,1260,678,618,1300,653,640,1299,633,641],
  "time": "2024-04-20T16:54:13.054+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [644,12755,14181,2541,2516,2514,2526,2512,2544,2515,2507,2524,2540,2498,2536,2500,2530,4859,1261,1316,1283,1293,630,660,654,645,1273,1310,643,652,639,659,1269,1306,1274,1300,1290,669,633,1288,644,647,1288,1300,1282,1305,1274,1310,1293,1286,646,645,634,660,648,642,1283,1304,622,659,641,654,643,647,636,660,1297,650,639,657,619,670,635,660,626,1295,637,660,639,645,651,657,640,651,1294,1286,643,646,637,661,624,666,1281,656,642,1299,640,644,1301,640,643],
  "time": "2024-04-20T16:54:13.193+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [622,12480,13356,1116,2530,2533,2517,2536,2499,2533,2507,2544,2489,2524,2538,2526,2503,2532,4851,1274,1289,1294,1310,621,668,636,634,1291,1294,635,679,617,675,1266,1297,1283,1304,1275,659,647,1297,639,656,1270,1309,1276,1325,1267,1294,1293,1294,637,660,648,643,630,661,1292,1293,641,658,618,670,636,662,625,667,1279,658,645,644,636,661,615,670,622,1312,648,643,631,660,640,649,644,654,1284,1292,638,661,646,642,631,660,1289,648,638,1311,643,651,1266,671,621],
  "time": "2024-04-20T16:54:13.338+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -63,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [657,8876,452,6972,10668,2547,2517,2498,2544,2525,2518,2508,2526,2513,2542,2491,2550,2492,2542,4849,1277,1284,1295,1311,618,675,613,660,1298,1305,626,644,650,659,1264,1320,1268,1295,1291,674,619,1310,624,668,1278,1315,1276,1290,1274,1312,1291,1288,649,646,637,659,649,643,1281,1315,626,660,640,650,643,651,639,658,1270,656,639,658,644,646,635,660,624,1317,635,640,645,648,637,659,648,643,1283,1304,648,659,617,655,643,650,1290,649,644,1303,638,642,1282,655,643],
  "time": "2024-04-20T16:54:13.479+0100"
},
{"encKey": 162,
  "address": 10165047,
  "rcode": 430,
  "command": "Prog",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [623,7180,4180,6178,510,8931,2546,2522,2516,2536,2495,2542,2498,2544,2510,2529,2515,2521,2511,2522,4862,1264,1301,1291,1294,640,654,643,648,1290,1299,631,660,640,651,1295,1286,1296,1285,1296,655,639,1306,621,657,1294,1295,1288,1298,1282,1306,1273,1308,644,655,638,657,645,645,1287,1299,628,659,631,673,620,656,639,665,1268,660,640,649,644,654,639,655,640,1298,640,651,645,653,638,633,645,670,1286,1278,650,659,640,651,642,653,1287,638,649,1286,645,668,1260,678,618],
  "time": "2024-04-20T16:54:13.617+0100"
},
{"encKey": 163,
  "address": 10427191,
  "rcode": 91,
  "command": "Prog",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 4,
  "pulses": [1094,849,90318,6393,41044,61361,96009,6392,86237,9740,6418,37570,10478,7242,2515,2519,2536,2520,4849,1268,1313,1271,1307,625,669,629,658,1281,643,658,1286,643,647,1289,1299,631,661,1292,1294,639,655,645,646,636,659,1278,1299,640,649,1297,1287,644,647,636,685,1249,674,613,660,647,644,657,635,640,648,645,657,638,656,642,647,636,661,649,1293,639,658,620,669,633,661,614,672,1271,660,648,643,630,664,640,650,643,1305,1279,647,636,660,650,643,629,1312,618,670,1288,651,643,1302,627,644],
  "time": "2024-04-20T16:54:20.848+0100"
},
{"encKey": 163,
  "address": 10427191,
  "rcode": 91,
  "command": "Prog",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [9730,485,3630,777,2965,561,9431,2515,2539,2497,2534,2528,2529,2492,2549,2513,2522,2510,2533,2501,2537,4852,1270,1290,1289,1310,620,669,634,660,1277,647,636,1310,642,652,1267,1322,634,636,1304,1295,632,665,619,656,641,664,1268,1312,645,645,1288,1302,627,660,640,651,1268,660,640,648,644,656,638,656,644,646,635,661,624,668,631,657,640,649,644,1306,639,648,621,657,640,654,643,648,1288,648,644,654,640,656,644,645,636,1311,1270,660,640,650,645,652,640,1281,645,655,1292,645,649,1285,645,643],
  "time": "2024-04-20T16:54:20.989+0100"
},
{"encKey": 163,
  "address": 10427191,
  "rcode": 91,
  "command": "Prog",
  "rssi": -63,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 15,
  "pulses": [8809,4772,4566,796,5628,514,2509,2522,2532,2507,2526,2512,2521,2515,2522,2530,2527,2493,2537,2519,2510,4858,1285,1290,1282,1307,621,658,638,655,1294,661,631,1290,630,660,1293,1294,639,657,1269,1307,647,642,630,660,653,641,1299,1286,644,653,1289,1296,636,660,627,644,1301,639,643,647,635,660,647,643,656,636,639,649,644,655,635,654,644,648,634,1316,643,650,637,635,647,643,633,660,1290,646,632,660,640,672,619,657,638,1302,1275,660,648,644,630,660,630,1317,634,660,1276,648,638,1309,617,676],
  "time": "2024-04-20T16:54:21.127+0100"
},
{"encKey": 163,
  "address": 10427191,
  "rcode": 91,
  "command": "Prog",
  "rssi": -62,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [7800,8498,565,10714,2523,2518,2502,2543,2499,2544,2514,2525,2515,2526,2512,2518,2515,2532,4850,1270,1312,1270,1314,619,670,634,635,1301,647,637,1311,617,676,1285,1292,636,664,1276,1298,641,649,643,653,634,665,1269,1311,644,646,1285,1301,628,659,632,649,1297,662,626,649,646,658,641,651,641,652,638,634,646,643,658,634,640,673,619,1309,648,643,630,659,639,665,628,659,1267,667,630,661,641,650,643,653,638,1308,1270,660,624,666,629,660,641,1300,629,659,1282,644,658,1287,643,647],
  "time": "2024-04-20T16:54:21.264+0100"
},
{"encKey": 163,
  "address": 10427191,
  "rcode": 91,
  "command": "Prog",
  "rssi": -64,
  "bits": 56,
  "proto": 0,
  "valid": true,
  "sync": 14,
  "pulses": [6609,5086,15868,2522,2539,2497,2542,2506,2527,2517,2519,2513,2528,2513,2522,2506,2528,4857,1270,1311,1271,1308,639,646,649,633,1292,669,627,1312,620,669,1287,1279,649,659,1267,1319,638,633,645,670,632,661,1264,1296,638,653,1295,1310,620,668,634,660,1275,647,637,658,648,643,656,636,641,648,644,654,640,656,643,645,636,660,625,1319,638,634,647,645,657,636,641,649,1294,660,640,645,647,633,641,654,644,1300,1291,643,631,661,629,671,646,1283,649,641,1283,654,644,1299,630,672],
  "time": "2024-04-20T16:54:21.405+0100"
}]
SteveButt commented 2 months ago

These are brand new genuine Somfy Roller blinds motors with a Situo Pure II 5 channel remote My hardware is exactlt as reccomended on the README i.e. ESP32 with E07-M1101D-SMA wired as per the README. The ESP/RADIO unit is no more than 6 or 7 feet from any blind.

rstrouse commented 2 months ago

Hmm. So your ESPSomfy RTS device has been transmitting in the past? Is that correct? Just to be sure when you long press on the prog button on the remote do you get a jog?

SteveButt commented 2 months ago

Hi, Yes, it has been transmitting in the past and yes a long press on the physical remote results in a Jog, just nothing when I press the "Pair Shade" tried pressing that bot short repeatedly and long in case it helps but I never get a jog.

rstrouse commented 2 months ago

Which motors are these? Some motors require the endstop limits to be set prior to pairing any other remotes on initial install and after a factory reset.

SteveButt commented 2 months ago

Not Exactly sure, They are listed as 0.7nm Liion battery motors, they are roll up blind motors if that helps narrow it down. I could take the blind down and try to find the label if needed but I did set all the endstops with the remote prior to trying to pair them.

rstrouse commented 2 months ago

Did these say Somfy in big letters on the tube?

SteveButt commented 2 months ago

Yes - This is the first unit https://www.somfypro.com/products/-/e-cat/1240278/Roll_Up_24_WireFree_RTS_Li-ion On The Tube it says SOMFY on one side, on the other it says 1240278B ROLL UP 24 WF RTS LI-ION

rstrouse commented 2 months ago

In the instructions the orange led on the motor should be blinking when the memory is open. Then the green led on the motor should blink 5 times when ESPSomfy RTS is recognized. Are you seeing the orange led blinking?

SteveButt commented 2 months ago

The Orange Led does blink but it says in that state, when I press the "prog" button in ESPSomfy, nothing changes, after a few minutes the blind jogs and the orange light stops blinking.

rstrouse commented 2 months ago

Try changing the address to something else on the shade definition and try again. Also, please double check your wiring to make sure nothing came disconnected especially with GDO0 - TX pin or changed from when it was sending in the past. This should just be working.

SteveButt commented 2 months ago

Changed the address, but exactly the same behaviour, the new address will not clash with anthing from the remote as I notice all the addresses the radio log sees from the remote are 8 digit, the default and updated address on ESPSomfy blind definition are 6 digit. I Checked the wiring, everything firmly in place, nothing hardware wise has changed unless somehow the radio transmitter has failed but that wouls sem like an awfully big co-incidence. Howeverr, if I go back to using the remote's address then it still doesnt work so maybe that what it is ?

rstrouse commented 2 months ago

Give it a shot. It is sending the proper frames. I assume you held down the prog button on ESPSomfy RST when you were trying pair. Reading the instructions there are multiple cases that when pressing the button with the paper clip that it blinks the leds. Are you sure the process you are using is correct. Somfy does this a lot where the same response means different things depending on what you did to get it to jog. For instance, pairing and unpairing are the same process.

SteveButt commented 2 months ago

There are many mentions of prog buttons etc so perhaps I am misundrstanding. When we get to adding the blind it ( I think ) refers to pressing the prog button on the back of the physical remote, then to pair I press te button on screen on the ESPSomfy interface ?

rstrouse commented 2 months ago

Yes if you press and hold that button in ESPSomfy RTS it will send a longer frame series. There is also a pairing scenario where you use the prog button on the motor head and a paper clip. The doc also refers to a remote as a control point.

SteveButt commented 2 months ago

I could only find the prog button option on the motor for straight after a reset. I did a reset and re-paired with remote but the same. I bought another radio module , same, I wired it the DSUN way when it didnt pair but then I dont see anything in the Radio logs. I re did the wiring a couple of times, nothing. I have ordered another ESP32 board as a last option, will try tomorrow.

rstrouse commented 2 months ago

If you do not have a DSUN module then it should not be wired that way. It will say DSUN on it and most likely be green instead of blue. The prog output you have from the remote is identical to the output that is being sent from ESPSomfy RTS so I am not sure why it is not pairing. Is the shade definition set to RTS 56-Bit?

SteveButt commented 2 months ago

The DSUN wiring was a long shot for sure, and both the radio modules look identical to your pictures. The shade definition is set to 56bit.

SteveButt commented 2 months ago

I replaced the ESP32 and all is working now, the pair happens immediately so maybe a bad pin ? Not sure but moving on now ! Great software BTW.