ESP Somfy RTS Integration

If you can tell me how to create the required output i can try to provide it. But i also understand when the focus is newer models.

You should be able to see all of the frames coming from the sensor by opening the log then triggering it on and off.

I tried it but unfortunately their is no response to see in the logs.

There should be something in there. Even if they are unknown frames. Did it activate the motors?

The motors are only moving when the brightness increases not when i turn the sensor off and on. Therefore i have observed when the sensor triggers the motors the status does not change in HA. I guess the reasons is the sensor is not available in ESPSomfyRTS?

That is correct. But I expect to see some frames in the ESPSomfy RTS logs when the brightness increases. I need to understand what is being sent to the motor from the sensor.

Click the gears menu then select the Somfy tab. Open the transceiver by clicking Configure Transceiver and press the logs button. Something should appear in the log screen below. Take note of what the motor did and copy the logs using the copy button so I can see what is sent.

Ok, now the sun goes down. Should a simulate the process by switching to the demo mode?

Sure anything that will make that motor move via the sensor.

Eventually not much but this log appeared in the demo mode.

[{"encKey": 170,
  "address": 10745557,
  "rcode": 4269,
  "command": "Down",
  "rssi": -75,
  "bits": 56,
  "valid": true,
  "sync": 13,
  "pulses": [854,1690,2300,2606,2444,2515,2430,2526,2444,2521,2443,2499,2468,2517,2448,4813,1185,1328,1216,1322,1237,1305,1233,1309,1223,672,609,659,600,1317,598,672,614,662,595,662,624,669,1238,663,620,645,609,675,592,1305,602,672,617,659,596,667,611,677,1240,1287,1256,657,601,665,623,1298,1237,667,602,672,608,660,597,688,599,670,586,683,597,673,604,1298,602,668,597,694,586,683,601,661,1246,1301,596,661,623,645,1238,688,597,1315,1236,661,612,653,623,1297,1245],
  "time": "2023-06-03T19:46:28.342+0200"
}]

Confusing for me is that the motors does not move in their my position in the demo mode.

I received also logs from 80bits devices

