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.

Wepamba Mubatsiri ane akawanda epamutemo Masanganiswa anouya nawo, akagadzirira kushandisa. Izvo hazvidi kuwedzerwa kumisikidzwa uye kugadzirisa - zvinovandudzwa pamwe nehurongwa. Iyo rondedzero yezvose zviripo zviripo kubatanidzwa kwepamutemo kunogona kuwanikwa pa:

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:

  • Mushandi Mubatsiri 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 yechinhu "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 mugove.

Isu tinopinda mune yefaira inoongorora kune inotevera kero:

HASSIO \\ \ config \

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

Kune iyi folda:

HASSIO \\ \ config \ custom_components \ sonoff \

teedzera mafaera kubva kune yakamboburitswa mudura "HASS-sonoff-ewelink-master.zip"

3. Inesarudzo - Kutarisa kero yeIP yepanzvimbo yechishandiso

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:

  • Mu UPC's "Unganidza Bhokisi" mairaira, tanga wabvunza hotline kuti utore IPv4 protocol uri kure pachinzvimbo cheiyo default IPv6. Pasina iyo, iwe hausi kuzowana chakakodzera chinhu mune iyo router 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 mugove uye Configurator. W Samba mugove 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 mugove

Mushure mekuisa iyo plugin, iyo faira "configuration.yaml" inofanira kunge iri mufaira:

HASSIO \\ \ config \

Sarudzo 2 - Configurator

Mushure mekuisa iyo yekuwedzera, mune ayo marongero zvakakwana kusarudza "Ratidza mubato repadivi" kuti uwane nyore kuwana kwariri kubva kumenyu 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

Midziyo yakawedzerwa mukubatanidzwa kweMubatsiri weMusha inozove ne "sonoff_" pakutanga nekukasira (kunze kwekunge zvataurwa neimwe musystem.yaml). Naizvozvo, kuti utarise ivo, zvakaringana mumunda isangano tanga kutaipa "sonoff".

6. Kuwedzera kadhi muMusha Mubatsiri

Mune iyo huru menyu "Overview", tichishandisa iyo yakavakirwa-mukati wizard kana nekugadzirisa manyore faira, tinogona kuwedzera Sonoff switch kadhi.

Kuti uwane kadhi sezvakaratidzwa mumufananidzo, mufaira iri 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

Imwe pfungwa yaifungaKuwedzera iyo Yakagadzirirwa Chero Kumubatsiri wemba"

  1. sputnik Iye anonyora, kuti:

    Izvi zvimwe hazvisi kutsigirwa zvekare uye hazvishande https://github.com/peterbuga/HASS-sonoff-ewelink.
    Ndakatora mukana nazvo https://github.com/AlexxIT/SonoffLAN.

Voeg

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