How yasnxx/home-assistant-mqtt-assignment works
This small project publishes a fixed JSON sensor payload every five seconds. The user starts the Python publisher, which sends retained MQTT messages to Mosquitto; Home Assistant reads the topic through an MQTT sensor. The publisher-to-broker interaction is visible in source. The README documents the broker and sensor workflow, but Home Assistant configuration is not present in the repository.
Main entry points: mqtt_publish.py MQTT Publisher
Components 4
Other components
- User
- MQTT Publisher
mqtt_publish.py - Mosquitto Broker
- Home Assistant Sensor
Connections 3
- User → MQTT Publisher: runs
README.md - MQTT Publisher → Mosquitto Broker: publishes payload
mqtt_publish.py - Mosquitto Broker → Home Assistant Sensor: provides messages
README.md