Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 713 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 713 Bytes

patlite-api

WebAPI server to control Patlite NH Series
Supports Mackerel Webhook

  1. Requirement
  1. Installation

  2. clone this repository

  3. $ cd patlite-api

  4. $ bundle

  5. Edit Patlite host and ruser in app.rb 1. set :patlite_host, "EDIT_HERE" 2. set :patlite_ruser, "EDIT_HERE" 3.protected!("EDIT_HERE", "EDIT_HERE")` if you want to use Webhook of Mackerel

  6. Run bundle exec rackup

  7. How to use?

  8. Read API Document (Access to /)

  9. Set Webhook to http://USER:PASSWORD@HOST_IP/webhook in Mackerel

  10. Lisence MIT