loading
3Comments

Tell us about yourself!

Complete Your Profile
  • Arduino and Apple HomeKit Integration - Control Your Home From Siri! IoT Is Here

    My set up didn't have an issue with it. What error seems to be happening?

    View Instructable »
  • Arduino and Apple HomeKit Integration - Control Your Home From Siri! IoT Is Here

    Also, for anyone who is having issues with getting communication to your Arduino's ethernet shield, make sure that you have set up the static IP address in your router's settings. I typically reserve IPs that are in the high range of supplied IPs so as to not have the possibility of any two getting into an IP conflict. (Ie, range is 10.0.1.2->10.0.1.200, My raspberry Pi is at 10.0.1.199, and the Arduino is at 10.0.1.197)Once the static IP addresses have been assigned and you're still getting connectivity issues, run a ping test to the devices. Supplying power to my Arduino would confuse the Ethernet shield, so often either an Arduino reset, power cycle, and/or unplugging/replugging the ethernet cord would fix any connectivity issue.Open a terminal window on your Mac, Or cmd window on...see more »Also, for anyone who is having issues with getting communication to your Arduino's ethernet shield, make sure that you have set up the static IP address in your router's settings. I typically reserve IPs that are in the high range of supplied IPs so as to not have the possibility of any two getting into an IP conflict. (Ie, range is 10.0.1.2->10.0.1.200, My raspberry Pi is at 10.0.1.199, and the Arduino is at 10.0.1.197)Once the static IP addresses have been assigned and you're still getting connectivity issues, run a ping test to the devices. Supplying power to my Arduino would confuse the Ethernet shield, so often either an Arduino reset, power cycle, and/or unplugging/replugging the ethernet cord would fix any connectivity issue.Open a terminal window on your Mac, Or cmd window on a Windows Machine, type: ping 10.0.1.197 (this is the Specific IP address you have assigned to your Arduino in the .ino sketch file and in your router's DHCP reservation)An error will be returned if there is an issue communicating with the Ethernet Sheild, and once the error has been corrected you will start getting time response from the sheild. (See attached photo)

    I couldn't end up getting the Raspberry Pi to install the homebridge-http plugin even after multiple attempts. For some reason it was saving it to an odd directory and not one that Homebridge wanted it to be in. So I would constantly get an error saying that it couldn't find any plugins. Weird. I'll have to revisit the Pi3 server part another day.I did however use the majority of your tutorial and the one you linked to above to get the Node.js and Homebridge running in a terminal window on my Mac. After some playing around I was able to get my phone talking to the Mac, and then after altering the Arduino code a bit (and setting up a DHCP reservation IP address through my router for the Arduino) I managed to get it to communicate with the Arduino. Then, after all that was done, I read th...see more »I couldn't end up getting the Raspberry Pi to install the homebridge-http plugin even after multiple attempts. For some reason it was saving it to an odd directory and not one that Homebridge wanted it to be in. So I would constantly get an error saying that it couldn't find any plugins. Weird. I'll have to revisit the Pi3 server part another day.I did however use the majority of your tutorial and the one you linked to above to get the Node.js and Homebridge running in a terminal window on my Mac. After some playing around I was able to get my phone talking to the Mac, and then after altering the Arduino code a bit (and setting up a DHCP reservation IP address through my router for the Arduino) I managed to get it to communicate with the Arduino. Then, after all that was done, I read the other comments below (Credit: @bgodsell) and got the Arduino's external relay module to control properly. [Note for anyone in the future using an external relay module: Most of them are a switch LOW to activate relay, so wiring up as NC or some editing of the Arduino activation code may be necessary]I'm also curious anyone knows how to edit the config.json file to get more items added and to properly populate the devices with full Metadata. Currently, it shows my switch as a "default-manufacturer" etc. Doesn't really matter but really finishes off this customization. Do you have any ideas or examples for this?Thanks for the great tutorial!

    View Instructable »