Open FreibeuterOH opened 7 years ago
Hello, thanks for reporting. Nice to hear sombody's using this as well!
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.
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.