I'm not sure about arduino, protocol cryptography is pretty complicated, and I'm not sure the processor will handle this well. I can also find any sample projects, but Rasbery pi is another story. Since Pi can run node, there is a hap implementation on github: https://github.com/KhaosT/HAP-NodeJS
I have not used it, but it is well documented enough. I doubt that there are any tutorials, I think that at the moment these are pretty based projects, so you have to contaminate your hands. Good luck.
source share