Ian Gough
·Co-Founder@Timebeat

An example of the minimum config required for the Open Timecard Mini

The Open Timecard mini has a lot of configuration capabilities, but the goal of this guide is to provide a default amount of config that cuts out the noise.

Below is a quick configuration file that will work with the Open Timecard mini.

#              ______ _                   __                  __
#             /_  __/(_)____ ___   ___   / /_   ___   ____ _ / /_
#              / /  / // __ `__ \ / _ \ / __ \ / _ \ / __ `// __/
#             / /  / // / / / / //  __// /_/ //  __// /_/ // /_
#            /_/  /_//_/ /_/ /_/ \___//_.___/ \___/ \__,_/ \__/

################### Timebeat Configuration AREA #########################

timebeat:
  license.keyfile: '/etc/timebeat/timebeat.lic'
  config.peerids: '/etc/timebeat/peerids.json'
  clock_sync:
    adjust_clock: true
    primary_clocks:
      - protocol:          pps
        interface:         eth0      
        pin:               0        
        index:             0     
        linked_device:     '/dev/ttyS0'
    secondary_clocks:
      - protocol:     timebeat_opentimecard_mini   # Timebeat Timecard Mini
        device:       '/dev/ttyS0'             # Serial device path
        baud:         9600                     # Serial device baud rate
    ptpsquared:
    taas:
    advanced:
      linux_specific:
        sync_nic_slaves: true
      cli:
        enable: true
        bind_port: 65129
        bind_host: 127.0.0.1
        server_key: "/etc/timebeat/cli_id_rsa"
        username: "admin"
        password: "password"
output.file:
  enabled: true
  path: "/tmp/timebeat"
  filename: timebeat
  rotate_every_kb: 10000
  number_of_files: 7
  permissions: 0600
  rotate_on_startup: true
logging.to_files: true
logging.files:
  path: /var/log/timebeat
  name: timebeat
  rotateeverybytes: 10485760 
  keepfiles: 7
  permissions: 0600
seccomp.enabled: false
monitoring.enabled: false