-
Notifications
You must be signed in to change notification settings - Fork 5
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
unstable operations #6
Comments
btw, initially i were blaming my cheap transmitter, but yesterday I have tried with STX882 transmitter and ended up with the same issue. |
Thank you for your comments! My best guess is that the transmitter is falling behind and cannot maintain steady timing with so many commands being sent. You could try reducing the amount of repetitions per command ( Typically this is done by first pressing the "program" button from the blinds and then "up" from the new remote. Blinds can have several remotes paired with them. |
@akirjavainen in reverse, increasing repeats to 10 seems making things much better. At least I have tested 10 cycles and its working 100% of times now. Thanks for the hint :) Its funny but there is even a comment saying that for a single remote control its better to use 10 repetitions. Intrestingly, that I have tested removing a 600ms delay between the calls -- and things started to work very bad. So the best combination for me now 10 repetitions + 600ms delay between sending commands. Re single remote control, I see a java code to generate commands here from serial number, maybe you are aware of this code Ill update you tomorrow of how the change will work. Thank you for your help |
Ironically, that may in fact happen for the very same reason: some commands fail (inaccurate timing at the transmitter, for whatever reason), so more repetitions "fixes" it because some of them have the correct timing. :) There is a caveat that one should be aware of, regarding transmitting multiple commands quickly like this, especially if you add more than 10 repetitions and/or try to make the radio silence between them shorter. In some cases, the motors could interpret a command as another. The commands do contain a kind of checksum, but long presses on some of the remote buttons (like "stop") have another function on the motor. I did have a motor rotation direction inverted once and there was a possibility of actual physical damage to the blinds, as limits were no longer respected and the script was running scheduled (often unattended). This happened after I ran that daily script for over a year and it transmitted 3 command sequences (up or down to 3 blinds) in a quick sequence. This is another reason why I recommend adding an extra remote (virtual or physical) to all of the motors, to control them with a single command. It's less "radio noise" on the 433MHz frequency. I haven't seen the Java code you mentioned but I'll definitely take a look when I have the chance! |
i got you. Im working on the virtual remote development now. the only thing which is missing is a crc calculation.
|
closing issue as done. I will open later on a pull request with a command generator. I finally managed to do that |
Thank you very much for your efforts with this project. I have built an esphome wrapper around your library and so far everything is working great as long as you are controlling single blind.
I have 5 blinds which i have to control at the same time so to do that im sending commands to them one after another. From the most it is working fine but im getting bunch of missed commands by the 2nd or a 3rd (pretty much always the second one) blind.
currently your sendAOKCommand and setndTribit() functions are unchanged
I have added a 600ms delay after each command execution which significantly improved missed commands rate.
Do you have any suggestions what I can change to get more reliable operation?
Blinds are operating with 6 different remotes with different serials without channels usage, there is no way to control all of the with a single command unfortunately. But if there will be no other option -- seems I would need to reprogram the shades to use same serial and different channels
Thank you
The text was updated successfully, but these errors were encountered: