Mune chinyorwa ini ndichataridza maitiro ekuwedzera zvisina kubatanidzwa kubatanidzwa (Chigadzirwa Chekushandisa) kune Mubatsiri wePamba pane muenzaniso wekubatana uchishandisa eWeLink Cloud services, uye semhedzisiro inotibvumira kudzora Sonoff zvishandiso pasina kuchinja firmware yavo.

Isu munguva pfupi yapfuura taratidza mashandisiro ekushandisa yakavakirwa IKEA Tradfri Kubatanidzwa. Nhasi tichakuratidza nzira yekuisa unofficial Kubatanidzwa.

Mubatsiri wemba ane akawanda akanyanya kusanganiswa Masangano ayo anotumirwa pamwe nawo, akagadzirira kushandiswa. Hazvitsvage kuiswa kwekuwedzera kana kugadzirisa kubva kwatiri - ivo vanogadziridzwa pamwe chete nehurongwa. Rondedzero yezvinyorwa zvese zviripo zviripo zvinogona kuwanikwa ku:

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

Kunyangwe kuunganidzwa kwakakura kudaro (parizvino 1540 kuwedzerwa), nekuda kwekumhanya kwebudiriro yenyika yeIoT, pane kudikanwa kwekugadzira zvimwe zvinosanganiswa mukati meMubatsiri weMusha, kwete kungotsigira anozotevera michina, asi zvakare ine chekuita nekushandisa kwakasiyana siyana masevhisi epa internet, algorithms, otomatiki, nezvimwe. zvitsva, zvisiri zvemubatanidzwa, zvakanyorwa neVanodzidzisa Nharaunda nharaunda. Vakadanwa Maitiro Ezvinhu. Kazhinji kazhinji marekodhi avo nemirairo zviri paGitHub portal.

Unofficial kubatanidzwa vanoiswa mune dhairekitori:

\\ dzomunharaunda \ config \ custom_components

apo zvomunharaunda, ndiyo dhairekitori yeimba yeMubatsiri wePamba. Tinofanira kutora hanya neodha yedu yeCustom Component.

Pazasi ini ndicharatidza nzira yekuwedzera isina kubatana kubatana kuMusha Mubatsiri pane muenzaniso wekubatana uchishandisa eWeLink Cloud services, uye semhedzisiro inotibvumira kudzora Sonoff zvishandiso pasina kuchinja firmware yavo. Ini ndawedzera Sonoff T4EU1C switch (isina Neutral tambo) kune eWeLink application.

Mufananidzo: Banggood

2020-01-26 13_30_24-sonoff t4eu1c

Kugadziriswa kwekuedzwa:

  • Batsirai wepamba 0.103.6,
  • Hass.io system (Raspberry Pi 2 B),
  • Samba share 9.0 kana Configurator 4.2

Zvinodiwa

  • Zvichienderana neicho chaicho ChemuCustoms, mune yedu chichava chimwe cheM Sonoff switches (TX T4EU1C modhi) yakawedzerwa kune yekutanga eWeLink application.

Chikamu chekufambira mberi:

  • Ruzivo rwekutanga rweMubatsiri weMusha runodiwa.

Sonoff kubatanidzwa

Iyo peji yekubatanidza yatichange tichishandisa inogona kuwanikwa pano:

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

Isu tinotora pasi mafaira anodiwa kubva mairi uye titsvagire mirairo yekuisa, pamwe nerondedzero yezvinotsigirwa Sonoff zvishandiso.

Nekuti iyo mubatanidzwa ne eWeLink service, kuti iite musoro, iwe unofanirwa kutanga wagadzira account mueWeLink application uye wedzera mudziyo mairi.

1. Dhawunirodha tsika inoita "HASS-sonoff-ewelink"

Isu tinoenda kune webhusaiti:

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

uye dhawunirodha .zip dura nemafaira anodiwa. Wobva wasunungura zvakachengetwa mudisiki.

2. Kutevedzera mafaera

Tine chokwadi chekuti takaisa uye tagadzirisa yekuwedzera Samba share.

Isu tinopinda mune yefaira inoongorora kune inotevera kero:

HASSIO \\ \ config \

HASSIO ndiro zita reImba Mubatsiri webhusaiti yenzvimbo iyo yatinoisa mukugadziriswa Samba share (default ndeye HASSIO). Tiri kugadzira nyowani nyowani inonzi ipapo tsika_complateuye imwezve mukati - sonoff.

Kune iyi folda:

HASSIO \\ \ config \ custom_components \ sonoff \

teedzera mafaira kubva pane yakange isati yambocherwa akachengeta "HASS-sonoff-ewelink-master.zip".

3. Inesarudzo - Tarisa kero yemuno IP kero

Sonoff's Siko Chikamu chinoshanda pane musimboti wekushandisa internet masevhisi anopiwa negore. Munyaya iyi pfungwa iyi haina basa.