[{"encKey": 160,
  "address": 10745557,
  "rcode": 4268,
  "command": "Up",
  "rssi": -65,
  "bits": 80,
  "valid": true,
  "sync": 23,
  "pulses": [3750,4248,79523,536,5809,4037,4950,93476,1128,101977,61210,1261,851,2446,2527,2428,2523,2441,2521,2436,2516,2448,2506,2473,2500,2440,2528,2439,2487,2475,2506,2447,2517,2444,2518,2460,4815,1187,1310,1221,1320,602,665,595,693,584,656,624,643,1276,1281,618,667,606,650,616,663,1244,672,583,713,570,663,624,1273,635,660,1247,1295,1244,661,603,673,591,1313,596,695,1214,661,648,634,628,1276,1252,669,607,677,578,1318,602,646,1282,635,623,1296,610,661,620,661,600,671,1241,666,601,1322,1215,660,624,647,635,1286,1246,1299,1249,668,606,676,589,1313,1220,699,589,659,623,1285,606,652,629,662,595,670,1233,1311,594,696,585,653,638,630,1271,1298,610,661,597,685,580,674,607,660,622,645,628,651,635,634,621,646,1256,658,624,661,596,1320],
  "time": "2023-06-03T19:44:47.379+0200"
},
{"encKey": 160,
  "address": 10745557,
  "rcode": 4268,
  "command": "Up",
  "rssi": -64,
  "bits": 80,
  "valid": true,
  "sync": 13,
  "pulses": [2315,2631,2436,2514,2440,2531,2436,2545,2412,2518,2455,2485,2499,4784,1207,1325,1225,1321,587,655,625,636,645,644,609,657,1251,1312,584,680,591,691,576,692,1241,660,620,638,626,650,618,1293,603,673,1238,1315,1226,680,587,693,591,1289,633,655,1246,650,629,650,592,1331,1221,681,590,689,595,1319,590,658,1272,619,634,1283,619,669,605,676,591,644,1273,626,659,1260,1273,651,619,643,618,1296,1264,1278,1258,657,600,690,595,1323,1212,691,591,663,607,1304,598,661,624,645,1263,1291,596,694,586,683,598,664,595,665,1261,1286,622,646,609,684,598,662,597,669,613,654,636,634,621,644,634,658,608,661,621,645,1260,1285],
  "time": "2023-06-03T19:44:47.380+0200"
},
{"encKey": 160,
  "address": 10745557,
  "rcode": 4268,
  "command": "Up",
  "rssi": -63,
  "bits": 80,
  "valid": true,
  "sync": 13,
  "pulses": [2253,2629,2431,2511,2446,2529,2443,2520,2445,2491,2465,2517,2450,4811,1216,1272,1248,1294,610,685,575,685,596,693,585,685,1224,1288,634,655,611,661,619,643,1258,661,595,691,580,699,566,1319,576,698,1261,1261,1276,654,600,662,620,1294,616,663,1244,670,589,657,649,1261,1254,661,619,668,602,1297,612,663,1244,670,588,1315,594,662,630,648,619,644,1271,649,617,1288,1248,680,586,685,594,1286,1262,1284,1271,650,614,659,597,1324,1238,659,597,698,579,1296,627,636,621,670,1234,1312,597,669,611,657,601,688,595,669,1239,1285,646,620,634,656,611,662,620,669,584,679,588,688,596,662,629,648,609,660,623,661,1225,1306],
  "time": "2023-06-03T19:44:47.578+0200"

I’ve repeated it

[{"encKey": 171,
  "address": 10745578,
  "rcode": 4273,
  "command": "Down",
  "rssi": -68,
  "bits": 80,
  "valid": false,
  "sync": 23,
  "pulses": [1365,101056,102434,1038,101339,97626,547,1555,2502,2470,2475,2513,2433,2515,2451,2500,2476,2497,2443,2514,2459,2514,2426,2501,2496,2473,2464,2521,2431,2537,2443,4803,1208,1277,1274,1295,1236,1311,1225,680,603,664,595,694,589,652,643,1270,1261,656,624,1275,1258,660,622,648,604,673,607,661,596,673,604,673,607,1314,1221,1321,1228,1285,633,629,1288,636,629,1267,644,636,1271,674,592,693,577,1295,1241,688,570,690,587,682,604,1262,675,623,632,634,1273,645,608,1307,607,667,1225,681,602,617,698,696,50,526,685,583,1323,596,659,1260,648,621,1284,1283,596,671,608,627,699,571,1326,1227,660,633,647,620,631,656,1263,1275,1261,662,597,1302,609,678,1241,1290,606,673,585,687,1225,1294,1284,1259],
  "time": "2023-06-03T20:11:08.638+0200"
},
{"encKey": 171,
  "address": 10745557,
  "rcode": 61105,
  "command": "Down",
  "rssi": -74,
  "bits": 56,
  "valid": true,
  "sync": 4,
  "pulses": [1284,1009,2604,2435,2509,2445,2525,2425,2549,364,413,513,619,503,524,2792,2434,2514,2453,4804,1184,1324,1250,1293,1236,1315,1225,800,76,153,481,687,587,689,573,692,588,1311,1223,692,585,1365,102,488,701,669,589,680,601,637,669,620,633,629,651,644,621,1272,1267,1294,1235,1314,596,696,1212,660,634,1273,632,629,1284,644,627,648,609,1285,1245,676,604,662,596,698,579,1327,574,688,593,693,1217,687,595,1259,657,630,1287,634,625,647,636,1284,596,670,1258,660,596,1320,582,680],
  "time": "2023-06-03T20:11:08.711+0200"
},
{"encKey": 171,
  "address": 10745557,
  "rcode": 4273,
  "command": "Down",
  "rssi": -74,
  "bits": 80,
  "valid": true,
  "sync": 12,
  "pulses": [590,691,1222,1333,570,696,582,697,564,712,1200,694,587,1308,1823,102,495,2611,2434,2537,2433,2480,2497,2499,2451,2502,2441,2545,2430,4839,1189,1305,1230,1259,1306,1258,1274,649,635,636,634,635,624,671,582,1310,1246,673,586,1313,1247,671,610,661,596,666,603,673,583,710,595,671,578,1327,1226,1327,1207,1310,597,694,1242,657,592,1320,584,687,1220,697,581,674,608,1315,1220,674,589,688,594,666,603,1325,572,679,597,694,1217,685,591,1318,590,685,1202,696,608,678,582,1312,594,670,1217,703,593,1321,587,685,1227,1321,584,685,588,664,1245,1326,575,691,572,694,589,681,597,692,1196,1327,1249,668,586,1307,596,687,1233,1301,587,689,594,667,613,684,1217,689,572,1320],
  "time": "2023-06-03T20:11:08.886+0200"
},
{"encKey": 166,
  "address": 10745557,
  "rcode": 4274,
  "command": "Up",
  "rssi": -75,
  "bits": 56,
  "valid": true,
  "sync": 8,
  "pulses": [2517,2441,2518,2434,2519,2458,2510,2446,4832,1184,1299,1241,1312,607,649,1254,665,600,1300,1244,1314,600,650,616,667,1247,1302,597,668,604,673,1243,1309,601,671,1233,667,597,1295,612,662,621,671,606,650,612,662,1251,1296,1233,1312,1231,1309,1249,1294,611,662,600,661,1252,1306,597,683,1225,1304,1251,670,612,655,600,663,620,646,609,680,602,662,621,645,608,1307,1248,1297,1239,1314,1229,1305],
  "time": "2023-06-03T20:12:18.078+0200"
},
{"encKey": 166,
  "address": 10745557,
  "rcode": 4274,
  "command": "Up",
  "rssi": -79,
  "bits": 56,
  "valid": true,
  "sync": 13,
  "pulses": [601,673,607,660,625,659,602,645,632,660,1247,1294,2243,2624,2448,2499,2462,2497,2467,2490,2455,2508,2472,2501,2450,4827,1203,1271,1263,1288,622,721,1177,659,621,1295,1243,1294,607,653,629,661,1248,1298,601,662,619,642,1261,1281,623,666,1237,660,621,1299,609,657,612,662,620,647,628,655,1256,1264,1256,1310,1247,1296,1248,1273,637,656,611,663,1247,1295,617,644,1273,1279,1248,669,609,656,617,650,624,646,608,683,599,666,602,674,607,1286,1250,1299,1257,1271,1259,1284],
  "time": "2023-06-03T20:12:18.348+0200"
}]

Stupid question, but did you add the sensor to the shutter via “Link Remotes”? :see_no_evil:

I’ve paired the sensor directly with the motors. I thought link remote is only for remotes not for sensors?

I’m not an expert now and I don’t have any sensors myself, but I would assume that these also just send commands like the remote control. And if you want ESPSomfy-RTS to recognize them, you have to link them too. (Like other remote controls or groups remote control channels etc.)

@011V32 is correct. Simply open the link remote interface then trigger the sensor and it will now reflect the sun sensor commands. The Soliris is a bit more of a challenge which we are currently working through.

Unfortunately it does not with my Sensor.
When i open the link remote dialog and press the prog button or mode button nothing happens. The link remote dialog does not disappear and i dont see a new entry like for the remote.

When you press the prog button on the sensor do you see anything in the log?

No, there is nothing in the logs.

That is weird. I noticed above you indicate that there is an 80-bit transmission for up/down being sent. Are you sure that is from the sensor or is it from something else?

Maybe open the Configure Transceiver and widen the RX bandwidth to see if it starts receiving a transmission from the sensor. The tuning may be it a bit off for the sensor. Do this in increments of 30Khz pressing save in between. If the RSSI number increments that means it is hearing something.

It looks like the distance for the sensor is to far from the place where ESPSomfyRTS is located. Tweaked a bit the frequenzy and got a signal but only when i go closer to the Transceiver and the RSSI is just 70.

So i was able to link the sensor but i have no signal at the target place.

The sensor moves the blinds to the my position in the demo mode but the signal is send in 80bits. Therefore the blinds moves only in ESPSomfyRTS but not in real.

Why does the sensor sends in 56 and 80 bits?

Theoretically, the 80-bit protocol is universal for the up/down/my commands. This means that a 56-bit motor should be able to hear 80-bit signals. Is the blind paired to that sensor?