UART commands for getting dish temperature
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user