2"گھر اسسٹنٹ" ایک ونڈوز کے پی سی پر مقرر کریں

As I’ve writ­ten about before I have a range of “smart home” devices that I’ve been gradu­ally exper­i­ment­ing with. ان میں سے کچھ کو ملانے کا سب سے بڑا محرومیوں میں سے ایک بہت طاقت آپ کے ذریعے "بادل" جو بھی ہائی سپیڈ انٹرنیٹ کے ساتھ کچھ کاموں کے لئے ایک سے زیادہ سیکنڈ کی تاخیر کا باعث بن سکتی جانے کے لئے ہے ("ٹھیک ہے Google, گونگا Kodi کی ") مثال کے طور پر. میں آزاد "گھر اسسٹنٹ" ایک کوشش دینے کا فیصلہ کیا ہے. کچھ بھی لینکس کے ساتھ ہمیشہ کی طرح بنیاد, یہ اٹھنے اور صرف چلانے براہ راست آگے نہیں ہے. طریقہ یہ ہے ...

پہلا, down­load and install the latest ver­sion of python (V3.5 + کی ضرورت ہے). For con­veni­ence choose the option to add python to the path on the first page of the installer
اگلے, down­load and install the “Microsoft Visu­al C++ Build Tools” from Microsoft
Next down­load the “home assist­ant” file from Git­Hub as a zip and unzip it into %USERPROFILE%
Open an admin­is­trat­ive com­mand prompt, switch to the folder where you extrac­ted “home assist­ant” and type the fol­low­ing, giv­ing each com­mand time to complete.
pip3 sqlalchemy انسٹال
pip3 netdisco انسٹال
pip3 وارنٹ انسٹال
pip3 homeassistant انسٹال
py ‑m home­as­sist­ant –open-ui

Leave a Reply

2 تبصرے

KMken maher

Everything seems to be ok except for the last com­mand (py ‑m home­as­sist­ant ‑open-ui) I get a mes­sage “c:\users\Ken\AppData\Local programs\Python\Python-32\Python.exe: No mod­ule named homeassistant
I’m guess­ing I’m in the wrong dir­ect­ory or my path needs work.

جواب دیں
جے ایسجان Scaife

Are you run­ning that com­mand whilst in the dir­ect­ory you extrac­ted home­as­sist­ant to? I did write this 3 years ago so it may be that the mod­ule name has changed in the mean­time but it is def­in­itely worth check­ing you’re in the right loc­a­tion first.

جواب دیں