Closed patrickjaigner closed 1 month ago
@larsfroelich From integration. Software is starting up, looping, and writing to DB as expected.
[(1, 'MQTT_message', "{'ts': 1728450291, 'values': {'severity': 'info', 'message': 'main - Started new automation process with SW version 0.4.0-beta.1 and PID 215422. '}}"), (2, 'MQTT_message', "{'ts': 1728450291, 'values': {'severity': 'info', 'message': 'main - Initializing hardware interfaces. '}}"), (3, 'MQTT_message', "{'ts': 1728450301, 'values': {'severity': 'info', 'message': 'main - Initializing procedures. '}}"), (4, 'MQTT_message', "{'ts': 1728450301, 'values': {'severity': 'info', 'message': 'main - Successfully finished setup, starting mainloop. '}}"), (5, 'MQTT_message', "{'ts': 1728450302, 'values': {'enclosure_bme280_temperature': 26.05, 'enclosure_bme280_humidity': 32.57, 'enclosure_bme280_pressure': 946.03, 'raspi_cpu_temperature': 44.8, 'raspi_disk_usage': 0.564, 'raspi_cpu_usage':0.016, 'raspi_memory_usage': 0.111, 'ups_powered_by_grid': 1.0, 'ups_battery_is_fully_charged': 1.0, 'ups_battery_error_detected': 0.0, 'ups_battery_above_voltage_threshold': 1.0}}"), (6, 'MQTT_message', "{'ts': 1728450303, 'values': {'gmp343_raw': 0.0, 'gmp343_compensated': 0.0, 'gmp343_filtered': 0.0, 'gmp343_temperature': 25.8, 'bme280_temperature': 21.61, 'bme280_humidity': 45.12, 'bme280_pressure': 940.34, 'sht45_temperature': 21.95, 'sht45_humidity': 49.26}}"), (7, 'MQTT_message', "{'ts': 1728450313, 'values': {'gmp343_raw': 415.4, 'gmp343_compensated': 464.3, 'gmp343_filtered': 459.8, 'gmp343_temperature': 25.7, 'bme280_temperature': 21.61, 'bme280_humidity': 45.12, 'bme280_pressure': 943.25, 'sht45_temperature': 21.95, 'sht45_humidity': 49.25}}"), (8, 'MQTT_message', "{'ts': 1728450323, 'values': {'gmp343_raw': 407.5, 'gmp343_compensated': 463.8, 'gmp343_filtered': 463.5, 'gmp343_temperature': 25.7, 'bme280_temperature': 21.61, 'bme280_humidity': 45.13, 'bme280_pressure': 942.02, 'sht45_temperature': 21.95, 'sht45_humidity': 49.21}}")]
Create MVP without MQTT logic