Cov txheej txheem:

WLED (ntawm ESP8266) + IFTTT + Google Assistant: 5 Kauj Ruam
WLED (ntawm ESP8266) + IFTTT + Google Assistant: 5 Kauj Ruam

Video: WLED (ntawm ESP8266) + IFTTT + Google Assistant: 5 Kauj Ruam

Video: WLED (ntawm ESP8266) + IFTTT + Google Assistant: 5 Kauj Ruam
Video: GARAGENTOR MIT SPRACHSTEUERUNG BEDIENEN (ESP/D1 mini) 2024, Hlis ntuj nqeg
Anonim
WLED (ntawm ESP8266) + IFTTT + Google Assistant
WLED (ntawm ESP8266) + IFTTT + Google Assistant

Cov ntawv qhia no yuav ua rau koj pib siv IFTTT thiab Google Assistant rau WLED ntawm ESP8266.

Txhawm rau teeb tsa koj li WLED & ESP8266, ua raws phau ntawv qhia no ntawm tynick:

tynick.com/blog/11-03-2019/getting-started…

Qhib rau Aircookie rau cov software zoo li no!

Khoom siv:

WLED khiav ESP8266, nodeMCU, lossis zoo sib xws. IFTTT AccountGoogle Assistant thiab/lossis Google Tsev Devices

Kauj Ruam 1: Qhib Chaw Nres Nkoj ntawm Koj Lub Router

Qhib Chaw Nres Nkoj ntawm Koj Lub Router
Qhib Chaw Nres Nkoj ntawm Koj Lub Router
  • Txhawm rau IFTTT nkag mus rau koj li ESP8266, koj yuav tsum qhib qhov chaw nres nkoj mus rau ntiaj teb sab nrauv.
  • Koj li WLED app yuav qhia koj tias IP chaw nyob yog dab tsi rau koj ESP8266.
  • Xaiv qhov tsis muaj tus qauv txheem rau sab nrauv (piv txwv li. 20015, 32265 thiab lwm yam) thiab chaw nres nkoj 80 ntawm qhov chaw nres nkoj sab hauv.
  • Thov saib koj cov lus qhia routers ntawm teeb tsa chaw nres nkoj xa mus.
  • *Nws tsis pom zoo kom siv lub chaw nres nkoj default 80 qhib rau ntiaj teb sab nraud*

Kauj Ruam 2: Tsim IFTTT Ua Rau W/ Google Assistant

Tsim IFTTT Ua Rau W/ Google Assistant
Tsim IFTTT Ua Rau W/ Google Assistant
Tsim IFTTT Ua Rau W/ Google Assistant
Tsim IFTTT Ua Rau W/ Google Assistant
Tsim IFTTT Ua Rau W/ Google Assistant
Tsim IFTTT Ua Rau W/ Google Assistant

*Nco tseg: IFTTT yuav hais kom koj txuas koj li Google Account thiab muab kev tso cai rau IFTTT*

  • Sau npe nrog IFTTT ntawm IFTTT.com
  • Nyem Tsim nyob rau sab xis saum toj kawg nkaus.
  • Nyem "Yog Qhov No (Ntxiv)" nrog keeb kwm yav dhau dub.
  • Tshawb nrhiav "Google Assistant" thiab nyem "Google Assistant"
  • Nyem "Hais cov kab lus yooj yim" nrog keeb kwm yav dhau dub.

Kauj Ruam 3: IFTTT - Teeb Google Assistant

IFTTT - Teeb tsa Google Assistant
IFTTT - Teeb tsa Google Assistant
  • Hauv qab "Koj xav hais dab tsi?"

    Sau cov lus txib uas koj yuav hais tom qab "OK, Google …" Piv txwv: Nkag mus "Qhib lub hli" yog tias koj kab lus "OK, Google. Qhib lub hli."

  • Hauv qab "Dab tsi yog lwm txoj hauv kev los hais nws? (Xaiv tau)"

    Nkag mus rau lo lus txib thib ob uas koj yuav hais tom qab "OK, Google …" Piv txwv: Nkag mus "lub hli rau" yog tias koj kab lus "OK, Google. Lub hli."

  • Hauv qab "Thiab lwm txoj kev? (Xaiv tau)"

    Nkag mus rau lo lus txib thib ob uas koj yuav hais tom qab "OK, Google …" Piv txwv: Nkag mus "Qhib lub hli" yog tias koj kab lus "OK, Google. Tig lub hli."

  • Hauv qab "Koj xav kom Tus Pabcuam hais dab tsi?"

    Sau qhov koj xav kom Google Assistant hais rau koj. Piv txwv: “OK. Ua "lossis" Tau txais "lossis" Tig rau lub hli"

  • Xaiv koj hom lus.
  • Nyem "Tsim tus txhais

Kauj Ruam 4: IFTTT - Webhooks

IFTTT - Webhooks
IFTTT - Webhooks
IFTTT - Webhooks
IFTTT - Webhooks
  • Nyem Tom Qab ntawd (Ntxiv) nrog Dub tom qab
  • Tshawb nrhiav "Webhooks" thiab nyem "Webhooks"
  • Nyem "Ua lub vev xaib thov"

Kauj Ruam 5: Teeb Web Thov ntawm IFTTT & Ua tiav

Teeb Web Thov ntawm IFTTT & Ua tiav
Teeb Web Thov ntawm IFTTT & Ua tiav
Teeb Web Thov ntawm IFTTT & Ua tiav
Teeb Web Thov ntawm IFTTT & Ua tiav
  • Rau URL, nkag mus [Sab Nraud IP Chaw Nyob]: [Chaw nres nkoj] /yeej [xaiv rau qhov ua rau]
  • Piv txwv: Txhawm rau qhib lub LED thiab teeb xim kom dawb: [Sab Nraud IP Chaw Nyob]: [Chaw nres nkoj]/yeej & T = 1 & A = 128 & R = 255 & G = 255 & B = 255

    Tsuas yog txuas ntxiv koj li GET hlua nrog & {parameter} = {value}

  • Rau "Txoj Kev", xaiv "GET"
  • Rau "Cov Ntsiab Lus Hom", xaiv "daim ntawv thov/x-www-form-urlencoded"
  • Lub cev tsis nyob twj ywm.
  • Nyem "Tsim Ua" khawm.
  • Nyem Mus Ntxiv
  • Nyem tag.
  • Tom qab IFTTT hais tias "Txuas", sim koj cov kab lus tshiab los ntawm kev hais tias "OK, Google. [Kab lus tshiab]"

Piv txwv piav qhia & tsis (FYI, tsis yog cov ntaub ntawv rhiab. semicolon (ie: 28956) ntxiv /yeej tom qab qhov chaw nres nkoj (piv txwv: 28956 /yeej) & T = 1 || T txhais tau tias Toggle || 0 (tawm), 1 (rau), 2 (toggle on/off) & A = 128 || Ib qho txhais tau tias Brightness || tus nqi 0-255 (128 = 50% ci ntsa iab) & R = 255 || R txhais tau tias Red Channel || tus nqi 0-255 & G = 255 || G txhais tau tias Green Channel || tus nqi 0-255 & B = 255 || B txhais tau tias Blue Channel || tus nqi 0-255

Saib ntau qhov ntsuas ntawm Aircookie's Wiki suav nrog kev teeb tsa ua ntej thiab cov teebmeem LED …

Pom zoo: