Hi, I am trying to set up an MAX6675 on a ESP8266 but all I’m getting back is a reading of 0.0000c.
I’m using the following code -
spi:
miso_pin: GPIO12
clk_pin: GPIO14
sensor:
- platform: max6675
name: "Stove Flue Temperature"
cs_pin: GPIO15
update_interval: 10s
I’m getting the following logs -
[17:02:16][C][spi:067]: SPI bus:
[17:02:16][C][spi:068]: CLK Pin: GPIO14
[17:02:16][C][spi:069]: SDI Pin: GPIO12
[17:02:16][C][spi:070]: SDO Pin:
[17:02:16][C][spi:072]: Using HW SPI: SPI
[17:02:16][C][max6675:025]: MAX6675 'Stove Flue Temperature'
[17:02:16][C][max6675:025]: Device Class: 'temperature'
[17:02:16][C][max6675:025]: State Class: 'measurement'
[17:02:16][C][max6675:025]: Unit of Measurement: '°C'
[17:02:16][C][max6675:025]: Accuracy Decimals: 1
[17:02:16][C][max6675:026]: CS Pin: GPIO15
[17:02:16][C][max6675:027]: Update Interval: 10.0s
[17:02:16][C][captive_portal:088]: Captive Portal:
[17:02:16][C][mdns:115]: mDNS:
[17:02:16][C][mdns:116]: Hostname: stove-flue-sensor
[17:02:16][C][ota:097]: Over-The-Air Updates:
[17:02:16][C][ota:098]: Address: stove-flue-sensor.local:8266
[17:02:16][C][ota:101]: Using Password.
[17:02:16][C][api:139]: API Server:
[17:02:16][C][api:140]: Address: stove-flue-sensor.local:6053
[17:02:16][C][api:142]: Using noise encryption: YES
[17:02:25][D][max6675:046]: 'Stove Flue Temperature': Got temperature=0.0°C
[17:02:25][D][sensor:093]: 'Stove Flue Temperature': Sending state 0.00000 °C with 1 decimals of accuracy
Anyone got any idea?