Cov txheej txheem:

MQTT tus pab hauv tsev yog dab tsi?
MQTT tus pab hauv tsev yog dab tsi?

Video: MQTT tus pab hauv tsev yog dab tsi?

Video: MQTT tus pab hauv tsev yog dab tsi?
Video: Народный MQTT Broker на ESP8266. uMQTTBroker. 2024, Kaum ib hlis
Anonim

MQTT (aka MQ Telemetry Transport) yog lub tshuab-rau-machine lossis "Internet of Things" kev sib txuas lus nyob rau sab saum toj ntawm TCP / IP. Nws tso cai rau lub teeb hnyav heev tshaj tawm / sau npe xa xov xa mus. Ua ke MQTT rau hauv Tus Pabcuam Hauv Tsev , ntxiv cov ntu hauv qab no rau koj qhov kev teeb tsa.

Ntxiv mus, kuv yuav ua li cas ntxiv ib lub cuab yeej rau tus pab hauv tsev?

Ntxiv cov khoom siv tsis ruaj ntseg

  1. Mus rau Z-Wave tswj vaj huam sib luag nyob rau hauv Home Assistant frontend.
  2. Nyem qhov Ntxiv Node khawm hauv Z-Wave Network Management card - qhov no yuav tso tus maub los rau hauv hom kev suav nrog.
  3. Qhib koj lub cuab yeej kom suav nrog los ntawm kev ua raws li cov lus qhia muab nrog lub cuab yeej.

Tsis tas li ntawd, kuv yuav teeb tsa MQTT broker li cas? Teeb tsa MQTT Broker ntawm Lub Zos Hauv Zos Siv Mosquitto

  1. Qhib lub qhov rais tshiab Linux davhlau ya nyob twg.
  2. Nruab yoov tshaj cum yog tias koj tsis tau teeb tsa.
  3. Tsim ib lub ncauj lus thiab sau npe rau nws nrog mosquitto_sub hais kom ua.
  4. Txheeb xyuas tias Kev Txhim Kho Computer txuas nrog tib lub network li Gateway.

Vim li cas peb thiaj xav tau MQTT?

MQTT Nws yog qhov tseem ceeb heev kom tsis txhob muab cov kev pabcuam hauv lub vev xaib thiab cov sockets thoob plaws koj lub servers. Node-RED siv MQTT thiab Domoticz tuaj yeem teeb tsa kom nkag mus thiab teeb tsa cov teeb liab. MQ Telemetry Transport Protocol hu ua MQTT yog tsim los rau cov khoom siv uas khiav ntawm lub zog qis thiab qis bandwidth.

MQTT broker yog dab tsi?

Ib MQTT broker yog a server uas tau txais tag nrho cov lus los ntawm cov neeg siv khoom thiab tom qab ntawd xa cov lus mus rau cov neeg siv khoom tsim nyog. Ib MQTT tus neeg siv khoom yog txhua yam khoom siv (los ntawm micro maub los txog rau qhov puv-fledged server ) uas khiav ib MQTT tsev qiv ntawv thiab txuas mus rau ib qho MQTT broker ntawm ib lub network.

Pom zoo: