Scott Shawcroft
1831a901cb
Add neopixel example
2024-10-22 12:15:35 -07:00
Scott Shawcroft
7ff4c15498
Lower version requirement
2024-10-22 12:02:40 -07:00
Scott Shawcroft
81c4c6e9b0
Version bump
2024-10-22 11:21:00 -07:00
Scott Shawcroft
2ed0fec614
More missing attributes
2024-10-22 11:19:31 -07:00
Scott Shawcroft
0a8b706903
Add extended color light
2024-10-21 16:37:25 -07:00
Scott Shawcroft
572c7a7fb7
Merge pull request #23 from lboue/patch-3
...
chip-tool pairing onnetwork is deprecated
2024-10-21 10:44:39 -07:00
Scott Shawcroft
3aebfc781d
Merge pull request #22 from lboue/LED_test
...
Set LED GPIO direction = OUTPUT
2024-10-21 10:43:50 -07:00
Ludovic BOUÉ
357fabc331
chip-tool pairing onnetwork is deprecated
...
chip-tool pairing onnetwork is deprecated. Use pairing code.
2024-10-19 17:20:13 +02:00
Ludovic BOUÉ
2aefc561a1
Set LED GPIO direction = OUTPUT
2024-10-19 14:47:11 +02:00
Scott Shawcroft
25093ece8f
pyproject.toml dependencies
2024-10-18 15:46:49 -07:00
Scott Shawcroft
f245ebe63f
Fix bounds check error in duplicate detection
2024-10-18 15:08:04 -07:00
Scott Shawcroft
75d4050307
Generate random passcode and discriminator
...
QR Code and Manual Codes based on that too.
2024-10-18 14:35:12 -07:00
Scott Shawcroft
818c9e6a7d
Generate DAC ourselves from our own (test) PAI
...
Now generate and store keys in the json device state. Our PAI for
vendor ID 0xfff4 is hard coded. Other vendor ids require externally
generated certs.
Fixes #19
2024-10-17 16:29:31 -07:00
Scott Shawcroft
64d8fbd34b
Clean up repo and update README
2024-10-17 12:37:58 -07:00
Scott Shawcroft
b21b35f366
Add examples instead of __main__.py
2024-10-17 12:25:42 -07:00
Scott Shawcroft
db186e65a1
Fewer prints. Ignore unknown sessions and failure to decrypt
2024-10-16 16:17:01 -07:00
Scott Shawcroft
6b9090e2f4
Store nonvolatile state in json and restore. Improve decode too
2024-10-16 15:04:18 -07:00
Scott Shawcroft
cdaa606808
Split core and data_model into clearer locations
2024-10-15 14:40:57 -07:00
Scott Shawcroft
355ae656b0
3.12 only
2024-10-15 13:45:12 -07:00
Scott Shawcroft
d7406716c9
Fix NOCStruct decoding. Wrong ids
2024-10-15 11:49:29 -07:00
Scott Shawcroft
2d2ae12f55
Fix chunking
2024-10-11 16:33:28 -07:00
Scott Shawcroft
c12fc55748
chunking broken
2024-10-11 15:59:13 -07:00
Scott Shawcroft
aa514ac3d9
Start subscribe support and report chunking
2024-10-10 16:26:49 -07:00
Scott Shawcroft
edb2996cbf
Fix tests
...
Broken by reorg and switch to shortest encoding for a value. It is
needed to match encoding used in other implementations for
cryptography inputs.
2024-10-08 15:25:28 -07:00
Scott Shawcroft
3d67377f79
Works with Apple
...
Add ACL cluster
2024-10-08 15:25:28 -07:00
Scott Shawcroft
ded50ef5e3
Merge pull request #4 from lboue/patch-1
...
Update README.md
2024-10-07 11:05:43 -07:00
Scott Shawcroft
58f6f3b9d7
Merge branch 'main' into patch-1
2024-10-07 11:05:17 -07:00
Scott Shawcroft
fe9d209f8a
Merge pull request #5 from lboue/patch-2
...
Add Avahi requirements in README
2024-10-07 11:03:49 -07:00
Scott Shawcroft
ea9072e3df
Merge pull request #6 from lboue/requirements.txt
...
Create requirements.txt
2024-10-07 11:03:13 -07:00
Ludovic BOUÉ
6da9a2e19d
Create requirements.txt
...
Python requirements
2024-10-05 15:43:12 +02:00
Ludovic BOUÉ
57756b9bee
Update README.md
...
Requirements
2024-10-05 14:59:41 +02:00
Ludovic BOUÉ
2978c8eec3
Update README.md
...
Make copying and pasting easier
2024-10-05 09:19:58 +02:00
Scott Shawcroft
97d7402554
Fixes for matter.js interop
2024-10-04 16:03:35 -07:00
Scott Shawcroft
ede6818f60
InteractionModelRevision
2024-10-03 16:31:17 -07:00
Scott Shawcroft
4a0c4b64ea
Apple commissioning almost works
2024-10-03 15:52:35 -07:00
Scott Shawcroft
7b05d28a3a
Commissioning works from chip-tool!
2024-10-02 16:42:51 -07:00
Scott Shawcroft
e913c3602c
Work on sigma2 response
2024-10-01 16:07:50 -07:00
Scott Shawcroft
457a5a8c7b
Typos
2024-10-01 15:16:16 -07:00
Scott Shawcroft
496efa5fe7
Make certificate generation replayable. Update README
2024-10-01 15:14:01 -07:00
Scott Shawcroft
98bb0e1cec
Add README
2024-10-01 14:38:44 -07:00
Scott Shawcroft
15c6b518cb
Restructure + destinationId
2024-09-27 16:01:11 -07:00
Scott Shawcroft
c406629605
Store NOC and update MDNS entries
2024-09-26 16:07:35 -07:00
Scott Shawcroft
672c8643ea
Get through attestation
2024-09-25 16:39:07 -07:00
Scott Shawcroft
391fc0df27
Move onto attestation
2024-09-24 11:51:42 -07:00
Scott Shawcroft
3dd02a8ba0
Remove more extra container ends
2024-09-23 16:56:11 -07:00
Scott Shawcroft
51ce818a6a
Move adding end container into subclass. Struct requires a tag
2024-09-23 15:56:46 -07:00
Scott Shawcroft
05745b1952
More TLV encoding fixes
2024-09-20 15:24:53 -07:00
Scott Shawcroft
2fe5fac82b
Add command support and split TLV parsing
...
TLV parsing can now happen without a concrete TLV structure to
follow. Structures are parsed into dictionaries and list/arrays are
into Python lists. They can't be reencoded this way! It is assumed
they will be used to create a more concrete object via `.from_value`
This handles the variable argument structures by allowing calling
code to make them concrete once they determine the type.
tlv.List is now a container superclass like tlv.Structure. It
allows for Structure like attribute access but preserves order
and duplicate keys (which may be unused).
Commands are now supported by subclassing the data model cluster
and overriding the class level Command() object. It stores input
and output type info.
2024-09-19 16:14:05 -07:00
Scott Shawcroft
39c27d0b55
Encrypts and sends but isn't decryptable
2024-09-17 16:04:19 -07:00
Scott Shawcroft
ba30cd9524
Refactor a bit to make things easier to find
2024-09-13 15:50:39 -07:00