Coder Social home page Coder Social logo

pdegeus / homewizard-lib-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igmt/homewizard-lib-java

0.0 2.0 1.0 943 KB

An reversed engineered open-source library for the Homewizard ( http://www.homewizard.nl )

License: MIT License

Java 100.00%

homewizard-lib-java's Introduction

homewizard-lib-java

A reversed engineered open-source library for the HomeWizard home automation system. Uses the HomeWizard's JSON/REST API to read switches, sensors, weather data, etc.

Usage

Initialize the main class, HWSystem:

HWSystem hw = new HWSystem();
// or
HWSystem hw = new HWSystem("192.168.1.10", 80, "mypassword");

Use one of the managers to fetch information about your HomeWizard:

hw.getSwitchManager().getAll(); // List of switches
hw.getSwitchManager().get(1).isOn(); // Turn on switch #1
hw.getSceneManager().get(2).getTimers(); // List of timers for scene #2

Configuration

Configuration of the HomeWizard connection can be passed to the constructor or read from a configuration file. Other configuration properties must be provided using a config file. The default configuration file is 'homewizard.cfg'; the library looks for this file in the current working directory and the directory above it. If you want to use another location, set the runtime system property 'hwconfig' to point to the desired path.

Current status

Currently, this library supports reading data about:

  • Switches (standard, dimmers and Philips Hue bulbs)
  • Sensors
  • Scenes (including codes, switches and timers)
  • Cameras
  • Thermometers (current value and graph data)
  • Timers

Switches can be toggled, dimmed and changed color (the latter Hue only, obviously). HomeWizard management, like adding switches, is not possible at this moment.

homewizard-lib-java's People

Contributors

igmt avatar pdegeus avatar ruudgreven avatar ruudgrevensaxion avatar

Watchers

 avatar  avatar

Forkers

ludo76190

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.