esphome / esphome/feature-requests
ESPHome SML library workaround for Holley DTZ541 energy meter
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Hi all together,
please implement a workaround in the ESPHome SML library for the Holley DTZ541 energy meter, which has a faulty SML implementation.
Working workaround:
line 37:
https://github.com/volkszaehler/libsml/blob/d65682222dbaddccf4c2c25d4fb530572e60cbd3/sml/src/sml_time.c
line 83
https://github.com/volkszaehler/libsml/blob/d65682222dbaddccf4c2c25d4fb530572e60cbd3/sml/src/sml_message.c
Further information about the DTZ541:
https://wiki-volkszaehler-org.translate.goog/hardware/channels/meters/power/edl-ehz/holley_dtz541?_x_tr_sl=auto&_x_tr_tl=de&_x_tr_hl=en&_x_tr_pto=wapp
The faulty Holley SML implementation and some workarounds are already discussed and described here:
https://github.com/volkszaehler/libsml/issues/75
Without the workaround it is not possible to read any values from the Holley energy meter with an ESP8266 according to
https://esphome.io/components/sml.html
Thank you all for all your efforts
Best regards
Howey
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the referenced libsml files, sml_time.c at line 37 and sml_message.c at line 83, then read libsml issue 75 and the ESPHome SML component documentation. Done means the Holley DTZ541 workaround is supported in ESPHome and the meter's values can be read on an ESP8266.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100