esphome / esphome/feature-requests

Support for DS2438 1-Wire Battery Management Smart Battery Monitor with Temp Sensor

Open
#1,865 3 comments 0 reactions 0 assignees View on GitHub
Type: One Wire
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

I request ESPHOME team to implement support for DS2438 1-Wire Battery Management Smart Battery Monitor with Temp Sensor.

**Please describe your use case for this integration and alternatives you've tried:**

The DS2438 is a Smart Battery Monitor and is used in its original function as a mobile phone battery monitor.
For automation, especially in the **_smart home area_**, it is also used for other functions:

as voltage meter (supplies the bus voltage (VDD)
as thermometer - the temperature is measured
AD-Converter (VAD) - is used to measure humidity or brightness
Current input (XSENS) - freely available

**Additional context**

Type/designation | DS2438Z+
Housing | SOIC-8 (SMD)
Supply voltage | 2.4 V to 10 V
Function | Temperature sensor
Analog Input 0-10VDC (VAD)
Analog Input 0-250mV,
+/- (Xsens) Measurement Operating voltage (VDD)
Operating temperature | -40°C to +85°C
Details | See data sheet
[DS2438.pdf](https://github.com/esphome/feature-requests/files/9549921/DS2438.pdf)
[DS2438 current.pdf](https://github.com/esphome/feature-requests/files/9550022/DS2438.current.pdf)
![grafik](https://user-images.githubusercontent.com/74373923/189708286-40007789-9508-435a-a610-c95e1e79a002.png)

Thank you very much for your great work!!!!!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked DS2438 and DS2438 current datasheets to understand the device's temperature, voltage, analog-input, and current measurements. Then identify the ESPHome integration entry point and determine how support should expose those measurements; done means the requested DS2438Z+ capabilities are supported and verified.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.