From 9cf5e5774c521937f93a239aa0e25417b4ad0d3d Mon Sep 17 00:00:00 2001 From: zaluthar Date: Tue, 1 Jun 2021 10:26:54 +0200 Subject: [PATCH] Add documentation for Xiaomi CGDK2 (#920) Co-authored-by: zaluthar Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> --- components/sensor/images/xiaomi_cgdk2.jpg | Bin 0 -> 8082 bytes components/sensor/xiaomi_ble.rst | 33 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 components/sensor/images/xiaomi_cgdk2.jpg diff --git a/components/sensor/images/xiaomi_cgdk2.jpg b/components/sensor/images/xiaomi_cgdk2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..42d6546cd0e2a704b58bc7ae4a27e2eb7193e5cc GIT binary patch literal 8082 zcmb7Jc_38X`#&>dNgm^hRqXTdloD4yB z7)AyoLmcSC;0Ss$hSTEYs(Qz)-J*|kNu1LUdQ$qjdy?BGc$twWCSyfX&7J-~TLSw- zfEsE5Mh~Y4DqwBmpsoKVbVDdjF^@T$VJo~J^Q^iR^=fo#BP_v7@*zR8b416}2vkV5 z2vAj&Fu^O%<~Zh-F#NYxpm&J4} za(7V4VO!(4`v$sJJpb1E^+dVf{ogvcyJ$3XUBZ3N>OkqRlX0%r&@B-wGg{Bmo`kqh ztM=L-@|Lh|)hLCSn8+or-0&d8)NQ7cmQ=w z*WbFXn<;#n6eLbsIg#_I>1n?cVVInrw8F&qs9y8HwtvXc{ht3b6f#+>(Qrb-R}=t9 zl95#W>>~Ny3KyJ$sjQDDI{pF<`%OsM*Pcnw-`*)+UzLe;#>{O< z*G0ycRa9{S8iRPu>m~z>;#M%Fe~CTfP#V_(BjM z;d;yT;)Z7!TH1un(s@1Z2(FT_INl{4z2N7`!l-#)!iv$@ zs_4`kpZ9X?<~tYypH&D31bp5tBW3FzI~>y-m$473WJIOJVp3BLv&Kv=doS?k#>h4k zz##yWnpY6ndHuD@ySP<>DvzhP%1<)Y9-V9Rz0St+M_unuy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AP%Y7 zlMZMBMiU>Jm_$!!ZNeYhO>8l~NE|XkaGr~?BmB}LHd9fsY|~BGzprMVowL%UESjJr z`&|VYs0!taYtkODuvV;K(@7lmYwC=pIu->|=04EU$|fX?qzzYdGJpr>=n#^MvFl^& zL-IAHBa2;+^N=31+xvj5CzBQ1y;au5LkAw9;0L)oC}RPI%m+}~?oX2FmmLQeXp#V9 zYn-KrK)k%hRqYrNik!l3f4`WH!^Rh0LMR3}>yHcPIlo<~3K>m;uKxzC3 z#)8pdg?b(S{Z+85W*4k8*3-K_cep?O#_u7E)r!7-A0KolOai;(WJ%47`Cj%7VbUt@ z?iF6GAhj%RFmlt2i8HerO657B>YP1{O%ok zaZm$U4vi1GVt{H`G_d;Qo_oZ_0>wHE-yoXNF~+*P)5jBd?n{VJpx#MvD||zU84r0g zzif+vPqD|0#wm4rog=VRjUN__%NA~vU^xRr8}Pz+bFiEj^AeiK!}%~EGUWuHtu3cS zCFcV&0@TwV2}T{1PC?PK{-6K}+3y>a%+-X$I1iPckO0=!wi2MB(WI=Q9%pUSb_9mI zbKgasP}FEITvEbl&!XibM1G0l-0%^Y(K+`76O+T=W8)xQ>$nsalN4CQ9U_6=+6Ds` Vq5>!$7`__ with a `supported browser `__ and connect the device by pressing "Connect". After the connection is established, you press the "Do Activation" button and the new key will be shown in the "Mi Bind Key" field. The key can be copied directly into the sensor YAML configuration. + Other encrypted devices *********************** @@ -452,5 +484,6 @@ See Also - Xiaomi LYWSD03MMC passive sensor readout ``__ by `@ahpohl `__ - Custom firmware for the Xiaomi Thermometer LYWSD03MMC ``__ - TeLink flasher application ``__ +- TeLink flasher application modified for CGDK2 ``__ - :ghedit:`Edit`