Hello!
I’m trying to read data from the USB /dev/ttyUSB1 send by a device
I can read and write without problems using YAT, I send the command @dat and I get several lines like:
!DAT:
;Time;00/00/2000 00:00:00;[dd/mm/yyyy hh:mm:ss];#3;
;Versione Firmware Display Remoto;1063b495;[];#3;
;Versione Hardware Display Remoto;IGPV3;[];#3;
;Versione Firmware Gateway;2054;[];#3;
;Gateway MAC;0x01E91E61;[];#3;
;Canale Network;19;[];#1;
;PanID Network;0x23B8;[];#1;
;PanID Esteso Network;0xA18805CEAA1CBAE1;[];#1;
;Numero Sensori;1;[];#3;
How can I read it using a serial sensor?
I have used this code but with not great result
- platform: serial
name: name_serial
serial_port: /dev/ttyUSB1
baudrate: 38400
bytesize: 8
parity: N
stopbits: 2
Any idea?