esphome_components
esphome_components copied to clipboard
Measuring devices that have to be triggered with a certain character string
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!
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]