1.0.0 • Published 4 years ago

@martijn_everaert/home-automation v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Home-automatisation

This package contains two types of thermostats and a unit changer for temperatures.

The class thermostat contains five getters which each give you information on the state of the termostate. The class also contains a function which calculates some of these states.

The class JSONthermostat is an expantion on the before mentioned class, where now the data is given by a json string. The data can now also be given in a variety of units. The class contains two functions, one to initialize the settings and another to update the current temperature.

The class TempUnitChanger changes the values according to the given units.

Installation

OS X & Linux:

npm install my-crazy-module --save

Windows:

edit autoexec.bat

Usage example

A few motivating and useful examples of how your product can be used. Spice this up with code blocks and potentially more screenshots.

For more examples and usage, please refer to the Wiki.

Development setup

Describe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.

make install
npm test

Release History

  • 0.2.1
    • CHANGE: Update docs (module code remains unchanged)
  • 0.2.0
    • CHANGE: Remove setDefaultXYZ()
    • ADD: Add init()
  • 0.1.1
    • FIX: Crash when calling baz() (Thanks @GenerousContributorName!)
  • 0.1.0
    • The first proper release
    • CHANGE: Rename foo() to bar()
  • 0.0.1
    • Work in progress

Meta

Your Name – @YourTwitter – YourEmail@example.com

Distributed under the XYZ license. See LICENSE for more information.

https://github.com/yourname/github-link

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request