Skip to content

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

License

Notifications You must be signed in to change notification settings

bb4L/rpi-radio-alarm-go-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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