bb4L / rpi-radio-alarm-go-library

Library to interact with the rpi-radio-alarm-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Library to interact with the rpi-radio-alarm-go

License:GNU General Public License v3.0


Languages

Language:Go 94.9%Language:Dockerfile 5.1%