Skip to content

configuration.yaml Advanced

David Bonnes edited this page Nov 9, 2022 · 5 revisions

serial_port:

If absolutely required, the serial port can be further configured as below.

ramses_cc:
  serial_port: 
    port_name: /dev/ttyUSB0
    baudrate: 115200
    timeout: 0
    dsrdtr: false
    rtscts: false
    xonxoff: true

Other than the port_name, the other parameters have default values as shown above. Although baudrate: 57600 may be useful, other parameters are YMMV and can invariably omitted.

Note: The HGI80 works only at a baud rate of 115200.

Troubleshooting

If your get:

serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'

... then try (and then log off / log on):

sudo adduser second_user dialout