-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote code With 7 Position (Tube RTS) #24
Comments
I did try everything but seens that is impossible to send correctly, can you check on this? |
You mean the remote id is 26 bits for TUBE instead of the 24 bits of the normal RTS protocol? Currently the 24 bits are send in 3 * 8 bit frames. How do the 26 bits fit into the frames of the RTS protocol? Are they send as 4 * 8 bit frames with some padding? Where do you get the information with the 26 bits get from. Maybe its a 32 bits id? |
Not sure how the protocol is formed, as it is being recognized as SOMFY, identify correct all the commands,. but the ID identified is not the same or the protocol used is missing something. One interesting part it that TUBE is tuned at 433.92MHz. I I just bought a SDL receiver to use with the RTL_433 to try to identify the signal and it also recognizes it as 433.92MHz and set it to SOMFY mode. But when trying to send the remote it doesnt work in somfy_remote_lib, even add incremental, so protocol is missing soemthing in TUBE mode. |
Maybe the time among sync, high low must be more precise? using a RTL-SDR analyzer it shows: per you knowdledge maybe you could do a TUNE UP to we test in the timmings? |
You can change the timings here in the code: Somfy_Remote_Lib/src/SomfyRemote.cpp Lines 76 to 106 in 7b0c2f7
|
I think I have found something interesting, usint the RTL_433 to decode, i have played to try to find the timmings and extra info for the remote control and I have found this: we have add seed to be printed to check if the seed/key is changed among comands or keys pressed as show: a /* clang-format off / and this is quite interesting to check as, for each key (UP, DOWN, STOP, PROG) it uses an exclusive key as per: So, it seens that the TUBE uses a fixed seed per key pressed. Also the timmings are a little better adjusted than the SOMFY Trellis remote. We will try to reproduce (clone) the remote using this new parameters so this could be the trick to use the Somfy library correctly. |
Checking the SOMFY remote control its cycle the SEED by A0 to AF once every key is pressed. In the TUBE it doesnt happen at all and use a FIXED as in the above post! I will try to get more to know in 2 days when I wil lhave 2 more TUBE control |
@Legion2 I have tested the new updated code to work with the fixed code and it works fine, I will rework the code to propose an update to the lib and also example! |
@Legion2 we solve and the problem, that is the deal: we have found all changes to use with SOMFY RTS TUBE frame[0] = 0x95; // is the COMMAND FRAME (in RTS is the KEY frame) so, the CMD as off: Repeate the FRAMES to use special Command: so all is done!!! |
Hi,
There is a problem to create/pair/use the library with remotes that use a 7 position ID besides 6 position.
The TUBE uses a RTS protocol but the remote identifier start with a 2 and follow 6 position as ID od the remote control.
Could you add an fix to be able.to use the remote address as 0x2123456 position on hex identifiers?
The 24 bit position of the remote ID is ignored as it has 26bit and it's always computed in 6 positions 0xFFFFFF besides the 8 hex position as max HEX 0x2FFFFFF. It seens that TUBE use the same RTS protocol but using 26 bits ID for the remote control besides the 24bits original RTS.
Can you add the option to run it in accurate with 26 bits to accurate calculate from the total range of the Somfy RTS protocol?
Thanks
The text was updated successfully, but these errors were encountered: