UART commands for getting dish temperature

This commit is contained in:
2026-08-07 16:14:43 +02:00
parent ec9be8ac30
commit 053964e56c
5 changed files with 60 additions and 10 deletions
+6
View File
@@ -39,6 +39,12 @@ def mqtt_sensor_data(id_microwave, dish_temp, ambient_temp):
"ambient_temp": ambient_temp
})
def lora_sensor_data(dish_temp, ambient_temp):
return as_json({
"dish_temp": dish_temp,
"ambient_temp": ambient_temp
})
def mqtt_cooking_config(id_microwave, cook_time, power_level, target_temp):
return as_json({
"id_microwave": id_microwave,