Ku-athikili ngizokwethula inqubo yokungeza ukuhlanganiswa okungekho emthethweni (Isakhi sokwezifiso) kuMsizi Wekhaya kwisibonelo sokuhlanganiswa kusetshenziswa izinsizakalo zefu ze-eWeLink, futhi ngenxa yalokho kusivumela ukuthi silawule amadivaysi e-Sonoff ngaphandle kokushintsha i-firmware yawo.

Sisanda kukhombisa indlela yokusebenzisa i-IKEA Tradfri integrated. Namuhla sizokukhombisa ukuthi ungifaka kanjani i-Unofficial Integrations.

Umsizi Wekhaya unokuhlanganiswa okuningi okusemthethweni okulethwa nakho, okulungele ukusetshenziswa. Azidingi ukufakwa okwengeziwe noma ukubuyekeza kusuka kithi - zivuselelwa kanye nohlelo. Uhlu lwako konke ukuhlanganiswa okusemthethweni okutholakalayo kungatholakala ku:

https://www.home-assistant.io/integrations/

Naphezu kweqoqo elikhulu kangako (njengamanje izandiso ze-1540), ngenxa yejubane lentuthuko yezwe le-IoT, kunesidingo sokwakha ukuhlanganiswa okuningana ngaphakathi koMsizi weKhaya, hhayi ukusekela amadivaysi alandelayo kuphela, kodwa futhi okuhlobene nokusetshenziswa kwezinsizakalo ezahlukahlukene ze-inthanethi, ama-algorithms, ezenzakalelayo, njll. ukuhlanganiswa okusha, okungekho emthethweni, kubhalwe ngumphakathi Wezasekhaya. Babizwa Izakhi Zokuzenzela. Imvamisa imininingwane yabo nemiyalo eku-portal GitHub.

Ukuhlanganiswa okungekho emthethweni kubekwe enkombeni:

\\ wendawo \ wokumisa \ custom_components

lapho wendawo, isiqondisi sasekhaya soMsizi Wekhaya. Kufanele sinakekele izibuyekezo zethu zeSiko leCustom.

Ngezansi ngizoveza inqubo yokwengeza ukuhlanganiswa okungekho emthethweni kuMsizi Wasekhaya kwisibonelo sokuhlanganiswa kusetshenziswa izinsizakalo zefu ze-eWeLink, futhi ngenxa yalokho kusivumela ukuthi silawule amadivaysi e-Sonoff ngaphandle kokushintsha i-firmware yawo. Ngingeze i-Sonoff T4EU1C switch (ngaphandle kwekhebula le-Neutral) kuhlelo lwe-eWeLink.

Isithombe: Banggood

2020-01-26 13_30_24-sonoff t4eu1c

Ukulungiselela ukuhlolwa:

  • Umsizi wasekhaya 0.103.6,
  • Uhlelo lweHas.io (i-Raspberry Pi 2 B),
  • Isabelo sabelana nge-9.0 noma nge-Configurator 4.2-add-on

Imishini edingekayo:

  • Ngokuya ngeSakhi esithile seCustom, esimweni sethu kuzoba ngesinye sezishintshi zeSonoff (imodeli ye-TX T4EU1C) engezwe kuhlelo lokusebenza lwe-eWeLink lasekuqaleni.

Izinga lentuthuko:

  • Ulwazi oluyisisekelo loMsizi Wasekhaya luyadingeka.

Ukuhlanganiswa kweSonoff

Ikhasi lokuhlanganisa esizabe silisebenzisa lingatholakala lapha:

https://github.com/peterbuga/HASS-sonoff-ewelink

Sizolanda amafayela adingekayo kuwo bese sithola imiyalo yokufaka, kanye nohlu lwamadivayisi we-Sonoff asekelwayo.

Ngoba ukuhlanganiswa nensizakalo ye-eWeLink, ukuze kubonakale, kufanele uqale wakhe i-akhawunti kuhlelo lwe-EWeLink bese ungeza idivaysi kuyo.

1. Landa ingxenye yangokwezifiso "HASS-sonoff-ewelink"

Siya kuwebhusayithi:

https://github.com/peterbuga/HASS-sonoff-ewelink

bese ulanda ukulondolozwa kwe-.zip ngamafayela adingekayo. Ngemuva kwalokho uthulule kungobo yomlando ku-disk.

2. Ukukopisha amafayela

Siyaqiniseka ukuthi sifake futhi salungiselela isengezo Isabelo seSamba.

Sifaka isihloli sefayela ekhelini elilandelayo:

HASSIO \\ \ wokumisa \

IHASSIO yigama lendawo yenethiwekhi yoMsizi Wekhaya esimise kuyo ukucushwa Isabelo seSamba (okuzenzakalelayo kuyinto IHASSIO). Sakha ifolda entsha eqanjwe lapho abahleli ngokwezifisonokukodwa ngaphakathi - indodana.

Kule folda:

HASSIO \\ \ wokumisa \ custom_components \ sonoff \

kopisha amafayela asusela kungobo yomlando ebingafakwanga ngaphambili "HASS-sonoff-ewelink-master.zip".

3. Okokuzithandela - Bheka ikheli le-IP lasendaweni lendawo

