Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 455 Bytes

Tests.md

File metadata and controls

21 lines (16 loc) · 455 Bytes

Testing

Running unit tests

python3 -m unittest -v

Test pair & unpair

Bluetooth LE

PYTHONPATH=. python3 homekit/pair_ble.py -f ble.json -a DW1 -m e2:a3:cb:26:77:61 -p 893-01-591;\
PYTHONPATH=. python3 homekit/unpair.py -f ble.json -a DW1

IP

PYTHONPATH=. python3 homekit/pair.py -f controller.json -a esp -d EC:73:A0:BD:97:22 -p 111-11-111;\
PYTHONPATH=. python3 homekit/unpair.py -f controller.json -a esp