Skip to content
🔌 This component can read values from and control Plugwise circles and plugs.
Python
Branch: master
Clone or download
Latest commit 6fc8316 Dec 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_components/plugwise
screenshots Added code files and screenshots Dec 17, 2019
.gitignore Initial commit Dec 17, 2019
LICENSE Initial commit Dec 17, 2019
README.md
hacs.json Create hacs.json Dec 17, 2019
info.md Update info.md Dec 25, 2019

README.md

hacs_badge made-with-python Donate

Plugwise Component

This is a Custom Component for Home-Assistant (https://home-assistant.io), it can read values from and control Plugwise circles and plugs.

Installation

HACS - Recommended

  • Have HACS installed, this will allow you to easily manage and track updates.
  • Search for 'Plugwise'.
  • Click Install below the found integration.
  • Configure using the configuration instuctions below.
  • Restart Home-Assistant.

Manual

  • Copy directory plugwise to your <config dir>/custom-components directory.
  • It has as dependency the 'plugwise' module from PyPi, but it will be installed automatically.
  • Configure with config below.
  • Restart Home-Assistant.

Usage

To use this component in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry

switch:
  - platform: plugwise
    port: /dev/ttyUSB0
    circles:
      CirclePlus: 000D6F000023711C
      Koelkast: 000D6F00001C8F33

Configuration variables:

  • port (Optional): Port used by your plugwise stick. (default = /dev/ttyUSB0)
  • circles (Required): This section tells the component which mac addresses your plugs have and which device names you want to use.

If you want to graph power consumption values you can convert the attribute of the switch into a sensor using template platform like so:

# Example sensor.yaml entry

- platform: template
  sensors:
    circleplus_power_usage:
      friendly_name: "CirclePlus Power Usage"
      unit_of_measurement: 'Watt'
      value_template: "{{ states.switch.circleplus.attributes.current_consumption }}"

NOTE: works in Hass.io

Screenshots

alt tag alt tag alt tag

Donation

Donate

You can’t perform that action at this time.