Isakhi sikaSonoff's Sakhi sisebenza kumgomo wokusebenzisa izinsiza ze-inthanethi ezinikezwe yifu. Kulokhu leli phuzu alidingeki.

Kuyenzeka, noma kunjalo, ukuthi ukuhlanganiswa (okusemthethweni noma okungaxhunyiwe) kuxhuma ngqo nge-WiFi kudivayisi kunethiwekhi yethu yendawo. Kuyadingeka-ke ukwazi ikheli le-IP lale divayisi futhi kunconywa ukuthi unikeze leli kheli unomphela ku-router yethu. Kulokhu, funda leli phuzu.

Sihlola ikheli le-IP lasendaweni ledivayisi ekhethiwe esekelwa umsizi wasekhaya ku-router. Iwebhusayithi yomqondisi ivame ukutholakala ku:

192.168.0.1

Uvame ukubona umugqa wedivayisi ngegama.

Amazwi:

  • Kuma-router we- "Xhuma Ibhokisi" le-UPC, qala ubuze i-hotline ukuthi ilayishe i-IPv4 protocol ukude esikhundleni se-IPv6 ezenzakalelayo. Ngaphandle kwayo, ngeke uthole into efanelekile kumenyu ye-router.

4. Ukuguqulwa kokuhlelwa.yaml

Ngokuvamile kuwebhusayithi yeGitHub ngokuhlanganiswa okukhethiwe kunencwajana lapho umlobi echaza ngokuningiliziwe isigaba okufanele sengezwe kufayela lokucushwa. Lesi sigaba kufanele sengezwe ukuze kusebenze ukuhlanganiswa okulayishwe ngaphambili.

ifayela ukucushwa.yaml kungashintshwa, phakathi kwabanye usebenzisa isengezo Isabelo seSamba futhi Isiguquli. W Isabelo seSamba sinefayela elitholakala ngokuqondile, ngenkathi ngaphakathi configurator, amafayela ahlelwe ngokungaqondile ngokusebenzisa isixhumanisi sokusebenzisa umsebenzisi wasekhaya. Ngivame ukusebenzisa le njongo configurator.

Inketho 1 - isabelo seSamba

Ngemuva kokufaka i-plugin, ifayela elithi "ukucushwa.yaml" kufanele libe kwifolda:

HASSIO \\ \ wokumisa \

Ukukhetha 2 - Configurator

Ngemuva kokufaka isengezo, kuzilungiselelo zayo kwanele ukukhetha i- "Khombisa kubha eseceleni" ukufinyelela okulula kuyo kusuka kumenyu Umsizi Wekhaya. Ngaphezu kwalokho, sikhetha ifayela lokucushwa, siliguqule ngokuhambisana neminye imiyalo, bese siligcina.

Ukuze usebenzise ukuhlanganiswa kweSonoff, engeza isigaba esilandelayo kufayela lokucushwa:

sonoff: igama lomsebenzisi: [Igama lomsebenzisi kusuka ku-application yeWeLink] iphasiwedi: [Iphasiwedi evela ku-application yeWeLink] scan_interval: 60 grace_period: 600 api_region: 'eu' organ_prefix: debug True: False

Akuyona yonke imigqa yesigaba edingekayo, incazelo enemininingwane ingatholakala ekhasini lokuhlanganisa. Manje ligcina ifayela bese uqala kabusha uMsizi wakho wasekhaya.

5. Ukubuka kuqala kwamadivayisi we-Sonoff ongeziwe

Ngemuva kokuqalisa kabusha Umsizi Wasekhaya, amadivaysi ahambisanayo e-Sonoff manje kufanele atholakale kuzinkampani:

Faka:

Amathuluzi okuthuthukisa -> STATES

Amadivayisi angezwe kulokhu kuhlanganiswa Komsizi Wekhaya azoba ne- "sonoff_" ekuqaleni ngokuzenzakalelayo (ngaphandle kokuthi kuchazwe ngenye indlela ekucushweni.yaml). Ngakho-ke, ukuze ubabuke kuqala, kwanele enkundleni inhlangano qala ukuthayipha "sonoff".

6. Ukufaka ikhadi kuMsizi Wasekhaya

Kumenyu enkulu "Ukubuka konke", usebenzisa iwizadi eyakhelwe ngaphakathi noma ngokuhlela ifayili, singangezela ikhadi le-Sonoff switch.

Ukuze uthole ikhadi njengoba kukhonjisiwe esithombeni, kufayela elingaphansi kwesigaba "sokubukwa", engeza isigaba:

ukubukwa: - Isihloko: Iphaneli yesalon

isithombe: kuDomus.it


Isidlali sobuchwepheshe obusha obunemibono yabo ayikaze iphele! Uthola njalo imishini emisha yokuvivinya, aqambe izixazululo ezihlakaniphile futhi azakhe ngokwakhe. Umuntu we-orchestra naye odansa omkhulu! IHu. uthole indlela yokuxhumana newashi le-alamu lamaShayina, ngakho-ke inhlonipho;)

Iqembu lePoland Ikhaya le-Smart by SmartMe

Iqembu lasePoland Xiaomi yiSmartMe

Ama-SmartMe ukukhushulwa

Okuthunyelwe okuhlobene