esphome_components icon indicating copy to clipboard operation
esphome_components copied to clipboard

Measuring devices that have to be triggered with a certain character string

Open fitim7 opened this issue 3 years ago • 1 comments

Hey,

how to use this for devices, that have to be triggered with a hex string? There are many devices, that "answer" just when you "ask" them. Is it possible to use this for these devices? Tasmota has this implemented (https://tasmota.github.io/docs/Smart-Meter-Interface/#meter-definition - see: "cmdTelegram") and i would love to see this for ESPHome.

Thank you!

fitim7 avatar Jan 06 '22 11:01 fitim7

Did you find a solution?

Theoretically you need an event or interval and write the hex data to the bus. If your trigger is like mine /?!\r\n. (for Elster 1440) then you could use something like this: uart.write: id: uart_bus data: [0x2F, 0x3F, 0x21, 0x0D, 0x0A]

terveer avatar Jan 04 '24 22:01 terveer