Izvo zvinoitika, zvakadaro, kuti iyo yekubatanidza (yepamutemo kana kwete) inobata zvakananga kuburikidza neWiFi kune mudziyo mune yedu network network. Izvo zvinodikanwa kuti uzive kero ye IP yechishandiso ichi uye zvinokurudzirwa kupa kero iyi zvachose mune yedu router. Mune ino kesi, verenga poindi iyi.

Isu tinotarisa kero yemunharaunda IP yechishandiso chakasarudzwa chinotsigirwa neImba Mubatsiri mu router. Iyo webhusaiti ye router inowanzo kuwanikwa ku:

192.168.0.1

Iwe unogona kazhinji kuona mutsara wechigadzirwa nezita.

anoti:

  • Mune UPC's "Bhokisi Bhokisi" ma routers, tanga wabvunza iyo hotline kurodha IPv4 protocol iri kure panzvimbo yeiyo default IPv6. Pasina iyo, iwe hausi kuzowana chakakodzera chinhu mune reerer menyu.

4. Kugadziridzwa kugadzirisa.yaml

Kazhinji pane yeGitHub webhusaiti ine yakasarudzwa yekubatanidza pane bhuku rakanyorwa umo munyori anorondedzera zvakadzama chikamu icho chinofanira kuwedzerwa kune yekugadziriswa faira. Ichi chikamu chinofanira kuve chakawedzerwa kuti chishandise kubatanidzwa kwakatakurirwa kare.

faira gadziriso.yaml inogona kushandurwa, pakati pevamwe uchishandisa chokuwedzera Samba share uye Configurator. W Samba share isu tine chaiyo faira inowanikwa, nguva mukati Configurator, mafaera anogadziriswa zvisina kunanga kuburikidza neyeMubatsiri weMusha mushandisi. Ini ndinowanzo shandisa kune ichi chinangwa Configurator.

Sarudzo 1 - Samba share

Mushure mekuisa iyo plugin, iyo faira "Configital.yaml" inofanirwa kunge iri mu folda:

HASSIO \\ \ config \

Sarudzo 2 - Configurator

Mushure mekuisa iyo yekuwedzera, mumamiriro ayo akakwana kusarudza "Ratidzira muparutivi" kuti uwane nyore kupinda mairi kubva pane menyu Musha Mubatsiri. Mukuwedzera, isu tinosarudza iyo faira yekugadziriswa, kuishandura iyo zvinoenderana nemamwe ese mirairo, uye chengetedza.

Kuti uite Son Son kubatanidzwa, wedzera chikamu chinotevera kune faira yekugadziriswa:

sonoff: username: [Username kubva kuWWLink application] password: [password kubva kuEWeLink application] scan_interval: 60 Nyasha_ nguva: 600 api_region: 'eu' organ_prefix: Chokwadi dhata: Nhema

Haasi mitsara yese yechikamu anodikanwa, rondedzero yakazara inogona kuwanikwa pane peji rekubatanidza. Iye zvino chengetedza iyo faira uye wotangazve yako Musha Mubatsiri.

5. Kuongorora kwezvakawedzerwa Sonoff zvishandiso

Mushure mekutangazve Kumba Mubatsiri, zvishandiso zveSonoff zvinoenderana izvozvi zvinowanikwa muMakomendi:

Enter:

Zvishandiso zvekuvandudza -> STATES

Zvishandiso zvakawedzerwa mune ino Kubatsira Mubatsiri kumba zvichave ne "sonoff_" pakutanga nekumira (kunze kwekunge zvatsanangurwa neimwe mumisangano.yaml). Naizvozvo, kuti uzviongorore, zvakakwana mumunda isangano tanga kunyora "sonoff".

6. Kuwedzera kadhi muMusha Mubatsiri

Mune iyo menyu mikuru "Overview", uchishandisa yakavakirwa-mu wizard kana nekugadzirisa manera faira, tinogona kuwedzera Sonoff switch kadhi.

Kuti uwane kadhi sezvakaratidzwa mumufananidzo, mune iyo faira pasi pe "maonero:" chikamu, wedzera chikamu:

maonero: - musoro: Salon pani: yechokwadi nzira: salon_view makadhi: - mhando: zvimisikidzwa musoro: switchs show_header_toggle: manyepo masangano: - chisungo: switch.sonoff_1000a68535 icon: mdi: light-switch zita: 'Shandura'

mufananidzo: inDomus.it


Inonakidza yetekinoroji itsva mazano avo haangomboperi! Ari kugara achitsvaga michina mitsva yekuyedza, kugadzira smart mhinduro uye anozvivakira iye. An orchestra murume anotamba hombe! Pis. akawana nzira yekutaura neChina alarm alarm, saka ruremekedzo;)

Polish boka Smart Imba naSmartMe

Poland group Xiaomi naSmartMe

SmartMe kukwidziridzwa

Nyaya dzakabatana

Voeg

Your kero e haangazozikamwi ichibudiswa. Minda kuti inofanira kupedzwa anozivikanwa * *