From 172c8a22b351b5211f3d1dac5547e3373a21369c Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Sat, 19 Feb 2022 19:07:08 +0100 Subject: [PATCH] README: hc-login works! --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 93e8b6c..a8964e4 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,20 @@ considered a no-cloud local control configuration. The protocols seem sound and should prevent most any random attacker on your network from being able to take over your appliances to mine cryptocurrency. +## Configuring devices -## Finding the PSK (and IV) +The `hc-login` script perfoms the OAuth process to login to your +Home Connect account and retrieves a list of all the connected devices +along with the PSK or AES keys and IV, as well as the device descriptions. +These are stored into a `config.json` file that can be used by `hc2mqtt` +to contact the devices and relay their state to your MQTT server. + +``` +hc-login username password > config.json +hc2mqtt config.json +``` + +## Finding the PSK and IV (no longer necessary) ![application setup screen](images/network-setup.jpg)