Closed menaibluey closed 6 days ago
That socket event is simply when the socket is re-established on the browser.
However the behavior you are describing sounds like the motor is in euro mode. You need to switch it out of this mode. Some motors switch this mode by holding down the up and down buttons on the remote until it jogs.
Thanks for the quick response, much appreciated. I didn't even know there's such a thing as euro mode. I would have assumed that all my various motors would have been configured the same. But that's another story. Here's what I did.
Result:
I'm not sure how we can resolve that out of sync situation. I can't reset the motor and repair as I can't access it easily. Is there way for ESPSomfyRTS to learn from the remote directly?
By the way thank you for your amazing work, simply stunning. The effort is enormous and the result something you can be very proud of. The community is in your debt forever. Let us know how we can support your continuous efforts.
I need to see the frames that are being sent by the remote. When you press the up button or the down button for that channel. Under the configuration menu click on the Radio section. On the remote channel press the down button and let the motor run to the blind to the bottom. Then press the up button and let the motor run to the top. After you do this then click the copy button on the logs tab and paste the results in a message here.
Here's the Down and Up sequence logs initiated by the physical remote.
[{"encKey": 160, "address": 13476608, "rcode": 10593, "command": "Down", "rssi": -74, "bits": 80, "proto": 0, "valid": true, "sync": 24, "pulses": [9977,10523,2461,2574,2455,2572,2472,2558,2470,2561,2450,2565,2452,2563,2479,2562,2463,2563,2462,2562,2461,2556,2461,2571,2456,2562,4789,1297,1240,1294,1236,684,615,694,611,661,615,693,610,1284,614,666,603,657,1242,1279,1271,1286,1251,1269,636,636,1267,671,605,680,615,697,602,1280,615,648,620,649,1238,1284,1266,677,615,683,593,1294,1239,702,595,1301,614,651,1244,1283,615,655,618,669,608,661,615,666,620,643,1256,690,595,1293,635,637,1245,670,626,1280,615,666,1222,694,614,1290,620,643,1259,660,621,1244,1226,682,589,705,596,698,565,1263,1216,684,569,669,583,698,565,1265,1214,1241,640,595,1227,678,588,1235,1214,689,583,673,589,1262,1208,1234,1223], "time": "2024-06-12T18:00:35.176+1000" }, {"encKey": 160, "address": 13476608, "rcode": 10593, "command": "Down", "rssi": -73, "bits": 80, "proto": 0, "valid": true, "sync": 12, "pulses": [4656,2476,2565,2467,2557,2462,2567,2466,2563,2454,2569,2461,2562,4760,1294,1242,1292,1251,675,622,677,619,676,610,697,610,1272,611,661,605,680,1246,1282,1254,1272,1257,1285,615,643,1257,686,614,670,611,687,616,1277,623,653,614,639,1267,1296,1236,683,616,694,611,1286,1242,671,610,1286,617,669,1235,1291,616,668,609,662,603,658,620,643,603,656,1241,679,621,1297,615,640,1242,694,610,1286,601,644,1246,682,619,1277,620,648,1264,684,593,1269,1184,708,564,686,568,699,607,1255,1213,666,590,683,568,694,560,1250,1213,1262,632,590,1217,678,594,1243,1208,681,590,687,565,1257,1216,1246,1227], "time": "2024-06-12T18:00:35.311+1000" }, {"encKey": 168, "address": 13476608, "rcode": 10597, "command": "Up", "rssi": -65, "bits": 80, "proto": 0, "valid": true, "sync": 24, "pulses": [10003,10822,2460,2592,2437,2591,2444,2574,2457,2571,2447,2578,2445,2558,2474,2561,2481,2543,2476,2567,2454,2566,2454,2542,2458,2589,4787,1296,1234,1286,1229,1315,1222,694,609,691,596,1293,1232,690,621,693,584,1290,1250,694,608,690,599,1299,1229,1291,1247,699,608,666,620,693,610,1285,593,668,601,657,1262,675,596,700,608,1291,1221,701,609,682,596,694,617,681,597,693,608,1287,1253,692,609,1292,599,669,1224,1287,1251,1271,1258,1291,1245,1279,1234,1302,1223,1291,1276,1302,1229,1273,1195,700,558,688,599,676,571,1244,1228,686,578,666,596,670,603,1251,1185,718,544,689,573,694,584,684,580,712,570,665,584,706,551,691,568,1265,620,605,625,610,1209], "time": "2024-06-12T18:01:46.342+1000" }, {"encKey": 168, "address": 13476608, "rcode": 10597, "command": "Up", "rssi": -96, "bits": 80, "proto": 0, "valid": true, "sync": 12, "pulses": [4668,2452,2572,2479,2574,2445,2584,2447,2563,2451,2592,2426,2573,4776,1290,1239,1290,1242,1282,1236,715,581,686,602,1309,1218,686,602,695,601,1286,1269,672,629,666,601,1297,1227,1292,1246,695,609,688,609,696,604,1278,598,673,600,676,1230,697,605,677,611,1289,1225,696,612,685,598,690,611,689,614,687,614,1267,1227,715,588,1284,648,624,1240,1315,1221,1297,1234,1290,1250,1299,1210,1318,1221,1296,1235,1293,1259,1270,1206,717,538,695,564,701,547,1270,1210,685,574,683,568,714,562,1256,1184,686,596,659,599,668,595,664,592,664,606,658,576,698,582,665,573,1276,612,609,616,614,1229], "time": "2024-06-12T18:01:46.883+1000" }]
This is only that one blind that behaves this way. Is that correct? To be certain, when you changed the mode was the blind in the middle of its movement or at either end stop. If it is at the end stops, the same command is used to set the end stops.
Hi, the log is from when the blind was at either respective end. And yes it’s the only blind that behaves that way. I can provide you with a log of the same blind in a different room if that helps. Also what I’ve noticed is that not every command I press in the remote is logged in the Radio Log tab. It seems rather random. And sometimes after pressing a button it goes into a waiting display just spinning its wheel. Is that a hardware resource issue?Sent from my iPhoneOn 14 Jun 2024, at 01:25, rstrouse @.***> wrote: This is only that one blind that behaves this way. Is that correct? To be certain, when you changed the mode was the blind in the middle of its movement or at either end stop. If it is at the end stops, the same command is used to set the end stops.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Hi, the log is from when the blind was at either respective end.
I am referring to the instance above when you changed out of euro mode. If the motor is at either of its end stops it is not changing modes when it jogs. It is setting up to adjust the endpoints. You need to move the motor to the middle position then hold down the UP and DOWN buttons at the same time until it jogs.
And sometimes after pressing a button it goes into a waiting display just spinning its wheel.
That spinning wheel comes from attempting to reconnect the socket to the ESP32 from the browser. Sometimes there is a delay when the router does not respond quickly with the mDNS address if you are using the server name. If this does not occur when using the IP address this is likely tardy mDNS resolving the local name.
Hi, the log is from when the blind was at either respective end.
I am referring to the instance above when you changed out of euro mode. If the motor is at either of its end stops it is not changing modes when it jogs. It is setting up to adjust the endpoints. You need to move the motor to the middle position then hold down the UP and DOWN buttons at the same time until it jogs.
And sometimes after pressing a button it goes into a waiting display just spinning its wheel.
That spinning wheel comes from attempting to reconnect the socket to the ESP32 from the browser. Sometimes there is a delay when the router does not respond quickly with the mDNS address if you are using the server name. If this does not occur when using the IP address this is likely tardy mDNS resolving the local name.
Got you, when I try to change the euro mode the blind was about half closed. This particular reference was in regards to the starting position of the up and down sequence logs.
No worries, will try IP addresses to see whether that makes it a bit more responsive.
@menaibluey have you gotten your issue resolved? Update to v2.4.5, I made some changes to the output frames for 80-bit up, down, and my. If you are still having problems switch it to 56-bit for that particular motor and try that.
Thank you. Will give that a go. At the moment version 2.4.5 is not yet visible in HA. Do you want me to download it from GitHub and replace the custom component? Happy to wait until it does and update in HA. On 21 Jun 2024, at 01:36, rstrouse @.***> wrote: @menaibluey have you gotten your issue resolved? Update to v2.4.5, I made some changes to the output frames for 80-bit up, down, and my. If you are still having problems switch it to 56-bit for that particular motor and try that.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
If you go to the hacs store it will be available.
I’ve updated to v2.4.5 and this resolved the issue. It’s working as expected. I got myself in trouble a bit unrelated to ESPSomfyRTS as two blinds are reacting when I operate one blind via ESPSomfyRTS. I will try and resolve it when I have some time. Thanks for getting this resolved. Much appreciated. Sent from my iPhoneOn 21 Jun 2024, at 01:36, rstrouse @.***> wrote: @menaibluey have you gotten your issue resolved? Update to v2.4.5, I made some changes to the output frames for 80-bit up, down, and my. If you are still having problems switch it to 56-bit for that particular motor and try that.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Awesome! I am going to close this for now.
Yes please and thanks again for all your awesome work. Sent from my iPhoneOn 26 Jun 2024, at 10:33, rstrouse @.***> wrote: Awesome! I am going to close this for now.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Hardware
ESP32-S3
Firmware version
v2.4.4
Application version
v2.4.4
What happened? What did you expect to happen?
I have configured 3 Blinds and one Awning. All work fine with the exception of one blind. It paired fine but when sending either an up or down command it just does one tilt step similar when I use the trackball on my remote. The My button also work fine.
Here is my configuration for the blind.![image](https://github.com/rstrouse/ESPSomfy-RTS/assets/25679918/12daf49b-29c3-40cc-9a5d-cfb1531df69f)
Looking at the Browser Console log the command is send correctly as far as I can determine. Hower I do get this message "index.js?v=2.4.4c:590 {msg: 'close-died', reason: '', evt: CloseEvent, sock: WebSocket} ". I do not see these with any of the other devices.
The log included below is from one interaction from when I clicked the down button from the Home screen.
The other 80-bit blind using a trackball works fine. I'm not sure what's going on here and would appreciate your help.
How to reproduce it (step by step)
Logs