MQTT(Message Queuing Telemetry Transport)は、軽量なメッセージングプロトコルで、特に低帯域幅や不安定なネットワーク環境での通信に適しています。 1.1 MQTT通信のクライアント MQTT通信ではクライアントとサーバーが存在します。クライアントにはパブリッシャ ...
MQTT is a lightweight IoT messaging protocol based on publish/subscribe model, which can provide real-time reliable messaging services for connected devices with very little code and bandwidth. It is ...
Dockerを使って自宅用MQTTサーバー(ブローカー)を立てる方法を共有します。 OSはDebian 12、MQTTサーバーは定番のMosquittoを使用します。 下記の内容で compose.yml という名前のファイルを作成します。 services: mosquitto: image: eclipse-mosquitto:latest container_name: mosquitto ...
This project demonstrates how to control a light using a web interface over MQTT (Message Queuing Telemetry Transport) and simulate an IoT device (like an ESP8266) that responds to MQTT messages.