Esphome change uart speed

hello is it possible to change baudrate from :

  - interval: 5min
      - logger.log: "SEND /?!<CR><LF>"
      - uart.write: [0x2F, 0x3F, 0x21, 0x8D, 0x0A]
      - logger.log: "DELAY 3s"
      - delay: 3s
      - logger.log: "SEND <ACK>000<CR><LF>" #0x30 = 300bps, 0x31 = 600bps, 0x32 = 1200bps, 0x33 = 2400bps, 0x34 = 4800, 0x35 = 9600
      - uart.write: [0x06, 0x30, 0x30, 0x30, 0x8D, 0x0A] 
      - uart.change_baudrate ?

The baud rate is sent in the UART component configuration and there is no service to change it.

Bad news, possible in custom component ?

Yes, I think you could do that.

May be some examples?

did you ever get esphome to read the meter? :slight_smile:

yes, i have created a github repository

I have the same issue, can you share the link to the repo so i can see how you solved the issue? Thank you very much!