You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just recently switched to your code here and was having a discussion in discord about RF remote issues with the old code https://github.com/cpyarger/custom_components/tree/master/components/ifan in the forums and showed SSIEB the person who created the original RF code for ifan04 your code. He said the issues with multiple presses were because the code in the forum is polling UART in the cpp files as well as in the YAML files which is conflicting with his RF code. He said your code shouldn't work as well properly.
He noticed that you do this as well yet it seems to be working better than what was in the forum. (5 presses on the button until it responds etc) where yours seems to be working every time so far.
I did try a strictly YAML based code set which worked even worse than the other code https://github.com/gagebenne/esphome/ So I assume the C++ way is best for speed wise.
I was just wondering if maybe you could make the code work even better by only defining the UART in the cpp files and then passing that information to the YAML somehow differently without also defining UART there as well?
This discussion was converted from issue #1 on May 21, 2024 14:47.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I just recently switched to your code here and was having a discussion in discord about RF remote issues with the old code https://github.com/cpyarger/custom_components/tree/master/components/ifan in the forums and showed SSIEB the person who created the original RF code for ifan04 your code. He said the issues with multiple presses were because the code in the forum is polling UART in the cpp files as well as in the YAML files which is conflicting with his RF code. He said your code shouldn't work as well properly.
He noticed that you do this as well yet it seems to be working better than what was in the forum. (5 presses on the button until it responds etc) where yours seems to be working every time so far.
I did try a strictly YAML based code set which worked even worse than the other code https://github.com/gagebenne/esphome/ So I assume the C++ way is best for speed wise.
I was just wondering if maybe you could make the code work even better by only defining the UART in the cpp files and then passing that information to the YAML somehow differently without also defining UART there as well?
Thanks for your work on this currently.
Beta Was this translation helpful? Give feedback.
All reactions