Skip to content

kyontan/patlite-api

Repository files navigation

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

About

WebAPI server to control Patlite NH Series

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published