-
Notifications
You must be signed in to change notification settings - Fork 0
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
Not receiving after sending an IR signal #2
Comments
Hello, As I didn't do anything on the code since ages, and also got all my necessary codes stored in FHEM, I didn't realize there beeing a problem. Most likely it would be best to change the code towards a interrupt-driven receiver function, using https://github.com/ElectricRCAircraftGuy/IRLib/blob/master/examples/IRanalyze/IRanalyze.ino as a base. Do you have the option to change wiring for use of PIN 2 instead of 8? (second interrupt-PIN is already in use for sending). Then you might try modified code here: https://github.com/rejoe2/Mysensors-IR/tree/Interrupt-driven and report back. Kind regards. |
Did some tests wrt to this issue. Some findings:
Unfortunately, changing the code accordingly didn't lead to a different behaviour. So this is either a incompability between MySensors and IRlib (imo not likely) or a bug in G. Staple's version of IRlib. As I found out, Arduino-IRremote may be an appropriate replacement under active development, I will next check, if using this library instead is a big effort or can be done easily. |
After receiving controller message: enableIRIn() is used instead of resume() to reset the IR receiver (Unfortunately, this doesn't solve Issue #2)
Hello,
your sensor is working very well with my FHEM :-)
Sending and receiving is is working stable.
But after sending an IR signal i need to reset the Nano by hand to receive again.
The text was updated successfully, but these errors were encountered: