loading
3Comments

Tell us about yourself!

Complete Your Profile
  • Raspberry Pi 2 Homekit - from zero to Hey, Siri (Updated)

    OK let me try that option. Do you have the same problem after each reboot of Pi, the accessories become un-selectable on the homekit mobile app and I need to remove and add them again.Do you use a autostart script? If so, mind sharing it?

    Hi, It's already changed on every accessory to point to unique python file. So my lights_accessory file will point to lighton and lightoff, camera_accessory points to cameraon, cameraoff. Also, I made sure the python files are updated with different pin numbers. However, when I say "Turn on the lights" it switches on both light and camera. I'm not sure if the category code or something in the accessory.js file identifies the files as a Light. You can try the same and you will notice the same issue. Use the same script attached in this instructable, just change the username and reference python file name, device name and command line on the file. Then from Siri, say Turn on Lights and it will switch both accessories to ON.Also, I'm curious to know if this entire thing will work...see more »Hi, It's already changed on every accessory to point to unique python file. So my lights_accessory file will point to lighton and lightoff, camera_accessory points to cameraon, cameraoff. Also, I made sure the python files are updated with different pin numbers. However, when I say "Turn on the lights" it switches on both light and camera. I'm not sure if the category code or something in the accessory.js file identifies the files as a Light. You can try the same and you will notice the same issue. Use the same script attached in this instructable, just change the username and reference python file name, device name and command line on the file. Then from Siri, say Turn on Lights and it will switch both accessories to ON.Also, I'm curious to know if this entire thing will work on Node version 0.12.6?

    @planetleak, awesome instructable! I made this and it works perfectly on my RPI2. However, I'm having a small issue. I wanted to add more accessories. So I copied your sample code, tidy up a bit by changing the MacID, Device Name, Python script names. My accessory names are Light, Camera. When I ask Siri to Turn ON Light, it turn's on both Light & Camera. When I ask it to turn Light Off, it turns Off camera too. If I say Camera ON, it ON only the camera (the way it should be). What am I doing wrong?

    View Instructable »