Made the code more robust and universal.

This commit is contained in:
marcel
2025-08-01 17:32:53 +02:00
parent d93355098d
commit fb9de94312
11 changed files with 252 additions and 71 deletions

View File

@@ -0,0 +1,15 @@
2025-08-01 16:23 - INFO - Succesfully read the configuration from file: config.yml
2025-08-01 16:23 - INFO - Program output will be logged to file: /home/marcel/rs458.log
2025-08-01 16:23 - INFO - Sensor data will be logged to file: /home/marcel/weather_station_data.log
2025-08-01 16:23 - INFO - Using RS485 port : /dev/ttyUSB0
2025-08-01 16:23 - INFO - Succesfully read the ModBus register definitions from file: modbus_registers.yaml
2025-08-01 16:23 - INFO - Using device: Dual temperature sensor on ModBus address: 14
2025-08-01 16:23 - INFO - Using device: Dummy on ModBus address: 1
2025-08-01 16:23 - WARNING - No response from the instrument on ModBus address: 1
2025-08-01 16:24 - INFO - Succesfully read the configuration from file: config.yml
2025-08-01 16:24 - INFO - Program output will be logged to file: /home/marcel/rs458.log
2025-08-01 16:24 - INFO - Sensor data will be logged to file: /home/marcel/weather_station_data.log
2025-08-01 16:24 - INFO - Using RS485 port : /dev/ttyUSB0
2025-08-01 16:24 - INFO - Succesfully read the ModBus register definitions from file: modbus_registers.yaml
2025-08-01 16:24 - INFO - Using device: Dual temperature sensor on ModBus address: 14
2025-08-01 16:24 - INFO - Using device: Dummy on ModBus address: 1