Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 1.52 KB

README.md

File metadata and controls

40 lines (35 loc) · 1.52 KB

rpi-radio-alarm-go-library

GitHub go.mod Go version GitHub release (latest by date) Go Reference GitHub GitHub Release Date GitHub last commit Go Report Card GitHub issues Lines of code

Wrapper library to communicate with the rpi-radio-alarm-go

Installation

  • get the package with go get
  • ensure ./rpi_data.yaml is available (if using the helper interacting with storage)
    settings:
      port: 8000
      run_api: true
      run_telegram_bot: true
      run_discord_bot: false
    alarms:
    - name: Test
      hour: 7
      minute: 0
      days:
      - 0
      - 1
      active: false
    ...
    radio:
      running: false
      pid: -1
    

License

GPLv3