목록홈네트워크(IoT)/Matter (30)
YOGYUI
매터(Matter) 기기 개발 후 제품을 출시하기 위해서는 CSA(Connectivity Standard Alliance)로부터 공인받은 인증업체로부터 인증 절차(Matter Certification)를 거친 후 결과를 CSA에 제출해야 한다 (여담이지만 국내 CSA 공인 인증 업체 몇군데에 인증 견적을 내보니 기기 한 종류당 1000~2000만원 수준의 예산이 필요하다... 인증이라는 게 당연히 저렴하진 않은게 당연하지만;; IoT 기기 특성상 수백대는 팔아야 인증 비용을 겨우 본전치기할 수준이라니 ㅠ) Matter 기기의 (BLE-WiFi 혹은 Thread network) Commissioning부터 시작해서 디바이스 타입(전구, 센서, 온도조절기 등)별 제어/응답, OTA(Over The Air) ..
Matter - Commissioning Device to Multiple Home IoT Platforms 매터(Matter)가 내세우는 여러 특징 중 하나는 IoT 제조사(vendor)별로 별도의 브릿지나 허브 장치 필요없이 홈 IoT 플랫폼(애플, 구글, 삼성 등)에 장치를 쉽게 등록 가능하고, 여러 개의 플랫폼(홈 허브)에 동시에 등록하여 제어가 가능하다는 점이다 이 글에서는 ESP32 SoC 기반으로 작성된 IoT 디바이스를 구글 홈에 등록한 뒤, 애플 홈에도 동시에 등록함으로써 두 플랫폼에서 제어할 수 있는지 여부를 확인해보도록 한다 예제 프로젝트는 지난번에 만든 ESP32 based Level Control Cluster 예제를 그대로 활용하기로 한다 [PROJ] Matter::LevelCo..
지난 5월 18일, CSA(Connectivity Standards Alliance)에서 Matter 1.1 버전을 공식 발표했다 ※ 확인한 날짜가 5월 19일이니, 아주 따끈따끈한 소식~ (2023년 3월에 출시 예정이었는데, 일정이 다소 늦어진 것 같다. 애초에 연 2회 버전 릴리즈가 목표였으니 반기말에 출시되는 걸로 생각하면 될듯~) https://csa-iot.org/newsroom/matter-1-1-release-enhancements-for-developers-and-devices/ Matter 1.1 release — Enhancements for developers and devices Today's release of Matter 1.1 is the result of the collec..
Matter :: Basic Information Cluster This cluster provides attributes and events for determining basic information about Nodes, which supports both Commissioning and operational determination of Node characteristics, such as Vendor ID, Product ID and serial number, which apply to the whole Node. 1. Classification Hierarchy Role Context PICS Code Base Utility Node BINFO 2. Identifier Identifier Na..
Matter :: Root Node Endpoint This defines conformance for a root node endpoint (see System Model specification). This endpoint is akin to a "read me first" endpoint that describes itself and the other endpoints that make up the node. Other non-Node device types and Application clusters SHALL NOT be supported on the same endpoint as this device type. Other Node device types MAY be supported on th..
Introduction to Matter Data Model (Node, Endpoint, Cluster, Attribute, Command) Connectivity Standards Alliance(CSA)의 Matter는 IoT 디바이스간 유무선 통신(Ethernet, Bluetooth, Wi-Fi, OpenThread 등), 보안, 관리 등에 대한 표준을 오픈소스로 공개했기 때문에 IoT 디바이스 (펌웨어) 개발자는 이것과 관련된 개발에 신경쓰지 않아도 되는 것이 가장 큰 장점이다 - 좁은 범위에서 말하자면 Matter는 단지 네트워크 레이어 상의 인터넷 프로토콜일 뿐이다 따라서, Matter 디바이스 개발자는 디바이스가 Matter 에코시스템 상에서 받은 명령을 어떻게 처리하고, 디바이스의 상태를..
Matter :: Administrator Commissioning Cluster This cluster is used to trigger a Node to allow a new Administrator to commission it. It defines Attributes, Commands and Responses needed for this purpose. For the management of Operational Credentials and Trusted Root Certificates, the Node Operational Credentials cluster is used. 1. Classification Hierarchy Role Context PICS Code Base Utility Node..
Matter :: Device Type Matter의 Endpoint(엔드포인트)들은 개별적으로 최소 하나 이상의 Device Type들을 가지게 되며, 해당 디바이스 타입을 지원하는 Cluster(클러스터)들의 조합으로 구성된다 매터 에코시스템에서는 Device Type ID를 통해 해당 디바이스가 어떤 종류의 기기인지를 판단하고 그에 맞는 제어 인터페이스를 제공하게 되므로, 개발자가 만들고자 하는 제품 유형에 맞는 Device ID를 커미셔닝 시 사용할 수 있도록 구현하는 것이 중요하다 (물론 API로 잘 되어있다) 다음은 Endpoint에 대한 Matter Specification 1.0 문서 원문이다 [Endpoint] A node is composed of one or more endpoints..
Mater :: Color Control Cluster This cluster provides an interface for changing the color of a light. Color is specified according to the Commission Internationale de l’Éclairage (CIE) specification CIE 1931 Color Space. Color control is carried out in terms of x,y values, as defined by this specification. Additionally, color MAY optionally be controlled in terms of color temperature, or as hue a..
Matter :: Level Control Cluster This cluster provides an interface for controlling a characteristic of a device that can be set to a level, for example the brightness of a light, the degree of closure of a door, or the power output of a heater. 밝기 변경 가능한 조명, 출력 조정 가능한 히터 등 단계별로 제어 가능한 디바이스를 위한 클러스터 PWM 제어를 위한 주파수(frequency) 어트리뷰트도 존재하나, 아직 정식으로 릴리즈되지는 않았다 (1.0 기준) 1. Classification Hierarchy Rol..
Matter :: On/Off Cluster Attributes and commands for turning devices on and off. 조명, 콘센트(outlet), 팬(fan) 등 다양한 디바이스의 전원/동작 상태를 켜고 끄는 데 사용되는 클러스터 거의 모든 종류의 엔드포인트의 하위 클러스터로 포함된다 1. Classification Hierarchy Role PICS Code Primary Transaction Base Application OO Type 1 (client → server) 2. Identifier Identifier PICS Code Name 0x0006 OO On/Off 3. Features 3.1. Bit 0: Level Control for Lighting Bit Co..
Matter - Catch Wi-Fi IP address assignment event BLE-WiFi 커미셔닝을 통해 매터 디바이스를 커미셔닝한 경우, 라우터(공유기)의 DHCP를 통해 IP주소(v4, v6)를 할당받게 된다 (dynamic or static address) IP 주소를 할당받은 후 웹서버 등 비매터(non-matter) 동작을 활성화하고 싶은 경우 IP주소 할당 이벤트를 캐치해야하는데, CHIP(Connected Home IP)의 PlatformManager의 이벤트 핸들러에 콜백을 추가하는 방식을 통해 구현하는 방법을 알아보자 함수원형 헤더파일 위치: connectedhomeip/src/include/platform/PlatformManager.h inline CHIP_ERROR P..
ESP32 + CHIP(Matter) 프로젝트를 esp-matter 프레임워크로 진행하고 있다 (CHIP 소스코드를 wrapping해놓은거라 esp32 기기에 적용하기에 꽤나 유용하다) BLE 커미셔닝하기 전에 ESP32에 HTTP나 웹소켓으로 접속해서 Matter 외 기타 디바이스 설정 기능을 구현하고 싶어서 깃허브 이슈로 문의해봤다 https://github.com/espressif/esp-matter/issues/205 Matter 1.0 specification에 따르면 SoftAP (AP: Access Point)는 Matter가 공인하는 방식이 아니라고 한다 (Matter에서는 BLE+Wi-Fi의 경우 커미셔닝 시 Wi-Fi는 Station 모드로만 작동하며, 사용자의 LAN에 접속하는 방식만..
iOS 16.2 ~ 16.3 업데이트 후 Matter용으로 개발중인 기기들이 애플 홈(Apple Home) 앱에서 BLE 커미셔닝(commisioning)이 원활히 되지 않는 문제가 있어, 이래저래 헤딩해보다가 포기... 항상 Sigma2 메시지 송수신단 54번 프로세스에서 문제가 발생하는 중 ㅠ CHIP-Tool로는 무난히 커미셔닝 잘 되는데 힝... CHIP Github에서도 동일한 문제를 겪고 있다는 사람도 있고, 문제없이 된다는 사람도 있는데 좀 더 파봐야 할듯.. Matter 디바이스 개발이 우선순위가 높기 때문에, 급한대로 구글 홈 (Google Home)에서 Matter 개발 환경을 꾸며보기로 했다.. 구글 홈 개발자 사이트에 가이드가 굉장히 자세히 나와있어서 쉽게 따라할 수 있다 (한글로 ..
지난 2022년 9월 28일, CSA(Connectivity Standards Alliance) 그룹에서 Matter Specification 1.0 버전을 공식 발표했다 (넋놓고 있다가 해외 매체 기사를 보고서야 알게됐다 ㅋㅋ) https://www.engadget.com/matter-smart-home-standard-released-160059101.html The Matter smart home standard is finally available | Engadget The Matter smart home standard has finally been released, and companies like Amazon, Apple and Google are adopting it.. www.engadg..