Yes, the oven seems to be playing up. Luckily it's just gone out of (5 year) warranty, so it's down to me to diagnose and fix it. It cost £400 5 years ago, so is close to worthless ie it would grieve my Scottish-bloodied Yorkshireness to pay for a Samsung "engineer" to come out a fix it, apart from being a writeoff from a financial point of view.
So although I've currently got a process (PID) controller and K type thermocouple monitoring the temperature, this only gives me live readings, by eye, when I'm in the kitchen. Obvs it would be more helpful to be able to monitor the temperature remotely and log it against time. So, a remote sensor connected to Home Assistant might sound like the right solution.
I've got a variety of ESP32 modules, mainly C3 and S3 flavours. These have USB-C for power and both wifi and Bluetooth, so I can simply(?) power them up and connect them into Home Assistant. Then I can create a record of the temperature against time.
I found a couple of ESP32-S3-Zero (thumbnail size), so I'll use one of them. To acquire the temperature, I can connect a MAX31856 breakout board ("shield"?) using SPI and
| MAX31855 (ADA269) | MAX31856 (ADA3263) | |
|---|---|---|
| Thermocouple types | K only | K, J, N, R, S, T, E, B |
| Resolution | 0.25°C | ~0.008°C |
| Mains noise filter | No | Yes, selectable 50/60 Hz |
| Configuration | None, read-only | Thermocouple type, filter, fault thresholds |
| SPI wiring | 3 data wires (MISO, CLK, CS) | 4 data wires (adds MOSI) |
esp32:board: esp32-s3-devkitc-1flash_size: 4MBframework:type: esp-idfcaptive_portal:spi:clk_pin: GPIO4miso_pin: GPIO5mosi_pin: GPIO6sensor:- platform: max31856name: "Oven Temperature"cs_pin: GPIO7mains_filter: 50Hzupdate_interval: 10s- platform: wifi_signalname: "Oven Monitor WiFi Signal"update_interval: 60s
Unplugging it and powering it up from any USB-C supply gets it up and running, connected to HA over wifi. Of course, without the thermocouple board connected up, it reports a constant 0C.
In HA, I want a dashboard that shows the oven temp, so I went over to the embedded Claude agent within HA (ie living on the Raspberry Pi) and asked:
"i've just added oven-monitor. i want to use it to log oven temperature every minute and show the trend on a graph. range 20-250c, timescale - the last 20 mins. the thermocouple isn't connected yet but i will get it tomorrow. set this up so it's ready and working."
And here it is:
Looks good to me. I can mess with the axis limits later.
| MAX31856 | S3-Zero |
|---|---|
| VIN | 3V3 |
| GND | GND |
| SCK | GPIO4 |
| SDO | GPIO5 |
| SDI | GPIO6 |
| CS | GPIO7 |
Avoid GPIO0 (boot button), GPIO21 (the onboard RGB LED) and GPIO19/20 (USB).


No comments:
Post a Comment