Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maartenvanvliet/toon_api
https://github.com/maartenvanvliet/toon_api
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/maartenvanvliet/toon_api
- Owner: maartenvanvliet
- License: mit
- Created: 2016-01-10T13:58:07.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-11T19:55:42.000Z (almost 9 years ago)
- Last Synced: 2024-11-08T22:17:18.387Z (about 2 months ago)
- Language: Ruby
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ToonApi [![Build Status](https://travis-ci.org/maartenvanvliet/toon_api.svg?branch=master)](https://travis-ci.org/maartenvanvliet/toon_api) [![Gem Version](https://badge.fury.io/rb/toon_api.svg)](https://badge.fury.io/rb/toon_api)
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:
```ruby
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.logouttoon.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](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).