Skip to content

kaedwen/pimatic-homegear-ws

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pimatic Homegear WebSocket Plugin

Plugin to interface with homegear (https://www.homegear.eu) to control Homematic Switches/Thermostates.

Configuration

You can load the plugin by editing your config.json to include (host = Homegear IP port=Homegear Port (default:2001)).

{
   "plugin": "homegear-ws",
   "username": "your-username", // (blank string if auth none)
   "password": "your-password", // (blank string if auth none)
   "host": "127.0.0.1",
   "port": 2001
}

Use the debug output in pimatic to find out the peerId and channel of the devices. Or use homegear -r to bring up the homegear console, select the bidcosfamily families select 0 and show up your peers with peers list.

Switches can be defined by adding them to the devices section in the config file. Set the class attribute to HomematicSwitch or HomematicPowerSwitch. For example:

{
  "id": "switch-1",
  "class": "HomematicSwitch",
  "name": "TV Switch",
  "peerId": 1
}
{
  "id": "power-switch-1",
  "class": "HomematicPowerSwitch",
  "name": "Light Power Switch",
  "peerId": 2
}

Thermostates also can be defined by adding them to the devices section in the config file. Set the class attribute to HomematicThermostate. For example:

{
  "id": "thermostate-1",
  "class": "HomematicThermostate",
  "name": "Thermostate kitchen",
  "peerId": 3
}

About

Pimatic Homegear WebSocket Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published