Wow, I’m really amazed at how fast it got picked up by this community
I see that the problem encountered was in some defensive error handling code that never occurred in my happy day of testing at home. Do note however that the plugin does not work with a ‘normal’ Homeduino configured board, only with a board configured as RFLink (see URL in 1st post).
As I initially wanted to start out with Domoticz, I purchased the components for RFLink and assembled it. After wanting to switch to Pimatic (mainly for better Homekit support), I first tried to convert my RFLink to a Homeduino so I would get plugin support out of the box. Unfortunately I failed to get it working with the correct pin/interrupt configuration (also 1st experience ever with Arduino) so I decided to try to make a Pimatic plugin to work with RFLink instead.
@mwittig: I accepted the PR and will publish a new release soon.
@gekkonl: Would like to know if it will work correctly with the whole reboot handling though, as I didn’t got a chance to test it myself. Please let me know if you find any further problems.
@sweebee: Yes, RFLink will also receive commands from other remotes and should update switch status accordingly. I only have a couple of KlikAanKlikUit (KaKu) switches and dimmers so those were the only ones I could test. Setting the dimmer level through the cheap remote however is not picked up as it toggles the device in ‘dimming level cycling mode’. Press ‘on’ to turn it on, then press ‘on’ again to have the dimmer autonomously cycle 100% <-> 0% until the ‘on’ button is pressed again to fix the level it is currently at. If a fancier remote would be used to directly set the dimmer level, as the RFLink (and thus Pimatic through this plugin) can, it should pick up that level and propagate it to the device settings in Pimatic.