Code Monkey home page Code Monkey logo

matter-lamp-firmware's Introduction

Lamp Controller with Matter

Overview

This project is a smart lamp controller designed for a 3V3 3D printed lamp. It utilizes an ESP32 microcontroller and has been tested with Apple's HomeKit ecosystem. The project consists of both software and hardware components, making it a complete solution for controlling the lamp remotely.

C CMake Espressif KiCad

Hardware

Refer to Matter-Lamp-Hardware.

Software

This project is based on the following technologies:

  • esp-idf: Espressif's IoT Development Framework.
  • esp-matter: Espressif's SDK for Matter.

Installation

Follow the installation instructions for esp-idf

cd ~ && mkdir esp && cd esp
git clone --recursive https://github.com/espressif/esp-idf.git
cd esp-idf; git checkout v5.2.1; git submodule update --init --recursive;
./install.sh
cd ..

Then install esp-matter:

cd esp-idf
source ./export.sh
cd ..

git clone --recursive https://github.com/espressif/esp-matter.git
cd esp-matter
./install.sh
cd ..

Then clone this repository and configure the environment:

cd ~/esp
git clone https://github.com/vinepb/Matter-Lamp-Firmware.git

# The next two commands should be done with each new terminal session
source ~/esp/esp-idf/export.sh
source ~/esp/esp-matter/export.sh

Then set the device's serial port, build and flash:

cd ~/esp/Matter-Lamp-Firmware
export ESPPORT=/dev/tty.SLAB_USBtoUART # Set your board's serial port here
idf.py set-target esp32
idf.py build flash monitor

Add acccessory in the Home app

Open the Home app on your iPhone/iPad and follow these steps

  • Tap on "Add Accessory" and press "More options...".
  • A device named "Matter Accessory" should show up, click it and use setup code 20202021.
  • Select the "Add Anyway" option for the "Uncertified Accessory" prompt.

matter-lamp-firmware's People

Contributors

vinepb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.