Sign inSign up

neilphan98/hearth-chip-contact-sensor-app

By neilphan98

•Updated 6 days ago

HEARTH testbed: Matter contact + motion sensor - real connectedhomeip.

Image
Internet of things
0

72

neilphan98/hearth-chip-contact-sensor-app repository overview

⁠HEARTH Matter Contact-Motion

Real Matter contact/motion sensor (connectedhomeip) over Ethernet/IPv6.

Real-device analogue: A Matter door/window contact sensor or PIR motion sensor.

Protocol / ports: Matter 1.x over IPv6 (UDP 5540); mDNS (UDP 5353).

⁠What it does / how it works

The real connectedhomeip contact-sensor-app. Publishes Boolean State (open/closed, or motion/no-motion) that a controller or Home Assistant subscribes to.

⁠Functions

  • Boolean State cluster (contact / occupancy)
  • Subscribe-driven state reports
  • Commissionable over IPv6

⁠How to use

Commission as for the light; read state: chip-tool booleanstate read state-value <nodeid> 1.

⁠Use in GNS3

  • Import the matching .gns3a (File > Import appliance), or docker pull neilphan98/hearth-chip-contact-sensor-app:latest.
  • Drag onto your topology, wire to a switch/hub, start. Console: telnet.
  • Adapters: 1. Category: guest.

⁠Default environment (per node)

CHIP_DISCRIMINATOR=3842
CHIP_PASSCODE=20202021
CHIP_VENDOR_ID=0xFFF1
CHIP_PRODUCT_ID=0x8000
HEARTH_MATTER_TYPE=matter-contact
HEARTH_SEGMENT=living

Current release: latest (docker pull neilphan98/hearth-chip-contact-sensor-app:latest)

Part of the HEARTH Tower commercial-building IoT/OT security testbed. Image tags are immutable per release (1.0, 1.1, ...), so updating the device list never changes nodes you already placed. See the HEARTH bundle for all devices + guides.

Tag summary

Content type

Image

Digest

sha256:2d8949d0c…

Size

72.5 MB

Last updated

6 days ago

docker pull neilphan98/hearth-chip-contact-sensor-app