All Projects → nabdali → esp-homekit-demo-stepByStep

nabdali / esp-homekit-demo-stepByStep

Licence: other
tutorial step by step esp homekit demo

Projects that are alternatives of or similar to esp-homekit-demo-stepByStep

homekit-door
Raspberry Pi HomeKit Door Accessory
Stars: ✭ 22 (-35.29%)
Mutual labels:  homekit
VWsFriend
VW WeConnect visualization and control
Stars: ✭ 130 (+282.35%)
Mutual labels:  homekit
AVPlayerItemHomeOutput
Coordinate the output of content associated with your HomeKit lightbulbs. #Ambilight
Stars: ✭ 38 (+11.76%)
Mutual labels:  homekit
homebridge-callmonitor
Signals incoming and outgoing calls using the call monitor facility in Fritz!Box devices via HomeKit
Stars: ✭ 25 (-26.47%)
Mutual labels:  homekit
homebridge-pc-volume
Homebridge plugin to control your computer's volume using HomeKit and Siri
Stars: ✭ 55 (+61.76%)
Mutual labels:  homekit
homebridge-nature-remo-cloud-aircon
Homebridge Plug-in for Air Conditioner Managed by Nature Remo
Stars: ✭ 28 (-17.65%)
Mutual labels:  homekit
homebridge-unifi-occupancy-sensor
An occupancy sensor for Homebridge and UniFi
Stars: ✭ 71 (+108.82%)
Mutual labels:  homekit
hass config
My personal Home-Assistant configuration for my home.
Stars: ✭ 17 (-50%)
Mutual labels:  homekit
homebridge-z2m
Expose your Zigbee devices to HomeKit with ease, by integrating 🐝 Zigbee2MQTT with 🏠 Homebridge.
Stars: ✭ 197 (+479.41%)
Mutual labels:  homekit
Homebridge-on-RaspberryPi
Example of Homebridge on RaspberryPi 3
Stars: ✭ 34 (+0%)
Mutual labels:  homekit
homebridge-vieramatic
Homebridge plugin for Panasonic™ Viera™ TVs (includes support for 2018 and later models)
Stars: ✭ 39 (+14.71%)
Mutual labels:  homekit
homebridge-vsx
📻 A VSX and SC Plugin for homebridge
Stars: ✭ 12 (-64.71%)
Mutual labels:  homekit
esp-homekit-arduino-sdk
Arduino wrapper for ESP-IDF HomeKit library
Stars: ✭ 34 (+0%)
Mutual labels:  homekit
homebridge-adb
Homebridge script to control remote ADB enabled Android device
Stars: ✭ 56 (+64.71%)
Mutual labels:  homekit
homebridge-eveatmo
Homebridge plugin which adds a Netatmo weatherstation as HomeKit device and tries to act like Elgato Eve Room/Weather
Stars: ✭ 63 (+85.29%)
Mutual labels:  homekit
homebridge-music
Homebridge plugin for iTunes with AirPlay speakers
Stars: ✭ 92 (+170.59%)
Mutual labels:  homekit
homebridge-blinds
🌅 Homebridge Plugin to control my blinds over HTTP
Stars: ✭ 51 (+50%)
Mutual labels:  homekit
homebridge-plex-sensors
Homebridge Sensors for Plex - a plugin for Homebridge to adds sensors triggered by Plex playbacks.
Stars: ✭ 110 (+223.53%)
Mutual labels:  homekit
aiohomekit
asyncio for homekit
Stars: ✭ 37 (+8.82%)
Mutual labels:  homekit
homebridge-zigbee
ZigBee Platform plugin for HomeBridge
Stars: ✭ 101 (+197.06%)
Mutual labels:  homekit

esp-homekit-demo-stepByStep

Tutorial step by step esp homekit demo (tested on OSx 10.13.2)

Inspired by esp-homekit-demo

  1. Clone this repo https://github.com/maximkulkin/esp-homekit-demo
git clone https://github.com/maximkulkin/esp-homekit-demo
  1. Initialize and sync all submodules (recursively):
git submodule update --init --recursive
  1. Copy wifi.h.sample -> wifi.h and edit it with your WiFi SSID and password (used by esp).

  2. Install esp-open-sdk :

    • Install esp-open-sdk requirement tools versions advisable :
      • Homebrew 1.5.2
      • Python 2.7.10
      • Pip 9.0.1
    $ brew tap homebrew/dupes
    $ brew install binutils coreutils automake wget gawk libtool help2man gperf gnu-sed --with-default-names grep python
    $ export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
    $ pip install esptool
    • In addition to the development tools MacOS needs a case-sensitive filesystem. You might need to create a virtual disk and build esp-open-sdk on it:
    sudo hdiutil create ~/Documents/case-sensitive.dmg -volname "case-sensitive" -size 10g -fs "Case-sensitive HFS+"
    sudo hdiutil mount ~/Documents/case-sensitive.dmg
    cd /Volumes/case-sensitive
    • Be sure to clone recursively in volumes mounted previously:
    git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
    • build it with
    make toolchain esptool libhal STANDALONE=n
    • Then edit your PATH and add the generated toolchain bin directory (add it on your .bach_profile):
    export PATH="/Volumes/case-sensitive/esp-open-sdk/xtensa-lx106-elf/bin:$PATH"
  3. Install esp-open-rtos:

    • Clone recursively:
    git clone --recursive https://github.com/Superhouse/esp-open-rtos.git
    • And set SDK_PATH environment variable pointing to it (add it on your .bach_profile):
    export SDK_PATH="/TO/FOLDER/esp-open-rtos/"
  4. Test build:

    make -C examples/led all

    If you have any problems with esptool.py file, you must review installation and version of python, pip, esptool and serial. If the problems persist, install serial (python librarie)

    pip install serial
  5. You’ll need to install a driver for the USB -> UART adapter:

    • Download and install this driver
    • Connect the ESP and you should be able to see the /dev/tty.SLAB_USBtoUART/ device on your machine
    ls -l /dev/tty.SLAB_USBtoUART/

    result crw-rw-rw- 1 root wheel 18, 4 Jul 13 19:46 /dev/tty.SLAB_USBtoUART

    • You can also verify the kernel module is loaded via the kextstat command:
    kextstat | grep -i silabs

    result 358 0 0xffffff7f83374000 0x6000 0x6000 com.silabs.driver.CP210xVCPDriver (4.10.11)

    • Set ESPPORT environment variable pointing to USB device your ESP8266 is attachedto (assuming your device is at /dev/tty.SLAB_USBtoUART):
    export ESPPORT=/dev/tty.SLAB_USBtoUART
  6. Upload firmware to ESP:

        make -C examples/led test

    or

        make -C examples/led flash
        make -C examples/led monitor
  7. Pair your Iphone with ESP :

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].