Skip to content

Include Component for Hiking DDS238-4 W and DTS238-7 Wifi Energy Meters #3198

@Gaudi111

Description

@Gaudi111

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

A fellow coder forked the repo and added a component to interface with Hiking DDS238-4 W and DTS238-7 Wifi Energy Meters (and potentially other similar compatible units).
I have worked with him to test and debug the integration, and have been using it for more than two years without issues.
I have noticed that there was no pull request, so the component has not been integrated into the release of esphome, and an external reference is needed.
His code is located here:
https://github.com/rodgon81/esphome/tree/dev/esphome/components/dxs238xw

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

Whereas the code does work, I have noticed that latest logs indicate that some code included in the component will be deprecated, so the code may no longer work starting on 2025.11 release:

INFO ESPHome 2025.6.3
INFO Reading configuration /config/esphome/esphome-web-xxxxx.yaml...
INFO Updating https://github.com/rodgon81/esphome@dev
WARNING Using `number.NUMBER_SCHEMA` is deprecated and will be removed in ESPHome 2025.11.0. Please use `number.number_schema(...)` instead. If you are seeing this, report an issue to the external_component author and ask them to update it. https://developers.esphome.io/blog/2025/05/14/_schema-deprecations/. Component using this schema: dxs238xw
WARNING Using `number.NUMBER_SCHEMA` is deprecated and will be removed in ESPHome 2025.11.0. Please use `number.number_schema(...)` instead. If you are seeing this, report an issue to the external_component author and ask them to update it. https://developers.esphome.io/blog/2025/05/14/_schema-deprecations/. Component using this schema: dxs238xw
WARNING Using `number.NUMBER_SCHEMA` is deprecated and will be removed in ESPHome 2025.11.0. Please use `number.number_schema(...)` instead. If you are seeing this, report an issue to the external_component author and ask them to update it. https://developers.esphome.io/blog/2025/05/14/_schema-deprecations/. Component using this schema: dxs238xw
WARNING Using `number.NUMBER_SCHEMA` is deprecated and will be removed in ESPHome 2025.11.0. Please use `number.number_schema(...)` instead. If you are seeing this, report an issue to the external_component author and ask them to update it. https://developers.esphome.io/blog/2025/05/14/_schema-deprecations/. Component using this schema: dxs238xw
WARNING Using `number.NUMBER_SCHEMA` is deprecated and will be removed in ESPHome 2025.11.0. Please use `number.number_schema(...)` instead. If you are seeing this, report an issue to the external_component author and ask them to update it. https://developers.esphome.io/blog/2025/05/14/_schema-deprecations/. Component using this schema: dxs238xw
WARNING Using `button.BUTTON_SCHEMA` is deprecated and will be removed in ESPHome 2025.11.0. Please use `button.button_schema(...)` instead. If you are seeing this, report an issue to the external_component author and ask them to update it. https://developers.esphome.io/blog/2025/05/14/_schema-deprecations/. Component using this schema: dxs238xw
INFO Deleting /data/build/esphome-web-1be2dc/.pioenvs
INFO Deleting /data/build/esphome-web-1be2dc/.piolibdeps
INFO Done!

Would it be possible to pull the code and make the component available in the main release branch, potentially fixing the outdated reference?
I will do my best to get in contact with the original developer.

Additional context

Find attached my working yaml configuration file:

DDS238_config.yaml.txt

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