Skip to content

A simple Ruby script that lets you take control over your Homematic home automation system. It is using the fast XMLRPC-API provided by the CCU.

Notifications You must be signed in to change notification settings

neodym/Ruby-HomeMatic-XMLRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Ruby-HomeMatic-XMLRPC

A simple Ruby script that lets you take control over your HomeMatic home automation system.
It is using the XMLRPC-API provided by default by any CCU (no additional Plugins are required).

Getting Started

  1. Set the IP adress of the CCU: CCUIP = '0.0.0.0'
  2. Set up the HCHomeControl.instance.actors Hash with your device names, adresses, bus types and device types.
    Currently there are two different device types supported:
  • HCHomeControl::HCRANGEDEVICE is a dimmable device (LEVEL value between 0.0 and 1.0).
  • HCHomeControl::HCBINARYDEVICE is a device with two states (STATE value 0 or 1).

Usage

./hmxml.rb 0
Turns all devices off.

./hmxml.rb status
Gives back the system status.

./hmxml.rb DEVICE
Toggles the DEVICE state.

./hmxml.rb DEVICE VALUE
Set a state/level value for a DEVICE.

Copyright / License

Copyright (c) 2013 Dennis Röhrs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple Ruby script that lets you take control over your Homematic home automation system. It is using the fast XMLRPC-API provided by the CCU.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages