Skip to content

Scratch pad checksum invalid, dallas temp sensor at BK7231N #333

@makko81

Description

@makko81

I cant read temperature from onewire dallas temp sensor. It is recognized correctly but every read returns "dallas_temp.sensor set Warning flag: scratch pad checksum invalid". I first thought the sensor was a cheap fake of origin, but same worked with the original firmware from Tuya. In the meantime I tried same sensor on esp8266 and it worked seamless. Please let me know what I might adjust.

short summary of esphome device log:
HARDWARE: BK7231N 120MHz, 256KB RAM, 1.03MB Flash

[23:20:28][C][gpio.one_wire:022]: GPIO 1-wire bus:
[23:20:28][C][gpio.one_wire:023]: Pin: 26
[23:20:28][C][gpio.one_wire:084]: Found devices:
[23:20:28][C][gpio.one_wire:086]: 0xc0ea26851e64ff28 (DS18B20)
[23:20:40][D][dallas.temp.sensor:129]: Scratch pad: FF.FF.FF.FF.FF.FF.FF.FF.FF (C9)
[23:20:45][D][dallas.temp.sensor:129]: Scratch pad: FF.FF.FF.FF.FF.FF.FF.FF.FF (C9)
[23:20:50][D][dallas.temp.sensor:129]: Scratch pad: FF.FF.FF.FF.FF.FF.FF.FD.FF (75)
[23:20:55][D][dallas.temp.sensor:129]: Scratch pad: 50.05.55.00.7F.FF.0C.11.21 (7F)
[23:21:00][D][dallas.temp.sensor:129]: Scratch pad: 50.05.55.00.7F.FF.0C.11.21 (7F)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions