Hello, I’ve been making a lot of pulled pork lately and I wanted to have a WiFi thermometer, preferably in IOBroker, yes i know here is Home Assistent but your Community is bigger
So I tried Tasmota but ended up with ESPHome.
Currently 1Max6675 and an NTC are connected and I see them in IObroker.
Now I’ve seen that I can outsource part of the automation to ESP Home.
For example, enter target temperature and then generate a true or false.
However, it doesn’t quite work that way.
I currently have a slider for the target temperature and a status that is switched.
However, these values are not displayed to me in IOBroker and I can currently only look for the current temp greater than the target temp, but I would like the current temperature in the Target Temp window to be ±5 °C.
globals:
- id: bbq_desired_temp
type: int
initial_value: "0"
number:
- platform: template
name: "BBQ_adjustment"
id: "bbq_adj"
optimistic: true
min_value: -100
initial_value: 0
max_value: 100
step: 1
- platform: template
name: "BBQ Desired Temp"
id: "bbq_temp_slider"
step: 5
min_value: 0
max_value: 250
mode: slider
optimistic: true
unit_of_measurement: "°C"
set_action:
then:
- lambda: id(bbq_desired_temp) = x;
#((x/5)-20)+100
binary_sensor:
- platform: template
name: "Garage Door Open"
lambda: |-
if (id(grill_temp).state > id(bbq_desired_temp)) {
// Garage Door is open.
return true;
} else {
// Garage Door is closed.
return false;
}
spi:
miso_pin: GPIO12
clk_pin: GPIO14
sensor:
- platform: max6675
name: "Grill Temp"
id: grill_temp
cs_pin: GPIO15
update_interval: 30s
- platform: ntc
sensor: resistance_sensor
calibration:
# b_constant: 3893.80906
# reference_temperature: 23.5°C
# reference_resistance: 105.1kOhm
- 104.500kOhm -> 23.7°C
- 48.600kOhm -> 41.5°C
- 9.500kOhm -> 88°C
name: NTC Temperature
# Example source sensors:
- platform: resistance
id: resistance_sensor
sensor: source_sensor
configuration: UPSTREAM
resistor: 98.0kOhm
reference_voltage: 3.3V
name: Resistance Sensor
- platform: adc
id: source_sensor
filters:
#- offset: 0.035
- multiply: 3.3
pin: A0
update_interval: never
switch:
- platform: gpio
pin: 16
id: ntc_vcc
interval:
- interval: 10s
then:
- switch.turn_on: ntc_vcc
- component.update: source_sensor
- switch.turn_off: ntc_vcc