Closed cmezh closed 2 years ago
Here is Home Assistant screenshot. Blue line represents temperature readings. Left side - Arduino framework, right side - ESP-IDF framework, gap in the middle - OTA update.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Exact Same problem here: [21:06:33][W][dallas.sensor:137]: 'Temperature: wandlicht-west' - Scratch pad checksum invalid!
ESPHome version: 2022.4.0 "device_info": { "uses_password": false, "name": "wandlicht-west", "mac_address": "REDACTED", "compilation_time": "Apr 25 2022, 20:53:14", "model": "mhetesp32devkit", "has_deep_sleep": false, "esphome_version": "2022.4.0", "project_name": "", "project_version": "", "webserver_port": 0 },
"sensor": [ { "object_id": "temperature_wandlicht-west", "key": 3408443978, "name": "Temperature: wandlicht-west", "unique_id": "dallas-0700000003df8d28", "disabled_by_default": false, "icon": "", "entity_category": 0, "device_class": "temperature", "unit_of_measurement": "\u00b0C", "accuracy_decimals": 1, "force_update": false, "state_class": 1, "last_reset_type": 0 },
i have the same issue when i turn on the light dimmer, when i turn off the temperature sensor works fine
status_led:
pin:
number: GPIO13 # Led di stato
inverted: true
switch:
- platform: gpio
pin: GPIO12
name: "Valvola Solare" # Modificare nome a piacimento da esporre in Home Assistant
id: rele
binary_sensor:
- platform: gpio
pin:
number: GPIO0
inverted: True
name: "Pulsante manuale 1ch3" # Modificare nome a piacimento da esporre in Home Assistant
on_click:
min_length: 100ms
max_length: 1000ms
then:
- switch.toggle: rele # Versione con comando a pulsante
output:
- platform: ac_dimmer
id: dimmer1
gate_pin: GPIO05
zero_cross_pin:
number: GPIO04
mode: INPUT
inverted: yes
light:
- platform: monochromatic
output: dimmer1
name: Resistenza Dimmer
dallas:
- pin: GPIO2
update_interval: 30s
# Individual sensors
sensor:
- platform: dallas
address: 0xde3c01f095899c28
name: "Temperatura Boiler Solare"
resolution: 12
- platform: uptime
name: Uptime Sensor
[10:06:32][D][dallas.sensor:144]: 'Temperatura Boiler Solare': Got Temperature=46.2°C
[10:06:32][D][sensor:124]: 'Temperatura Boiler Solare': Sending state 46.25000 °C with 1 decimals of accuracy
[10:06:47][D][sensor:124]: 'Uptime Sensor': Sending state 100.48800 s with 0 decimals of accuracy
[10:07:02][D][dallas.sensor:144]: 'Temperatura Boiler Solare': Got Temperature=46.2°C
[10:07:02][D][sensor:124]: 'Temperatura Boiler Solare': Sending state 46.25000 °C with 1 decimals of accuracy
[10:07:19][D][light:035]: 'Resistenza Dimmer' Setting:
[10:07:19][D][light:046]: State: ON
[10:07:19][D][light:050]: Brightness: 5%
[10:07:19][D][light:084]: Transition length: 1.0s
[10:07:32][W][dallas.sensor:137]: 'Temperatura Boiler Solare' - Scratch pad checksum invalid!
[10:07:33][D][sensor:124]: 'Temperatura Boiler Solare': Sending state nan °C with 1 decimals of accuracy
[10:07:47][D][sensor:124]: 'Uptime Sensor': Sending state 160.49001 s with 0 decimals of accuracy
[10:08:02][W][dallas.sensor:137]: 'Temperatura Boiler Solare' - Scratch pad checksum invalid!
[10:08:02][D][sensor:124]: 'Temperatura Boiler Solare': Sending state nan °C with 1 decimals of accuracy
[10:08:32][W][dallas.sensor:137]: 'Temperatura Boiler Solare' - Scratch pad checksum invalid!
[10:08:32][D][sensor:124]: 'Temperatura Boiler Solare': Sending state nan °C with 1 decimals of accuracy
[10:08:47][D][sensor:124]: 'Uptime Sensor': Sending state 220.49500 s with 0 decimals of accuracy
[10:09:02][W][dallas.sensor:137]: 'Temperatura Boiler Solare' - Scratch pad checksum invalid!
[10:09:02][D][sensor:124]: 'Temperatura Boiler Solare': Sending state nan °C with 1 decimals of accuracy
[10:09:20][D][light:035]: 'Resistenza Dimmer' Setting:
[10:09:20][D][light:046]: State: OFF
[10:09:20][D][light:084]: Transition length: 1.0s
[10:09:32][D][dallas.sensor:144]: 'Temperatura Boiler Solare': Got Temperature=46.2°C
[10:09:33][D][sensor:124]: 'Temperatura Boiler Solare': Sending state 46.18750 °C with 1 decimals of accuracy
Solved someday somehow. It's been long since I've tested it, but now it works without any issues.
Interesting, just noticed the same here since I moved to esp-idf. I'll swap back to arduino for now but I'd love to know how you solved it, if you can remember any changes you made
I have the exact same problem with this sensor and a Pwm dimmer. Turn on the dimmer and every response is lScratch pad error". Turn off the dimmer and it works fine. I've moved gpios, shielded wires, changed power supplies, even looked at the dallas waveform while adjusting the pull-up resistor so the waveform is optimal. Nothing solves it.
How do u use the Arduino framework? I using a D1mini esp8266.
I have exact same issue. Not only with dallas. Other (text)sensors working in arduino without issue, with ESP-IDF framework errors.
How do you enable the Arduino framework?
esp32:
board: esp32doit-devkit-v1
framework:
type: arduino
That's for ESP32. For esp8266 I believe it's the only option so you don't do anything, it's already using arduino as it doesn't support esp-idf anyway
Ok, that makes sense. But the problem remains...
I have the exact same issue. When using a single temp sensor, all is good. But as soon as I connect 2, then I get "Scratch pad config register invalid!". I've also tried, multiple power supplies, dedicate power supplies for the sensors, a magnitude of different wires, wire lengths, etc. What is very interesting, is that when my sensors are on very short wires (30 cm) they work without this error. As soon as I extend the wires to 150cm for each sensor I get this error.
Any advice?
I have the same issue on esp8266:( - randomly Scratch pach error. 2 Dallas sensors connected 1m and 2m length. Pull-up resistor 4.7K. ESP version 2023.2.4
Just to confirm, I have the same issue. The setup is 4.7K pull-up on +5V, no voltage translator for the IO pin. Two DS18B20 sensors, one is 1m cable length which returns "Scratch pad config register invalid!", the other sensor is with 15m cable and has no issues.
Looks like this is a serious issue affecting a LOT of people. I changed to an ESP32-S2 and it still happens but not every time, so it's somewhat usable.
My problem is resolved only be recycling the power to the ESP32. Then it starts working and after I trigger a relay on the same board the problem shows up. If I restart only the ESP32 the problem remains.
Sharing some logs on VERY VERBOSE level for the problem
2023-03-29T17:43:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:43:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.7F.80.7F.FF.0A.10.59 (59) 2023-03-29T17:43:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:43:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:42:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:42:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:42:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:42:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:41:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:41:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:41:14+02:00 [W][dallas.sensor:261]: 'Unrderfloor TemperatureDlong' - Scratch pad checksum invalid! 2023-03-29T17:41:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.3F.88.8C (51) 2023-03-29T17:41:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:40:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:40:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:40:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:40:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:39:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:39:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:39:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:39:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:38:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:38:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:38:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:38:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:37:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:37:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:37:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:37:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:36:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:36:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:36:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:36:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:35:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:35:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:35:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:35:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:34:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:34:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:34:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:34:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:33:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:33:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:33:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:33:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:32:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:32:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:32:15+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:32:15+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:31:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:31:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F7.00.7F.80.7F.FF.09.10.4F (4F) 2023-03-29T17:31:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:31:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:30:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:30:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:30:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F4.00.4B.46.7F.FF.7F.10.19 (19) 2023-03-29T17:30:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:29:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:29:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:29:15+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:29:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:28:46+02:00 [W][dallas.sensor:261]: 'Unrderfloor TemperatureDlong' - Scratch pad checksum invalid! 2023-03-29T17:28:46+02:00 [VV][dallas.sensor:255]: Scratch pad: FF.FF.FF.FF.FF.FF.FF.FF.FF (C9) 2023-03-29T17:28:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:28:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:28:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:27:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:27:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:27:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:27:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:26:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:26:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:26:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:26:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:25:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:25:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:25:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:25:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:24:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:24:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:24:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:24:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:23:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:23:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:23:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:23:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:22:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:22:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:22:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:22:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:21:46+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:21:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:21:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:21:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:20:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:20:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:20:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:20:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:19:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:19:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:19:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:19:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F8.00.7F.80.7F.FF.08.10.71 (71) 2023-03-29T17:18:44+02:00 [W][dallas.sensor:261]: 'Unrderfloor TemperatureDlong' - Scratch pad checksum invalid! 2023-03-29T17:18:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.00.AD (C7) 2023-03-29T17:18:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:18:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:18:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:17:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:17:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:17:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:17:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:16:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:16:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:16:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:16:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:15:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:15:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:15:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:15:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:14:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:14:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:14:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:14:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:13:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:13:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:13:16+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:13:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:12:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:12:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:12:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:12:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:11:46+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:11:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:11:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:11:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:10:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:10:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:10:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:10:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:09:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:09:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:09:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:09:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:08:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:08:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:08:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:08:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:07:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:07:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:07:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:07:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:06:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:06:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:06:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:06:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F9.00.7F.80.7F.FF.07.10.2A (2A) 2023-03-29T17:05:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:05:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:05:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:05:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:04:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:04:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:04:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:04:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:03:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:03:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:03:14+02:00 [W][dallas.sensor:261]: 'Unrderfloor TemperatureDlong' - Scratch pad checksum invalid! 2023-03-29T17:03:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.80.25.A3.BF.FF.3F.08.AD (E8) 2023-03-29T17:03:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:02:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:02:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:02:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:02:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:01:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:01:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:01:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:01:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:00:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:00:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T17:00:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T17:00:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T16:59:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:59:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T16:59:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:59:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:58:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:58:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T16:58:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:58:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T16:57:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:57:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T16:57:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:57:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:56:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:56:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:56:16+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:56:16+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T16:55:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:55:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:55:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:55:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:54:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:54:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:54:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:54:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FA.00.7F.80.7F.FF.06.10.2B (2B) 2023-03-29T16:53:45+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:53:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:53:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:53:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:52:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:52:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:52:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:52:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:51:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:51:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:51:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:51:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:50:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F5.00.4B.46.7F.FF.7F.10.5A (5A) 2023-03-29T16:50:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:50:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:50:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:49:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:49:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:49:14+02:00 [W][dallas.sensor:261]: 'Unrderfloor TemperatureDlong' - Scratch pad checksum invalid! 2023-03-29T16:49:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.A6.BF.FF.3F.88.CF (34) 2023-03-29T16:49:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:48:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:48:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:48:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:48:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:47:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:47:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:47:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:47:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:46:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:46:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FC.00.7F.80.7F.FF.04.10.29 (29) 2023-03-29T16:46:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:46:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FC.00.7F.80.7F.FF.04.10.29 (29) 2023-03-29T16:45:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:45:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:45:14+02:00 [W][dallas.sensor:261]: 'Unrderfloor TemperatureDlong' - Scratch pad checksum invalid! 2023-03-29T16:45:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FF.FF.FF.FF.FF.FF.FF.FF.FF (C9) 2023-03-29T16:45:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FC.00.7F.80.7F.FF.04.10.29 (29) 2023-03-29T16:44:44+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:44:44+02:00 [VV][dallas.sensor:255]: Scratch pad: FB.00.7F.80.7F.FF.05.10.3D (3D) 2023-03-29T16:44:14+02:00 [VV][dallas.sensor:255]: Scratch pad: F6.00.4B.46.7F.FF.7F.10.9F (9F) 2023-03-29T16:44:14+02:00 [VV][dallas.sensor:255]: Scratch pad: FC.00.7F.80.7F.FF.04.10.29 (29)
ok, we've duplicated the problem and are working on a fix. I've supplied detailed logic probe timing data along w/ info from my intermittent sensor. I'm also testing various updates to the code as they come in. We'll post here once we nail this bug.
Hello, I have been struggling with this same issue (I think) for the last few days. Same problem with 3 dallas sensors which were working before I started to clean up my wiring wiring. I don't know if this will help, but here is a copy of the log on a test setup I ran this morning. Binary sensors on the same boards are working fine. Thank you for your help. Rgds.
UPDATE: Finally , it tuns out that the probleme was on my side : when I erased and re-loaded my ESP's, there was some confusion with the Dalla sensor number. I had to clean up my config to make shure the Dallas sensor number was correct at the right place and that took care of it.
INFO Reading configuration /config/esphome/esp-test.yaml... WARNING GPIO4 is a Strapping PIN and should be avoided. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins INFO Starting log output from esp-test.local using esphome API INFO Successfully connected to esp-test.local [11:20:46][I][app:102]: ESPHome version 2023.3.2 compiled on Apr 3 2023, 10:37:31
[11:20:46][C][wifi:362]: Local MAC: C8:F0:9E:F2:8B:60 [11:20:46][C][wifi:363]: SSID: 'Freebox-xxxxxx'[redacted] [11:20:46][C][wifi:364]: IP Address: 192.168.1.xx [11:20:46][C][wifi:366]: BSSID: DC:00:B0:FF:A4:08[redacted]
[11:20:46][C][wifi:369]: Signal strength: -76 dB ▂▄▆█ [11:20:46][C][wifi:373]: Channel: 8 [11:20:46][C][wifi:374]: Subnet: 255.255.255.0 [11:20:46][C][wifi:375]: Gateway: 192.168.1.254 [11:20:46][C][wifi:376]: DNS1: 192.168.1.254 [11:20:46][C][wifi:377]: DNS2: 0.0.0.0
[11:20:46][C][logger:294]: Level: DEBUG [11:20:46][C][logger:295]: Log Baud Rate: 115200 [11:20:46][C][logger:296]: Hardware UART: UART0
[11:20:46][C][dallas.sensor:076]: Pin: GPIO4 [11:20:46][C][dallas.sensor:077]: Update Interval: 60.0s [11:20:46][D][dallas.sensor:082]: Found sensors:
[11:20:46][C][dallas.sensor:089]: Device Class: 'temperature' [11:20:46][C][dallas.sensor:089]: State Class: 'measurement' [11:20:46][C][dallas.sensor:089]: Unit of Measurement: '°C' [11:20:46][C][dallas.sensor:089]: Accuracy Decimals: 1 [11:20:46][C][dallas.sensor:097]: Address: 0xbc012152c1d3a128 [11:20:46][C][dallas.sensor:098]: Resolution: 12 [11:20:46][C][captive_portal:088]: Captive Portal:
[11:20:46][C][mdns:109]: Hostname: esp-test [11:20:46][C][ota:093]: Over-The-Air Updates: [11:20:46][C][ota:094]: Address: esp-test.local:3232 [11:20:46][C][ota:097]: Using Password. [11:20:46][C][api:138]: API Server: [11:20:46][C][api:139]: Address: esp-test.local:6053 [11:20:46][C][api:143]: Using noise encryption: NO [11:21:12][W][dallas.sensor:261]: 'Temperature bureau' - Scratch pad checksum invalid! [11:21:12][D][sensor:127]: 'Temperature bureau': Sending state nan °C with 1 decimals of accuracy [11:22:12][W][dallas.sensor:261]: 'Temperature bureau' - Scratch pad checksum invalid! [11:22:12][D][sensor:127]: 'Temperature bureau': Sending state nan °C with 1 decimals of accuracy [11:23:12][W][dallas.sensor:261]: 'Temperature bureau' - Scratch pad checksum invalid! [11:23:12][D][sensor:127]: 'Temperature bureau': Sending state nan °C with 1 decimals of accuracy [11:24:12][W][dallas.sensor:261]: 'Temperature bureau' - Scratch pad checksum invalid! [11:24:12][D][sensor:127]: 'Temperature bureau': Sending state nan °C with 1 decimals of accuracy [11:25:12][W][dallas.sensor:261]: 'Temperature bureau' - Scratch pad checksum invalid! [11:25:12][D][sensor:127]: 'Temperature bureau': Sending state nan °C with 1 decimals of accuracy
Guys, try this alternate Dallas sensor driver and see if it fixes any of your problems. It works on my ESP32-S2 WITHOUT errors. Make sure you comment out all other references to other Dallas drivers.
external_components:
- source: github://nrandell/dallasng
dallasng:
- pin: GPIO6
update_interval: 3s
sensor:
- platform: dallasng
name: Temperature
index: 0
resolution: 12
filters:
- filter_out: NAN
Guys, try this alternate Dallas sensor driver and see if it fixes any of your problems. It works on my ESP32-S2 WITHOUT errors.
external_components: - source: github://nrandell/dallasng dallasng: - pin: GPIO6 update_interval: 3s sensor: - platform: dallasng name: Temperature index: 0 resolution: 12 filters: - filter_out: NAN
I get this:
[05:38:36][E][dallasng.sensor:090]: Failed to reset the bus: 1
[05:38:40][W][dallasng.sensor:111]: 'Temperature' failed to read scratchpad: 3
[05:38:43][D][dallasng.sensor:119]: 'Temperature' got temperature as 25562 (25.562000)
[05:38:43][D][sensor:126]: 'Temperature': Sending state 25.56200 °C with 1 decimals of accuracy
[05:38:43][D][switch:013]: 'Relay' Turning ON.
[05:38:43][D][climate:392]: 'Thermostat' - Sending state:
[05:38:43][D][climate:395]: Mode: HEAT
[05:38:43][D][climate:397]: Action: HEATING
[05:38:43][D][climate:415]: Current Temperature: 25.56°C
[05:38:43][D][climate:418]: Target Temperature: Low: 28.00°C High: 32.00°C
[05:38:43][D][climate:392]: 'Thermostat' - Sending state:
[05:38:43][D][climate:395]: Mode: HEAT
[05:38:43][D][climate:397]: Action: HEATING
[05:38:43][D][climate:415]: Current Temperature: 25.56°C
[05:38:43][D][climate:418]: Target Temperature: Low: 28.00°C High: 32.00°C
[05:38:46][W][dallasng.sensor:111]: 'Temperature' failed to read scratchpad: 3
[05:38:49][D][dallasng.sensor:119]: 'Temperature' got temperature as 25562 (25.562000)
[05:38:49][D][sensor:126]: 'Temperature': Sending state 25.56200 °C with 1 decimals of accuracy
Did you comment out references to the other sensor?? It looks like you're trying to use both... but I can't tell unless you post your config...
Did you comment out references to the other sensor?? It looks like you're trying to use both... but I can't tell unless you post your config...
Here is my configuration:
esphome:
name: alcothermostat
friendly_name: AlcoThermostat
esp8266:
board: esp8285
# Enable logging
logger:
api:
encryption:
key: "*****************************************"
ota:
password: "**********"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: True
power_save_mode: none
ap:
ssid: "AlcoThermo"
password: "*********"
captive_portal:
interval:
- interval: 1s
then:
if:
condition:
wifi.connected:
then:
- output.turn_on: blue_led
else:
- output.turn_off: blue_led
switch:
- platform: gpio
pin: GPIO04
id: relay
name: "Relay"
icon: mdi:electric-switch
binary_sensor:
- platform: gpio
pin:
number: GPIO12
mode: INPUT_PULLUP
inverted: True
id: button
name: "Button"
internal: True
on_press:
- switch.toggle: relay
output:
- platform: gpio
pin: GPIO02
id: blue_led
inverted: True
external_components:
- source: github://nrandell/dallasng
dallasng:
- pin: GPIO05
update_interval: 5s
sensor:
- platform: dallasng
address: 0x1e3c6704574db528
id: temperature
unit_of_measurement: "°C"
name: "Temperature"
filters:
- filter_out: NAN
climate:
- platform: bang_bang
name: "Thermostat"
sensor: temperature
visual:
min_temperature: 20 °C
max_temperature: 45 °C
temperature_step: 0.5
default_target_temperature_low: 28 °C
default_target_temperature_high: 32 °C
heat_action:
- switch.turn_on: relay
idle_action:
- switch.turn_off: relay
See update in my earlier post. Thanks for helping.
@Quantum-37 Try index =0 instead of address.
sensor:
- platform: dallasng
name: Temperature
index: 0
resolution: 12
filters:
- filter_out: NAN
@Quantum-37 Попробуйте index = 0 вместо адреса.
sensor: - platform: dallasng name: Temperature index: 0 resolution: 12 filters: - filter_out: NAN
Thank you very much. I will test it.
@Quantum-37 Try index =0 instead of address.
sensor: - platform: dallasng name: Temperature index: 0 resolution: 12 filters: - filter_out: NAN
It's a pity, but the error remained, although it began to manifest itself less often. Periodically, the error began to appear: "[dallasng.sensor:090]: Failed to reset the bus: 1"
I met the same problem and solved it by changing the address to index.
external_components:
- source: github://nrandell/dallasng
dallasng:
- pin: GPIO5
update_interval: 3s
sensor:
- platform: dallasng
index: 0
name: "Living Room Temperature"
resolution: 12
filters:
- filter_out: NAN
I had the same issue, and it went away after I changed the Power Supply.
Guys, try this alternate Dallas sensor driver and see if it fixes any of your problems. It works on my ESP32-S2 WITHOUT errors. Make sure you comment out all other references to other Dallas drivers.
external_components: - source: github://nrandell/dallasng dallasng: - pin: GPIO6 update_interval: 3s sensor: - platform: dallasng name: Temperature index: 0 resolution: 12 filters: - filter_out: NAN
THANK YOU
this worked perfectly with my
esp8266:
board: esp01_1m
so why is the default "Dallas" still stuffed all these years later !!! normal code kinda works on 1 of the 10 esp's but my others keep throwing the errors regardless what power source or probes were connected to it changed to alternate code and it worked , now tempted to change code on the working one to see if the long hangups it gets randomly gets stops
external_components:
- source: github://nrandell/dallasng
dallasng:
- pin: GPIO2
update_interval: 3s
#dallas:
# - pin: GPIO2 #D4
# id: hub_D4
# update_interval: 30s
# - pin: GPIO3 #D?
# id: hub_D
# update_interval: 30s
sensor:
- platform: dallasng
index: 0
name: "Air Temp N2"
resolution: 12
filters:
- filter_out: NAN
# - platform: dallas
# address: 0xc205170112bdff28
# resolution: 9
# name: "Reefer 1 Air Temp N1"
# id: R1ATN1
[18:16:20][D][sensor:093]: 'Air Temp N2': Sending state 26.37500 °C with 1 decimals of accuracy
[18:16:23][D][dallasng.sensor:119]: 'Air Temp N2' got temperature as 26375 (26.375000)
[18:16:23][D][sensor:093]: 'Air Temp N2': Sending state 26.37500 °C with 1 decimals of accuracy
[18:16:26][D][dallasng.sensor:119]: 'Air Temp N2' got temperature as 26375 (26.375000)
[18:16:26][D][sensor:093]: 'Air Temp N2': Sending state 26.37500 °C with 1 decimals of accuracy
The problem
After switching to ESP-IDF framework Dallas component has started throwing a lot of warnings about scratch pad invalid checksum. There are no such warnings if Arduino framework is used. With Dallas hub update interval of 1s it throws warnings every 5-10 seconds.
Which version of ESPHome has the issue?
2021.11.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2021.11.4
What platform are you using?
ESP32-IDF
Board
ESP32-WROOM-32U custom hardware setup
Component causing the issue
Dallas
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
DS18B20 sensor is powered from 3v3 line and its data line is pulled up to 3v3 externally with 2k2 resistor.