Open ESP32andmore opened 1 month ago
Nothing changed in .7.x, so it's something else.
What is in the logs for the one_wire:
section?
Samuel, Attached are two logs from same board and sensors programmed with .6.x and .7.x back to back .7.x , the one-wire component finds no devices:
[08:42:06][C][gpio.one_wire:020]: GPIO 1-wire bus: [08:42:06][C][gpio.one_wire:021]: Pin: GPIO27 [08:42:06][W][gpio.one_wire:078]: Found no devices!
.6.x, does find the sensors:
[08:59:57][C][gpio.one_wire:020]: GPIO 1-wire bus: [08:59:57][C][gpio.one_wire:021]: Pin: GPIO27 [08:59:57][C][gpio.one_wire:080]: Found devices:
From: Samuel Sieb @.> Sent: Sunday, August 4, 2024 5:21 PM To: esphome/issues @.> Cc: ESP32andmore @.>; Author @.> Subject: Re: [esphome/issues] 2024.7.3 Broke Platform Dallas_temp (Issue #6119)
Nothing changed in .7.x. What was the last version that worked? What is in the logs for the one_wire: section?
— Reply to this email directly, view it on GitHubhttps://github.com/esphome/issues/issues/6119#issuecomment-2267691066, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKCWDYU2VAUIZEDG4MTUKM3ZP2LO3AVCNFSM6AAAAABL7A5GG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGY4TCMBWGY. You are receiving this because you authored the thread.Message ID: @.***>
[08:59:57][I][app:100]: ESPHome version 2024.6.6 compiled on Jul 7 2024, 23:46:33
[08:59:57][C][wifi:427]: Local MAC: 08:A6:F7:54:0E:BC [08:59:57][C][wifi:432]: SSID: 'hill'[redacted] [08:59:57][C][wifi:435]: IP Address: 192.168.0.67 [08:59:57][C][wifi:439]: BSSID: 68:7F:F0:00:80:B3[redacted]
[08:59:57][C][wifi:442]: Signal strength: -53 dB ▂▄▆█ [08:59:57][C][wifi:446]: Channel: 11 [08:59:57][C][wifi:447]: Subnet: 255.255.255.0 [08:59:57][C][wifi:448]: Gateway: 192.168.0.1 [08:59:57][C][wifi:449]: DNS1: 192.168.0.1 [08:59:57][C][wifi:450]: DNS2: 8.8.8.8
[08:59:57][C][logger:186]: Level: DEBUG [08:59:57][C][logger:188]: Log Baud Rate: 115200 [08:59:57][C][logger:189]: Hardware UART: UART0 [08:59:57][C][i2c.arduino:071]: I2C Bus: [08:59:57][C][i2c.arduino:072]: SDA Pin: GPIO21 [08:59:57][C][i2c.arduino:073]: SCL Pin: GPIO22 [08:59:57][C][i2c.arduino:074]: Frequency: 50000 Hz [08:59:57][C][i2c.arduino:086]: Recovery: bus successfully recovered [08:59:57][C][i2c.arduino:071]: I2C Bus: [08:59:57][C][i2c.arduino:072]: SDA Pin: GPIO16 [08:59:57][C][i2c.arduino:073]: SCL Pin: GPIO17 [08:59:57][C][i2c.arduino:074]: Frequency: 800000 Hz [08:59:57][C][i2c.arduino:086]: Recovery: bus successfully recovered [08:59:57][C][gpio.one_wire:020]: GPIO 1-wire bus: [08:59:57][C][gpio.one_wire:021]: Pin: GPIO27 [08:59:57][C][gpio.one_wire:080]: Found devices:
[08:59:57][C][template.number:050]: Template Number 'AVfan1 Target Temp 1' [08:59:57][C][template.number:050]: Unit of Measurement: '°C' [08:59:57][C][template.number:050]: Device Class: 'temperature' [08:59:57][C][template.number:051]: Optimistic: YES [08:59:57][C][template.number:052]: Update Interval: 60.0s [08:59:57][C][template.number:050]: Template Number 'AVfan1 Target Temp 2' [08:59:57][C][template.number:050]: Unit of Measurement: '°C' [08:59:57][C][template.number:050]: Device Class: 'temperature' [08:59:57][C][template.number:051]: Optimistic: YES [08:59:57][C][template.number:052]: Update Interval: 60.0s [08:59:57][C][template.number:050]: Template Number 'AVfan1 Target Temp 3' [08:59:57][C][template.number:050]: Unit of Measurement: '°C' [08:59:57][C][template.number:050]: Device Class: 'temperature' [08:59:57][C][template.number:051]: Optimistic: YES [08:59:57][C][template.number:052]: Update Interval: 60.0s [08:59:57][C][template.number:050]: Template Number 'AVfan1 Target Temp 4' [08:59:57][C][template.number:050]: Unit of Measurement: '°C' [08:59:57][C][template.number:050]: Device Class: 'temperature' [08:59:57][C][template.number:051]: Optimistic: YES [08:59:57][C][template.number:052]: Update Interval: 60.0s [08:59:57][C][template.number:050]: Template Number 'AVfan1 Alarm Temp' [08:59:57][C][template.number:050]: Unit of Measurement: '°C' [08:59:57][C][template.number:050]: Device Class: 'temperature' [08:59:57][C][template.number:051]: Optimistic: YES [08:59:57][C][template.number:052]: Update Interval: 60.0s [08:59:57][D][dallas.temp.sensor:054]: 'AVfan1 Temperature 4': Got Temperature=26.8°C [08:59:57][D][sensor:094]: 'AVfan1 Temperature 4': Sending state 26.81250 °C with 1 decimals of accuracy [08:59:57][D][light:036]: 'AVfan1 Alarm Light' Setting: [08:59:57][D][light:085]: Transition length: 1.0s [08:59:57][D][fan:021]: 'AVfan1 Fan4 Speed' - Setting: [08:59:57][D][fan:024]: State: ON [08:59:57][D][fan:030]: Speed: 16 [08:59:57][D][fan:120]: 'AVfan1 Fan4 Speed' - Sending state: [08:59:57][D][fan:121]: State: ON [08:59:57][D][fan:123]: Speed: 16 [08:59:57][W][component:237]: Component dallas_temp.sensor took a long time for an operation (59 ms). [08:59:57][W][component:238]: Components should block for at most 30 ms. [08:59:57][C][switch.gpio:068]: GPIO Switch 'AVfan1 Relay 0' [08:59:57][C][switch.gpio:091]: Restore Mode: restore defaults to OFF [08:59:57][C][switch.gpio:031]: Pin: GPIO18 [08:59:57][D][pulse_counter:174]: 'AVfan1 Mon 1': Retrieved counter: 0.00 pulses/min [08:59:57][D][sensor:094]: 'AVfan1 Mon 1': Sending state 0.00000 rpm with 2 decimals of accuracy [08:59:57][D][dallas.temp.sensor:054]: 'AVfan1 Temperature 3': Got Temperature=26.8°C [08:59:57][D][sensor:094]: 'AVfan1 Temperature 3': Sending state 26.81250 °C with 1 decimals of accuracy [08:59:57][D][light:036]: 'AVfan1 Alarm Light' Setting: [08:59:57][D][light:085]: Transition length: 1.0s [08:59:57][D][fan:021]: 'AVfan1 Fan3 Speed' - Setting: [08:59:57][D][fan:024]: State: ON [08:59:57][D][fan:030]: Speed: 16 [08:59:57][D][fan:120]: 'AVfan1 Fan3 Speed' - Sending state: [08:59:57][D][fan:121]: State: ON [08:59:57][D][fan:123]: Speed: 16 [08:59:57][W][component:237]: Component dallas_temp.sensor took a long time for an operation (59 ms). [08:59:57][W][component:238]: Components should block for at most 30 ms. [08:59:57][C][switch.gpio:068]: GPIO Switch 'AVfan1 OC Port' [08:59:57][C][switch.gpio:091]: Restore Mode: always ON [08:59:57][C][switch.gpio:031]: Pin: GPIO26 [08:59:57][D][dallas.temp.sensor:054]: 'AVfan1 Temperature 2': Got Temperature=26.7°C [08:59:57][D][sensor:094]: 'AVfan1 Temperature 2': Sending state 26.68750 °C with 1 decimals of accuracy [08:59:57][D][light:036]: 'AVfan1 Alarm Light' Setting: [08:59:57][D][light:085]: Transition length: 1.0s [08:59:57][D][fan:021]: 'AVfan1 Fan2 Speed' - Setting: [08:59:57][D][fan:024]: State: ON [08:59:57][D][fan:030]: Speed: 14 [08:59:57][D][fan:120]: 'AVfan1 Fan2 Speed' - Sending state: [08:59:57][D][fan:121]: State: ON [08:59:57][D][fan:123]: Speed: 14 [08:59:57][W][component:237]: Component dallas_temp.sensor took a long time for an operation (58 ms). [08:59:57][W][component:238]: Components should block for at most 30 ms. [08:59:57][C][ledc.output:176]: LEDC Output: [08:59:57][C][ledc.output:177]: Pin GPIO13 [08:59:57][C][ledc.output:178]: LEDC Channel: 0 [08:59:57][C][ledc.output:179]: PWM Frequency: 25600.0 Hz [08:59:57][C][ledc.output:180]: Phase angle: 0.0° [08:59:57][C][ledc.output:181]: Bit depth: 11 [08:59:57][C][ledc.output:176]: LEDC Output: [08:59:57][C][ledc.output:177]: Pin GPIO14 [08:59:57][C][ledc.output:178]: LEDC Channel: 1 [08:59:58][C][ledc.output:179]: PWM Frequency: 25600.0 Hz [08:59:58][C][ledc.output:180]: Phase angle: 0.0° [08:59:58][C][ledc.output:181]: Bit depth: 11 [08:59:58][C][ledc.output:176]: LEDC Output: [08:59:58][C][ledc.output:177]: Pin GPIO25 [08:59:58][C][ledc.output:178]: LEDC Channel: 2 [08:59:58][C][ledc.output:179]: PWM Frequency: 25600.0 Hz [08:59:58][C][ledc.output:180]: Phase angle: 0.0° [08:59:58][C][ledc.output:181]: Bit depth: 11 [08:59:58][C][ledc.output:176]: LEDC Output: [08:59:58][C][ledc.output:177]: Pin GPIO32 [08:59:58][C][ledc.output:178]: LEDC Channel: 3 [08:59:58][C][ledc.output:179]: PWM Frequency: 25600.0 Hz [08:59:58][C][ledc.output:180]: Phase angle: 0.0° [08:59:58][C][ledc.output:181]: Bit depth: 11 [08:59:58][C][ledc.output:176]: LEDC Output: [08:59:58][C][ledc.output:177]: Pin GPIO2 [08:59:58][C][ledc.output:178]: LEDC Channel: 4 [08:59:58][C][ledc.output:179]: PWM Frequency: 1000.0 Hz [08:59:58][C][ledc.output:180]: Phase angle: 0.0° [08:59:58][C][ledc.output:181]: Bit depth: 16 [08:59:58][C][uptime.sensor:031]: Uptime Sensor 'AVfan1 Uptime' [08:59:58][C][uptime.sensor:031]: Device Class: 'duration' [08:59:58][C][uptime.sensor:031]: State Class: 'total_increasing' [08:59:58][C][uptime.sensor:031]: Unit of Measurement: 's' [08:59:58][C][uptime.sensor:031]: Accuracy Decimals: 0
[08:59:58][C][template.sensor:022]: Template Sensor 'AVfan1 CPU Speed' [08:59:58][C][template.sensor:022]: State Class: '' [08:59:58][C][template.sensor:022]: Unit of Measurement: 'Mhz' [08:59:58][C][template.sensor:022]: Accuracy Decimals: 0 [08:59:58][C][template.sensor:023]: Update Interval: 60.0s [08:59:58][C][template.sensor:022]: Template Sensor 'AVfan1 ESP Temperature' [08:59:58][C][template.sensor:022]: Device Class: 'temperature' [08:59:58][C][template.sensor:022]: State Class: '' [08:59:58][C][template.sensor:022]: Unit of Measurement: '°C' [08:59:58][C][template.sensor:022]: Accuracy Decimals: 1 [08:59:58][C][template.sensor:023]: Update Interval: 30.0s [08:59:58][C][template.text_sensor:020]: Template Sensor 'AVfan1 Device Sensor' [08:59:58][C][template.binary_sensor:028]: Template Binary Sensor 'AVfan1 Alarm'
[08:59:58][C][light:105]: Default Transition Length: 1.0s [08:59:58][C][light:106]: Gamma Correct: 2.80 [08:59:58][C][template.switch:068]: Template Switch 'AVfan1 Fan1 Auto Mode' [08:59:58][C][template.switch:091]: Restore Mode: restore defaults to ON [08:59:58][C][template.switch:057]: Optimistic: YES [08:59:58][C][template.switch:068]: Template Switch 'AVfan1 Fan2 Auto Mode' [08:59:58][C][template.switch:091]: Restore Mode: restore defaults to ON [08:59:58][C][template.switch:057]: Optimistic: YES [08:59:58][C][template.switch:068]: Template Switch 'AVfan1 Fan3 Auto Mode' [08:59:58][C][template.switch:091]: Restore Mode: restore defaults to ON [08:59:58][C][template.switch:057]: Optimistic: YES [08:59:58][C][template.switch:068]: Template Switch 'AVfan1 Fan4 Auto Mode' [08:59:58][C][template.switch:091]: Restore Mode: restore defaults to ON [08:59:58][C][template.switch:057]: Optimistic: YES [08:59:58][C][restart:068]: Restart Switch 'AVfan1 Restart'
[08:59:58][C][restart:091]: Restore Mode: always OFF
[08:59:58][C][aht10:161]: Address: 0x38
[08:59:58][C][aht10:165]: Device Class: 'temperature' [08:59:58][C][aht10:165]: State Class: 'measurement' [08:59:58][C][aht10:165]: Unit of Measurement: '°C' [08:59:58][C][aht10:165]: Accuracy Decimals: 2
[08:59:58][C][aht10:166]: Device Class: 'humidity' [08:59:58][C][aht10:166]: State Class: 'measurement' [08:59:58][C][aht10:166]: Unit of Measurement: '%' [08:59:58][C][aht10:166]: Accuracy Decimals: 2 [08:59:58][D][dallas.temp.sensor:054]: 'AVfan1 Temperature 1': Got Temperature=26.5°C [08:59:58][D][sensor:094]: 'AVfan1 Temperature 1': Sending state 26.50000 °C with 1 decimals of accuracy [08:59:58][D][light:036]: 'AVfan1 Alarm Light' Setting: [08:59:58][D][light:085]: Transition length: 1.0s [08:59:58][D][fan:021]: 'AVfan1 Fan1 Speed' - Setting: [08:59:58][D][fan:024]: State: ON [08:59:58][D][fan:030]: Speed: 10 [08:59:58][D][fan:120]: 'AVfan1 Fan1 Speed' - Sending state: [08:59:58][D][fan:121]: State: ON [08:59:58][D][fan:123]: Speed: 10 [08:59:58][W][component:237]: Component dallas_temp.sensor took a long time for an operation (59 ms). [08:59:58][W][component:238]: Components should block for at most 30 ms. [08:59:58][C][pulse_counter:160]: Pulse Counter 'AVfan1 Mon 1' [08:59:58][C][pulse_counter:160]: State Class: 'measurement' [08:59:58][C][pulse_counter:160]: Unit of Measurement: 'rpm' [08:59:58][C][pulse_counter:160]: Accuracy Decimals: 2
[08:59:58][C][pulse_counter:161]: Pin: GPIO33 [08:59:58][C][pulse_counter:162]: Rising Edge: INCREMENT [08:59:58][C][pulse_counter:163]: Falling Edge: DISABLE [08:59:58][C][pulse_counter:164]: Filtering pulses shorter than 13 µs [08:59:58][C][pulse_counter:165]: Update Interval: 5.0s [08:59:58][C][pulse_counter:160]: Pulse Counter 'AVfan1 Mon 2' [08:59:58][C][pulse_counter:160]: State Class: 'measurement' [08:59:58][C][pulse_counter:160]: Unit of Measurement: 'rpm' [08:59:58][C][pulse_counter:160]: Accuracy Decimals: 2
[08:59:58][C][pulse_counter:161]: Pin: GPIO34 [08:59:58][C][pulse_counter:162]: Rising Edge: INCREMENT [08:59:58][C][pulse_counter:163]: Falling Edge: DISABLE [08:59:59][C][pulse_counter:164]: Filtering pulses shorter than 13 µs [08:59:59][C][pulse_counter:165]: Update Interval: 5.0s [08:59:59][C][pulse_counter:160]: Pulse Counter 'AVfan1 Mon 3' [08:59:59][C][pulse_counter:160]: State Class: 'measurement' [08:59:59][C][pulse_counter:160]: Unit of Measurement: 'rpm' [08:59:59][C][pulse_counter:160]: Accuracy Decimals: 2
[08:59:59][C][pulse_counter:161]: Pin: GPIO35 [08:59:59][C][pulse_counter:162]: Rising Edge: INCREMENT [08:59:59][C][pulse_counter:163]: Falling Edge: DISABLE [08:59:59][C][pulse_counter:164]: Filtering pulses shorter than 13 µs [08:59:59][C][pulse_counter:165]: Update Interval: 5.0s [08:59:59][C][pulse_counter:160]: Pulse Counter 'AVfan1 Mon 4' [08:59:59][C][pulse_counter:160]: State Class: 'measurement' [08:59:59][C][pulse_counter:160]: Unit of Measurement: 'rpm' [08:59:59][C][pulse_counter:160]: Accuracy Decimals: 2
[08:59:59][C][pulse_counter:161]: Pin: GPIO39 [08:59:59][C][pulse_counter:162]: Rising Edge: INCREMENT [08:59:59][C][pulse_counter:163]: Falling Edge: DISABLE [08:59:59][C][pulse_counter:164]: Filtering pulses shorter than 13 µs [08:59:59][C][pulse_counter:165]: Update Interval: 5.0s [08:59:59][C][speed.fan:021]: Speed Fan 'AVfan1 Fan1 Speed' [08:59:59][C][speed.fan:192]: Speed: YES [08:59:59][C][speed.fan:193]: Speed count: 100 [08:59:59][D][pulse_counter:174]: 'AVfan1 Mon 4': Retrieved counter: 0.00 pulses/min [08:59:59][D][sensor:094]: 'AVfan1 Mon 4': Sending state 0.00000 rpm with 2 decimals of accuracy [08:59:59][C][speed.fan:021]: Speed Fan 'AVfan1 Fan2 Speed' [08:59:59][C][speed.fan:192]: Speed: YES [08:59:59][C][speed.fan:193]: Speed count: 100 [08:59:59][C][speed.fan:021]: Speed Fan 'AVfan1 Fan3 Speed' [08:59:59][C][speed.fan:192]: Speed: YES [08:59:59][C][speed.fan:193]: Speed count: 100 [08:59:59][C][speed.fan:021]: Speed Fan 'AVfan1 Fan4 Speed' [08:59:59][C][speed.fan:192]: Speed: YES [08:59:59][C][speed.fan:193]: Speed count: 100 [08:59:59][C][version.text_sensor:021]: Version Text Sensor 'AVfan1 Version'
[08:59:59][C][wifi_info:013]: WifiInfo Mac Address 'AVfan1 Mac Wifi Address' [08:59:59][C][status:034]: Status Binary Sensor 'AVfan1 Status' [08:59:59][C][status:034]: Device Class: 'connectivity' [08:59:59][D][sntp:073]: Synchronized time: 2024-08-05 08:59:57 [08:59:59][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [08:59:59][C][dallas.temp.sensor:034]: Address: 0xc13c01f09642c928 (DS18B20) [08:59:59][C][dallas.temp.sensor:035]: Resolution: 12 bits [08:59:59][C][dallas.temp.sensor:036]: Update Interval: 2.0s [08:59:59][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [08:59:59][C][dallas.temp.sensor:034]: Address: 0x783c0af6490d3628 (DS18B20) [08:59:59][C][dallas.temp.sensor:035]: Resolution: 12 bits [08:59:59][C][dallas.temp.sensor:036]: Update Interval: 2.0s [08:59:59][D][pulse_counter:174]: 'AVfan1 Mon 2': Retrieved counter: 0.00 pulses/min [08:59:59][D][sensor:094]: 'AVfan1 Mon 2': Sending state 0.00000 rpm with 2 decimals of accuracy [08:59:59][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [08:59:59][C][dallas.temp.sensor:034]: Address: 0x043c6ef649772f28 (DS18B20) [08:59:59][C][dallas.temp.sensor:035]: Resolution: 12 bits [08:59:59][C][dallas.temp.sensor:036]: Update Interval: 2.0s [08:59:59][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [08:59:59][C][dallas.temp.sensor:034]: Address: 0x8b3ca8f64935b228 (DS18B20) [08:59:59][C][dallas.temp.sensor:035]: Resolution: 12 bits [08:59:59][C][dallas.temp.sensor:036]: Update Interval: 2.0s [08:59:59][C][ssd1306_i2c:023]: I2C SSD1306 [08:59:59][C][ssd1306_i2c:023]: Rotations: 0 ° [08:59:59][C][ssd1306_i2c:023]: Dimensions: 128px x 64px [08:59:59][C][ssd1306_i2c:024]: Address: 0x3D [08:59:59][C][ssd1306_i2c:025]: Model: SSD1306 128x64 [08:59:59][C][ssd1306_i2c:027]: External VCC: NO [08:59:59][C][ssd1306_i2c:028]: Flip X: YES [08:59:59][C][ssd1306_i2c:029]: Flip Y: YES [08:59:59][C][ssd1306_i2c:030]: Offset X: 0 [08:59:59][C][ssd1306_i2c:031]: Offset Y: 0 [08:59:59][C][ssd1306_i2c:032]: Inverted Color: NO [08:59:59][C][ssd1306_i2c:033]: Update Interval: 1.0s [08:59:59][E][ssd1306_i2c:036]: Communication with SSD1306 failed! [08:59:59][E][component:082]: Component display is marked FAILED [08:59:59][C][captive_portal:088]: Captive Portal: [08:59:59][C][web_server:173]: Web Server: [08:59:59][C][web_server:174]: Address: avfan1.local:80 [08:59:59][C][sntp:048]: SNTP Time: [08:59:59][C][sntp:049]: Server 1: '0.pool.ntp.org' [08:59:59][C][sntp:050]: Server 2: '1.pool.ntp.org' [08:59:59][C][sntp:051]: Server 3: '2.pool.ntp.org'
[09:00:00][C][mdns:116]: Hostname: avfan1 [09:00:00][C][esphome.ota:073]: Over-The-Air updates: [09:00:00][C][esphome.ota:074]: Address: avfan1.local:3232 [09:00:00][C][esphome.ota:075]: Version: 2 [09:00:00][C][esphome.ota:078]: Password configured [09:00:00][C][safe_mode:018]: Safe Mode: [09:00:00][C][safe_mode:020]: Boot considered successful after 60 seconds [09:00:00][C][safe_mode:021]: Invoke after 10 boot attempts [09:00:00][C][safe_mode:023]: Remain in safe mode for 300 seconds [09:00:00][C][api:139]: API Server: [09:00:00][C][api:140]: Address: avfan1.local:6053 [09:00:00][C][api:142]: Using noise encryption: YES [09:00:00][C][wifi_signal.sensor:009]: WiFi Signal 'AVfan1 WiFi' [09:00:00][C][wifi_signal.sensor:009]: Device Class: 'signal_strength' [09:00:00][C][wifi_signal.sensor:009]: State Class: 'measurement' [09:00:00][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm' [09:00:00][C][wifi_signal.sensor:009]: Accuracy Decimals: 0 [09:00:00][C][wifi_info:011]: WifiInfo SSID 'AVfan1 Connected SSID' [09:00:00][C][wifi_info:012]: WifiInfo BSSID 'AVfan1 Connected BSSID' [09:00:00][C][wifi_info:009]: WifiInfo IPAddress 'AVfan1 IP Address' [09:00:00][C][debug:021]: Debug component: [09:00:00][C][debug:026]: Free space on heap 'AVfan1 Heap Free' [09:00:00][C][debug:026]: State Class: '' [09:00:00][C][debug:026]: Unit of Measurement: 'B' [09:00:00][C][debug:026]: Accuracy Decimals: 0
[09:00:00][C][debug:027]: Largest free heap block 'AVfan1 Heap Max Block' [09:00:00][C][debug:027]: State Class: '' [09:00:00][C][debug:027]: Unit of Measurement: 'B' [09:00:00][C][debug:027]: Accuracy Decimals: 0
[09:00:00][D][debug:035]: ESPHome version 2024.6.6 [09:00:00][D][debug:039]: Free Heap Size: 184976 bytes [09:00:00][D][debug:160]: Flash Chip: Size=4096kB Speed=40MHz Mode=DIO [09:00:00][D][debug:208]: Chip: Model=ESP32, Features=WIFI_BGN,BLE,BT, Cores=2, Revision=3 [09:00:00][D][debug:216]: ESP-IDF Version: v4.4.2 [09:00:00][D][debug:221]: EFuse MAC: 08:A6:F7:54:0E:BC [09:00:00][D][debug:127]: Reset Reason: Power On Reset [09:00:00][D][debug:269]: Wakeup Reason: Unknown [09:00:00][D][debug:127]: Reset Reason: Power On Reset [09:00:00][D][text_sensor:064]: 'AVfan1 Reset Reason': Sending state 'Power On Reset' [09:00:00][D][sensor:094]: 'AVfan1 Onboard Temperature': Sending state 31.41317 °C with 2 decimals of accuracy [09:00:00][D][sensor:094]: 'AVfan1 Onboard Humidity': Sending state 32.47604 % with 2 decimals of accuracy [09:00:00][D][dallas.temp.sensor:054]: 'AVfan1 Temperature 4': Got Temperature=26.8°C [09:00:00][D][sensor:094]: 'AVfan1 Temperature 4': Sending state 26.81250 °C with 1 decimals of accuracy [09:00:00][D][light:036]: 'AVfan1 Alarm Light' Setting: [09:00:00][D][light:085]: Transition length: 1.0s [09:00:00][D][fan:021]: 'AVfan1 Fan4 Speed' - Setting: [09:00:00][D][fan:024]: State: ON [09:00:00][D][fan:030]: Speed: 16 [09:00:00][D][fan:120]: 'AVfan1 Fan4 Speed' - Sending state: [09:00:00][D][fan:121]: State: ON [09:00:00][D][fan:123]: Speed: 16 [09:00:00][W][component:237]: Component dallas_temp.sensor took a long time for an operation (59 ms). [09:00:00][W][component:238]: Components should block for at most 30 ms. [09:00:00][D][dallas.temp.sensor:054]: 'AVfan1 Temperature 3': Got Temperature=26.8°C [09:00:00][D][sensor:094]: 'AVfan1 Temperature 3': Sending state 26.75000 °C with 1 decimals of accuracy [09:00:00][D][light:036]: 'AVfan1 Alarm Light' Setting: [09:00:00][D][light:085]: Transition length: 1.0s [09:00:00][D][fan:021]: 'AVfan1 Fan3 Speed' - Setting: [09:00:00][D][fan:024]: State: ON [09:00:00][D][fan:030]: Speed: 15 [09:00:00][D][fan:120]: 'AVfan1 Fan3 Speed' - Sending state: [09:00:00][D][fan:121]: State: ON [09:00:00][D][fan:123]: Speed: 15 [09:00:00][W][component:237]: Component dallas_temp.sensor took a long time for an operation (59 ms). [09:00:00][W][component:238]: Components should block for at most 30 ms. [09:00:00][D][dallas.temp.sensor:054]: 'AVfan1 Temperature 2': Got Temperature=26.7°C [09:00:00][D][sensor:094]: 'AVfan1 Temperature 2': Sending state 26.68750 °C with 1 decimals of accuracy [09:00:00][D][light:036]: 'AVfan1 Alarm Light' Setting: [09:00:00][D][light:085]: Transition length: 1.0s [09:00:00][D][fan:021]: 'AVfan1 Fan2 Speed' - Setting: [09:00:00][D][fan:024]: State: ON [09:00:00][D][fan:030]: Speed: 14 [09:00:00][D][fan:120]: 'AVfan1 Fan2 Speed' - Sending state: [09:00:00][D][fan:121]: State: ON [09:00:00][D][fan:123]: Speed: 14 [09:00:00][W][component:237]: Component dallas_temp.sensor took a long time for an operation (59 ms). [09:00:01][W][component:238]: Components should block for at most 30 ms. [09:00:01][D][dallas.temp.sensor:054]: 'AVfan1 Temperature 1': Got Temperature=26.5°C [09:00:01][D][sensor:094]: 'AVfan1 Temperature 1': Sending state 26.50000 °C with 1 decimals of accuracy [09:00:01][D][light:036]: 'AVfan1 Alarm Light' Setting: [09:00:01][D][light:085]: Transition length: 1.0s [09:00:01][D][fan:021]: 'AVfan1 Fan1 Speed' - Setting: [09:00:01][D][fan:024]: State: ON [09:00:01][D][fan:030]: Speed: 10 [09:00:01][D][fan:120]: 'AVfan1 Fan1 Speed' - Sending state: [09:00:01][D][fan:121]: State: ON [09:00:01][D][fan:123]: Speed: 10 [09:00:01][W][component:237]: Component dallas_temp.sensor took a long time for an operation (59 ms). [09:00:01][W][component:238]: Components should block for at most 30 ms. [09:00:01][D][sensor:094]: 'AVfan1 Heap Free': Sending state 186164.00000 B with 0 decimals of accuracy [09:00:01][D][sensor:094]: 'AVfan1 Loop Time': Sending state 8148.00000 ms with 0 decimals of accuracy [09:00:01][D][sensor:094]: 'AVfan1 Heap Max Block': Sending state 110580.00000 B with 0 decimals of accuracy
INFO ESPHome 2024.7.3 INFO Reading configuration /config/esphome/avfan1.yaml... INFO Detected timezone 'America/New_York' INFO Starting log output from 192.168.0.67 using esphome API INFO Successfully connected to avfan1 @ 192.168.0.67 in 0.130s INFO Successful handshake with avfan1 @ 192.168.0.67 in 0.126s [08:42:05][I][app:100]: ESPHome version 2024.7.3 compiled on Aug 5 2024, 07:18:45
[08:42:05][C][wifi:427]: Local MAC: 08:A6:F7:54:0E:BC [08:42:05][C][wifi:432]: SSID: 'hill'[redacted] [08:42:05][C][wifi:435]: IP Address: 192.168.0.67 [08:42:05][C][wifi:439]: BSSID: 68:7F:F0:00:80:B3[redacted]
[08:42:05][C][wifi:442]: Signal strength: -45 dB ▂▄▆█ [08:42:05][C][wifi:446]: Channel: 11 [08:42:05][C][wifi:447]: Subnet: 255.255.255.0 [08:42:06][C][wifi:448]: Gateway: 192.168.0.1 [08:42:06][C][wifi:449]: DNS1: 192.168.0.1 [08:42:06][C][wifi:450]: DNS2: 8.8.8.8
[08:42:06][C][logger:186]: Level: DEBUG [08:42:06][C][logger:188]: Log Baud Rate: 115200 [08:42:06][C][logger:189]: Hardware UART: UART0 [08:42:06][C][i2c.arduino:071]: I2C Bus: [08:42:06][C][i2c.arduino:072]: SDA Pin: GPIO21 [08:42:06][C][i2c.arduino:073]: SCL Pin: GPIO22 [08:42:06][C][i2c.arduino:074]: Frequency: 50000 Hz [08:42:06][C][i2c.arduino:086]: Recovery: bus successfully recovered [08:42:06][C][i2c.arduino:071]: I2C Bus: [08:42:06][C][i2c.arduino:072]: SDA Pin: GPIO16 [08:42:06][C][i2c.arduino:073]: SCL Pin: GPIO17 [08:42:06][C][i2c.arduino:074]: Frequency: 800000 Hz [08:42:06][C][i2c.arduino:086]: Recovery: bus successfully recovered [08:42:06][C][gpio.one_wire:020]: GPIO 1-wire bus: [08:42:06][C][gpio.one_wire:021]: Pin: GPIO27 [08:42:06][W][gpio.one_wire:078]: Found no devices! [08:42:06][C][template.number:050]: Template Number 'AVfan1 Target Temp 1' [08:42:06][C][template.number:050]: Unit of Measurement: '°C' [08:42:06][C][template.number:050]: Device Class: 'temperature' [08:42:06][C][template.number:051]: Optimistic: YES [08:42:06][C][template.number:052]: Update Interval: 60.0s [08:42:06][C][template.number:050]: Template Number 'AVfan1 Target Temp 2' [08:42:06][C][template.number:050]: Unit of Measurement: '°C' [08:42:06][C][template.number:050]: Device Class: 'temperature' [08:42:06][C][template.number:051]: Optimistic: YES [08:42:06][C][template.number:052]: Update Interval: 60.0s [08:42:06][C][template.number:050]: Template Number 'AVfan1 Target Temp 3' [08:42:06][C][template.number:050]: Unit of Measurement: '°C' [08:42:06][C][template.number:050]: Device Class: 'temperature' [08:42:06][C][template.number:051]: Optimistic: YES [08:42:06][C][template.number:052]: Update Interval: 60.0s [08:42:06][C][template.number:050]: Template Number 'AVfan1 Target Temp 4' [08:42:06][C][template.number:050]: Unit of Measurement: '°C' [08:42:06][C][template.number:050]: Device Class: 'temperature' [08:42:06][C][template.number:051]: Optimistic: YES [08:42:06][C][template.number:052]: Update Interval: 60.0s [08:42:06][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:06][C][template.number:050]: Template Number 'AVfan1 Alarm Temp' [08:42:06][C][template.number:050]: Unit of Measurement: '°C' [08:42:06][C][template.number:050]: Device Class: 'temperature' [08:42:06][C][template.number:051]: Optimistic: YES [08:42:06][C][template.number:052]: Update Interval: 60.0s [08:42:06][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:06][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:06][C][switch.gpio:068]: GPIO Switch 'AVfan1 Relay 0' [08:42:06][C][switch.gpio:091]: Restore Mode: restore defaults to OFF [08:42:06][C][switch.gpio:031]: Pin: GPIO18 [08:42:06][C][switch.gpio:068]: GPIO Switch 'AVfan1 OC Port' [08:42:06][C][switch.gpio:091]: Restore Mode: always ON [08:42:06][C][switch.gpio:031]: Pin: GPIO26 [08:42:06][C][ledc.output:176]: LEDC Output: [08:42:06][C][ledc.output:177]: Pin GPIO13 [08:42:06][C][ledc.output:178]: LEDC Channel: 0 [08:42:06][C][ledc.output:179]: PWM Frequency: 25600.0 Hz [08:42:06][C][ledc.output:180]: Phase angle: 0.0° [08:42:06][C][ledc.output:181]: Bit depth: 11 [08:42:06][C][ledc.output:176]: LEDC Output: [08:42:06][C][ledc.output:177]: Pin GPIO14 [08:42:06][C][ledc.output:178]: LEDC Channel: 1 [08:42:06][C][ledc.output:179]: PWM Frequency: 25600.0 Hz [08:42:06][C][ledc.output:180]: Phase angle: 0.0° [08:42:06][C][ledc.output:181]: Bit depth: 11 [08:42:06][C][ledc.output:176]: LEDC Output: [08:42:06][C][ledc.output:177]: Pin GPIO25 [08:42:06][C][ledc.output:178]: LEDC Channel: 2 [08:42:06][C][ledc.output:179]: PWM Frequency: 25600.0 Hz [08:42:06][C][ledc.output:180]: Phase angle: 0.0° [08:42:06][C][ledc.output:181]: Bit depth: 11 [08:42:06][C][ledc.output:176]: LEDC Output: [08:42:06][C][ledc.output:177]: Pin GPIO32 [08:42:06][C][ledc.output:178]: LEDC Channel: 3 [08:42:06][C][ledc.output:179]: PWM Frequency: 25600.0 Hz [08:42:06][C][ledc.output:180]: Phase angle: 0.0° [08:42:06][C][ledc.output:181]: Bit depth: 11 [08:42:06][C][ledc.output:176]: LEDC Output: [08:42:06][C][ledc.output:177]: Pin GPIO2 [08:42:06][C][ledc.output:178]: LEDC Channel: 4 [08:42:06][C][ledc.output:179]: PWM Frequency: 1000.0 Hz [08:42:06][C][ledc.output:180]: Phase angle: 0.0° [08:42:06][C][ledc.output:181]: Bit depth: 16 [08:42:06][C][uptime.sensor:033]: Uptime Sensor 'AVfan1 Uptime' [08:42:06][C][uptime.sensor:033]: Device Class: 'duration' [08:42:06][C][uptime.sensor:033]: State Class: 'total_increasing' [08:42:06][C][uptime.sensor:033]: Unit of Measurement: 's' [08:42:06][C][uptime.sensor:033]: Accuracy Decimals: 0
[08:42:06][C][uptime.sensor:034]: Type: Seconds [08:42:06][C][template.sensor:022]: Template Sensor 'AVfan1 CPU Speed' [08:42:06][C][template.sensor:022]: State Class: '' [08:42:06][C][template.sensor:022]: Unit of Measurement: 'Mhz' [08:42:06][C][template.sensor:022]: Accuracy Decimals: 0 [08:42:06][C][template.sensor:023]: Update Interval: 60.0s [08:42:06][C][template.sensor:022]: Template Sensor 'AVfan1 ESP Temperature' [08:42:06][C][template.sensor:022]: Device Class: 'temperature' [08:42:06][C][template.sensor:022]: State Class: '' [08:42:06][C][template.sensor:022]: Unit of Measurement: '°C' [08:42:06][C][template.sensor:022]: Accuracy Decimals: 1 [08:42:06][C][template.sensor:023]: Update Interval: 30.0s [08:42:06][C][template.text_sensor:020]: Template Sensor 'AVfan1 Device Sensor' [08:42:06][C][template.binary_sensor:028]: Template Binary Sensor 'AVfan1 Alarm'
[08:42:06][C][light:105]: Default Transition Length: 1.0s [08:42:06][C][light:106]: Gamma Correct: 2.80 [08:42:06][C][template.switch:068]: Template Switch 'AVfan1 Fan1 Auto Mode' [08:42:06][C][template.switch:091]: Restore Mode: restore defaults to ON [08:42:06][C][template.switch:057]: Optimistic: YES [08:42:06][D][sensor:094]: 'AVfan1 Heap Free': Sending state 180636.00000 B with 0 decimals of accuracy [08:42:06][D][sensor:094]: 'AVfan1 Loop Time': Sending state 7740.00000 ms with 0 decimals of accuracy [08:42:06][D][sensor:094]: 'AVfan1 Heap Max Block': Sending state 110580.00000 B with 0 decimals of accuracy [08:42:06][C][template.switch:068]: Template Switch 'AVfan1 Fan2 Auto Mode' [08:42:06][C][template.switch:091]: Restore Mode: restore defaults to ON [08:42:06][C][template.switch:057]: Optimistic: YES [08:42:06][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 1' - Scratch pad checksum invalid! [08:42:06][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:06][C][template.switch:068]: Template Switch 'AVfan1 Fan3 Auto Mode' [08:42:06][C][template.switch:091]: Restore Mode: restore defaults to ON [08:42:06][C][template.switch:057]: Optimistic: YES [08:42:06][C][template.switch:068]: Template Switch 'AVfan1 Fan4 Auto Mode' [08:42:06][C][template.switch:091]: Restore Mode: restore defaults to ON [08:42:06][C][template.switch:057]: Optimistic: YES [08:42:06][C][restart:068]: Restart Switch 'AVfan1 Restart'
[08:42:06][C][restart:091]: Restore Mode: always OFF
[08:42:06][C][aht10:163]: Address: 0x38
[08:42:06][C][aht10:167]: Device Class: 'temperature' [08:42:06][C][aht10:167]: State Class: 'measurement' [08:42:06][C][aht10:167]: Unit of Measurement: '°C' [08:42:06][C][aht10:167]: Accuracy Decimals: 2
[08:42:06][C][aht10:168]: Device Class: 'humidity' [08:42:06][C][aht10:168]: State Class: 'measurement' [08:42:06][C][aht10:168]: Unit of Measurement: '%' [08:42:06][C][aht10:168]: Accuracy Decimals: 2 [08:42:06][C][pulse_counter:160]: Pulse Counter 'AVfan1 Mon 1' [08:42:06][C][pulse_counter:160]: State Class: 'measurement' [08:42:06][C][pulse_counter:160]: Unit of Measurement: 'rpm' [08:42:06][C][pulse_counter:160]: Accuracy Decimals: 2
[08:42:06][C][pulse_counter:161]: Pin: GPIO33 [08:42:06][C][pulse_counter:162]: Rising Edge: INCREMENT [08:42:06][C][pulse_counter:163]: Falling Edge: DISABLE [08:42:06][C][pulse_counter:164]: Filtering pulses shorter than 13 µs [08:42:06][C][pulse_counter:165]: Update Interval: 5.0s [08:42:06][C][pulse_counter:160]: Pulse Counter 'AVfan1 Mon 2' [08:42:06][C][pulse_counter:160]: State Class: 'measurement' [08:42:06][C][pulse_counter:160]: Unit of Measurement: 'rpm' [08:42:06][C][pulse_counter:160]: Accuracy Decimals: 2
[08:42:06][C][pulse_counter:161]: Pin: GPIO34 [08:42:06][C][pulse_counter:162]: Rising Edge: INCREMENT [08:42:06][C][pulse_counter:163]: Falling Edge: DISABLE [08:42:06][C][pulse_counter:164]: Filtering pulses shorter than 13 µs [08:42:06][C][pulse_counter:165]: Update Interval: 5.0s [08:42:06][C][pulse_counter:160]: Pulse Counter 'AVfan1 Mon 3' [08:42:07][C][pulse_counter:160]: State Class: 'measurement' [08:42:07][C][pulse_counter:160]: Unit of Measurement: 'rpm' [08:42:07][C][pulse_counter:160]: Accuracy Decimals: 2
[08:42:07][C][pulse_counter:161]: Pin: GPIO35 [08:42:07][C][pulse_counter:162]: Rising Edge: INCREMENT [08:42:07][C][pulse_counter:163]: Falling Edge: DISABLE [08:42:07][C][pulse_counter:164]: Filtering pulses shorter than 13 µs [08:42:07][C][pulse_counter:165]: Update Interval: 5.0s [08:42:07][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 3' - Scratch pad checksum invalid! [08:42:07][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:07][C][pulse_counter:160]: Pulse Counter 'AVfan1 Mon 4' [08:42:07][C][pulse_counter:160]: State Class: 'measurement' [08:42:07][C][pulse_counter:160]: Unit of Measurement: 'rpm' [08:42:07][C][pulse_counter:160]: Accuracy Decimals: 2
[08:42:07][C][pulse_counter:161]: Pin: GPIO39 [08:42:07][C][pulse_counter:162]: Rising Edge: INCREMENT [08:42:07][C][pulse_counter:163]: Falling Edge: DISABLE [08:42:07][C][pulse_counter:164]: Filtering pulses shorter than 13 µs [08:42:07][C][pulse_counter:165]: Update Interval: 5.0s [08:42:07][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 2' - Scratch pad checksum invalid! [08:42:07][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:07][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 4' - Scratch pad checksum invalid! [08:42:07][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:07][C][speed.fan:021]: Speed Fan 'AVfan1 Fan1 Speed' [08:42:07][C][speed.fan:192]: Speed: YES [08:42:07][C][speed.fan:193]: Speed count: 100 [08:42:07][C][speed.fan:021]: Speed Fan 'AVfan1 Fan2 Speed' [08:42:07][C][speed.fan:192]: Speed: YES [08:42:07][C][speed.fan:193]: Speed count: 100 [08:42:07][C][speed.fan:021]: Speed Fan 'AVfan1 Fan3 Speed' [08:42:07][C][speed.fan:192]: Speed: YES [08:42:07][C][speed.fan:193]: Speed count: 100 [08:42:07][C][speed.fan:021]: Speed Fan 'AVfan1 Fan4 Speed' [08:42:07][C][speed.fan:192]: Speed: YES [08:42:07][C][speed.fan:193]: Speed count: 100 [08:42:07][C][version.text_sensor:021]: Version Text Sensor 'AVfan1 Version'
[08:42:07][C][wifi_info:013]: WifiInfo Mac Address 'AVfan1 Mac Wifi Address' [08:42:07][C][status:034]: Status Binary Sensor 'AVfan1 Status' [08:42:07][C][status:034]: Device Class: 'connectivity' [08:42:07][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [08:42:07][C][dallas.temp.sensor:034]: Address: 0xc13c01f09642c928 (DS18B20) [08:42:07][C][dallas.temp.sensor:035]: Resolution: 12 bits [08:42:07][C][dallas.temp.sensor:036]: Update Interval: 2.0s [08:42:07][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [08:42:07][C][dallas.temp.sensor:034]: Address: 0x783c0af6490d3628 (DS18B20) [08:42:07][C][dallas.temp.sensor:035]: Resolution: 12 bits [08:42:07][C][dallas.temp.sensor:036]: Update Interval: 2.0s [08:42:07][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [08:42:07][C][dallas.temp.sensor:034]: Address: 0x043c6ef649772f28 (DS18B20) [08:42:07][C][dallas.temp.sensor:035]: Resolution: 12 bits [08:42:07][C][dallas.temp.sensor:036]: Update Interval: 2.0s [08:42:07][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [08:42:07][C][dallas.temp.sensor:034]: Address: 0x8b3ca8f64935b228 (DS18B20) [08:42:07][C][dallas.temp.sensor:035]: Resolution: 12 bits [08:42:07][C][dallas.temp.sensor:036]: Update Interval: 2.0s [08:42:07][C][ssd1306_i2c:023]: I2C SSD1306 [08:42:07][C][ssd1306_i2c:023]: Rotations: 0 ° [08:42:07][C][ssd1306_i2c:023]: Dimensions: 128px x 64px [08:42:07][C][ssd1306_i2c:024]: Address: 0x3D [08:42:07][C][ssd1306_i2c:025]: Model: SSD1306 128x64 [08:42:07][C][ssd1306_i2c:027]: External VCC: NO [08:42:07][C][ssd1306_i2c:028]: Flip X: YES [08:42:07][C][ssd1306_i2c:029]: Flip Y: YES [08:42:07][C][ssd1306_i2c:030]: Offset X: 0 [08:42:07][C][ssd1306_i2c:031]: Offset Y: 0 [08:42:07][C][ssd1306_i2c:032]: Inverted Color: NO [08:42:07][C][ssd1306_i2c:033]: Update Interval: 1.0s [08:42:07][E][ssd1306_i2c:036]: Communication with SSD1306 failed! [08:42:07][E][component:082]: Component display is marked FAILED [08:42:07][C][captive_portal:088]: Captive Portal: [08:42:07][C][web_server:173]: Web Server: [08:42:07][C][web_server:174]: Address: avfan1.local:80 [08:42:07][C][sntp:048]: SNTP Time: [08:42:07][C][sntp:049]: Server 1: '0.pool.ntp.org' [08:42:07][C][sntp:050]: Server 2: '1.pool.ntp.org' [08:42:07][C][sntp:051]: Server 3: '2.pool.ntp.org'
[08:42:07][C][mdns:117]: Hostname: avfan1 [08:42:07][C][esphome.ota:073]: Over-The-Air updates: [08:42:07][C][esphome.ota:074]: Address: avfan1.local:3232 [08:42:07][C][esphome.ota:075]: Version: 2 [08:42:07][C][esphome.ota:078]: Password configured [08:42:07][C][safe_mode:018]: Safe Mode: [08:42:07][C][safe_mode:020]: Boot considered successful after 60 seconds [08:42:07][C][safe_mode:021]: Invoke after 10 boot attempts [08:42:07][C][safe_mode:023]: Remain in safe mode for 300 seconds [08:42:07][C][api:139]: API Server: [08:42:07][C][api:140]: Address: avfan1.local:6053 [08:42:07][C][api:142]: Using noise encryption: YES [08:42:07][C][wifi_signal.sensor:009]: WiFi Signal 'AVfan1 WiFi' [08:42:07][C][wifi_signal.sensor:009]: Device Class: 'signal_strength' [08:42:07][C][wifi_signal.sensor:009]: State Class: 'measurement' [08:42:07][C][wifi_signal.sensor:009]: Unit of Measurement: 'dBm' [08:42:07][C][wifi_signal.sensor:009]: Accuracy Decimals: 0 [08:42:07][C][wifi_info:011]: WifiInfo SSID 'AVfan1 Connected SSID' [08:42:07][C][wifi_info:012]: WifiInfo BSSID 'AVfan1 Connected BSSID' [08:42:07][C][wifi_info:009]: WifiInfo IPAddress 'AVfan1 IP Address' [08:42:07][C][debug:021]: Debug component: [08:42:07][C][debug:026]: Free space on heap 'AVfan1 Heap Free' [08:42:07][C][debug:026]: State Class: '' [08:42:07][C][debug:026]: Unit of Measurement: 'B' [08:42:07][C][debug:026]: Accuracy Decimals: 0
[08:42:07][C][debug:027]: Largest free heap block 'AVfan1 Heap Max Block' [08:42:07][C][debug:027]: State Class: '' [08:42:07][C][debug:027]: Unit of Measurement: 'B' [08:42:07][C][debug:027]: Accuracy Decimals: 0
[08:42:07][D][debug:035]: ESPHome version 2024.7.3 [08:42:07][D][debug:039]: Free Heap Size: 178920 bytes [08:42:07][D][debug:160]: Flash Chip: Size=4096kB Speed=40MHz Mode=DIO [08:42:07][D][debug:208]: Chip: Model=ESP32, Features=WIFI_BGN,BLE,BT, Cores=2, Revision=3 [08:42:07][D][debug:216]: ESP-IDF Version: v4.4.2 [08:42:07][D][debug:221]: EFuse MAC: 08:A6:F7:54:0E:BC [08:42:07][D][debug:127]: Reset Reason: Power On Reset [08:42:07][D][debug:269]: Wakeup Reason: Unknown [08:42:07][D][debug:127]: Reset Reason: Power On Reset [08:42:07][D][text_sensor:064]: 'AVfan1 Reset Reason': Sending state 'Power On Reset' [08:42:07][D][pulse_counter:174]: 'AVfan1 Mon 3': Retrieved counter: 0.00 pulses/min [08:42:07][D][sensor:094]: 'AVfan1 Mon 3': Sending state 0.00000 rpm with 2 decimals of accuracy [08:42:07][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:07][D][pulse_counter:174]: 'AVfan1 Mon 1': Retrieved counter: 0.00 pulses/min [08:42:07][D][sensor:094]: 'AVfan1 Mon 1': Sending state 0.00000 rpm with 2 decimals of accuracy [08:42:08][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:08][D][sensor:094]: 'AVfan1 Onboard Temperature': Sending state 30.43203 °C with 2 decimals of accuracy [08:42:08][D][sensor:094]: 'AVfan1 Onboard Humidity': Sending state 33.86850 % with 2 decimals of accuracy [08:42:08][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:08][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:08][D][pulse_counter:174]: 'AVfan1 Mon 2': Retrieved counter: 0.00 pulses/min [08:42:08][D][sensor:094]: 'AVfan1 Mon 2': Sending state 0.00000 rpm with 2 decimals of accuracy [08:42:08][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 1' - Scratch pad checksum invalid! [08:42:08][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:09][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 3' - Scratch pad checksum invalid! [08:42:09][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:09][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 2' - Scratch pad checksum invalid! [08:42:09][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:09][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 4' - Scratch pad checksum invalid! [08:42:09][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:09][D][pulse_counter:174]: 'AVfan1 Mon 4': Retrieved counter: 0.00 pulses/min [08:42:09][D][sensor:094]: 'AVfan1 Mon 4': Sending state 0.00000 rpm with 2 decimals of accuracy [08:42:09][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:10][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:10][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:10][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:10][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 1' - Scratch pad checksum invalid! [08:42:10][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:11][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 3' - Scratch pad checksum invalid! [08:42:11][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:11][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 2' - Scratch pad checksum invalid! [08:42:11][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:11][W][dallas.temp.sensor:139]: 'AVfan1 Temperature 4' - Scratch pad checksum invalid! [08:42:11][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid [08:42:11][D][sensor:094]: 'AVfan1 Heap Free': Sending state 184564.00000 B with 0 decimals of accuracy [08:42:11][D][sensor:094]: 'AVfan1 Loop Time': Sending state 145.00000 ms with 0 decimals of accuracy [08:42:11][D][sensor:094]: 'AVfan1 Heap Max Block': Sending state 110580.00000 B with 0 decimals of accuracy [08:42:11][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:12][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:12][W][component:170]: Component dallas_temp.sensor cleared Warning flag [08:42:12][W][component:170]: Component dallas_temp.sensor cleared Warning flag
I've double-checked and there were no changes that would directly affect this between those versions. How are the sensors wired, including lengths? I've done some tweaking of the timings, so you can try this:
external_components:
- source:
type: git
url: https://github.com/ssieb/esphome
ref: onewire
components: [ one_wire, gpio ]
refresh: 1min
Samuel, The hardware and cables were verified and are fine. I also verified other models of boards and their .yamls and dallsa_temp functioned fine. I had done a "clean build files" on the device in question named "avfan1" assuming it would pull the everything anew. It must not have due to reasons I do not understand causing the one_wire issue. That lead me to do the following: I saved the .yaml under a temp name, DELETED the device, made a new one with the same name and copied in the original code, built, and the dallas sensors worked fine. Since build directories are hidden it is hard to observe the build directories. Possibly, it might be caused by me keeping different versions (for example different sensor configurations) of the .yamls (and therefore different file names) under one device name within the Dashboard. And likewise the issue I had with SH4x sensors when not connected causing aggravated looptimes, might be the same phenomenon as that "cured itself" which may not have been a lib fix by you all. Thanks for responding and at a minimum I have a work around if I encounter these strange errors again. Keep up the good work and support despite my prior comment made under frustration.
From: @. @.> Sent: Monday, August 5, 2024 9:20 AM To: esphome/issues @.***> Subject: Re: [esphome/issues] 2024.7.3 Broke Platform Dallas_temp (Issue #6119)
Samuel, Attached are two logs from same board and sensors programmed with .6.x and .7.x back to back .7.x , the one-wire component finds no devices:
[08:42:06][C][gpio.one_wire:020]: GPIO 1-wire bus: [08:42:06][C][gpio.one_wire:021]: Pin: GPIO27 [08:42:06][W][gpio.one_wire:078]: Found no devices!
.6.x, does find the sensors:
[08:59:57][C][gpio.one_wire:020]: GPIO 1-wire bus: [08:59:57][C][gpio.one_wire:021]: Pin: GPIO27 [08:59:57][C][gpio.one_wire:080]: Found devices:
From: Samuel Sieb @.> Sent: Sunday, August 4, 2024 5:21 PM To: esphome/issues @.> Cc: ESP32andmore @.>; Author @.> Subject: Re: [esphome/issues] 2024.7.3 Broke Platform Dallas_temp (Issue #6119)
Nothing changed in .7.x. What was the last version that worked? What is in the logs for the one_wire: section?
— Reply to this email directly, view it on GitHubhttps://github.com/esphome/issues/issues/6119#issuecomment-2267691066, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKCWDYU2VAUIZEDG4MTUKM3ZP2LO3AVCNFSM6AAAAABL7A5GG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGY4TCMBWGY. You are receiving this because you authored the thread.
Samuel, Again today I am encountering the same issues with the one-wire/dallas_temp. 2034.6.6 works, current version does not. I'll enter the same issue
From: @. @.> Sent: Wednesday, August 7, 2024 5:04 AM To: esphome/issues @.***> Subject: Re: [esphome/issues] 2024.7.3 Broke Platform Dallas_temp (Issue #6119)
Samuel, The hardware and cables were verified and are fine. I also verified other models of boards and their .yamls and dallsa_temp functioned fine. I had done a "clean build files" on the device in question named "avfan1" assuming it would pull the everything anew. It must not have due to reasons I do not understand causing the one_wire issue. That lead me to do the following: I saved the .yaml under a temp name, DELETED the device, made a new one with the same name and copied in the original code, built, and the dallas sensors worked fine. Since build directories are hidden it is hard to observe the build directories. Possibly, it might be caused by me keeping different versions (for example different sensor configurations) of the .yamls (and therefore different file names) under one device name within the Dashboard. And likewise the issue I had with SH4x sensors when not connected causing aggravated looptimes, might be the same phenomenon as that "cured itself" which may not have been a lib fix by you all. Thanks for responding and at a minimum I have a work around if I encounter these strange errors again. Keep up the good work and support despite my prior comment made under frustration.
From: @. @.> Sent: Monday, August 5, 2024 9:20 AM To: esphome/issues @.***> Subject: Re: [esphome/issues] 2024.7.3 Broke Platform Dallas_temp (Issue #6119)
Samuel, Attached are two logs from same board and sensors programmed with .6.x and .7.x back to back .7.x , the one-wire component finds no devices:
[08:42:06][C][gpio.one_wire:020]: GPIO 1-wire bus: [08:42:06][C][gpio.one_wire:021]: Pin: GPIO27 [08:42:06][W][gpio.one_wire:078]: Found no devices!
.6.x, does find the sensors:
[08:59:57][C][gpio.one_wire:020]: GPIO 1-wire bus: [08:59:57][C][gpio.one_wire:021]: Pin: GPIO27 [08:59:57][C][gpio.one_wire:080]: Found devices:
From: Samuel Sieb @.> Sent: Sunday, August 4, 2024 5:21 PM To: esphome/issues @.> Cc: ESP32andmore @.>; Author @.> Subject: Re: [esphome/issues] 2024.7.3 Broke Platform Dallas_temp (Issue #6119)
Nothing changed in .7.x. What was the last version that worked? What is in the logs for the one_wire: section?
— Reply to this email directly, view it on GitHubhttps://github.com/esphome/issues/issues/6119#issuecomment-2267691066, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKCWDYU2VAUIZEDG4MTUKM3ZP2LO3AVCNFSM6AAAAABL7A5GG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGY4TCMBWGY. You are receiving this because you authored the thread.
Hey folks, I'm facing the exact same issue which I first reported about in this thread. This is still an issue for me, I'm thinking of reverting the version until this is solved
I have trouble on IDF ESPHome version 2024.8.3 with various ESP32-S2 chips this time. My hardware is unchanged too ;-)
While we had issues before going to one_wire lib, this sensor stayed intact. Now even some on PCBs go. I have the same setup on another PCB which has no problems. Might be some sensors are remakes from far east with other timing constraints. However they did work!
guess when the trouble started:
going to one_wire (around 24.6.) gave crazy signals, going to 8.3 ignores the sensor at all.
The problem
Release 2024.7.3, Dallas_temp on ESP32 gets "Scratch pad checksum invalid!" Works fine in 2024.6.6
13:55:05 | [W] | [component:170] | Component dallas_temp.sensor cleared Warning flag 13:55:05 | [W] | [dallas.temp.sensor:139] | 'AVfan1 Temperature 3' - Scratch pad checksum invalid! 13:55:05 | [W] | [component:157] | Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid 13:55:05 | [W] | [dallas.temp.sensor:139] | 'AVfan1 Temperature 1' - Scratch pad checksum invalid! 13:55:05 | [W] | [component:157] | Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid 13:55:05 | [W] | [dallas.temp.sensor:139] | 'AVfan1 Temperature 2' - Scratch pad checksum invalid! 13:55:05 | [W] | [component:157] | Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid
Which version of ESPHome has the issue?
2024.7.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
No relevant but latest
What platform are you using?
ESP32
Board
ESP32andmore.com ECB
Component causing the issue
One-wire: Dallas_temp
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response