Push POE project

This commit is contained in:
naab
2025-05-29 11:06:22 +07:00
parent 286ef3e7fe
commit ad87c01f34
12 changed files with 317 additions and 0 deletions

17
main.py Normal file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env python3
"""
Modbus to MQTT Bridge Service
This service reads temperature and humidity data from a Modbus TCP server
and publishes the data to an MQTT broker.
Usage:
python main.py
Author: POE Project
"""
from sensor_bridge import main_loop
if __name__ == "__main__":
main_loop()