https://github.com/jeffutter/honeywell-elixir
An Elixir Client for the Honeywell Developer API
https://github.com/jeffutter/honeywell-elixir
Last synced: about 2 months ago
JSON representation
An Elixir Client for the Honeywell Developer API
- Host: GitHub
- URL: https://github.com/jeffutter/honeywell-elixir
- Owner: jeffutter
- License: mit
- Created: 2016-08-10T18:23:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-17T16:17:18.000Z (over 8 years ago)
- Last Synced: 2025-01-28T10:18:05.461Z (3 months ago)
- Language: Elixir
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - A client for the Honeywell Lyric, Round and Water Leak & Freeze Detector APIs. (Third Party APIs)
- fucking-awesome-elixir - honeywell - A client for the Honeywell Lyric, Round and Water Leak & Freeze Detector APIs. (Third Party APIs)
- awesome-elixir - honeywell - A client for the Honeywell Lyric, Round and Water Leak & Freeze Detector APIs. (Third Party APIs)
README
# Honeywell
[](https://travis-ci.org/jeffutter/honeywell-elixir)
[](https://hex.pm/packages/honeywell)
[](http://inch-ci.org/github/jeffutter/honeywell-elixir)
[](https://beta.hexfaktor.org/github/jeffutter/honeywell-elixir)
[](http://opensource.org/licenses/MIT)Honeywell Cloud API Client for Elixir:
This is an unofficial client for the [Honeywell Round and Water Leak & Freeze Detector APIs](https://developer.honeywell.com/).
## Usage
Installation
```elixir
def deps do
[{:honeywell, "~> 0.1.0"}]
end
```and run `mix deps.get`. Now, list the :honeywell application as your application dependency:
```elixir
def application do
[applications: [:honeywell]]
end
```## Configuration
You will need to set the following configuration variables in your `config/config.exs` file:
```elixir
use Mix.Configconfig :honeywell,
client_id: System.get_env("HONEYWELL_CLIENT_ID"),
client_secret: System.get_env("HONEYWELL_CLIENT_SECRET"),
site: System.get_env("SITE"),
redirect_uri: System.get_env("HONEYWELL_REDIRECT_URL")
```