No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.kick
.rspec
.travis.yml
CODE_OF_CONDUCT.md
Gemfile
LICENSE.txt
README.md
toon_api.gemspec

README.md

ToonApi Build Status Gem Version

Ruby gem to interface with Eneco Toon intelligent thermostat. Port of https://github.com/rvdm/toon

Installation

Add this line to your application's Gemfile:

gem 'toon_api'

And then execute:

$ bundle install

Or install using

$ gem install toon_api

Usage

require 'toon_api'

toon = ToonApi.new(username, password)
toon.login
toon.logout

toon.get_thermostat_info
toon.get_gas_usage
toon.get_power_usage

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/maartenvanvliet/toon_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.