Cov txheej txheem:

SmartThings device handler yog dab tsi?
SmartThings device handler yog dab tsi?

Video: SmartThings device handler yog dab tsi?

Video: SmartThings device handler yog dab tsi?
Video: Newest Zooz Q-Sensor (SmartThings Device Handler Tutorial) 2024, Hlis ntuj nqeg
Anonim

A Device Handler yog ib tug sawv cev ntawm aphysical ntaus ntawv hauv SmartThings platform. Nws yog lub luag haujlwm rau kev sib txuas lus ntawm qhov tseeb ntaus ntawv and cov SmartThings platform.

Xav txog qhov no, kuv yuav siv SmartThings li cas?

Nruab Cov Ntaus Ntaus Manually

  1. Mus rau My Device Handlers thiab nyem Create New DeviceHandler.
  2. Nyem rau ntawm Code tab ntawm Tsim Cov Khoom Siv Tshiab Tshiab.
  3. Nyem qhov no rau Cov Ntaus Ntaus Ntaus qhov chaws ntawm GitHub.
  4. Nyem rau ntawm lub cuab yeej Handler qhov chaws.groovy cov ntaub ntawv.

Tsis tas li ntawd, kuv yuav hloov cov cuab yeej tuav hauv SmartThings li cas? Mus rau "Kuv Cov khoom siv " tab, thiab nyem lub npe ntawm cov ntaus ntawv koj xav tau kho . Scroll tag nrho txoj kev down thiab nias " Kho kom raug ." Xaiv lub drop-down nyob rau hauv "Hom" thiab xaiv qhov yog ntaus ntawv handler . Nyem "Hloov tshiab".

Ib yam li ntawd, nws tau nug, koj sau SmartThings ntaus ntawv ua li cas?

Device Handler Installation txheej txheem

  1. Nyob rau hauv SmartThings IDE, nyem rau ntawm 'Kuv Cov Ntaus Ntaus'.
  2. Nyem qhov '+ Tsim Cov Khoom Siv Tshiab' khawm.
  3. Xaiv lub 'Los ntawm Code' tab thiab muab tshuaj txhuam rau hauv cov ntsiab lus ntawm cov ntaub ntawv groovy tseem ceeb.
  4. Nyem 'Tsim'.
  5. Nyem 'Publish' (Rau Kuv).

IDE yog dab tsi hauv SmartThings?

Cov SmartThings IDE (Integrated DevelopmentEnvironment) muab SmartThings developers nrog ib txheej oftools los tswj lawv SmartThings account, thiab tsim thiab tshaj tawm kev cai SmartApps thiab Device Handlers. Account Managment. Editor thiab Simulator. Kev sau npe.

Pom zoo: